HomeSort by: relevance | last modified time | path
    Searched defs:outfd (Results 1 - 25 of 25) sorted by relevancy

  /src/lib/libcurses/
putchar.c 49 return __cputchar_args(ch, _cursesi_screen->outfd);
60 FILE *outfd = (FILE *)args; local
64 unctrl(ch), outfd->_file);
65 status = putc(ch, outfd);
66 fflush(outfd);
75 return __cputwchar_args(wch, _cursesi_screen->outfd);
86 FILE *outfd = (FILE *)args; local
90 wch, outfd->_file);
91 status = putwc(wch, outfd);
92 fflush(outfd);
    [all...]
curses_private.h 213 FILE *infd, *outfd; /* input and output file descriptors */ member in struct:__screen
  /src/games/mille/
save.c 63 int outfd; local
115 if ((outfd = creat(buf, 0644)) < 0) {
122 rv = varpush(outfd, writev);
123 close(outfd);
  /src/sys/arch/alpha/stand/mkbootimage/
mkbootimage.c 65 int c, verbose, nowrite, infd, outfd; local
153 outfd = STDOUT_FILENO;
155 } else if ((outfd = open(outfile, O_WRONLY|O_CREAT, 0666)) == -1)
159 rv = write(outfd, outbuf, outbufsize);
164 (void)close(outfd);
  /src/games/warp/
