/third_party/skia/third_party/externals/abseil-cpp/absl/debugging/internal/ |
D | address_is_readable.cc | 52 static uint64_t Pack(uint64_t pid, uint64_t read_fd, uint64_t write_fd) { in Pack() argument 53 ABSL_RAW_CHECK((read_fd >> 24) == 0 && (write_fd >> 24) == 0, in Pack() 55 return (pid << 48) | ((read_fd & 0xffffff) << 24) | (write_fd & 0xffffff); in Pack() 60 static void Unpack(uint64_t x, int *pid, int *read_fd, int *write_fd) { in Unpack() argument 63 *write_fd = x & 0xffffff; in Unpack() 89 int write_fd; in AddressIsReadable() local 91 Unpack(local_pid_and_fds, &pid, &read_fd, &write_fd); in AddressIsReadable() 110 Unpack(local_pid_and_fds, &pid, &read_fd, &write_fd); in AddressIsReadable() 117 bytes_written = syscall(SYS_write, write_fd, addr, 1); in AddressIsReadable()
|
/third_party/python/Lib/test/ |
D | test_thread.py | 225 self.read_fd, self.write_fd = os.pipe() 232 def fork_thread(read_fd, write_fd): argument 244 os.write(write_fd, b"OK") 249 thread.start_new_thread(fork_thread, (self.read_fd, self.write_fd)) 251 os.close(self.write_fd) 263 os.close(self.write_fd)
|
D | test_tempfile.py | 206 read_fd, write_fd = os.pipe() 213 os.write(write_fd, next(self.r).encode("ascii")) 214 os.close(write_fd) 227 os.close(write_fd)
|
D | test_os.py | 414 read_fd, write_fd = os.pipe() 416 self.addCleanup(lambda: os.close(write_fd)) 419 i = os.splice(in_fd, write_fd, 5) 449 read_fd, write_fd = os.pipe() 451 self.addCleanup(lambda: os.close(write_fd)) 454 i = os.splice(in_fd, write_fd, bytes_to_copy, offset_src=in_skip) 483 read_fd, write_fd = os.pipe() 485 self.addCleanup(lambda: os.close(write_fd)) 486 os.write(write_fd, data)
|
/third_party/ltp/testcases/kernel/ipc/pipeio/ |
D | pipeio.c | 122 static int write_fd; variable 476 write_fd = fds[1]; in setup() 510 write_fd = open(pname, O_WRONLY); in do_child() 511 if (write_fd == -1) { in do_child() 516 if (ndelay && fcntl(write_fd, F_SETFL, O_NONBLOCK) == -1) { in do_child() 553 nb = lio_write_buffer(write_fd, iotype, writebuf, size, in do_child() 631 SAFE_CLOSE(cleanup, write_fd); in do_parent()
|
/third_party/node/deps/googletest/src/ |
D | gtest-death-test.cc | 298 FILE* parent = posix::FDOpen(flag->write_fd(), "w"); in DeathTestAbort() 430 int write_fd() const { return write_fd_; } in write_fd() function in testing::internal::DeathTestImpl 523 GTEST_DEATH_TEST_CHECK_SYSCALL_(posix::Write(write_fd(), &status_ch, 1)); in Abort() 754 set_write_fd(flag->write_fd()); in AssumeRole() 1360 set_write_fd(flag->write_fd()); in AssumeRole() 1512 const int write_fd = in GetStatusFileDescriptor() local 1514 if (write_fd == -1) { in GetStatusFileDescriptor() 1524 return write_fd; in GetStatusFileDescriptor() 1540 int write_fd = -1; in ParseInternalRunDeathTestFlag() local 1556 write_fd = GetStatusFileDescriptor(parent_process_id, write_handle_as_size_t, in ParseInternalRunDeathTestFlag() [all …]
|
/third_party/googletest/googletest/src/ |
D | gtest-death-test.cc | 294 FILE* parent = posix::FDOpen(flag->write_fd(), "w"); in DeathTestAbort() 426 int write_fd() const { return write_fd_; } in write_fd() function in testing::internal::DeathTestImpl 519 GTEST_DEATH_TEST_CHECK_SYSCALL_(posix::Write(write_fd(), &status_ch, 1)); in Abort() 736 set_write_fd(flag->write_fd()); in AssumeRole() 1395 set_write_fd(flag->write_fd()); in AssumeRole() 1547 const int write_fd = in GetStatusFileDescriptor() local 1549 if (write_fd == -1) { in GetStatusFileDescriptor() 1559 return write_fd; in GetStatusFileDescriptor() 1575 int write_fd = -1; in ParseInternalRunDeathTestFlag() local 1591 write_fd = GetStatusFileDescriptor(parent_process_id, write_handle_as_size_t, in ParseInternalRunDeathTestFlag() [all …]
|
/third_party/mesa3d/src/gtest/src/ |
D | gtest-death-test.cc | 292 FILE* parent = posix::FDOpen(flag->write_fd(), "w"); in DeathTestAbort() 423 int write_fd() const { return write_fd_; } in write_fd() function in testing::internal::DeathTestImpl 518 GTEST_DEATH_TEST_CHECK_SYSCALL_(posix::Write(write_fd(), &status_ch, 1)); in Abort() 735 set_write_fd(flag->write_fd()); in AssumeRole() 1421 set_write_fd(flag->write_fd()); in AssumeRole() 1576 const int write_fd = in GetStatusFileDescriptor() local 1578 if (write_fd == -1) { in GetStatusFileDescriptor() 1588 return write_fd; in GetStatusFileDescriptor() 1604 int write_fd = -1; in ParseInternalRunDeathTestFlag() local 1621 write_fd = GetStatusFileDescriptor(parent_process_id, in ParseInternalRunDeathTestFlag() [all …]
|
/third_party/node/deps/cares/src/lib/ |
D | ares_process.c | 55 ares_socket_t write_fd); 141 ares_socket_t write_fd) in processfds() argument 155 write_tcp_data(channel, write_fds, write_fd); in processfds() 174 ares_socket_t write_fd) in ares_process_fd() argument 176 processfds(channel, NULL, read_fd, NULL, write_fd); in ares_process_fd() 211 ares_socket_t write_fd) in write_tcp_data() argument 215 if (!write_fds && (write_fd == ARES_SOCKET_BAD)) { in write_tcp_data() 238 if (server->tcp_conn->fd != write_fd) { in write_tcp_data()
|
/third_party/ltp/testcases/kernel/sched/tool/ |
D | time-schedule.c | 95 int write_fd = -1; in main() local 183 write_fd = fds[1]; in main() 226 write(write_fd, &ch, 1); in main()
|
/third_party/mesa3d/src/gtest/include/gtest/internal/ |
D | gtest-death-test-internal.h | 283 int write_fd() const { return write_fd_; } in write_fd() function
|
/third_party/googletest/googletest/include/gtest/internal/ |
D | gtest-death-test-internal.h | 285 int write_fd() const { return write_fd_; } in write_fd() function
|
/third_party/node/deps/googletest/include/gtest/internal/ |
D | gtest-death-test-internal.h | 285 int write_fd() const { return write_fd_; } in write_fd() function
|
/third_party/cares/include/ |
D | ares.h | 476 ares_socket_t write_fd);
|
/third_party/node/deps/cares/include/ |
D | ares.h | 512 ares_socket_t write_fd);
|