Searched refs:fd (Results 101 - 125 of 4952) sorted by relevance

1234567891011>>

/netbsd-current/crypto/external/bsd/heimdal/dist/lib/hcrypto/
H A Drand-unix.c61 int fd = open(*p, flags | O_NDELAY); local
62 if(fd >= 0) {
65 rk_cloexec(fd);
66 return fd;
77 int fd; local
84 fd = _hc_unix_device_fd(O_RDONLY, NULL);
85 if (fd < 0)
89 count = write(fd, indata, size);
93 close(fd);
99 close(fd);
107 int fd; local
154 int fd; local
[all...]
/netbsd-current/usr.sbin/sesd/srcs/
H A Dgetnobj.c48 int fd; local
52 fd = open(name, O_RDONLY);
53 if (fd < 0) {
57 if (ioctl(fd, SESIOC_GETNOBJ, (caddr_t) &nobj) < 0) {
62 close (fd);
/netbsd-current/external/gpl3/gdb.old/dist/gas/testsuite/gas/i386/
H A Dx86-64-avx512f_vl-wig1.d12 [ ]*[a-f0-9]+:[ ]*62 02 fd 08 21 f5[ ]*vpmovsxbd %xmm29,%xmm30
13 [ ]*[a-f0-9]+:[ ]*62 02 fd 0f 21 f5[ ]*vpmovsxbd %xmm29,%xmm30\{%k7\}
14 [ ]*[a-f0-9]+:[ ]*62 02 fd 8f 21 f5[ ]*vpmovsxbd %xmm29,%xmm30\{%k7\}\{z\}
15 [ ]*[a-f0-9]+:[ ]*62 62 fd 08 21 31[ ]*vpmovsxbd \(%rcx\),%xmm30
16 [ ]*[a-f0-9]+:[ ]*62 22 fd 08 21 b4 f0 23 01 00 00[ ]*vpmovsxbd 0x123\(%rax,%r14,8\),%xmm30
17 [ ]*[a-f0-9]+:[ ]*62 62 fd 08 21 72 7f[ ]*vpmovsxbd 0x1fc\(%rdx\),%xmm30
18 [ ]*[a-f0-9]+:[ ]*62 62 fd 08 21 b2 00 02 00 00[ ]*vpmovsxbd 0x200\(%rdx\),%xmm30
19 [ ]*[a-f0-9]+:[ ]*62 62 fd 08 21 72 80[ ]*vpmovsxbd -0x200\(%rdx\),%xmm30
20 [ ]*[a-f0-9]+:[ ]*62 62 fd 08 21 b2 fc fd f
[all...]
/netbsd-current/external/bsd/libfido2/dist/openbsd-compat/
H A Dposix_win.h32 int posix_close(int fd);
34 ssize_t posix_read(int fd, void *buf, size_t count);
36 ssize_t posix_write(int fd, const void *buf, size_t count);
40 #define close(fd) posix_close(fd)
41 #define read(fd, buf, count) posix_read(fd, buf, count)
42 #define write(fd, buf, count) posix_write(fd, buf, count)
/netbsd-current/external/gpl3/gdb.old/dist/gnulib/import/
H A Ddup.c33 dup_nothrow (int fd) argument
39 result = dup (fd);
57 dup_nothrow (int fd) argument
62 dupfd = dup (fd);
64 && !fstat (fd, &sbuf) && S_ISDIR (sbuf.st_mode))
68 /* Get a path from fd */
69 if (!__libc_Back_ioFHToPath (fd, path, sizeof (path)))
80 rpl_dup (int fd) argument
82 int result = dup_nothrow (fd);
85 result = _gl_register_dup (fd, resul
[all...]
/netbsd-current/external/gpl3/gdb.old/dist/gas/testsuite/gas/rx/
H A Dmvfc.d10 0: fd 6a 00 mvfc psw, r0
11 3: fd 6a 0f mvfc psw, r15
12 6: fd 6a 30 mvfc fpsw, r0
13 9: fd 6a 3f mvfc fpsw, r15
14 c: fd 6a 20 mvfc usp, r0
15 f: fd 6a 2f mvfc usp, r15
16 12: fd 6a a0 mvfc isp, r0
17 15: fd 6a af mvfc isp, r15
18 18: fd 6a c0 mvfc intb, r0
19 1b: fd
[all...]
H A Dmachi.d10 0: fd 04 00 machi r0, r0, a0
11 3: fd 04 0f machi r0, r15, a0
12 6: fd 04 f0 machi r15, r0, a0
13 9: fd 04 ff machi r15, r15, a0
14 c: fd 04 00 machi r0, r0, a0
15 f: fd 04 0f machi r0, r15, a0
16 12: fd 04 f0 machi r15, r0, a0
17 15: fd 04 ff machi r15, r15, a0
18 18: fd 0c 00 machi r0, r0, a1
19 1b: fd
[all...]
H A Dmaclo.d10 0: fd 05 00 maclo r0, r0, a0
11 3: fd 05 0f maclo r0, r15, a0
12 6: fd 05 f0 maclo r15, r0, a0
13 9: fd 05 ff maclo r15, r15, a0
14 c: fd 05 00 maclo r0, r0, a0
15 f: fd 05 0f maclo r0, r15, a0
16 12: fd 05 f0 maclo r15, r0, a0
17 15: fd 05 ff maclo r15, r15, a0
18 18: fd 0d 00 maclo r0, r0, a1
19 1b: fd
[all...]
H A Dmulhi.d10 0: fd 00 00 mulhi r0, r0, a0
11 3: fd 00 0f mulhi r0, r15, a0
12 6: fd 00 f0 mulhi r15, r0, a0
13 9: fd 00 ff mulhi r15, r15, a0
14 c: fd 00 00 mulhi r0, r0, a0
15 f: fd 00 0f mulhi r0, r15, a0
16 12: fd 00 f0 mulhi r15, r0, a0
17 15: fd 00 ff mulhi r15, r15, a0
18 18: fd 08 00 mulhi r0, r0, a1
19 1b: fd 0
[all...]
H A Dmullo.d10 0: fd 01 00 mullo r0, r0, a0
11 3: fd 01 0f mullo r0, r15, a0
12 6: fd 01 f0 mullo r15, r0, a0
13 9: fd 01 ff mullo r15, r15, a0
14 c: fd 01 00 mullo r0, r0, a0
15 f: fd 01 0f mullo r0, r15, a0
16 12: fd 01 f0 mullo r15, r0, a0
17 15: fd 01 ff mullo r15, r15, a0
18 18: fd 09 00 mullo r0, r0, a1
19 1b: fd 0
[all...]
H A Dmvfacgu.d10 0: fd 1f 30 mvfacgu #0, a0, r0
11 3: fd 1f 3f mvfacgu #0, a0, r15
12 6: fd 1f 70 mvfacgu #1, a0, r0
13 9: fd 1f 7f mvfacgu #1, a0, r15
14 c: fd 1e 30 mvfacgu #2, a0, r0
15 f: fd 1e 3f mvfacgu #2, a0, r15
16 12: fd 1f b0 mvfacgu #0, a1, r0
17 15: fd 1f bf mvfacgu #0, a1, r15
18 18: fd 1f f0 mvfacgu #1, a1, r0
19 1b: fd
[all...]
/netbsd-current/external/gpl3/gdb/dist/gnulib/import/
H A Ddup.c34 dup_nothrow (int fd) argument
40 result = _dup (fd);
61 dup_nothrow (int fd) argument
66 dupfd = dup (fd);
68 && !fstat (fd, &sbuf) && S_ISDIR (sbuf.st_mode))
72 /* Get a path from fd */
73 if (!__libc_Back_ioFHToPath (fd, path, sizeof (path)))
84 rpl_dup (int fd) argument
86 int result = dup_nothrow (fd);
89 result = _gl_register_dup (fd, resul
[all...]
/netbsd-current/sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/
H A Dtsan_fd.h42 void FdAcquire(ThreadState *thr, uptr pc, int fd);
43 void FdRelease(ThreadState *thr, uptr pc, int fd);
44 void FdAccess(ThreadState *thr, uptr pc, int fd);
45 void FdClose(ThreadState *thr, uptr pc, int fd, bool write = true);
46 void FdFileCreate(ThreadState *thr, uptr pc, int fd);
49 void FdEventCreate(ThreadState *thr, uptr pc, int fd);
50 void FdSignalCreate(ThreadState *thr, uptr pc, int fd);
51 void FdInotifyCreate(ThreadState *thr, uptr pc, int fd);
52 void FdPollCreate(ThreadState *thr, uptr pc, int fd);
53 void FdSocketCreate(ThreadState *thr, uptr pc, int fd);
[all...]
/netbsd-current/external/gpl3/gcc.old/dist/libsanitizer/tsan/
H A Dtsan_fd.h40 void FdAcquire(ThreadState *thr, uptr pc, int fd);
41 void FdRelease(ThreadState *thr, uptr pc, int fd);
42 void FdAccess(ThreadState *thr, uptr pc, int fd);
43 void FdClose(ThreadState *thr, uptr pc, int fd, bool write = true);
44 void FdFileCreate(ThreadState *thr, uptr pc, int fd);
47 void FdEventCreate(ThreadState *thr, uptr pc, int fd);
48 void FdSignalCreate(ThreadState *thr, uptr pc, int fd);
49 void FdInotifyCreate(ThreadState *thr, uptr pc, int fd);
50 void FdPollCreate(ThreadState *thr, uptr pc, int fd);
51 void FdSocketCreate(ThreadState *thr, uptr pc, int fd);
[all...]
/netbsd-current/external/gpl3/gcc/dist/libsanitizer/tsan/
H A Dtsan_fd.h41 void FdAcquire(ThreadState *thr, uptr pc, int fd);
42 void FdRelease(ThreadState *thr, uptr pc, int fd);
43 void FdAccess(ThreadState *thr, uptr pc, int fd);
44 void FdClose(ThreadState *thr, uptr pc, int fd, bool write = true);
45 void FdFileCreate(ThreadState *thr, uptr pc, int fd);
48 void FdEventCreate(ThreadState *thr, uptr pc, int fd);
49 void FdSignalCreate(ThreadState *thr, uptr pc, int fd);
50 void FdInotifyCreate(ThreadState *thr, uptr pc, int fd);
51 void FdPollCreate(ThreadState *thr, uptr pc, int fd);
52 void FdSocketCreate(ThreadState *thr, uptr pc, int fd);
[all...]
/netbsd-current/games/trek/
H A Ddumpgame.c86 int fd; local
90 if ((fd = creat("trek.dump", 0644)) < 0) {
95 write(fd, &version, sizeof version);
99 write(fd, &d->area, sizeof d->area);
101 write(fd, d->area, i);
104 close(fd);
122 int fd; local
125 if ((fd = open("trek.dump", O_RDONLY)) < 0 ||
126 read(fd, &version, sizeof version) != sizeof version ||
128 readdump(fd)) {
152 int fd; local
[all...]
/netbsd-current/tests/lib/libc/sys/
H A Dt_socketpair.c50 connected(int fd) argument
54 ATF_REQUIRE(getpeername(fd, (struct sockaddr*)(void *)&addr,
61 int fd[2], i; local
68 ATF_REQUIRE(socketpair(AF_UNIX, SOCK_DGRAM | flags, 0, fd) == 0);
70 ATF_REQUIRE(fd[0] == 3);
71 ATF_REQUIRE(fd[1] == 4);
73 connected(fd[0]);
74 connected(fd[1]);
77 ATF_REQUIRE((fcntl(fd[0], F_GETFD) & FD_CLOEXEC) != 0);
78 ATF_REQUIRE((fcntl(fd[
[all...]
/netbsd-current/tests/modules/
H A Dt_kcov.c51 int fd; local
53 fd = open("/dev/kcov", O_RDWR);
54 if (fd == -1)
57 return fd;
104 int fd; local
106 fd = open_kcov();
107 close(fd);
108 fd = open("/dev/kcov", O_RDWR);
109 ATF_REQUIRE(fd != -1);
111 close(fd);
117 int fd; local
133 int fd; local
155 int fd; local
171 int fd; local
187 int fd; local
210 int fd; local
225 int fd; local
264 int fd; local
278 int fd; local
292 int fd, fd2; local
323 common_tail(int fd, kcov_int_t *data) argument
336 int fd; local
422 int fd; local
460 int fd; local
491 int fd; local
517 int fd; local
[all...]
/netbsd-current/external/bsd/ipf/dist/lib/
H A Dconnecttcp.c22 int fd; local
40 fd = socket(AF_INET, SOCK_STREAM, 0);
41 if (fd == -1)
44 if (connect(fd, (struct sockaddr *)&sin, sizeof(sin)) == -1) {
45 close(fd);
49 return fd;
/netbsd-current/lib/libisns/
H A Disns_fileio.c42 isns_file_writev(int fd, const struct iovec *iov, int iovcnt) argument
48 error = wepe_sys_writev(fd, iov, iovcnt, &rval);
52 rval = writev(fd, iov, iovcnt);
62 isns_file_readv(int fd, const struct iovec *iov, int iovcnt) argument
68 error = wepe_sys_readv(fd, iov, iovcnt, &rval);
72 rval = readv(fd, iov, iovcnt);
/netbsd-current/regress/sys/kern/kqueue/vnode/
H A Dwrite.c45 int fd, n; local
51 fd = open(argv[1], O_WRONLY);
52 if (fd < 0)
55 lseek(fd, 0, SEEK_SET);
58 n = write(fd, buffer, sizeof(buffer));
64 close(fd);
/netbsd-current/external/gpl2/gettext/dist/gettext-tools/gnulib-lib/
H A Dbinary-io.h53 # define SET_BINARY(fd) (!isatty (fd) ? (setmode (fd, O_BINARY), 0) : 0)
55 # define SET_BINARY(fd) setmode (fd, O_BINARY)
61 # define SET_BINARY(fd) /* nothing */
/netbsd-current/lib/libossaudio/
H A Doss_ioctl.c7 _oss_ioctl(int fd, unsigned long com, ...) argument
17 return _oss_dsp_ioctl(fd, com, argp);
19 return _oss3_mixer_ioctl(fd, com, argp);
21 return _oss4_mixer_ioctl(fd, com, argp);
23 return _oss4_global_ioctl(fd, com, argp);
25 return ioctl(fd, com, argp);
/netbsd-current/external/gpl3/binutils/dist/include/
H A Dbinary-io.h51 # define SET_BINARY(fd) (!isatty (fd) ? (setmode (fd, O_BINARY), 0) : 0)
53 # define SET_BINARY(fd) setmode (fd, O_BINARY)
59 # define SET_BINARY(fd) /* nothing */
/netbsd-current/external/gpl3/binutils.old/dist/include/
H A Dbinary-io.h51 # define SET_BINARY(fd) (!isatty (fd) ? (setmode (fd, O_BINARY), 0) : 0)
53 # define SET_BINARY(fd) setmode (fd, O_BINARY)
59 # define SET_BINARY(fd) /* nothing */

Completed in 322 milliseconds

1234567891011>>