Home
last modified time | relevance | path

Searched refs:fin (Results 1 – 25 of 41) sorted by relevance

12

/openbsd/usr.bin/ftp/
H A Dfetch.c320 FILE *fin = NULL; in url_get() local
669 fin = fdopen(fd, "r+"); in url_get()
673 fin = fdopen(fd, "r+"); in url_get()
717 ftp_printf(fin, "\r\n"); in url_get()
734 ftp_printf(fin, in url_get()
782 ftp_printf(fin, "\r\n"); in url_get()
792 if (fflush(fin) == EOF) { in url_get()
1212 if (ferror(fin)) in save_chunked()
1685 if (*fin != NULL) { in ftp_close()
1686 fclose(*fin); in ftp_close()
[all …]
H A Dftp.c632 fin = stdin; in sendrequest()
638 if (fin == NULL) { in sendrequest()
651 if (fin == NULL) { in sendrequest()
664 fclose(fin); in sendrequest()
678 (*closefunc)(fin); in sendrequest()
701 (*closefunc)(fin); in sendrequest()
708 (*closefunc)(fin); in sendrequest()
721 (*closefunc)(fin); in sendrequest()
804 if (ferror(fin)) in sendrequest()
816 (*closefunc)(fin); in sendrequest()
[all …]
/openbsd/usr.bin/rdist/
H A Dgram.y226 extern FILE *fin;
237 switch (c = getc(fin)) { in yylex()
267 if ((c = getc(fin)) == '>') in yylex()
269 (void) ungetc(c, fin); in yylex()
281 c = getc(fin); in yylex()
285 if ((c = getc(fin)) == EOF) { in yylex()
303 if ((c = getc(fin)) == ':') in yylex()
305 (void) ungetc(c, fin); in yylex()
316 if ((c = getc(fin)) != EOF) { in yylex()
325 c = getc(fin); in yylex()
[all …]
H A Drdist.c52 FILE *fin = NULL; /* Input file pointer */ variable
171 fin = stdin; in main()
280 if (fin == NULL) in main()
281 fin = opendist(distfile); in main()
286 if (fin != stdin) in main()
287 (void) fclose(fin); in main()
/openbsd/usr.bin/mg/
H A Dinterpreter.c457 int fin, inquote; in multiarg() local
461 numspc = fin = inquote = 0; in multiarg()
465 fin = 1; in multiarg()
480 if ((*p == ' ' && inquote == 0) || fin) { in multiarg()
514 if (fin) in multiarg()
630 int sizof, fin, inquote; in expandvals() local
639 fin = inquote = cnt = spc = 0; in expandvals()
643 fin = 1; in expandvals()
656 if ((*p == ' ' && inquote == 0) || fin) { in expandvals()
691 fin = 0; in expandvals()
[all …]
H A Ddired.c650 FILE *fin; in d_exec() local
719 if ((fin = fdopen(fds[0], "r")) == NULL) in d_exec()
721 while (fgets(buf, sizeof(buf), fin) != NULL) { in d_exec()
723 if (cp == NULL && !feof(fin)) { /* too long a line */ in d_exec()
726 while ((c = getc(fin)) != EOF && in d_exec()
734 fclose(fin); in d_exec()
/openbsd/usr.sbin/nsd/
H A Dverify.c418 FILE *fin; in verify_zone() local
425 fin = NULL; in verify_zone()
490 if ((fin = fdopen(fdin, "w")) == NULL) { in verify_zone()
497 setbuf(fin, NULL); in verify_zone()
538 if(fin != NULL) { in verify_zone()
539 verifier->zone_feed.fh = fin; in verify_zone()
593 if(fin != NULL) { in verify_zone()
606 if(fin != NULL) { in verify_zone()
607 fclose(fin); in verify_zone()
/openbsd/usr.bin/mail/
H A Dnames.c210 FILE *fout, *fin; in outof() local
304 fin = NULL; in outof()
306 fin = Fdopen(f, "r"); in outof()
307 if (fin == NULL) { in outof()
313 rewind(fin); in outof()
314 while ((c = getc(fin)) != EOF) in outof()
321 (void)Fclose(fin); in outof()
/openbsd/usr.sbin/smtpd/
H A Denqueue.c445 get_responses(FILE *fin, int n) in get_responses() argument
452 fflush(fin); in get_responses()
453 if ((e = ferror(fin))) { in get_responses()
459 if ((len = getline(&buf, &sz, fin)) == -1) { in get_responses()
460 if (ferror(fin)) { in get_responses()
463 } else if (feof(fin)) in get_responses()
558 parse_message(FILE *fin, int get_from, int tflag, FILE *fout) in parse_message() argument
568 if ((len = getline(&buf, &sz, fin)) == -1) { in parse_message()
569 if (feof(fin)) in parse_message()
/openbsd/sys/arch/luna88k/cbus/
H A Di82365_cbus.c471 bus_addr_t ioaddr, beg, fin; in pcic_cbus_chip_io_alloc() local
506 fin = min(range->start + range->len, in pcic_cbus_chip_io_alloc()
510 if (fin < beg || fin - beg < size) in pcic_cbus_chip_io_alloc()
514 (u_long)beg, (u_long)fin)); in pcic_cbus_chip_io_alloc()
/openbsd/libexec/ftpd/
H A Dftpd.c1114 FILE *fin, *dout; in retrieve() local
1120 fin = fopen(name, "r"); in retrieve()
1123 fin = ftpd_ls(name, &pid); in retrieve()
1127 if (fin == NULL) { in retrieve()
1151 if (ferror(fin)) { in retrieve()
1181 fclose(fin); in retrieve()
1183 ftpd_pclose(fin, pid); in retrieve()
1725 FILE *fin; in statfilecmd() local
1730 if (fin == NULL) { in statfilecmd()
1744 if (ferror(fin)) { in statfilecmd()
[all …]
H A Dftpcmd.y1515 FILE *fin; in sizecmd() local
1519 fin = fopen(filename, "r"); in sizecmd()
1520 if (fin == NULL) { in sizecmd()
1524 if (fstat(fileno(fin), &stbuf) == -1 || !S_ISREG(stbuf.st_mode)) { in sizecmd()
1526 (void) fclose(fin); in sizecmd()
1531 (void) fclose(fin); in sizecmd()
1536 while((c = getc(fin)) != EOF) { in sizecmd()
1541 (void) fclose(fin); in sizecmd()
/openbsd/games/canfield/canfield/
H A Dcanfield.c867 int i, fin; in movetotalon() local
874 fin = 3; in movetotalon()
876 fin = cinhand; in movetotalon()
891 fin = 3; in movetotalon()
893 fin = cinhand; in movetotalon()
902 fin = 0; in movetotalon()
912 fin = 0; in movetotalon()
919 if (i == fin - 1) in movetotalon()
931 if (fin != 0) { in movetotalon()
933 cinhand -= fin; in movetotalon()
[all …]
/openbsd/usr.sbin/acme-client/
H A Dacctproc.c263 char *sign = NULL, *dig64 = NULL, *fin = NULL; in op_sign() local
422 if ((fin = json_fmt_signed(prot64, pay64, dig64)) == NULL) { in op_sign()
425 } else if (writestr(fd, COMM_REQ, fin) < 0) in op_sign()
442 free(fin); in op_sign()
/openbsd/gnu/gcc/gcc/cp/
H A DChangeLog-1993250 Mon Oct 4 12:50:02 1993 Chip Salzenberg <chip@fin.uucp>
307 Thu Nov 25 23:50:19 1993 Chip Salzenberg <chip@fin.uucp>
323 Mon Nov 15 15:39:15 1993 Chip Salzenberg <chip@fin.uucp>
328 Thu Nov 25 13:31:37 1993 Chip Salzenberg <chip@fin.uucp>
334 Wed Nov 17 19:03:30 1993 Chip Salzenberg <chip@fin.uucp>
343 Wed Nov 17 19:10:37 1993 Chip Salzenberg <chip@fin.uucp>
349 Wed Nov 17 19:07:18 1993 Chip Salzenberg <chip@fin.uucp>
357 Mon Oct 11 23:10:53 1993 Chip Salzenberg <chip@fin.uucp>
362 Mon Oct 4 12:26:49 1993 Chip Salzenberg <chip@fin.uucp>
376 Sat Jul 24 12:04:29 1993 Chip Salzenberg <chip@fin.uucp>
[all …]
/openbsd/usr.bin/rcs/
H A Drcs.c1485 u_char *c, *kw, *fin; in rcs_expand_keywords() local
1510 fin = c + buf_len(bp); in rcs_expand_keywords()
1514 while (c < fin) { in rcs_expand_keywords()
1515 kw = memchr(c, '$', fin - c); in rcs_expand_keywords()
1525 if (c == fin) in rcs_expand_keywords()
1538 if (c + kwlen < fin && in rcs_expand_keywords()
1555 for (; c < fin; ++c) { in rcs_expand_keywords()
1682 for (j = 0; c + j < fin; ++j) { in rcs_expand_keywords()
1686 if (c + j == fin || c[j] == '\n') in rcs_expand_keywords()
1692 buf_append(newbuf, c, fin - c); in rcs_expand_keywords()
/openbsd/gnu/usr.bin/perl/cpan/CPAN-Meta-Requirements/lib/CPAN/Meta/
H A DRequirements.pm400 my $fin = $self->is_finalized;
404 if $fin and not $old;
410 if $fin and $old->as_string ne $new->as_string;
/openbsd/lib/libedit/
H A Del.c58 el_init(const char *prog, FILE *fin, FILE *fout, FILE *ferr) in el_init() argument
65 el->el_infile = fin; in el_init()
69 el->el_infd = fileno(fin); in el_init()
/openbsd/usr.bin/rpcgen/
H A Drpc_util.h60 extern FILE *fin;
H A Drpc_main.c330 fin = fdopen(pd[0], "r"); in open_input()
331 if (fin == NULL) { in open_input()
/openbsd/gnu/usr.bin/gcc/gcc/f/
H A DMake-lang.in107 f/str-1t.h f/str-1t.j: f/fini$(build_exeext) f/str-1t.fin
108 ./f/fini$(build_exeext) $(srcdir)/f/str-1t.fin f/str-1t.j f/str-1t.h
110 f/str-2t.h f/str-2t.j: f/fini$(build_exeext) f/str-2t.fin
111 ./f/fini$(build_exeext) $(srcdir)/f/str-2t.fin f/str-2t.j f/str-2t.h
113 f/str-fo.h f/str-fo.j: f/fini$(build_exeext) f/str-fo.fin
114 ./f/fini$(build_exeext) $(srcdir)/f/str-fo.fin f/str-fo.j f/str-fo.h
116 f/str-io.h f/str-io.j: f/fini$(build_exeext) f/str-io.fin
117 ./f/fini$(build_exeext) $(srcdir)/f/str-io.fin f/str-io.j f/str-io.h
119 f/str-nq.h f/str-nq.j: f/fini$(build_exeext) f/str-nq.fin
122 f/str-op.h f/str-op.j: f/fini$(build_exeext) f/str-op.fin
[all …]
/openbsd/sys/dev/ic/
H A Di82365.c1083 bus_addr_t ioaddr, beg, fin; in pcic_chip_io_alloc() local
1120 fin = min(range->start + range->len, in pcic_chip_io_alloc()
1124 if (fin < beg || fin - beg < size) in pcic_chip_io_alloc()
1132 (u_long)beg, (u_long)fin)); in pcic_chip_io_alloc()
1133 if (bus_space_alloc(iot, beg, fin, size, align, 0, 0, in pcic_chip_io_alloc()
/openbsd/usr.bin/cvs/
H A Drcs.c2185 const u_char *c, *start, *fin, *end; in rcs_kwexp_line() local
2203 fin = c + len - 1; in rcs_kwexp_line()
2214 for (; c < fin; c++) { in rcs_kwexp_line()
2229 clen = fin - c + 1; in rcs_kwexp_line()
2274 for (; c <= fin; ++c) { in rcs_kwexp_line()
2525 fin = buf_get(tmpbuf) + buf_len(tmpbuf) - 1; in rcs_kwexp_line()
/openbsd/sys/netinet/
H A Dtcp_usrreq.c1107 struct sockaddr_in *fin, *lin; in tcp_ident() local
1148 fin = (struct sockaddr_in *)&tir.faddr; in tcp_ident()
1163 inp = in_pcblookup(&tcbtable, fin->sin_addr, in tcp_ident()
1164 fin->sin_port, lin->sin_addr, lin->sin_port, tir.rdomain); in tcp_ident()
/openbsd/usr.bin/calendar/calendars/fr_FR.UTF-8/
H A Dcalendar.proverbes86 03/03 Soit au début, soit à la fin,
115 Le mauvais temps prend fin.
299 10/31 Quand octobre prend sa fin,

12