Home
last modified time | relevance | path

Searched refs:PCHECK (Results 1 – 12 of 12) sorted by relevance

/external/libchrome/base/files/
Ddir_reader_posix_unittest.cc37 PCHECK(getcwd(wdbuf, PATH_MAX)); in TEST()
39 PCHECK(chdir(dir) == 0); in TEST()
45 PCHECK(fd >= 0); in TEST()
46 PCHECK(close(fd) == 0); in TEST()
83 PCHECK(unlink(buf) == 0); in TEST()
86 PCHECK(rmdir(dir) == 0); in TEST()
88 PCHECK(chdir(wdbuf) == 0); in TEST()
Dscoped_file.cc43 PCHECK(0 == ret); in Free()
/external/libchrome/mojo/public/cpp/platform/
Dplatform_channel.cc64 PCHECK(local_endpoint->is_valid()); in CreateChannel()
77 PCHECK(remote_endpoint->is_valid()); in CreateChannel()
82 PCHECK(::GetLastError() == ERROR_PIPE_CONNECTED); in CreateChannel()
119 PCHECK(imc_socketpair(fds) == 0);
121 PCHECK(socketpair(AF_UNIX, SOCK_STREAM, 0, fds) == 0);
124 PCHECK(fcntl(fds[0], F_SETFL, O_NONBLOCK) == 0);
125 PCHECK(fcntl(fds[1], F_SETFL, O_NONBLOCK) == 0);
132 PCHECK(setsockopt(fds[0], SOL_SOCKET, SO_NOSIGPIPE, &no_sigpipe,
134 PCHECK(setsockopt(fds[1], SOL_SOCKET, SO_NOSIGPIPE, &no_sigpipe,
/external/libchrome/mojo/core/test/
Dtest_utils.cc20 PCHECK(rv != -1) << "dup"; in PlatformHandleFromFILE()
27 PCHECK(rv) << "fdopen"; in FILEFromPlatformHandle()
/external/libbrillo/brillo/
Dprocess_reaper_test.cc22 PCHECK(pid != -1); in ForkChildAndExit()
31 PCHECK(pid != -1); in ForkChildAndKill()
/external/tensorflow/tensorflow/stream_executor/platform/
Dlogging.h24 #define PCHECK(invocation) CHECK(invocation) macro
/external/libchrome/mojo/core/
Dbroker_posix.cc75 PCHECK(flags != -1); in Broker()
77 PCHECK(flags != -1); in Broker()
/external/libchrome/base/
Dlogging.h628 #define PCHECK(condition) \ macro
649 #define PCHECK(condition) \ macro
661 #define PCHECK(condition) \ macro
Dlogging_unittest.cc231 PCHECK(!mock_log_source.Log()) << mock_log_source.Log(); in TEST_F()
/external/libchrome/base/process/
Dprocess_util_unittest.cc1161 PCHECK(pipe(fds) == 0); in TestLaunchProcess()
1174 PCHECK(IGNORE_EINTR(close(fds[1])) == 0); in TestLaunchProcess()
1179 PCHECK(IGNORE_EINTR(close(fds[0])) == 0); in TestLaunchProcess()
/external/tensorflow/tensorflow/stream_executor/rocm/
Drocm_gpu_executor.cc224 PCHECK(readlink("/proc/self/exe", exe_path, sizeof(exe_path) - 1) != -1); in GetBinaryDir()
/external/tensorflow/tensorflow/stream_executor/cuda/
Dcuda_gpu_executor.cc204 PCHECK(readlink("/proc/self/exe", exe_path, sizeof(exe_path) - 1) != -1); in GetBinaryDir()