Home
last modified time | relevance | path

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

123

/freebsd/tests/sys/fs/fusefs/
H A Dallow_other.cc170 int fd0; in TEST_F() local
172 fd0 = open(FULLPATH, O_RDONLY); in TEST_F()
173 if (fd0 >= 0) { in TEST_F()
182 leak(fd0); in TEST_F()
H A Dflush.cc180 int fd0, fd1; in TEST_F() local
193 fd0 = open(FULLPATH0, O_WRONLY); in TEST_F()
194 ASSERT_LE(0, fd0) << strerror(errno); in TEST_F()
199 EXPECT_EQ(0, close(fd0)) << strerror(errno); in TEST_F()
H A Dopen.cc203 int fd0; in TEST_F() local
205 fd0 = open(FULLPATH, O_RDONLY); in TEST_F()
206 if (fd0 < 0) { in TEST_F()
210 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.cc747 int fd0, fd1; in TEST_F() local
755 fd0 = open(FULLPATH, O_RDONLY); in TEST_F()
756 ASSERT_LE(0, fd0) << strerror(errno); in TEST_F()
757 ASSERT_EQ(bufsize, read(fd0, buf, bufsize)) << strerror(errno); in TEST_F()
768 leak(fd0); in TEST_F()
782 int fd0, fd1; in TEST_F() local
790 fd0 = open(FULLPATH, O_RDONLY); in TEST_F()
791 ASSERT_LE(0, fd0) << strerror(errno); in TEST_F()
792 ASSERT_EQ(bufsize, read(fd0, buf, bufsize)) << strerror(errno); in TEST_F()
802 ASSERT_EQ(0, lseek(fd0, 0, SEEK_SET)) << strerror(errno); 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.c122 extern int fd0; in open_getchr()
127 fd0 = dup(0); in open_getchr()
H A Dedit.c23 public int fd0 = 0; variable
504 f = fd0; in edit_ifile()
901 if (isatty(fd0)) in edit_stdin()
H A Dch.c822 extern int fd0; in seekable()
823 if (f == fd0 && !isatty(fd0)) in seekable()
/freebsd/contrib/mandoc/
H A Dcatman.c88 sock_fd_write(int fd, int fd0, int fd1, int fd2) in sock_fd_write()
119 *(walk++) = fd0; in sock_fd_write()
69 sock_fd_write(int fd,int fd0,int fd1,int fd2) sock_fd_write() argument
/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