/external/chromium_org/base/files/ |
H A D | scoped_file.cc | 29 PCHECK(0 == IGNORE_EINTR(close(fd)));
|
H A D | dir_reader_posix_unittest.cc | 35 PCHECK(chdir(dir) == 0); 41 PCHECK(fd >= 0); 42 PCHECK(close(fd) == 0); 79 PCHECK(unlink(buf) == 0); 82 PCHECK(rmdir(dir) == 0); 84 PCHECK(fchdir(prev_wd) == 0); 85 PCHECK(close(prev_wd) == 0);
|
/external/chromium_org/sandbox/linux/services/ |
H A D | scoped_process.cc | 38 PCHECK(0 == pipe(pipe_fds_)); 44 PCHECK(0 <= child_process_id_); 47 PCHECK(0 == IGNORE_EINTR(close(pipe_fds_[0]))); 57 PCHECK(0 == IGNORE_EINTR(close(pipe_fds_[1]))); 64 PCHECK(0 == kill(child_process_id_, SIGKILL)); 67 PCHECK(0 == HANDLE_EINTR( 71 PCHECK(0 == IGNORE_EINTR(close(pipe_fds_[0]))); 74 PCHECK(0 == IGNORE_EINTR(close(pipe_fds_[1]))); 85 PCHECK(0 == ret) << "Did something else wait on the child?"; 102 PCHECK(re [all...] |
H A D | thread_helpers.cc | 31 PCHECK(0 == fstat_ret); 47 PCHECK(0 <= task_fd); 49 PCHECK(0 == IGNORE_EINTR(close(task_fd))); 80 PCHECK(ENOENT == errno); 87 PCHECK(0 == HANDLE_EINTR(nanosleep(&ts, &ts)));
|
H A D | credentials.cc | 55 PCHECK(0 == fclose(f)); 66 PCHECK(0 == closedir(d)); 79 PCHECK(f); 99 PCHECK(getresuid(&ruid, &euid, &suid) == 0); 100 PCHECK(getresgid(&rgid, &egid, &sgid) == 0); 129 PCHECK(0 == chdir("/")); 162 PCHECK(error == EPERM || error == EUSERS || error == EINVAL || 179 PCHECK(0 <= proc_self_fd); 224 PCHECK(0 <= proc_self_fd); 259 PCHECK( [all...] |
H A D | credentials_unittest.cc | 35 PCHECK(cwd); 155 PCHECK(0 == getresuid(&old_ruid, &old_euid, &old_suid)); 156 PCHECK(0 == getresgid(&old_rgid, &old_egid, &old_sgid)); 160 PCHECK(0 == getresuid(&new_ruid, &new_euid, &new_suid)); 166 PCHECK(0 == getresgid(&new_rgid, &new_egid, &new_sgid));
|
H A D | scoped_process_unittest.cc | 34 PCHECK(0 == raise(signal)); 58 PCHECK(SIG_ERR != signal(SIGABRT, SIG_DFL));
|
H A D | yama_unittests.cc | 51 PCHECK(0 == wait_ret); 52 PCHECK(0 == ptrace(PTRACE_DETACH, pid, NULL, NULL));
|
H A D | yama.cc | 93 PCHECK(1 == num_read);
|
/external/chromium_org/sandbox/linux/tests/ |
H A D | test_utils.cc | 24 PCHECK(ECHILD == errno);
|
/external/chromium_org/mojo/embedder/ |
H A D | platform_channel_pair_posix.cc | 40 PCHECK(socketpair(AF_UNIX, SOCK_STREAM, 0, fds) == 0); 41 PCHECK(fcntl(fds[0], F_SETFL, O_NONBLOCK) == 0); 42 PCHECK(fcntl(fds[1], F_SETFL, O_NONBLOCK) == 0); 49 PCHECK( 53 PCHECK(
|
H A D | platform_channel_pair_win.cc | 48 PCHECK(server_handle_.is_valid()); 66 PCHECK(client_handle_.is_valid()); 71 PCHECK(GetLastError() == ERROR_PIPE_CONNECTED);
|
/external/chromium_org/content/browser/renderer_host/ |
H A D | render_sandbox_host_linux.cc | 40 PCHECK(0 == shutdown(renderer_socket_, SHUT_RD)) << "shutdown"; 45 PCHECK(0 == shutdown(browser_socket, SHUT_WR)) << "shutdown";
|
/external/qemu/android/filesystems/testing/ |
H A D | TestSupport.cpp | 44 PCHECK(ret >= 0) << "Could not create temporary filepath";
|
/external/chromium_org/content/zygote/ |
H A D | zygote_main_linux.cc | 102 PCHECK(0 == sigaction(SIGUSR2, &act, NULL)); 473 PCHECK(received_size >= 0); 477 PCHECK(file_fd >= 0); 483 PCHECK(write_res >= 0); 486 PCHECK(0 == HANDLE_EINTR(fsync(file_fd))); 492 PCHECK(0 == socketpair(AF_UNIX, SOCK_SEQPACKET, 0, fds)); 493 PCHECK(0 == shutdown(fds[0], SHUT_WR)); 494 PCHECK(0 == shutdown(fds[1], SHUT_RD)); 500 PCHECK(pid >= 0); 503 PCHECK( [all...] |
H A D | zygote_linux.cc | 60 PCHECK(0 == pipe(raw_pipe)); 78 PCHECK(0 == kill(pid, SIGKILL)); 79 PCHECK(pid == HANDLE_EINTR(waitpid(pid, NULL, 0))); 162 PCHECK(0 == IGNORE_EINTR(close(*it))); 171 PCHECK(*it == HANDLE_EINTR(waitpid(*it, NULL, 0))); 527 PCHECK(0 == IGNORE_EINTR(close(kZygoteSocketPairFd)));
|
/external/chromium_org/components/nacl/loader/sandbox_linux/ |
H A D | nacl_sandbox_linux.cc | 36 PCHECK(0 == IGNORE_EINTR(close(proc_fd))); 53 PCHECK(proc_fd_.is_valid()); 63 PCHECK(proc_self_task.is_valid());
|
/external/chromium_org/chrome/browser/ |
H A D | process_info_snapshot_mac_unittest.cc | 111 PCHECK(pipe(fds) == 0); 127 PCHECK(IGNORE_EINTR(close(fds[1])) == 0); 132 PCHECK(HANDLE_EINTR(read(fds[0], buf, 1)) == 1); 147 PCHECK(IGNORE_EINTR(close(fds[0])) == 0);
|
/external/qemu/android/filesystems/ |
H A D | ext4_utils_unittest.cpp | 57 PCHECK(file.get()) << "Could not create temporary file!"; 58 PCHECK(::fwrite(mImage, maxBytes, 1, file.get()) == 1)
|
/external/chromium_org/components/nacl/loader/ |
H A D | nacl_helper_linux.cc | 58 PCHECK(-1 != fcntl(file_descriptor, F_GETFD, 0)); 60 PCHECK(0 == pipe(pipefd)); 61 PCHECK(-1 != dup2(pipefd[0], file_descriptor)); 62 PCHECK(0 == IGNORE_EINTR(close(pipefd[0]))); 63 PCHECK(0 == IGNORE_EINTR(close(pipefd[1]))); 76 PCHECK(0 == IGNORE_EINTR(close(kNaClZygoteDescriptor))); 98 PCHECK(signal(SIGPIPE, SIG_IGN) != SIG_ERR);
|
/external/chromium_org/mojo/common/test/ |
H A D | test_utils_posix.cc | 80 PCHECK(rv != -1) << "dup"; 88 PCHECK(rv) << "fdopen";
|
H A D | test_utils_win.cc | 88 PCHECK(DuplicateHandle( 115 PCHECK(rv) << "_fdopen";
|
/external/chromium_org/chrome/browser/nacl_host/test/ |
H A D | mock_nacl_gdb.cc | 37 PCHECK(irt_file);
|
/external/chromium_org/sandbox/linux/suid/client/ |
H A D | setuid_sandbox_client.cc | 166 PCHECK(0 == fstat(kZygoteIdFd, &st)); 169 PCHECK(0 == IGNORE_EINTR(close(kZygoteIdFd))); 304 PCHECK(0 == pipe(pipe_fds)); 305 PCHECK(0 == IGNORE_EINTR(close(pipe_fds[1])));
|
/external/qemu/android/base/containers/ |
H A D | PodVector.cpp | 56 PCHECK(mBegin) 116 PCHECK(newBegin) << LogString(
|