Home
last modified time | relevance | path

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

12

/external/cronet/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/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/cronet/base/
Dstack_canary_linux.cc86 PCHECK(0 == mprotect(reinterpret_cast<void*>(__stack_chk_guard_page), in ResetStackCanaryIfPossible()
89 PCHECK(0 == mprotect(reinterpret_cast<void*>(__stack_chk_guard_page), in ResetStackCanaryIfPossible()
Dcheck.h170 #define PCHECK(condition) \ macro
182 #define PCHECK(condition) \ macro
Dcheck_unittest.cc94 PCHECK(fopen(file, "r") != nullptr)); in TEST()
100 PCHECK(fopen(file, "r") != nullptr) << "foo"); in TEST()
151 PCHECK(Called()) << NotCalled(); in TEST()
/external/cronet/base/message_loop/
Dmessage_pump_kqueue.cc127 PCHECK(kqueue_.is_valid()) << "kqueue"; in MessagePumpKqueue()
148 PCHECK(rv == 0) << "kevent64"; in MessagePumpKqueue()
434 PCHECK(rv > 0) << "kevent64"; in DoInternalWork()
531 PCHECK(rv == 0) << "kevent64, delete timer"; in MaybeUpdateWakeupTimer()
539 PCHECK(rv == 0) << "kevent64, set timer"; in MaybeUpdateWakeupTimer()
Dmessage_pump_epoll.cc27 PCHECK(epoll_.is_valid()); in MessagePumpEpoll()
30 PCHECK(wake_event_.is_valid()); in MessagePumpEpoll()
34 PCHECK(rv == 0); in MessagePumpEpoll()
/external/cronet/components/nacl/loader/sandbox_linux/
Dnacl_sandbox_linux.cc46 PCHECK(0 == IGNORE_EINTR(close(proc_fd))); in IsSandboxed()
108 PCHECK(proc_fd_.is_valid()); in NaClSandbox()
/external/libbrillo/brillo/
Dprocess_reaper_test.cc22 PCHECK(pid != -1); in ForkChildAndExit()
31 PCHECK(pid != -1); in ForkChildAndKill()
/external/cronet/base/memory/
Dmadv_free_discardable_memory_posix.cc48 PCHECK(data != MAP_FAILED); in AllocatePages()
80 PCHECK(!munmap(dummy_page, base::GetPageSize())); in ProbePlatformMadvFreeSupport()
338 PCHECK(!retval); in Deallocate()
/external/libchrome/mojo/core/
Dbroker_posix.cc75 PCHECK(flags != -1); in Broker()
77 PCHECK(flags != -1); in Broker()
/external/tensorflow/tensorflow/compiler/xla/stream_executor/platform/
Dlogging.h26 #define PCHECK(invocation) CHECK(invocation) macro
/external/cronet/base/synchronization/
Dwaitable_event_mac.cc151 PCHECK(wait_many.is_valid()) << "kqueue"; in WaitMany()
156 PCHECK(rv > 0) << "kevent64"; in WaitMany()
/external/cronet/components/nacl/loader/
Dnacl_helper_linux.cc132 PCHECK(0 == IGNORE_EINTR(close(kNaClZygoteDescriptor))); in BecomeNaClLoader()
150 PCHECK(signal(SIGPIPE, SIG_IGN) != SIG_ERR); in BecomeNaClLoader()
/external/libchrome/base/
Dlogging.h628 #define PCHECK(condition) \ macro
649 #define PCHECK(condition) \ macro
661 #define PCHECK(condition) \ macro
/external/angle/third_party/abseil-cpp/absl/log/
Dcheck.h80 #define PCHECK(condition) ABSL_LOG_INTERNAL_PCHECK_IMPL((condition), #condition) macro
/external/cronet/third_party/abseil-cpp/absl/log/
Dcheck.h80 #define PCHECK(condition) ABSL_PCHECK_IMPL((condition), #condition) macro
/external/webrtc/third_party/abseil-cpp/absl/log/
Dcheck.h86 #define PCHECK(condition) CHECK(condition).WithPerror() macro
/external/cronet/net/base/
Dnetwork_interfaces_getifaddrs.cc71 PCHECK(IGNORE_EINTR(close(ioctl_socket_)) == 0); in ~IPAttributesGetterMac()
/external/cronet/net/socket/
Dudp_socket_posix.cc184 PCHECK(change_fdguard_np(socket_, nullptr, 0, &kSocketFdGuard, in ConfigureOpenedSocket()
293 PCHECK(errno == ENOTCONN || errno == EPROTOTYPE); in Close()
296 PCHECK(IGNORE_EINTR(close(socket_)) == 0); in Close()
/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()

12