/development/tools/emulator/system/libqemu/ |
test_host_2.c | 43 #define TFR TEMP_FAILURE_RETRY 73 if (TFR(bind(sock, (struct sockaddr*)&addr, sizeof(addr))) < 0) { 79 if (TFR(listen(sock, 4)) < 0) { 102 client = TFR(accept(sock, NULL, NULL)); 114 ret = TFR(read(client, buff, sizeof(buff)));
|
test_host_1.c | 45 #define TFR TEMP_FAILURE_RETRY 75 if (TFR(bind(sock, (struct sockaddr*)&addr, sizeof(addr))) < 0) { 81 if (TFR(listen(sock, 4)) < 0) { 111 if (TFR(bind(sock, (struct sockaddr*)&addr, sizeof(addr))) < 0) { 117 if (TFR(listen(sock, 4)) < 0) { 201 client = TFR(accept(sock, NULL, NULL)); 213 ret = TFR(read(client, buff, sizeof(buff))); 227 ret = TFR(write(client, p, count));
|
/external/qemu/ |
os-posix.c | 309 TFR(fd = qemu_open("/dev/null", O_RDWR));
|
sysemu.h | 222 #define TFR(expr) do { if ((expr) != -1) break; } while (errno == EINTR)
|
net-android.c | 1276 TFR(fd = open("/dev/tap", O_RDWR)); 1320 TFR(ip_fd = open("/dev/udp", O_RDWR, 0)); 1326 TFR(tap_fd = open("/dev/tap", O_RDWR, 0)); 1340 TFR(if_fd = open("/dev/tap", O_RDWR, 0)); [all...] |
net.c | 1148 TFR(fd = open("/dev/tap", O_RDWR)); 1192 TFR(ip_fd = open("/dev/udp", O_RDWR, 0)); 1198 TFR(tap_fd = open("/dev/tap", O_RDWR, 0)); 1212 TFR(if_fd = open("/dev/tap", O_RDWR, 0)); 1245 TFR(arp_fd = open ("/dev/tap", O_RDWR, 0)); 1308 TFR(fd = open("/dev/net/tun", O_RDWR)); [all...] |
qemu-char.c | 699 TFR(fd_out = qemu_open(qemu_opt_get(opts, "path"), 719 TFR(fd_in = qemu_open(filename_in, O_RDWR | O_BINARY)); 720 TFR(fd_out = qemu_open(filename_out, O_RDWR | O_BINARY)); 726 TFR(fd_in = fd_out = open(filename, O_RDWR | O_BINARY)); [all...] |
qemu-timer.c | 962 TFR(rtc_fd = open("/dev/rtc", O_RDONLY)); [all...] |
vl-android.c | 410 #define TFR(expr) do { if ((expr) != -1) break; } while (errno == EINTR) [all...] |