Home
last modified time | relevance | path

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

123

/freebsd-13.1/tests/sys/fs/fusefs/
H A Dflush.cc152 int fd0, fd1; in TEST_F() local
165 fd0 = open(FULLPATH0, O_WRONLY); in TEST_F()
166 ASSERT_LE(0, fd0) << strerror(errno); in TEST_F()
171 EXPECT_EQ(0, close(fd0)) << strerror(errno); in TEST_F()
H A Dallow_other.cc173 int fd0; in TEST_F() local
175 fd0 = open(FULLPATH, O_RDONLY); in TEST_F()
176 if (fd0 >= 0) { in TEST_F()
185 leak(fd0); in TEST_F()
H A Dreaddir.cc253 int fd0, fd1; in TEST_F() local
273 fd0 = open(FULLPATH, O_DIRECTORY); in TEST_F()
274 ASSERT_LE(0, fd0) << strerror(errno); in TEST_F()
279 r = getdirentries(fd0, buf, sizeof(buf), 0); in TEST_F()
282 EXPECT_EQ(0, close(fd0)) << strerror(errno); in TEST_F()
287 leak(fd0); in TEST_F()
H A Dopen.cc213 int fd0; in TEST_F() local
215 fd0 = open(FULLPATH, O_RDONLY); in TEST_F()
216 if (fd0 < 0) { in TEST_F()
H A Dread.cc693 int fd0, fd1; in TEST_F() local
701 fd0 = open(FULLPATH, O_RDONLY); in TEST_F()
702 ASSERT_LE(0, fd0) << strerror(errno); in TEST_F()
703 ASSERT_EQ(bufsize, read(fd0, buf, bufsize)) << strerror(errno); in TEST_F()
714 leak(fd0); in TEST_F()
728 int fd0, fd1; in TEST_F() local
736 fd0 = open(FULLPATH, O_RDONLY); in TEST_F()
737 ASSERT_LE(0, fd0) << strerror(errno); in TEST_F()
738 ASSERT_EQ(bufsize, read(fd0, buf, bufsize)) << strerror(errno); in TEST_F()
748 ASSERT_EQ(0, lseek(fd0, 0, SEEK_SET)) << strerror(errno); in TEST_F()
[all …]
/freebsd-13.1/usr.bin/mail/
H A Dpopen.c107 int myside, hisside, fd0, fd1; in Popen() local
118 hisside = fd0 = fd1 = p[WRITE]; in Popen()
121 hisside = fd0 = p[READ]; in Popen()
125 pid = start_command(value("SHELL"), &nset, fd0, fd1, "-c", cmd, NULL); in Popen()
/freebsd-13.1/tools/bus_space/
H A Dbus.c180 int fd0, rid; in bs_subregion() local
193 fd0 = r->fd; in bs_subregion()
204 r->fd = fd0; in bs_subregion()
/freebsd-13.1/contrib/less/
H A Dttyin.c80 extern int fd0; in open_getchr()
85 fd0 = dup(0); in open_getchr()
H A Dedit.c20 public int fd0 = 0; variable
344 f = fd0;
750 if (isatty(fd0)) in edit_stdin()
H A Dch.c820 extern int fd0;
821 if (f == fd0 && !isatty(fd0))
/freebsd-13.1/contrib/mandoc/
H A Dcatman.c69 sock_fd_write(int fd, int fd0, int fd1, int fd2) in sock_fd_write() argument
100 *(walk++) = fd0; in sock_fd_write()
/freebsd-13.1/usr.bin/mkimg/tests/
H A Dimg-63x255-512-bsd.qcow.hex264 00002fd0 00 00 00 00 00 1f f0 00 00 00 00 00 00 20 00 00 |............. ..|
520 00003fd0 00 00 00 00 00 3f f0 00 00 00 00 00 00 40 00 00 |.....?.......@..|
H A Dimg-1x1-4096-vtoc8.qcow.hex264 00002fd0 00 00 00 00 00 1f f0 00 00 00 00 00 00 20 00 00 |............. ..|
520 00003fd0 00 00 00 00 00 3f f0 00 00 00 00 00 00 40 00 00 |.....?.......@..|
H A Dimg-1x1-512-bsd.qcow.hex264 00002fd0 00 00 00 00 00 1f f0 00 00 00 00 00 00 20 00 00 |............. ..|
520 00003fd0 00 00 00 00 00 3f f0 00 00 00 00 00 00 40 00 00 |.....?.......@..|
H A Dimg-63x255-4096-vtoc8.qcow.hex32 00003fd0 00 00 00 00 00 02 90 00 00 00 00 00 00 02 a0 00 |................|
288 00004fd0 00 00 00 00 00 22 90 00 00 00 00 00 00 22 a0 00 |....."......."..|
H A Dimg-63x255-512-apm.qcow.hex264 00002fd0 00 00 00 00 00 1f f0 00 00 00 00 00 00 20 00 00 |............. ..|
520 00003fd0 00 00 00 00 00 3f f0 00 00 00 00 00 00 40 00 00 |.....?.......@..|
H A Dimg-63x255-4096-bsd.qcow.hex264 00002fd0 00 00 00 00 00 1f f0 00 00 00 00 00 00 20 00 00 |............. ..|
520 00003fd0 00 00 00 00 00 3f f0 00 00 00 00 00 00 40 00 00 |.....?.......@..|
H A Dimg-1x1-512-apm.qcow.hex264 00002fd0 00 00 00 00 00 1f f0 00 00 00 00 00 00 20 00 00 |............. ..|
520 00003fd0 00 00 00 00 00 3f f0 00 00 00 00 00 00 40 00 00 |.....?.......@..|
H A Dimg-63x255-4096-apm.qcow.hex264 00002fd0 00 00 00 00 00 1f f0 00 00 00 00 00 00 20 00 00 |............. ..|
520 00003fd0 00 00 00 00 00 3f f0 00 00 00 00 00 00 40 00 00 |.....?.......@..|
H A Dimg-1x1-512-vtoc8.qcow.hex264 00002fd0 00 00 00 00 00 1f f0 00 00 00 00 00 00 20 00 00 |............. ..|
520 00003fd0 00 00 00 00 00 3f f0 00 00 00 00 00 00 40 00 00 |.....?.......@..|
H A Dimg-1x1-512-ebr.qcow.hex264 00002fd0 00 00 00 00 00 1f f0 00 00 00 00 00 00 20 00 00 |............. ..|
520 00003fd0 00 00 00 00 00 3f f0 00 00 00 00 00 00 40 00 00 |.....?.......@..|
H A Dimg-1x1-4096-apm.qcow.hex264 00002fd0 00 00 00 00 00 1f f0 00 00 00 00 00 00 20 00 00 |............. ..|
520 00003fd0 00 00 00 00 00 3f f0 00 00 00 00 00 00 40 00 00 |.....?.......@..|
H A Dimg-1x1-4096-bsd.qcow.hex264 00002fd0 00 00 00 00 00 1f f0 00 00 00 00 00 00 20 00 00 |............. ..|
520 00003fd0 00 00 00 00 00 3f f0 00 00 00 00 00 00 40 00 00 |.....?.......@..|
H A Dimg-1x1-4096-ebr.qcow.hex264 00002fd0 00 00 00 00 00 1f f0 00 00 00 00 00 00 20 00 00 |............. ..|
520 00003fd0 00 00 00 00 00 3f f0 00 00 00 00 00 00 40 00 00 |.....?.......@..|
H A Dimg-63x255-512-vtoc8.qcow.hex32 00003fd0 00 00 00 00 00 02 90 00 00 00 00 00 00 02 a0 00 |................|
288 00004fd0 00 00 00 00 00 22 90 00 00 00 00 00 00 22 a0 00 |....."......."..|

123