Searched refs:write_fd (Results 1 - 25 of 39) sorted by relevance

12

/external/android-clat/
H A Dring.h53 void ring_read(struct packet_ring *ring, int write_fd, int to_ipv6);
H A Dring.c115 * write_fd - file descriptor to write translated packet to
118 void ring_read(struct packet_ring *ring, int write_fd, int to_ipv6) { argument
122 translate_packet(write_fd, to_ipv6, packet, tp->tp_len);
/external/linux-kselftest/tools/testing/selftests/powerpc/pmu/
H A Dlib.h17 int write_fd; member in struct:pipe::__anon13540
H A Dlib.c37 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/protobuf/gtest/src/
H A Dgtest-death-test.cc207 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());
946 set_write_fd(flag->write_fd());
1107 const int write_fd = local
1109 if (write_fd == -1) {
1119 return write_fd;
1135 int write_fd local
[all...]
/external/autotest/client/common_lib/cros/
H A Dauthpolicy.py265 self._read_fd, write_fd = os.pipe()
266 os.write(write_fd, self._password)
267 os.close(write_fd)
/external/python/cpython2/Lib/test/
H A Dtest_thread.py221 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/
H A Dtest_thread.py218 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)
/external/google-breakpad/src/testing/gtest/src/
H A Dgtest-death-test.cc258 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());
1102 set_write_fd(flag->write_fd());
1268 const int write_fd = local
1270 if (write_fd == -1) {
1280 return write_fd;
1296 int write_fd = -1; local
1314 write_fd
[all...]
/external/googletest/googletest/src/
H A Dgtest-death-test.cc269 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());
1125 set_write_fd(flag->write_fd());
1274 const int write_fd = local
1276 if (write_fd == -1) {
1286 return write_fd;
1302 int write_fd = -1; local
1319 write_fd
[all...]
/external/libvpx/libvpx/third_party/googletest/src/src/
H A Dgtest-death-test.cc269 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());
1126 set_write_fd(flag->write_fd());
1275 const int write_fd = local
1277 if (write_fd == -1) {
1287 return write_fd;
1303 int write_fd = -1; local
1320 write_fd
[all...]
/external/llvm/utils/unittest/googletest/src/
H A Dgtest-death-test.cc220 FILE* parent = posix::FDOpen(flag->write_fd(), "w");
352 int write_fd() const { return write_fd_; } function in class:testing::internal::DeathTestImpl
441 GTEST_DEATH_TEST_CHECK_SYSCALL_(posix::Write(write_fd(), &status_ch, 1));
656 set_write_fd(flag->write_fd());
1002 set_write_fd(flag->write_fd());
1171 const int write_fd = local
1173 if (write_fd == -1) {
1183 return write_fd;
1199 int write_fd = -1; local
1217 write_fd
[all...]
/external/mesa3d/src/gtest/src/
H A Dgtest-death-test.cc258 FILE* parent = posix::FDOpen(flag->write_fd(), "w");
389 int write_fd() const { return write_fd_; } function in class:testing::internal::DeathTestImpl
478 GTEST_DEATH_TEST_CHECK_SYSCALL_(posix::Write(write_fd(), &status_ch, 1));
694 set_write_fd(flag->write_fd());
1108 set_write_fd(flag->write_fd());
1277 const int write_fd = local
1279 if (write_fd == -1) {
1289 return write_fd;
1305 int write_fd = -1; local
1322 write_fd
[all...]
/external/swiftshader/third_party/LLVM/utils/unittest/googletest/
H A Dgtest-death-test.cc220 FILE* parent = posix::FDOpen(flag->write_fd(), "w");
349 int write_fd() const { return write_fd_; } function in class:testing::internal::DeathTestImpl
438 GTEST_DEATH_TEST_CHECK_SYSCALL_(posix::Write(write_fd(), &status_ch, 1));
654 set_write_fd(flag->write_fd());
999 set_write_fd(flag->write_fd());
1165 const int write_fd = local
1167 if (write_fd == -1) {
1177 return write_fd;
1193 int write_fd = -1; local
1211 write_fd
[all...]
/external/v8/testing/gtest/src/
H A Dgtest-death-test.cc267 FILE* parent = posix::FDOpen(flag->write_fd(), "w");
398 int write_fd() const { return write_fd_; } function in class:testing::internal::DeathTestImpl
487 GTEST_DEATH_TEST_CHECK_SYSCALL_(posix::Write(write_fd(), &status_ch, 1));
703 set_write_fd(flag->write_fd());
1124 set_write_fd(flag->write_fd());
1273 const int write_fd = local
1275 if (write_fd == -1) {
1285 return write_fd;
1301 int write_fd = -1; local
1318 write_fd
[all...]
/external/vulkan-validation-layers/tests/gtest-1.7.0/src/
H A Dgtest-death-test.cc258 FILE* parent = posix::FDOpen(flag->write_fd(), "w");
389 int write_fd() const { return write_fd_; } function in class:testing::internal::DeathTestImpl
478 GTEST_DEATH_TEST_CHECK_SYSCALL_(posix::Write(write_fd(), &status_ch, 1));
694 set_write_fd(flag->write_fd());
1108 set_write_fd(flag->write_fd());
1277 const int write_fd = local
1279 if (write_fd == -1) {
1289 return write_fd;
1305 int write_fd = -1; local
1322 write_fd
[all...]
/external/perfetto/src/base/
H A Dtask_runner_unittest.cc53 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::__anon18623::Pipe
265 ScopedFile write_fd(pipe_fds[1]);
267 write_fd.reset();
/external/ltp/testcases/kernel/ipc/pipeio/
H A Dpipeio.c123 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/ltp/testcases/kernel/sched/tool/
H A Dtime-schedule.c95 int write_fd = -1; local
183 write_fd = fds[1];
226 write(write_fd, &ch, 1);
/external/libbrillo/brillo/
H A Dprocess_unittest.cc250 int write_fd = process_.GetPipe(STDIN_FILENO); local
252 EXPECT_TRUE(base::WriteFile(GetFdPath(write_fd), kMessage, strlen(kMessage)));
253 close(write_fd);
/external/google-breakpad/src/testing/gtest/include/gtest/internal/
H A Dgtest-death-test-internal.h251 int write_fd() const { return write_fd_; } function in class:testing::internal::InternalRunDeathTestFlag
/external/googletest/googletest/include/gtest/internal/
H A Dgtest-death-test-internal.h251 int write_fd() const { return write_fd_; } function in class:testing::internal::InternalRunDeathTestFlag
/external/libvpx/libvpx/third_party/googletest/src/include/gtest/internal/
H A Dgtest-death-test-internal.h251 int write_fd() const { return write_fd_; } function in class:testing::internal::InternalRunDeathTestFlag
/external/llvm/utils/unittest/googletest/include/gtest/internal/
H A Dgtest-death-test-internal.h238 int write_fd() const { return write_fd_; } function in class:testing::internal::InternalRunDeathTestFlag
/external/mesa3d/src/gtest/include/gtest/internal/
H A Dgtest-death-test-internal.h251 int write_fd() const { return write_fd_; } function in class:testing::internal::InternalRunDeathTestFlag

Completed in 417 milliseconds

12