Home
last modified time | relevance | path

Searched refs:PCHECK (Results 1 – 10 of 10) 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,
Dnamed_platform_channel_win.cc55 PCHECK(::ConvertStringSecurityDescriptorToSecurityDescriptor( in CreateServerEndpoint()
/external/libchrome/mojo/core/test/
Dtest_utils.cc20 PCHECK(rv != -1) << "dup"; in PlatformHandleFromFILE()
27 PCHECK(rv) << "fdopen"; in FILEFromPlatformHandle()
Dtest_utils_win.cc21 PCHECK(DuplicateHandle( in PlatformHandleFromFILE()
43 PCHECK(rv) << "_fdopen"; in FILEFromPlatformHandle()
/external/libbrillo/brillo/
Dprocess_reaper_unittest.cc23 PCHECK(pid != -1); in ForkChildAndExit()
32 PCHECK(pid != -1); in ForkChildAndKill()
/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()