PCHECK 35 base/files/dir_reader_posix_unittest.cc PCHECK(chdir(dir) == 0); PCHECK 41 base/files/dir_reader_posix_unittest.cc PCHECK(fd >= 0); PCHECK 42 base/files/dir_reader_posix_unittest.cc PCHECK(close(fd) == 0); PCHECK 79 base/files/dir_reader_posix_unittest.cc PCHECK(unlink(buf) == 0); PCHECK 82 base/files/dir_reader_posix_unittest.cc PCHECK(rmdir(dir) == 0); PCHECK 84 base/files/dir_reader_posix_unittest.cc PCHECK(fchdir(prev_wd) == 0); PCHECK 85 base/files/dir_reader_posix_unittest.cc PCHECK(close(prev_wd) == 0); PCHECK 29 base/files/scoped_file.cc PCHECK(0 == IGNORE_EINTR(close(fd))); PCHECK 183 base/logging_unittest.cc PCHECK(!mock_log_source.Log()) << mock_log_source.Log(); PCHECK 577 base/process/process_util_unittest.cc PCHECK(pipe(fds) == 0); PCHECK 590 base/process/process_util_unittest.cc PCHECK(IGNORE_EINTR(close(fds[1])) == 0); PCHECK 594 base/process/process_util_unittest.cc PCHECK(n > 0); PCHECK 596 base/process/process_util_unittest.cc PCHECK(IGNORE_EINTR(close(fds[0])) == 0); PCHECK 37 chrome/browser/nacl_host/test/mock_nacl_gdb.cc PCHECK(irt_file); PCHECK 103 chrome/browser/process_info_snapshot_mac_unittest.cc PCHECK(pipe(fds) == 0); PCHECK 119 chrome/browser/process_info_snapshot_mac_unittest.cc PCHECK(IGNORE_EINTR(close(fds[1])) == 0); PCHECK 124 chrome/browser/process_info_snapshot_mac_unittest.cc PCHECK(HANDLE_EINTR(read(fds[0], buf, 1)) == 1); PCHECK 139 chrome/browser/process_info_snapshot_mac_unittest.cc PCHECK(IGNORE_EINTR(close(fds[0])) == 0); PCHECK 218 chrome/browser/process_singleton_linux.cc PCHECK(sock >= 0) << "socket() failed"; PCHECK 43 content/common/sandbox_linux/sandbox_linux.cc PCHECK(0 == IGNORE_EINTR(close(*fd))); PCHECK 398 content/common/sandbox_linux/sandbox_linux.cc PCHECK(proc_self_task.is_valid()); PCHECK 40 mojo/embedder/platform_channel_pair_posix.cc PCHECK(socketpair(AF_UNIX, SOCK_STREAM, 0, fds) == 0); PCHECK 41 mojo/embedder/platform_channel_pair_posix.cc PCHECK(fcntl(fds[0], F_SETFL, O_NONBLOCK) == 0); PCHECK 42 mojo/embedder/platform_channel_pair_posix.cc PCHECK(fcntl(fds[1], F_SETFL, O_NONBLOCK) == 0); PCHECK 49 mojo/embedder/platform_channel_pair_posix.cc PCHECK(setsockopt(fds[0], SOL_SOCKET, SO_NOSIGPIPE, &no_sigpipe, PCHECK 51 mojo/embedder/platform_channel_pair_posix.cc PCHECK(setsockopt(fds[1], SOL_SOCKET, SO_NOSIGPIPE, &no_sigpipe, PCHECK 47 mojo/embedder/platform_channel_pair_win.cc PCHECK(server_handle_.is_valid()); PCHECK 66 mojo/embedder/platform_channel_pair_win.cc PCHECK(client_handle_.is_valid()); PCHECK 71 mojo/embedder/platform_channel_pair_win.cc PCHECK(GetLastError() == ERROR_PIPE_CONNECTED); PCHECK 157 sandbox/linux/services/broker_process.cc PCHECK(0 == IGNORE_EINTR(close(ipc_socketpair_))); PCHECK 158 sandbox/linux/services/broker_process.cc PCHECK(0 == kill(broker_pid_, SIGKILL)); PCHECK 162 sandbox/linux/services/broker_process.cc PCHECK(0 == ret); PCHECK 55 sandbox/linux/services/credentials.cc PCHECK(0 == fclose(f)); PCHECK 66 sandbox/linux/services/credentials.cc PCHECK(0 == closedir(d)); PCHECK 79 sandbox/linux/services/credentials.cc PCHECK(f); PCHECK 99 sandbox/linux/services/credentials.cc PCHECK(getresuid(&ruid, &euid, &suid) == 0); PCHECK 100 sandbox/linux/services/credentials.cc PCHECK(getresgid(&rgid, &egid, &sgid) == 0); PCHECK 129 sandbox/linux/services/credentials.cc PCHECK(0 == chdir("/")); PCHECK 162 sandbox/linux/services/credentials.cc PCHECK(error == EPERM || error == EUSERS || error == EINVAL || PCHECK 230 sandbox/linux/services/credentials.cc PCHECK(0 == cap_set_proc(cap.get())); PCHECK 276 sandbox/linux/services/credentials.cc PCHECK(0 == HANDLE_EINTR(waitid(P_PID, pid, &infop, WEXITED))); PCHECK 35 sandbox/linux/services/credentials_unittest.cc PCHECK(cwd); PCHECK 143 sandbox/linux/services/credentials_unittest.cc PCHECK(0 == getresuid(&old_ruid, &old_euid, &old_suid)); PCHECK 144 sandbox/linux/services/credentials_unittest.cc PCHECK(0 == getresgid(&old_rgid, &old_egid, &old_sgid)); PCHECK 148 sandbox/linux/services/credentials_unittest.cc PCHECK(0 == getresuid(&new_ruid, &new_euid, &new_suid)); PCHECK 154 sandbox/linux/services/credentials_unittest.cc PCHECK(0 == getresgid(&new_rgid, &new_egid, &new_sgid)); PCHECK 38 sandbox/linux/services/scoped_process.cc PCHECK(0 == pipe(pipe_fds_)); PCHECK 44 sandbox/linux/services/scoped_process.cc PCHECK(0 <= child_process_id_); PCHECK 47 sandbox/linux/services/scoped_process.cc PCHECK(0 == IGNORE_EINTR(close(pipe_fds_[0]))); PCHECK 57 sandbox/linux/services/scoped_process.cc PCHECK(0 == IGNORE_EINTR(close(pipe_fds_[1]))); PCHECK 64 sandbox/linux/services/scoped_process.cc PCHECK(0 == kill(child_process_id_, SIGKILL)); PCHECK 67 sandbox/linux/services/scoped_process.cc PCHECK(0 == HANDLE_EINTR( PCHECK 71 sandbox/linux/services/scoped_process.cc PCHECK(0 == IGNORE_EINTR(close(pipe_fds_[0]))); PCHECK 74 sandbox/linux/services/scoped_process.cc PCHECK(0 == IGNORE_EINTR(close(pipe_fds_[1]))); PCHECK 85 sandbox/linux/services/scoped_process.cc PCHECK(0 == ret) << "Did something else wait on the child?"; PCHECK 102 sandbox/linux/services/scoped_process.cc PCHECK(ret >= 0); PCHECK 34 sandbox/linux/services/scoped_process_unittest.cc PCHECK(0 == raise(signal)); PCHECK 31 sandbox/linux/services/thread_helpers.cc PCHECK(0 == fstat_ret); PCHECK 47 sandbox/linux/services/thread_helpers.cc PCHECK(0 <= task_fd); PCHECK 49 sandbox/linux/services/thread_helpers.cc PCHECK(0 == IGNORE_EINTR(close(task_fd))); PCHECK 80 sandbox/linux/services/thread_helpers.cc PCHECK(ENOENT == errno); PCHECK 87 sandbox/linux/services/thread_helpers.cc PCHECK(0 == HANDLE_EINTR(nanosleep(&ts, &ts))); PCHECK 45 sandbox/linux/services/thread_helpers_unittests.cc ~ScopedProcSelfTask() { PCHECK(0 == IGNORE_EINTR(close(fd_))); } PCHECK 93 sandbox/linux/services/yama.cc PCHECK(1 == num_read); PCHECK 34 sandbox/linux/services/yama_unittests.cc PCHECK(0 == wait_ret); PCHECK 35 sandbox/linux/services/yama_unittests.cc PCHECK(0 == ptrace(PTRACE_DETACH, pid, NULL, NULL)); PCHECK 24 sandbox/linux/tests/test_utils.cc PCHECK(ECHILD == errno); PCHECK 176 third_party/tcmalloc/chromium/src/base/logging.h #define CHECK_ERR(invocation) PCHECK((invocation) != -1) PCHECK 171 third_party/tcmalloc/vendor/src/base/logging.h #define CHECK_ERR(invocation) PCHECK((invocation) != -1)