HomeSort by relevance Sort by last modified time
    Searched full:write_fd (Results 1 - 25 of 90) sorted by null

1 2 3 4

  /external/linux-kselftest/tools/testing/selftests/powerpc/pmu/
lib.h 17 int write_fd; member in struct:pipe::__anon26885
lib.c 37 FAIL_IF(write(write_pipe.write_fd, &c, 1) != 1);
59 FAIL_IF(write(write_pipe.write_fd, &c, 1) != 1);
68 FAIL_IF(write(write_pipe.write_fd, &c, 1) != 1);
  /external/linux-kselftest/tools/testing/selftests/powerpc/context_switch/
cp_abort.c 31 #define WRITE_FD 1
91 FAIL_IF((write(fd1[WRITE_FD], &c, 1)) != 1);
100 FAIL_IF((write(fd2[WRITE_FD], &c, 1) != 1));
  /external/android-clat/
ring.c 115 * write_fd - file descriptor to write translated packet to
118 void ring_read(struct packet_ring *ring, int write_fd, int to_ipv6) {
122 translate_packet(write_fd, to_ipv6, packet, tp->tp_len);
ring.h 53 void ring_read(struct packet_ring *ring, int write_fd, int to_ipv6);
  /system/tools/aidl/tests/
aidl_test_client_file_descriptors.cpp 113 unique_fd write_fd; local
115 if (!DoPipe(&read_fd, &write_fd)) {
119 status = s->RepeatFileDescriptor(write_fd, &return_fd);
  /system/connectivity/wificond/tests/
shell_utils.cpp 65 unique_fd write_fd(fds[1]);
75 dup2(write_fd.get(), 1); // Replace existing stdout with the pipe.
77 write_fd.reset();
84 write_fd.reset(); // Close this or we never get HUP from child.
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
test_thread.py 202 self.read_fd, self.write_fd = os.pipe()
216 os.write(self.write_fd, "OK")
219 os.close(self.write_fd)
232 os.close(self.write_fd)
  /external/python/cpython2/Lib/test/
test_thread.py 221 self.read_fd, self.write_fd = os.pipe()
235 os.write(self.write_fd, "OK")
243 os.close(self.write_fd)
256 os.close(self.write_fd)
  /external/python/cpython3/Lib/test/
test_thread.py 218 self.read_fd, self.write_fd = os.pipe()
233 os.write(self.write_fd, b"OK")
237 os.close(self.write_fd)
250 os.close(self.write_fd)
  /prebuilts/gdb/darwin-x86/lib/python2.7/test/
test_thread.py 225 self.read_fd, self.write_fd = os.pipe()
239 os.write(self.write_fd, "OK")
242 os.close(self.write_fd)
255 os.close(self.write_fd)
  /prebuilts/gdb/linux-x86/lib/python2.7/test/
test_thread.py 225 self.read_fd, self.write_fd = os.pipe()
239 os.write(self.write_fd, "OK")
242 os.close(self.write_fd)
255 os.close(self.write_fd)
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_thread.py 225 self.read_fd, self.write_fd = os.pipe()
239 os.write(self.write_fd, "OK")
242 os.close(self.write_fd)
255 os.close(self.write_fd)
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_thread.py 225 self.read_fd, self.write_fd = os.pipe()
239 os.write(self.write_fd, "OK")
242 os.close(self.write_fd)
255 os.close(self.write_fd)
  /system/extras/tests/fstest/
recovery_test.cpp 55 int write_fd = open(test_file_, O_CREAT | O_WRONLY, 0666); local
56 ASSERT_TRUE(write_fd);
57 ASSERT_EQ(write(write_fd, "TEST", 4), 4);
58 close(write_fd);
  /external/perfetto/src/base/
task_runner_unittest.cc 53 write_fd.reset(pipe_fds[1]);
65 PERFETTO_DCHECK(write(write_fd.get(), &b, 1) == 1);
69 ScopedFile write_fd; member in struct:perfetto::base::__anon31959::Pipe
265 ScopedFile write_fd(pipe_fds[1]);
267 write_fd.reset();
  /external/autotest/client/common_lib/cros/
authpolicy.py 265 self._read_fd, write_fd = os.pipe()
266 os.write(write_fd, self._password)
267 os.close(write_fd)
  /system/core/adb/
fdevent_test.cpp 33 FdHandler(int read_fd, int write_fd) : read_fd_(read_fd), write_fd_(write_fd) {
  /system/libhwbinder/vts/performance/
PerfTest.h 62 Pipe(int read_fd, int write_fd) : fd_read_{read_fd}, fd_write_{write_fd} {}
  /external/protobuf/gtest/src/
gtest-death-test.cc 207 FILE* parent = posix::FDOpen(flag->write_fd(), "w");
336 int write_fd() const { return write_fd_; } function in class:testing::internal::DeathTestImpl
420 GTEST_DEATH_TEST_CHECK_SYSCALL_(posix::Write(write_fd(), &status_ch, 1));
421 GTEST_DEATH_TEST_CHECK_SYSCALL_(posix::Close(write_fd()));
606 set_write_fd(flag->write_fd());
1107 const int write_fd = local
1135 int write_fd = -1; local
    [all...]
  /external/ltp/testcases/kernel/ipc/pipeio/
pipeio.c 123 static int write_fd; variable
477 write_fd = fds[1];
511 write_fd = open(pname, O_WRONLY);
512 if (write_fd == -1) {
517 if (ndelay && fcntl(write_fd, F_SETFL, O_NONBLOCK) == -1) {
554 nb = lio_write_buffer(write_fd, iotype, writebuf, size,
632 SAFE_CLOSE(cleanup, write_fd);
  /external/google-breakpad/src/testing/gtest/src/
gtest-death-test.cc 258 FILE* parent = posix::FDOpen(flag->write_fd(), "w");
387 int write_fd() const { return write_fd_; } function in class:testing::internal::DeathTestImpl
476 GTEST_DEATH_TEST_CHECK_SYSCALL_(posix::Write(write_fd(), &status_ch, 1));
692 set_write_fd(flag->write_fd());
1268 const int write_fd = local
1296 int write_fd = -1; local
    [all...]
  /external/googletest/googletest/src/
gtest-death-test.cc 269 FILE* parent = posix::FDOpen(flag->write_fd(), "w");
400 int write_fd() const { return write_fd_; } function in class:testing::internal::DeathTestImpl
489 GTEST_DEATH_TEST_CHECK_SYSCALL_(posix::Write(write_fd(), &status_ch, 1));
705 set_write_fd(flag->write_fd());
1274 const int write_fd = local
1302 int write_fd = -1; local
    [all...]
  /external/libbrillo/brillo/
process_unittest.cc 250 int write_fd = process_.GetPipe(STDIN_FILENO); local
252 EXPECT_TRUE(base::WriteFile(GetFdPath(write_fd), kMessage, strlen(kMessage)));
253 close(write_fd);
  /external/libvpx/libvpx/third_party/googletest/src/src/
gtest-death-test.cc 269 FILE* parent = posix::FDOpen(flag->write_fd(), "w");
400 int write_fd() const { return write_fd_; } function in class:testing::internal::DeathTestImpl
489 GTEST_DEATH_TEST_CHECK_SYSCALL_(posix::Write(write_fd(), &status_ch, 1));
705 set_write_fd(flag->write_fd());
1275 const int write_fd = local
1303 int write_fd = -1; local
    [all...]

Completed in 2061 milliseconds

1 2 3 4