Home
last modified time | relevance | path

Searched refs:fd0 (Results 1 – 25 of 36) sorted by relevance

12

/external/ltp/testcases/kernel/syscalls/dup2/
Ddup203.c62 int fd0, fd1, fd2, rval; in main() local
84 if ((fd0 = creat(filename0, 0666)) == -1) in main()
86 if (write(fd0, filename0, strlen(filename0)) == -1) in main()
94 SAFE_CLOSE(cleanup, fd0); in main()
95 if ((fd0 = open(filename0, O_RDONLY)) == -1) in main()
102 TEST(dup2(fd0, fd1)); in main()
120 close(fd0); in main()
135 if ((fd0 = creat(filename0, 0666)) == -1) { in main()
138 if (fcntl(fd0, F_SETFD, 1) == -1) { in main()
151 TEST(dup2(fd0, fd2)); in main()
[all …]
/external/ltp/testcases/kernel/io/stress_floppy/
Dstress_floppy58 num_device=$(ls /dev | grep fd0 | wc -l)
72 fdformat /dev/fd0
85 tar -C $TCdat/dumpdir -cvf /dev/fd0 $the_file
92 tar -xvf /dev/fd0
120 dump -f /dev/fd0 dumpdir
131 restore -v -r -f /dev/fd0 2>/dev/null
164 echo $the_file | cpio -o > /dev/fd0
176 cpio -i < /dev/fd0
202 dd if=$TCdat/$the_file of=/dev/fd0 ibs=1b obs=90b conv=sync
209 dd if=/dev/fd0 of=$the_file ibs=90b obs=1b conv=sync
[all …]
/external/strace/tests-m32/
Dredirect-fds.test38 fd0="$LOG.fd0"
51 rm -f "$LOG" "$fd0" "$fd1" "$fd2"
52 touch "$LOG" "$fd0" ||
64 check_fd "$fd0" "$fd1" "$fd2"
66 check_fd "$fd0" '' "$fd2"
67 check_fd "$fd0" "$fd1" ''
70 check_fd "$fd0" '' ''
/external/strace/tests-mx32/
Dredirect-fds.test38 fd0="$LOG.fd0"
51 rm -f "$LOG" "$fd0" "$fd1" "$fd2"
52 touch "$LOG" "$fd0" ||
64 check_fd "$fd0" "$fd1" "$fd2"
66 check_fd "$fd0" '' "$fd2"
67 check_fd "$fd0" "$fd1" ''
70 check_fd "$fd0" '' ''
/external/strace/tests/
Dredirect-fds.test38 fd0="$LOG.fd0"
51 rm -f "$LOG" "$fd0" "$fd1" "$fd2"
52 touch "$LOG" "$fd0" ||
64 check_fd "$fd0" "$fd1" "$fd2"
66 check_fd "$fd0" '' "$fd2"
67 check_fd "$fd0" "$fd1" ''
70 check_fd "$fd0" '' ''
/external/linux-kselftest/tools/testing/selftests/proc/
Dfd-002-posix-eq.c27 int fd0, fd1, fd2; in main() local
32 fd0 = open("/", O_DIRECTORY|O_RDONLY); in main()
33 assert(fd0 >= 0); in main()
35 snprintf(buf, sizeof(buf), "/proc/self/fd/%u", fd0); in main()
39 snprintf(buf, sizeof(buf), "/proc/thread-self/fd/%u", fd0); in main()
43 rv = fstat(fd0, &st0); in main()
/external/google-breakpad/src/processor/testdata/symbols/microdump/breakpad_unittests/DA7778FB66018A4E9B4110ED06E730D00/
Dbreakpad_unittests.sym1083 14fd0 2 484 85
1907 FUNC 15fd0 c 0 google_breakpad::::CrashGenerationClientImpl::~CrashGenerationClientImpl
1908 15fd0 2 49 0
1912 FUNC 15fd0 c 0 google_breakpad::MinidumpObject::~MinidumpObject
1913 15fd0 2 114 65
1917 FUNC 15fd0 c 0 testing::internal::DefaultDeathTestFactory::~DefaultDeathTestFactory
1918 15fd0 2 148 83
1922 FUNC 15fd0 c 0 testing::internal::DefaultGlobalTestPartResultReporter::~DefaultGlobalTestPartResult…
1923 FUNC 15fd0 c 0 testing::internal::DefaultPerThreadTestPartResultReporter::~DefaultPerThreadTestPart…
1924 15fd0 2 2017 87
[all …]
/external/syzkaller/sys/netbsd/
Dsocket_unix.txt29 fd0 sock_unix
/external/syzkaller/sys/linux/
Dsocket_unix.txt30 fd0 sock_unix
Dsocket_ipx.txt27 fd0 sock_ipx
Dsocket_ax25.txt32 fd0 sock_ax25
Dsocket_packet.txt34 fd0 sock_packet
/external/syzkaller/sys/freebsd/
Dsocket_unix.txt31 fd0 sock_unix
/external/swiftshader/third_party/LLVM/test/CodeGen/PTX/
Dcvt.ll235 ; CHECK: mov.b64 %fd0, 4575657221408423936;
237 ; CHECK: selp.f64 %ret{{[0-9]+}}, %fd0, %fd1, %p{{[0-9]+}};
/external/openssh/
Dmonitor.c1440 int res, fd0; in mm_answer_pty() local
1479 if ((fd0 = open(_PATH_DEVNULL, O_RDONLY)) < 0) in mm_answer_pty()
1481 if (fd0 != 0) in mm_answer_pty()
1482 error("%s: fd0 %d != 0", __func__, fd0); in mm_answer_pty()
/external/perfetto/src/traced/probes/ftrace/
Dcpu_reader_benchmark.cc285 00000fd0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
Dcpu_reader_unittest.cc1351 00000fd0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
1782 00000fd0: 8081 3010 3d00 0000 f542 0000 0000 0000 ..0.=....B......
/external/swiftshader/third_party/llvm-7.0/llvm/test/MC/X86/AlignedBundling/
Dautogen-inst-offset-padding.s1298 # CHECK: fd0: incl
2662 # CHECK: 1fd0: incl
Dautogen-inst-offset-align-to-end.s1416 # CHECK: fd0: nop
2887 # CHECK: 1fd0: incl
/external/llvm/test/MC/X86/AlignedBundling/
Dautogen-inst-offset-padding.s1298 # CHECK: fd0: incl
2662 # CHECK: 1fd0: incl
Dautogen-inst-offset-align-to-end.s1416 # CHECK: fd0: nop
2887 # CHECK: 1fd0: incl
/external/python/cpython3/Lib/test/
Dtest_socket.py3171 fd0, fd1 = self.newFDs(2)
3175 array.array("i", [fd0])),
3198 fd0, fd1 = self.newFDs(2)
3202 array.array("i", [fd0])),
3273 fd0, fd1 = self.newFDs(2)
3278 array.array("i", [fd0, self.badfd]).tobytes()[:-1]),
/external/ltp/doc/
Dtest-writing-guidelines.txt352 static int fd0, fd1, mount_flag;
365 fd0 = SAFE_OPEN(cleanup, FILE1, O_CREAT | O_RDWR, 0666);
383 if (fd0 > 0)
384 SAFE_CLOSE(fd0);
/external/google-breakpad/src/processor/testdata/symbols/libgcc_s.so.1/18B180F90887D8F8B5C35D185444AF4C0/
Dlibgcc_s.so.1.sym55 PUBLIC 4fd0 0 __fixunsdfti
211 STACK CFI INIT 4fd0 97 .cfa: $rsp 8 + .ra: .cfa -8 + ^
/external/google-breakpad/src/processor/testdata/symbols/null_read_av/7B7D1968FF0D47AE4366E9C3A7E1B6750/
Dnull_read_av.sym1240 4fd0 1c 824 23
1611 5fd0 5 998 23
3226 9fd0 7 86 29

12