Android-cuttlefish cvd tool
|
#include "sysdeps/errno.h"
#include <thread>
#include <unordered_map>
#include <utility>
#include "adb.h"
Macros | |
#define | ERRNO_VALUES() |
#define | ERRNO_VALUE(error_name, wire_value) result->insert(std::make_pair((error_name), (wire_value))) |
#define | ERRNO_VALUE(error_name, wire_value) result->insert(std::make_pair((wire_value), (error_name))) |
Functions | |
static std::unordered_map< int, int > * | generate_host_to_wire () |
static std::unordered_map< int, int > * | generate_wire_to_host () |
int | errno_to_wire (int error) |
int | errno_from_wire (int error) |
Variables | |
static std::unordered_map< int, int > & | host_to_wire = *generate_host_to_wire() |
static std::unordered_map< int, int > & | wire_to_host = *generate_wire_to_host() |
#define ERRNO_VALUE | ( | error_name, | |
wire_value | |||
) | result->insert(std::make_pair((error_name), (wire_value))) |
#define ERRNO_VALUE | ( | error_name, | |
wire_value | |||
) | result->insert(std::make_pair((wire_value), (error_name))) |
#define ERRNO_VALUES | ( | ) |
int errno_from_wire | ( | int | error | ) |
int errno_to_wire | ( | int | error | ) |
|
static |
|
static |
|
static |
|
static |