/openbsd-current/usr.bin/ftp/ |
H A D | fetch.c | 320 FILE *fin = NULL; local 666 fin = funopen(tls, stdio_tls_read_wrapper, 669 fin = fdopen(fd, "r+"); 673 fin = fdopen(fd, "r+"); 706 ftp_printf(fin, "GET %s HTTP/1.1\r\n" 712 ftp_printf(fin, "Authorization: Basic %s\r\n", 715 ftp_printf(fin, "Proxy-Authorization: Basic %s\r\n", 717 ftp_printf(fin, "\r\n"); 734 ftp_printf(fin, 739 ftp_printf(fin, " 1154 save_chunked(FILE *fin, struct tls *tls, int out, char *buf, size_t buflen) argument 1665 ftp_close(FILE **fin, struct tls **tls, int *fd) argument [all...] |
H A D | ftp.c | 580 FILE * volatile fin, * volatile dout; local 632 fin = stdin; 637 fin = popen(local + 1, "r"); 638 if (fin == NULL) { 650 fin = fopen(local, "r"); 651 if (fin == NULL) { 659 if (fstat(fileno(fin), &st) == -1 || 664 fclose(fin); 678 (*closefunc)(fin); 690 rc = fseeko(fin, restart_poin [all...] |
/openbsd-current/usr.bin/rdist/ |
H A D | gram.y | 226 extern FILE *fin; 237 switch (c = getc(fin)) { 242 while ((c = getc(fin)) != EOF && c != '\n') 267 if ((c = getc(fin)) == '>') 269 (void) ungetc(c, fin); 281 c = getc(fin); 285 if ((c = getc(fin)) == EOF) { 303 if ((c = getc(fin)) == ':') 305 (void) ungetc(c, fin); 316 if ((c = getc(fin)) ! [all...] |
H A D | rdist.c | 52 FILE *fin = NULL; /* Input file pointer */ variable 171 fin = stdin; 280 if (fin == NULL) 281 fin = opendist(distfile); 286 if (fin != stdin) 287 (void) fclose(fin);
|
/openbsd-current/usr.bin/mg/ |
H A D | interpreter.c | 457 int fin, inquote; local 461 numspc = fin = inquote = 0; 465 fin = 1; 480 if ((*p == ' ' && inquote == 0) || fin) { 514 if (fin) 630 int sizof, fin, inquote; local 639 fin = inquote = cnt = spc = 0; 643 fin = 1; 656 if ((*p == ' ' && inquote == 0) || fin) { 691 fin [all...] |
H A D | dired.c | 619 FILE *fin; local 688 if ((fin = fdopen(fds[0], "r")) == NULL) 690 while (fgets(buf, sizeof(buf), fin) != NULL) { 692 if (cp == NULL && !feof(fin)) { /* too long a line */ 695 while ((c = getc(fin)) != EOF && 703 fclose(fin);
|
/openbsd-current/usr.bin/rpcgen/ |
H A D | rpc_util.h | 60 extern FILE *fin;
|
H A D | rpc_scan.c | 166 if (!fgets(curline, MAXLINESIZE, fin)) {
|
H A D | rpc_main.c | 330 fin = fdopen(pd[0], "r"); 331 if (fin == NULL) {
|
H A D | rpc_util.c | 62 FILE *fin; /* file pointer of current input */ variable
|
/openbsd-current/usr.bin/mail/ |
H A D | names.c | 210 FILE *fout, *fin; local 304 fin = NULL; 306 fin = Fdopen(f, "r"); 307 if (fin == NULL) { 313 rewind(fin); 314 while ((c = getc(fin)) != EOF) 321 (void)Fclose(fin);
|
/openbsd-current/usr.sbin/nsd/ |
H A D | verify.c | 418 FILE *fin; local 425 fin = NULL; 490 if ((fin = fdopen(fdin, "w")) == NULL) { 497 setbuf(fin, NULL); 538 if(fin != NULL) { 539 verifier->zone_feed.fh = fin; 593 if(fin != NULL) { 606 if(fin != NULL) { 607 fclose(fin);
|
/openbsd-current/usr.sbin/smtpd/ |
H A D | enqueue.c | 445 get_responses(FILE *fin, int n) argument 452 fflush(fin); 453 if ((e = ferror(fin))) { 459 if ((len = getline(&buf, &sz, fin)) == -1) { 460 if (ferror(fin)) { 463 } else if (feof(fin)) 558 parse_message(FILE *fin, int get_from, int tflag, FILE *fout) argument 568 if ((len = getline(&buf, &sz, fin)) == -1) { 569 if (feof(fin))
|
/openbsd-current/sys/arch/luna88k/cbus/ |
H A D | i82365_cbus.c | 474 bus_addr_t ioaddr, beg, fin; local 509 fin = min(range->start + range->len, 513 if (fin < beg || fin - beg < size) 516 DPRINTF(("pcic_cbus_chip_io_alloc beg-fin %lx-%lx\n", 517 (u_long)beg, (u_long)fin));
|
/openbsd-current/games/canfield/canfield/ |
H A D | canfield.c | 867 int i, fin; local 874 fin = 3; 876 fin = cinhand; 891 fin = 3; 893 fin = cinhand; 902 fin = 0; 912 fin = 0; 914 for (i=0; i<fin; i++) { 919 if (i == fin - 1) 931 if (fin ! [all...] |
/openbsd-current/usr.sbin/acme-client/ |
H A D | acctproc.c | 263 char *sign = NULL, *dig64 = NULL, *fin = NULL; local 422 if ((fin = json_fmt_signed(prot64, pay64, dig64)) == NULL) { 425 } else if (writestr(fd, COMM_REQ, fin) < 0) 442 free(fin);
|
/openbsd-current/libexec/ftpd/ |
H A D | ftpcmd.y | 1515 FILE *fin; 1519 fin = fopen(filename, "r"); 1520 if (fin == NULL) { 1524 if (fstat(fileno(fin), &stbuf) == -1 || !S_ISREG(stbuf.st_mode)) { 1526 (void) fclose(fin); 1531 (void) fclose(fin); 1536 while((c = getc(fin)) != EOF) { 1541 (void) fclose(fin);
|
H A D | ftpd.c | 1114 FILE *fin, *dout; local 1120 fin = fopen(name, "r"); 1123 fin = ftpd_ls(name, &pid); 1127 if (fin == NULL) { 1138 (fstat(fileno(fin), &st) == -1 || !S_ISREG(st.st_mode))) { 1150 if ((c = getc(fin)) == EOF) { 1151 if (ferror(fin)) { 1160 } else if (lseek(fileno(fin), restart_point, SEEK_SET) == -1) { 1169 send_data(fin, dout, st.st_blksize, st.st_size, 1181 fclose(fin); 1725 FILE *fin; local [all...] |
/openbsd-current/usr.bin/rcs/ |
H A D | rcs.c | 1485 u_char *c, *kw, *fin; local 1510 fin = c + buf_len(bp); 1514 while (c < fin) { 1515 kw = memchr(c, '$', fin - c); 1525 if (c == fin) 1538 if (c + kwlen < fin && 1555 for (; c < fin; ++c) { 1682 for (j = 0; c + j < fin; ++j) { 1686 if (c + j == fin || c[j] == '\n') 1692 buf_append(newbuf, c, fin [all...] |
/openbsd-current/lib/libedit/ |
H A D | el.c | 58 el_init(const char *prog, FILE *fin, FILE *fout, FILE *ferr) argument 65 el->el_infile = fin; 69 el->el_infd = fileno(fin);
|
/openbsd-current/sys/dev/ic/ |
H A D | i82365.c | 1083 bus_addr_t ioaddr, beg, fin; local 1120 fin = min(range->start + range->len, 1124 if (fin < beg || fin - beg < size) 1131 DPRINTF(("pcic_chip_io_alloc beg-fin %lx-%lx\n", 1132 (u_long)beg, (u_long)fin)); 1133 if (bus_space_alloc(iot, beg, fin, size, align, 0, 0,
|
/openbsd-current/gnu/usr.bin/perl/dist/Env/lib/ |
H A D | Env.pm | 71 Chip Salzenberg E<lt>F<chip@fin.uucp>E<gt>
|
/openbsd-current/sys/netinet/ |
H A D | tcp_usrreq.c | 1107 struct sockaddr_in *fin, *lin; local 1148 fin = (struct sockaddr_in *)&tir.faddr; 1163 inp = in_pcblookup(&tcbtable, fin->sin_addr, 1164 fin->sin_port, lin->sin_addr, lin->sin_port, tir.rdomain);
|
/openbsd-current/gnu/usr.bin/perl/cpan/CPAN-Meta-Requirements/lib/CPAN/Meta/ |
H A D | Requirements.pm | 400 my $fin = $self->is_finalized; 404 if $fin and not $old; 410 if $fin and $old->as_string ne $new->as_string;
|
/openbsd-current/usr.bin/cvs/ |
H A D | rcs.c | 2185 const u_char *c, *start, *fin, *end; local 2203 fin = c + len - 1; 2214 for (; c < fin; c++) { 2228 /* Number of characters between c and fin, inclusive. */ 2229 clen = fin - c + 1; 2274 for (; c <= fin; ++c) { 2524 /* Point fin to end of data. */ 2525 fin = buf_get(tmpbuf) + buf_len(tmpbuf) - 1;
|