/external/crosvm/sys_util/src/ |
D | handle_eintr.rs | 9 use libc::EINTR; 21 Err(e) if e.errno() == EINTR => true, in is_interrupted() 146 use libc::EINTR; 150 if res != EINTR { 165 use libc::EINTR; 170 if res != -1 || Error::last() != Error::new(EINTR) { 190 EINTR in i32_eintr_rc() 206 set_errno(EINTR); in i32_eintr_errno() 223 Err(SysError::new(EINTR)) in sys_eintr()
|
/external/strace/tests-mx32/ |
D | rt_sigsuspend.c | 59 if (EINTR == errno) { in iterate() 108 if (EINTR == errno) in main() 123 assert(EINTR == errno); in main() 131 assert(EINTR == errno); in main() 139 assert(EINTR == errno); in main() 148 assert(EINTR == errno); in main()
|
/external/strace/tests/ |
D | rt_sigsuspend.c | 59 if (EINTR == errno) { in iterate() 108 if (EINTR == errno) in main() 123 assert(EINTR == errno); in main() 131 assert(EINTR == errno); in main() 139 assert(EINTR == errno); in main() 148 assert(EINTR == errno); in main()
|
/external/strace/tests-m32/ |
D | rt_sigsuspend.c | 59 if (EINTR == errno) { in iterate() 108 if (EINTR == errno) in main() 123 assert(EINTR == errno); in main() 131 assert(EINTR == errno); in main() 139 assert(EINTR == errno); in main() 148 assert(EINTR == errno); in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_lock/ |
D | 3-1.c | 206 if (ret == EINTR) { in threaded() 218 if (ret == EINTR) { in threaded() 225 if (ret == EINTR) { in threaded() 233 if (ret == EINTR) { in threaded() 241 if (ret == EINTR) { in threaded() 257 if (ret == EINTR) { in threaded() 267 } while (ret && (errno == EINTR)); in threaded() 312 } while (ret && (errno == EINTR)); in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/fork/ |
D | 14-1.c | 91 while ((ret != 0) && (errno == EINTR)); in main() 100 while ((ret != 0) && (errno == EINTR)); in main() 125 while ((ret != 0) && (errno == EINTR)); in main() 138 while ((ret != 0) && (errno == EINTR)); in main()
|
/external/oj-libjdwp/src/solaris/transport/socket/ |
D | socket_md.c | 54 if (rv < 0 && (errno == EINPROGRESS || errno == EINTR)) { in dbgsysConnect() 81 if (errno != ECONNABORTED && errno != EINTR) { in dbgsysAccept() 93 } while (rv == -1 && errno == EINTR); in dbgsysRecvFrom() 104 } while (rv == -1 && errno == EINTR); in dbgsysSendTo() 114 } while (rv == -1 && errno == EINTR); in dbgsysRecv() 124 } while (rv == -1 && errno == EINTR); in dbgsysSend() 148 } while (rv == -1 && errno == EINTR); in dbgsysSocketClose()
|
/external/libchrome/base/posix/ |
D | eintr_wrapper.h | 32 } while (eintr_wrapper_result == -1 && errno == EINTR); \ 43 } while (eintr_wrapper_result == -1 && errno == EINTR && \ 54 if (eintr_wrapper_result == -1 && errno == EINTR) { \
|
/external/python/cpython2/Modules/_multiprocessing/ |
D | socket_connection.c | 53 if (errno == EINTR) { in _conn_sendall() 81 if (errno == EINTR) { in _conn_recvall() 201 } while (res < 0 && errno == EINTR); in conn_poll() 204 if (res < 0 && errno == EINTR) { in conn_poll() 246 } while (res < 0 && errno == EINTR); in conn_poll() 252 if (res < 0 && errno == EINTR) { in conn_poll()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_detach/ |
D | 2-2.c | 111 while ((ret == -1) && (errno == EINTR)); in threaded() 120 while ((ret == -1) && (errno == EINTR)); in threaded() 207 while ((ret == -1) && (errno == EINTR)); in main() 224 while ((ret == -1) && (errno == EINTR)); in main()
|
/external/fmtlib/test/ |
D | posix-mock-test.cc | 60 errno = EINTR; \ 73 EMULATE_EINTR(open, EINTR); in sopen_s() 190 EXPECT_SYSTEM_ERROR(statement, EINTR, message); \ 240 format_system_error(EINTR, "cannot close file") + "\n"); in TEST() 248 EXPECT_SYSTEM_ERROR(read_end.close(), EINTR, "cannot close file"); in TEST() 343 file::dup(stdout_fd), EINTR, in TEST() 365 EXPECT_EQ(EINTR, ec.get()); in TEST() 373 EXPECT_SYSTEM_ERROR(file::pipe(read_end, write_end), EINTR, in TEST() 382 EXPECT_SYSTEM_ERROR(read_end.fdopen("r"), EINTR, in TEST() 411 format_system_error(EINTR, "cannot close file") + "\n"); in TEST() [all …]
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_wait/ |
D | 2-3.c | 119 } while ((ret != 0) && (errno == EINTR)); in clnp2() 126 } while ((ret != 0) && (errno == EINTR)); in clnp2() 174 } while ((ret != 0) && (errno == EINTR)); in threaded() 369 } while ((ret != 0) && (errno == EINTR)); in main() 398 } while ((ret != 0) && (errno == EINTR)); in main() 413 } while ((ret != 0) && (errno == EINTR)); in main()
|
/external/openssh/ |
D | atomicio.c | 68 if (errno == EINTR) in atomicio6() 83 errno = EINTR; in atomicio6() 125 if (errno == EINTR) in atomiciov6() 158 errno = EINTR; in atomiciov6()
|
/external/curl/tests/server/ |
D | util.c | 55 #undef EINTR 56 #define EINTR 4 /* errno.h value */ macro 248 if(error && (error != EINTR)) in wait_ms() 285 } while((lockfile == NULL) && ((error = errno) == EINTR)); in set_advisor_read_lock() 294 } while(res && ((error = errno) == EINTR)); in set_advisor_read_lock() 313 } while(res && ((error = errno) == EINTR)); in clear_advisor_read_lock()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_timedwait/ |
D | 2-6.c | 96 } while ((ret != 0) && (errno == EINTR)); in clnp2() 103 } while ((ret != 0) && (errno == EINTR)); in clnp2() 163 } while ((ret != 0) && (errno == EINTR)); in threaded() 366 } while ((ret != 0) && (errno == EINTR)); in main() 395 } while ((ret != 0) && (errno == EINTR)); in main() 410 } while ((ret != 0) && (errno == EINTR)); in main()
|
/external/igt-gpu-tools/lib/tests/ |
D | igt_describe.c | 159 if (errno == EINTR) { in read_whole_pipe() 183 while (dup2(outfd[1], STDOUT_FILENO) == -1 && errno == EINTR) {} in do_fork() 184 while (dup2(errfd[1], STDERR_FILENO) == -1 && errno == EINTR) {} in do_fork() 211 } while (ret == -1 && errno == EINTR); in _wait()
|
/external/libcups/cups/ |
D | backchannel.c | 71 while (status < 0 && errno != EINTR && errno != EAGAIN); in cupsBackChannelRead() 133 while (status < 0 && errno != EINTR && errno != EAGAIN); in cupsBackChannelWrite() 154 if (errno != EINTR && errno != EAGAIN) in cupsBackChannelWrite()
|
/external/google-breakpad/src/common/linux/ |
D | eintr_wrapper.h | 43 } while (eintr_wrapper_result == -1 && errno == EINTR); \ 51 if (eintr_wrapper_result == -1 && errno == EINTR) { \
|
/external/libxml2/include/ |
D | wsockcompat.h | 39 #ifndef EINTR 40 #define EINTR WSAEINTR macro
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/ |
D | ErrnoTest.cpp | 26 errno = EINTR; in TEST() 37 errno = EINTR; in TEST()
|
/external/ltp/testcases/open_posix_testsuite/stress/threads/fork/ |
D | s-c1.c | 187 } while (ret != 0 && errno == EINTR); in main() 202 } while ((ret != 0) && (errno == EINTR)); in main() 213 } while ((ret != 0) && (errno == EINTR)); in main() 223 } while ((ret != 0) && (errno == EINTR)); in main() 255 } while ((ret == -1) && (errno == EINTR)); in main() 318 while ((ret != 0) && (errno == EINTR)); in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/ |
D | 1-5.c | 118 while ((ret == -1) && (errno == EINTR)); in overflow() 252 while ((ret == -1) && (errno == EINTR)); in threaded() 268 while ((ret == -1) && (errno == EINTR)); in threaded()
|
/external/drm_hwcomposer/drm/ |
D | vsyncworker.cpp | 109 } while (ret == -1 && errno == EINTR); in SyntheticWaitVBlank() 123 if (ret == -EINTR) { in Routine() 148 if (ret == -EINTR) { in Routine()
|
/external/ltp/testcases/kernel/syscalls/ipc/semop/ |
D | semop05.c | 91 1}, 0, 0, 4, EINTR}, 94 0}, -1, 0, 5, EINTR} 174 if (TC[i].error == EINTR) { in main()
|
/external/cpu_features/src/ |
D | filesystem.c | 47 } while (result == -1L && errno == EINTR); in CpuFeatures_OpenFile() 58 } while (result == -1L && errno == EINTR); in CpuFeatures_ReadFile()
|