score.c 525 FILE *outfd; local
552 (outfd = fopen(TMPSCOREBOARD,"w")) != NULL) {
562 fprintf(outfd, "%s", buf);
566 fclose(outfd);
570 fprintf(outfd, "%-24s%-8s%8ld%c %2d %4d %s",
577 fprintf(outfd, "%s", buf);
586 fprintf(outfd, "%s", buf);
593 fclose(outfd);
602 fclose(outfd);
  /src/sys/arch/zaurus/stand/zboot/
unixcons.c 39 static int outfd = 1; variable
66 if (infd >= 0 && infd == outfd) {
69 outfd = 1;
74 outfd = 1;
83 infd = outfd = fd;
107 common_putc(outfd, c);
  /src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/
sanitizer_symbolizer_posix_libcdep.cc 108 int *outfd = NULL; local
127 outfd = sock_pair[i];
138 CHECK(outfd);
141 outfd_[0] = outfd[0];
142 outfd_[1] = outfd[1];
159 int outfd[2]; local
160 internal_memset(&outfd, 0, sizeof(outfd));
161 if (!CreateTwoHighNumberedPipes(infd, outfd)) {
178 close(outfd[0])
    [all...]
  /src/usr.bin/sort/
sort.c 328 int outfd; local
334 if ((outfd = mkstemp(toutpath)) == -1)
343 if ((outfp = fdopen(outfd, "w")) == NULL)
  /src/external/bsd/less/dist/
output.c 86 static int outfd = 2; /* stderr */ variable
393 if (write(outfd, obuf, n) != n)
403 outfd = fd;
  /src/external/gpl3/binutils/dist/libiberty/
simple-object.c 342 int outfd; local
368 outfd = open (dest, O_CREAT|O_WRONLY|O_TRUNC|O_BINARY, 00777);
369 if (outfd == -1)
376 errmsg = simple_object_write_to_file (dest_sobj, outfd, err);
377 close (outfd);
  /src/external/gpl3/binutils.old/dist/libiberty/
simple-object.c 342 int outfd; local
368 outfd = open (dest, O_CREAT|O_WRONLY|O_TRUNC|O_BINARY, 00777);
369 if (outfd == -1)
376 errmsg = simple_object_write_to_file (dest_sobj, outfd, err);
377 close (outfd);
  /src/external/gpl3/gcc.old/dist/libiberty/
simple-object.c 342 int outfd; local
368 outfd = open (dest, O_CREAT|O_WRONLY|O_TRUNC|O_BINARY, 00777);
369 if (outfd == -1)
376 errmsg = simple_object_write_to_file (dest_sobj, outfd, err);
377 close (outfd);
  /src/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/
sanitizer_symbolizer_posix_libcdep.cpp 96 int *outfd = NULL; local
115 outfd = sock_pair[i];
126 CHECK(outfd);
129 outfd_[0] = outfd[0];
130 outfd_[1] = outfd[1];
172 fd_t infd[2] = {}, outfd[2] = {}; local
173 if (!CreateTwoHighNumberedPipes(infd, outfd)) {
179 pid = StartSubprocess(path_, argv, GetEnvP(), /* stdin */ outfd[0],
183 internal_close(outfd[1]);
188 output_fd_ = outfd[1]
    [all...]
  /src/external/gpl3/gcc/dist/libiberty/
simple-object.c 342 int outfd; local
368 outfd = open (dest, O_CREAT|O_WRONLY|O_TRUNC|O_BINARY, 00777);
369 if (outfd == -1)
376 errmsg = simple_object_write_to_file (dest_sobj, outfd, err);
377 close (outfd);
  /src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/
sanitizer_symbolizer_posix_libcdep.cpp 95 int *outfd = NULL; local
114 outfd = sock_pair[i];
125 CHECK(outfd);
128 outfd_[0] = outfd[0];
129 outfd_[1] = outfd[1];
171 fd_t infd[2] = {}, outfd[2] = {}; local
172 if (!CreateTwoHighNumberedPipes(infd, outfd)) {
178 pid = StartSubprocess(path_, argv, GetEnvP(), /* stdin */ outfd[0],
182 internal_close(outfd[1]);
187 output_fd_ = outfd[1]
    [all...]
  /src/external/gpl3/gdb/dist/libiberty/
simple-object.c 342 int outfd; local
368 outfd = open (dest, O_CREAT|O_WRONLY|O_TRUNC|O_BINARY, 00777);
369 if (outfd == -1)
376 errmsg = simple_object_write_to_file (dest_sobj, outfd, err);
377 close (outfd);
  /src/external/gpl3/gdb.old/dist/libiberty/
simple-object.c 342 int outfd; local
368 outfd = open (dest, O_CREAT|O_WRONLY|O_TRUNC|O_BINARY, 00777);
369 if (outfd == -1)
376 errmsg = simple_object_write_to_file (dest_sobj, outfd, err);
377 close (outfd);
  /src/usr.sbin/tprof/
tprof.c 91 int outfd; variable
175 wsz = write(outfd, cp, ssz);
449 outfd = open(outfile, O_WRONLY | O_CREAT | O_TRUNC, 0666);
450 if (outfd == -1) {
  /src/libexec/makewhatis/
makewhatis.c 252 int outfd; local
378 outfd = open(whatisdb_new, O_WRONLY|O_CREAT|O_EXCL,
380 if (outfd < 0)
383 if (fstat(outfd, &st_before) == -1)
386 if ((out = fdopen(outfd, "w")) == NULL)
  /src/usr.bin/midirecord/
midirecord.c 69 static int outfd, rawfd = -1; variable
197 outfd = open(*argv, mode, 0666);
198 if (outfd < 0)
202 outfd = STDOUT_FILENO;
275 if ((size_t)write(outfd, buffer, wrsize) != wrsize)
739 if (close(outfd) != 0)
757 if (lseek(outfd, (off_t)0, SEEK_SET) == (off_t)-1)
804 if (write(outfd, header, sizeof header) != sizeof header)
806 if (write(outfd, track, sizeof track) != sizeof track)
808 if (write(outfd, bpm, sizeof bpm) != sizeof bpm
    [all...]
  /src/usr.bin/make/
meta.c 1617 int outfd, metafd, maxfd, nfds; local
1623 outfd = childPipe[0];
1630 if (outfd > maxfd)
1631 maxfd = outfd;
1635 while (outfd != -1 || metafd != -1) {
1637 if (outfd != -1) {
1638 FD_SET(outfd, &readfds);
1650 if (outfd != -1 && FD_ISSET(outfd, &readfds) != 0) do {
1652 ssize_t nread = read(outfd, buf, sizeof buf - 1)
    [all...]
  /src/external/gpl3/gcc.old/dist/gcc/config/gcn/
mkoffload.cc 341 FILE *outfd = fopen (outfile, "r+b"); local
342 if (!outfd)
346 if (fread (&ehdr, sizeof (ehdr), 1, outfd) != 1)
348 fclose (outfd);
380 if (fseek (outfd, ehdr.e_shoff, SEEK_SET) == -1
382 outfd) != ehdr.e_shnum)
385 fclose (outfd);
396 if (fseek (outfd, sections[i].sh_offset, SEEK_SET) == -1
397 || fread (data, sections[i].sh_size, 1, outfd) != 1)
440 if (fseek (outfd, sections[i].sh_offset, SEEK_SET) != -1
    [all...]
  /src/usr.bin/audio/common/
libaudio.h 292 int outfd; member in struct:track_info
  /src/external/gpl3/gcc/dist/gcc/config/gcn/
mkoffload.cc 341 FILE *outfd = fopen (outfile, "r+b"); local
342 if (!outfd)
346 if (fread (&ehdr, sizeof (ehdr), 1, outfd) != 1)
348 fclose (outfd);
371 if (fseek (outfd, ehdr.e_shoff, SEEK_SET) == -1
373 outfd) != ehdr.e_shnum)
376 fclose (outfd);
387 if (fseek (outfd, sections[i].sh_offset, SEEK_SET) == -1
388 || fread (data, sections[i].sh_size, 1, outfd) != 1)
431 if (fseek (outfd, sections[i].sh_offset, SEEK_SET) != -1
    [all...]
  /src/external/cddl/osnet/dist/lib/libzfs/common/
libzfs_sendrecv.c 198 zio_cksum_t *zc, int outfd)
211 if (write(outfd, drr, sizeof (*drr)) == -1)
215 if (write(outfd, payload, payload_len) == -1)
246 int outfd; local
272 outfd = dda->outputfd;
304 outfd) != 0)
315 outfd) != 0)
330 &stream_cksum, outfd) != 0)
340 &stream_cksum, outfd) != 0)
348 outfd) != 0
928 int outfd; member in struct:send_dump_data
    [all...]

Completed in 45 milliseconds