Home
last modified time | relevance | path

Searched refs:IGNORE_EINTR (Results 1 – 25 of 71) sorted by relevance

123

/external/chromium_org/sandbox/linux/services/
Dinit_process_reaper.cc36 close_ret = IGNORE_EINTR(close(sync_fds[0])); in CreateInitProcessReaper()
38 close_ret = IGNORE_EINTR(close(sync_fds[1])); in CreateInitProcessReaper()
53 close_ret = IGNORE_EINTR(close(sync_fds[0])); in CreateInitProcessReaper()
61 close_ret = IGNORE_EINTR(close(sync_fds[1])); in CreateInitProcessReaper()
86 close_ret = IGNORE_EINTR(close(sync_fds[1])); in CreateInitProcessReaper()
92 close_ret = IGNORE_EINTR(close(sync_fds[0])); in CreateInitProcessReaper()
Dscoped_process.cc47 PCHECK(0 == IGNORE_EINTR(close(pipe_fds_[0]))); in ScopedProcess()
57 PCHECK(0 == IGNORE_EINTR(close(pipe_fds_[1]))); in ScopedProcess()
71 PCHECK(0 == IGNORE_EINTR(close(pipe_fds_[0]))); in ~ScopedProcess()
74 PCHECK(0 == IGNORE_EINTR(close(pipe_fds_[1]))); in ~ScopedProcess()
/external/chromium_org/ipc/
Dipc_channel_posix.cc221 if (IGNORE_EINTR(close(pipe_fds[0])) < 0) in SocketPair()
223 if (IGNORE_EINTR(close(pipe_fds[1])) < 0) in SocketPair()
566 if (IGNORE_EINTR(close(client_pipe_)) < 0) in CloseClientFileDescriptor()
590 if (IGNORE_EINTR(close(pipe_)) < 0) in ResetToAcceptingConnectionState()
596 if (IGNORE_EINTR(close(fd_pipe_)) < 0) in ResetToAcceptingConnectionState()
601 if (IGNORE_EINTR(close(remote_fd_pipe_)) < 0) in ResetToAcceptingConnectionState()
621 if (IGNORE_EINTR(close(*i)) < 0) in ResetToAcceptingConnectionState()
656 if (IGNORE_EINTR(close(new_pipe)) < 0) in OnFileCanReadWithoutBlocking()
945 if (IGNORE_EINTR(close(input_fds_[i])) < 0) in ClearInputFDs()
1013 if (IGNORE_EINTR(close(fd)) < 0) in HandleInternalMessage()
[all …]
Dipc_send_fds_test.cc156 EXPECT_GE(IGNORE_EINTR(close(fd)), 0); in MULTIPROCESS_IPC_TEST_CLIENT_MAIN()
172 if (IGNORE_EINTR(close(fd)) < 0) in MULTIPROCESS_IPC_TEST_CLIENT_MAIN()
321 CHECK_EQ(0, IGNORE_EINTR(close(pipe_fds.first))); in Producer()
330 CHECK_EQ(0, IGNORE_EINTR(close(fd))); in ConsumerHandleFD()
/external/chromium_org/base/posix/
Deintr_wrapper.h49 #define IGNORE_EINTR(x) ({ \ macro
63 #define IGNORE_EINTR(x) (x) macro
/external/qemu/android/base/
DEintrWrapper.h94 # define IGNORE_EINTR(x) (x) macro
96 # define IGNORE_EINTR(x) \
/external/qemu/android/utils/
Deintr_wrapper.h93 # define IGNORE_EINTR(x) (x) macro
95 # define IGNORE_EINTR(x) \
Dfilelock.c323 IGNORE_EINTR(close(lockfd)); in filelock_lock()
356 IGNORE_EINTR(close(temp_fd)); in filelock_lock()
360 IGNORE_EINTR(close(lock_fd)); in filelock_lock()
/external/chromium_org/content/browser/renderer_host/
Drender_sandbox_host_linux.cc60 return IGNORE_EINTR(close(childs_lifeline_fd_)) == 0; in ShutdownIPCChannel()
67 if (IGNORE_EINTR(close(renderer_socket_)) < 0) in ~RenderSandboxHostLinux()
/external/chromium_org/remoting/host/
Dipc_util_posix.cc37 if (IGNORE_EINTR(close(pipe_fds[0])) < 0) in CreateConnectedIpcChannel()
39 if (IGNORE_EINTR(close(pipe_fds[1])) < 0) in CreateConnectedIpcChannel()
/external/chromium_org/chrome/common/
Dmulti_process_lock_linux.cc81 if (IGNORE_EINTR(close(socket_fd)) < 0) { in TryLock()
93 if (IGNORE_EINTR(close(fd_)) < 0) { in Unlock()
Dservice_process_util_posix.cc136 if (IGNORE_EINTR(close(sockets_[0]))) { in ~StateData()
141 if (IGNORE_EINTR(close(sockets_[1]))) { in ~StateData()
/external/chromium_org/sandbox/linux/seccomp-bpf/
Dsyscall_unittest.cc80 int close_return_value = IGNORE_EINTR(Syscall::Call(__NR_close, new_fd)); in TEST()
196 EXPECT_EQ(0, IGNORE_EINTR(Syscall::Call(__NR_close, fd))); in TEST()
231 EXPECT_EQ(0, IGNORE_EINTR(Syscall::Call(__NR_close, fd))); in TEST()
Dsandbox_bpf.cc153 fstat(task, &sb) != 0 || sb.st_nlink != 3 || IGNORE_EINTR(close(task))) { in IsSingleThreaded()
155 if (IGNORE_EINTR(close(task))) { in IsSingleThreaded()
347 if (IGNORE_EINTR(close(fds[0]))) { in RunFunctionInPolicy()
369 if (IGNORE_EINTR(close(fds[1]))) { in RunFunctionInPolicy()
391 if (IGNORE_EINTR(close(fds[1]))) { in RunFunctionInPolicy()
419 if (IGNORE_EINTR(close(fds[0]))) { in RunFunctionInPolicy()
558 if (IGNORE_EINTR(close(proc_fd_))) { in StartSandbox()
/external/chromium_org/third_party/webrtc/modules/audio_device/android/
Dlow_latency_event_posix.cc23 #define IGNORE_EINTR(x) ({ \ macro
75 int retval = IGNORE_EINTR(close(*handle)); in Close()
/external/chromium_org/base/process/
Dprocess_util_unittest.cc561 int ret = IGNORE_EINTR(close(write_pipe)); in MULTIPROCESS_TEST_MAIN()
579 int ret = IGNORE_EINTR(close(fds[1])); in CountOpenFDsInChild()
595 ret = IGNORE_EINTR(close(fds[0])); in CountOpenFDsInChild()
623 ret = IGNORE_EINTR(close(sockets[0])); in TEST_F()
625 ret = IGNORE_EINTR(close(sockets[1])); in TEST_F()
627 ret = IGNORE_EINTR(close(dev_null)); in TEST_F()
654 PCHECK(IGNORE_EINTR(close(fds[1])) == 0); in TestLaunchProcess()
659 PCHECK(IGNORE_EINTR(close(fds[0])) == 0); in TestLaunchProcess()
/external/chromium_org/base/message_loop/
Dmessage_pump_io_ios_unittest.cc34 if (IGNORE_EINTR(close(pipefds_[0])) < 0) in TearDown()
36 if (IGNORE_EINTR(close(pipefds_[1])) < 0) in TearDown()
Dmessage_pump_libevent_unittest.cc35 if (IGNORE_EINTR(close(pipefds_[0])) < 0) in TearDown()
37 if (IGNORE_EINTR(close(pipefds_[1])) < 0) in TearDown()
/external/chromium_org/base/files/
Dscoped_file.cc29 PCHECK(0 == IGNORE_EINTR(close(fd))); in Free()
/external/chromium_org/components/nacl/loader/
Dnacl_helper_linux.cc62 PCHECK(0 == IGNORE_EINTR(close(pipefd[0]))); in ReplaceFDWithDummy()
63 PCHECK(0 == IGNORE_EINTR(close(pipefd[1]))); in ReplaceFDWithDummy()
76 PCHECK(0 == IGNORE_EINTR(close(kNaClZygoteDescriptor))); in BecomeNaClLoader()
/external/chromium_org/tools/android/forwarder2/
Dcommon.cc22 if (IGNORE_EINTR(close(fd)) < 0) { in CloseFD()
/external/chromium_org/content/zygote/
Dzygote_main_linux.cc503 PCHECK(0 == IGNORE_EINTR(close(parent_fd))); in ForkSanitizerCoverageHelper()
508 PCHECK(0 == IGNORE_EINTR(close(child_fd))); in ForkSanitizerCoverageHelper()
514 PCHECK(0 == IGNORE_EINTR(close(fds[0]))); in CloseFdPair()
515 PCHECK(0 == IGNORE_EINTR(close(fds[1]))); in CloseFdPair()
/external/chromium_org/chrome/browser/
Dprocess_info_snapshot_mac_unittest.cc127 PCHECK(IGNORE_EINTR(close(fds[1])) == 0); in TEST_F()
147 PCHECK(IGNORE_EINTR(close(fds[0])) == 0); in TEST_F()
/external/chromium_org/sandbox/linux/tests/
Dscoped_temporary_file.cc32 CHECK_EQ(0, IGNORE_EINTR(close(fd_))); in ~ScopedTemporaryFile()
/external/chromium_org/components/nacl/zygote/
Dnacl_fork_delegate_linux.cc275 if (IGNORE_EINTR(close(fds[1])) != 0) in Init()
297 if (IGNORE_EINTR(close(fds[0])) != 0) in Init()
313 if (IGNORE_EINTR(close(fd_)) != 0) in ~NaClForkDelegate()

123