Home
last modified time | relevance | path

Searched refs:EINTR (Results 1 – 25 of 734) sorted by relevance

12345678910>>...30

/external/strace/tests/
Drt_sigsuspend.c59 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/
Drt_sigsuspend.c59 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-mx32/
Drt_sigsuspend.c59 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/
D3-1.c206 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/perf_data_converter/src/quipper/
Drun_command.cc45 } while (read_sz < 0 && errno == EINTR); in ReadFromFd()
118 } while (ret < 0 && errno == EINTR); in RunCommand()
139 } while (read_errno_res < 0 && errno == EINTR); in RunCommand()
149 while (waitpid(child, nullptr, 0) < 0 && errno == EINTR) { in RunCommand()
165 while (waitpid(child, &exit_status, 0) < 0 && errno == EINTR) { in RunCommand()
/external/ltp/testcases/kernel/syscalls/nanosleep/
Dnanosleep03.c91 " by signal (%d) as expected", EINTR); in main()
118 if (TEST_ERRNO != EINTR) { in do_child()
121 EINTR); in do_child()
126 "expected -1, errno:%d", TEST_RETURN, EINTR); in do_child()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/fork/
D14-1.c91 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/
Dsocket_md.c54 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/python/cpython2/Modules/_multiprocessing/
Dsocket_connection.c53 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/
D2-2.c111 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/libchrome/base/posix/
Deintr_wrapper.h32 } while (eintr_wrapper_result == -1 && errno == EINTR); \
43 } while (eintr_wrapper_result == -1 && errno == EINTR && \
54 if (eintr_wrapper_result == -1 && errno == EINTR) { \
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_wait/
D2-3.c119 } while ((ret != 0) && (errno == EINTR)); in clnp2()
126 } while ((ret != 0) && (errno == EINTR)); in clnp2()
174 } while ((ret != 0) && (errno == EINTR)); in threaded()
366 } while ((ret != 0) && (errno == EINTR)); in main()
397 } while ((ret != 0) && (errno == EINTR)); in main()
412 } while ((ret != 0) && (errno == EINTR)); in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_timedwait/
D2-6.c96 } while ((ret != 0) && (errno == EINTR)); in clnp2()
103 } while ((ret != 0) && (errno == EINTR)); in clnp2()
163 } while ((ret != 0) && (errno == EINTR)); in threaded()
365 } while ((ret != 0) && (errno == EINTR)); in main()
396 } while ((ret != 0) && (errno == EINTR)); in main()
411 } while ((ret != 0) && (errno == EINTR)); in main()
/external/curl/tests/server/
Dutil.c55 #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/openssh/
Datomicio.c68 if (errno == EINTR) in atomicio6()
83 errno = EINTR; in atomicio6()
125 if (errno == EINTR) in atomiciov6()
158 errno = EINTR; in atomiciov6()
/external/libcups/cups/
Dbackchannel.c71 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/ltp/testcases/open_posix_testsuite/stress/threads/fork/
Ds-c1.c187 } 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/google-breakpad/src/common/linux/
Deintr_wrapper.h43 } while (eintr_wrapper_result == -1 && errno == EINTR); \
51 if (eintr_wrapper_result == -1 && errno == EINTR) { \
/external/libxml2/include/
Dwsockcompat.h39 #ifndef EINTR
40 #define EINTR WSAEINTR macro
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/
D1-5.c118 while ((ret == -1) && (errno == EINTR)); in overflow()
252 while ((ret == -1) && (errno == EINTR)); in threaded()
268 while ((ret == -1) && (errno == EINTR)); in threaded()
D3-2.c124 while ((ret == -1) && (errno == EINTR)); in overflow()
136 while ((ret == -1) && (errno == EINTR)); in overflow()
267 while ((ret == -1) && (errno == EINTR)); in test_stack()
276 while ((ret == -1) && (errno == EINTR)); in test_stack()
390 while ((ret == -1) && (errno == EINTR)); in schedtest()
784 while ((ret == -1) && (errno == EINTR)); in main()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/
DErrnoTest.cpp26 errno = EINTR; in TEST()
37 errno = EINTR; in TEST()
/external/drm_hwcomposer/
Dvsyncworker.cpp109 } while (ret == -1 && errno == EINTR); in SyntheticWaitVBlank()
123 if (ret == -EINTR) { in Routine()
152 if (ret == -EINTR) { in Routine()
/external/ltp/testcases/kernel/syscalls/ipc/semop/
Dsemop05.c91 1}, 0, 0, 4, EINTR},
94 0}, -1, 0, 5, EINTR}
174 if (TC[i].error == EINTR) { in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/templates/
Dtemplate_16-1.in28 * The test fails if the sem_wait function returns EINTR
31 This test uses sem_wait to check if EINTR is returned. As the function is not required to
32 fail with EINTR, the test may return PASS and the feature not be correct (false positive).
111 if ( errno == EINTR )
113 FAILED( "The function returned EINTR while SA_RESTART is set" );

12345678910>>...30