Home
last modified time | relevance | path

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

123

/freebsd/tests/sys/fs/fusefs/
H A Dflush.cc150 int fd0, fd1; in TEST_F() local
163 fd0 = open(FULLPATH0, O_WRONLY); in TEST_F()
164 ASSERT_LE(0, fd0) << strerror(errno); in TEST_F()
169 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 Dopen.cc211 int fd0; in TEST_F() local
213 fd0 = open(FULLPATH, O_RDONLY); in TEST_F()
214 if (fd0 < 0) { in TEST_F()
218 leak(fd0); in TEST_F()
H A Dreaddir.cc251 int fd0, fd1; in TEST_F() local
271 fd0 = open(FULLPATH, O_DIRECTORY); in TEST_F()
272 ASSERT_LE(0, fd0) << strerror(errno); in TEST_F()
277 r = getdirentries(fd0, buf, sizeof(buf), 0); in TEST_F()
280 EXPECT_EQ(0, close(fd0)) << strerror(errno); in TEST_F()
285 leak(fd0); in TEST_F()
H A Dread.cc740 int fd0, fd1; in TEST_F() local
748 fd0 = open(FULLPATH, O_RDONLY); in TEST_F()
749 ASSERT_LE(0, fd0) << strerror(errno); in TEST_F()
750 ASSERT_EQ(bufsize, read(fd0, buf, bufsize)) << strerror(errno); in TEST_F()
761 leak(fd0); in TEST_F()
775 int fd0, fd1; in TEST_F() local
783 fd0 = open(FULLPATH, O_RDONLY); in TEST_F()
784 ASSERT_LE(0, fd0) << strerror(errno); in TEST_F()
785 ASSERT_EQ(bufsize, read(fd0, buf, bufsize)) << strerror(errno); in TEST_F()
795 ASSERT_EQ(0, lseek(fd0, in TEST_F()
[all...]
/freebsd/usr.bin/mail/
H A Dpopen.c99 int myside, hisside, fd0, fd1; in Popen() local
110 hisside = fd0 = fd1 = p[WRITE]; in Popen()
113 hisside = fd0 = p[READ]; in Popen()
117 pid = start_command(value("SHELL"), &nset, fd0, fd1, "-c", cmd, NULL); in Popen()
/freebsd/tools/bus_space/
H A Dbus.c178 int fd0, rid; in bs_subregion() local
191 fd0 = r->fd; in bs_subregion()
202 r->fd = fd0; in bs_subregion()
/freebsd/contrib/less/
H A Dttyin.c97 extern int fd0; in open_getchr()
102 fd0 = dup(0); in open_getchr()
H A Dch.c788 extern int fd0; in ch_delbufs()
789 if (f == fd0 && !isatty(fd0)) in ch_delbufs()
H A Dedit.c21 public int fd0 = 0; variable
535 f = fd0; in edit_ifile()
902 if (isatty(fd0)) in edit_stdin()
/freebsd/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/usr.bin/mkimg/tests/
H A Dimg-1x1-4096-apm.qcow.hex263 00002fd0 00 00 00 00 00 1f f0 00 00 00 00 00 00 20 00 00 |............. ..|
519 00003fd0 00 00 00 00 00 3f f0 00 00 00 00 00 00 40 00 00 |.....?.......@..|
H A Dimg-1x1-512-bsd.qcow.hex263 00002fd0 00 00 00 00 00 1f f0 00 00 00 00 00 00 20 00 00 |............. ..|
519 00003fd0 00 00 00 00 00 3f f0 00 00 00 00 00 00 40 00 00 |.....?.......@..|
H A Dimg-1x1-512-ebr.qcow.hex263 00002fd0 00 00 00 00 00 1f f0 00 00 00 00 00 00 20 00 00 |............. ..|
519 00003fd0 00 00 00 00 00 3f f0 00 00 00 00 00 00 40 00 00 |.....?.......@..|
H A Dimg-63x255-512-bsd.qcow.hex263 00002fd0 00 00 00 00 00 1f f0 00 00 00 00 00 00 20 00 00 |............. ..|
519 00003fd0 00 00 00 00 00 3f f0 00 00 00 00 00 00 40 00 00 |.....?.......@..|
H A Dimg-1x1-4096-bsd.qcow.hex263 00002fd0 00 00 00 00 00 1f f0 00 00 00 00 00 00 20 00 00 |............. ..|
519 00003fd0 00 00 00 00 00 3f f0 00 00 00 00 00 00 40 00 00 |.....?.......@..|
H A Dimg-1x1-4096-ebr.qcow.hex263 00002fd0 00 00 00 00 00 1f f0 00 00 00 00 00 00 20 00 00 |............. ..|
519 00003fd0 00 00 00 00 00 3f f0 00 00 00 00 00 00 40 00 00 |.....?.......@..|
H A Dimg-1x1-512-apm.qcow.hex263 00002fd0 00 00 00 00 00 1f f0 00 00 00 00 00 00 20 00 00 |............. ..|
519 00003fd0 00 00 00 00 00 3f f0 00 00 00 00 00 00 40 00 00 |.....?.......@..|
H A Dimg-63x255-4096-apm.qcow.hex263 00002fd0 00 00 00 00 00 1f f0 00 00 00 00 00 00 20 00 00 |............. ..|
519 00003fd0 00 00 00 00 00 3f f0 00 00 00 00 00 00 40 00 00 |.....?.......@..|
H A Dimg-63x255-4096-bsd.qcow.hex263 00002fd0 00 00 00 00 00 1f f0 00 00 00 00 00 00 20 00 00 |............. ..|
519 00003fd0 00 00 00 00 00 3f f0 00 00 00 00 00 00 40 00 00 |.....?.......@..|
H A Dimg-63x255-4096-ebr.qcow.hex263 00002fd0 00 00 00 00 00 1f 90 00 00 00 00 00 00 1f a0 00 |................|
519 00003fd0 00 00 00 00 00 3f 90 00 00 00 00 00 00 3f a0 00 |.....?.......?..|
H A Dimg-63x255-512-apm.qcow.hex263 00002fd0 00 00 00 00 00 1f f0 00 00 00 00 00 00 20 00 00 |............. ..|
519 00003fd0 00 00 00 00 00 3f f0 00 00 00 00 00 00 40 00 00 |.....?.......@..|
H A Dimg-63x255-512-ebr.qcow.hex263 00002fd0 00 00 00 00 00 1f 90 00 00 00 00 00 00 1f a0 00 |................|
519 00003fd0 00 00 00 00 00 3f 90 00 00 00 00 00 00 3f a0 00 |.....?.......?..|
H A Dimg-1x1-4096-gpt.qcow.hex263 00002fd0 00 00 00 00 00 1f b0 00 00 00 00 00 00 1f c0 00 |................|
519 00003fd0 00 00 00 00 00 3f b0 00 00 00 00 00 00 3f c0 00 |.....?.......?..|
H A Dimg-1x1-4096-mbr.qcow.hex263 00002fd0 00 00 00 00 00 1f f0 00 00 00 00 00 00 20 00 00 |............. ..|
519 00003fd0 00 00 00 00 00 3f f0 00 00 00 00 00 00 40 00 00 |.....?.......@..|

123