Home
last modified time | relevance | path

Searched refs:fd0 (Results 1 – 25 of 31) 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/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/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/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/u-boot/arch/powerpc/dts/gdsys/
Dgazerbeam-uboot.dtsi126 RXAUI0_1: fpga0_rxaui@fd0 {
164 RXAUI1_1: fpga0_rxaui@fd0 {
/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/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.cc284 00000fd0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
Dcpu_reader_unittest.cc1606 00000fd0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
2050 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.py3289 fd0, fd1 = self.newFDs(2)
3293 array.array("i", [fd0])),
3316 fd0, fd1 = self.newFDs(2)
3320 array.array("i", [fd0])),
3391 fd0, fd1 = self.newFDs(2)
3396 array.array("i", [fd0, self.badfd]).tobytes()[:-1]),
/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/ltp/doc/
Dtest-writing-guidelines.txt360 static int fd0, fd1, mount_flag;
373 fd0 = SAFE_OPEN(cleanup, FILE1, O_CREAT | O_RDWR, 0666);
391 if (fd0 > 0)
392 SAFE_CLOSE(fd0);
/external/mesa3d/src/freedreno/.gitlab-ci/reference/
Dcrash.log2749 000fd0: f4fefd9f df7993f4 9599efc7 6a489bed |......y.......Hj|
3339 000fd0: 7fb8fc5c 6da32a12 aa3d9dc3 51502eca |\....*.m..=...PQ|
3706 000fd0: 98fa276a c25f4f51 76294261 d3f545be |j'..QO_.aB)v.E..|
3962 001fd0: 20010001 42100001 fffffff9 01000000 |... ...B........|
4385 000fd0: d97a274f a5e54053 c421a72b 09cacc65 |O'z.S@..+.!.e...|
4641 001fd0: 00000000 204cc3b4 00000000 204cc3b8 |......L ......L |
5925 000fd0: deafbead deafbead deafbead deafbead |................|
6181 001fd0: 00000000 00000000 00000000 00000000 |................|
Des2gears-a320.log5157 11844594: 0000: 0000057f 00002fd0
6653 11844fd0: 0000: 000021ea 0000000b
8907 11845fd0: 0000: c0022200 00000000 00004086 00000004
13491 11847fd0: 0000: 000021ea 0000000b
/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
/external/google-breakpad/src/processor/testdata/symbols/overflow/B0E1FC01EF48E39CAF5C881D2DF0C3840/
Doverflow.sym834 3fd0 f 246 33
2267 7fd0 1b 379 41
6021 STACK CFI 7fd0 .cfa: $rsp 96 +
/external/google-breakpad/src/processor/testdata/symbols/microdump/breakpad_unittests/D6D1FEC9A15DE7F38A236898871A2E770/
Dbreakpad_unittests.sym959 21fd0 14 117 30
1373 22fd0 14 183 34
2018 23fd0 8 910 6
2538 24fd0 8 441 126
4635 29fd0 14 937 6
7375 30fd0 4 256 82
8705 33fd0 8 302 82
10379 37fd0 14 385 25
10842 38fd0 8 68 115
15902 44fd0 1c 143 43
[all …]
/external/google-breakpad/src/processor/testdata/symbols/libc-2.13.so/F4F8DFCD5A5FB5A7CE64717E9E6AE3890/
Dlibc-2.13.so.sym284 PUBLIC 57fd0 0 __isoc99_sscanf
1595 PUBLIC 104fd0 0 xdrrec_endofrecord
2172 STACK CFI INIT 29fd0 2ac .cfa: $rsp 8 + .ra: .cfa -8 + ^
3576 STACK CFI INIT 57fd0 90 .cfa: $rsp 8 + .ra: .cfa -8 + ^
6396 STACK CFI INIT 92fd0 1fc4 .cfa: $rsp 8 + .ra: .cfa -8 + ^
10554 STACK CFI INIT 111fd0 a .cfa: $rsp 8 + .ra: .cfa -8 + ^
12576 STACK CFI INIT 104fd0 59 .cfa: $rsp 8 + .ra: .cfa -8 + ^
12995 STACK CFI INIT 109fd0 e1 .cfa: $rsp 8 + .ra: .cfa -8 + ^
/external/google-breakpad/src/tools/windows/dump_syms/testdata/
Domap_reorder_bbs.sym1773 FUNC 6fd0 f 0 _initp_heap_handler
1774 6fd0 5 31 2820
4943 STACK WIN 4 6fd0 f 5 0 4 0 0 0 1 $T0 $ebp = $eip $T0 4 + ^ = $ebp $T0 ^ = $esp $T0 8 + =

12