Home
last modified time | relevance | path

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

12345678910>>...32

/external/crosvm/sys_util/src/
Dhandle_eintr.rs9 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/
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/
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/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/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/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/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/fmtlib/test/
Dposix-mock-test.cc60 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/
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()
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/
Datomicio.c68 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/
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/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()
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/
Digt_describe.c159 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/
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/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/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/
DErrnoTest.cpp26 errno = EINTR; in TEST()
37 errno = EINTR; in TEST()
/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/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()
/external/drm_hwcomposer/drm/
Dvsyncworker.cpp109 } 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/
Dsemop05.c91 1}, 0, 0, 4, EINTR},
94 0}, -1, 0, 5, EINTR}
174 if (TC[i].error == EINTR) { in main()
/external/cpu_features/src/
Dfilesystem.c47 } while (result == -1L && errno == EINTR); in CpuFeatures_OpenFile()
58 } while (result == -1L && errno == EINTR); in CpuFeatures_ReadFile()

12345678910>>...32