/src/usr.bin/rdist/ |
main.c | 71 FILE *fin = NULL; /* input file pointer */ variable in typeref:typename:FILE * 123 fin = stdin; 215 if (fin == NULL) { 217 if ((fin = fopen("distfile","r")) == NULL) 218 fin = fopen("Distfile", "r"); 220 fin = fopen(distfile, "r"); 221 if (fin == NULL) {
|
/src/usr.bin/mail/ |
names.c | 253 FILE *fout, *fin; local in function:outof 367 fin = NULL; 369 fin = Fdopen(f, "ref"); 370 if (fin == NULL) { 376 rewind(fin); 377 while ((c = getc(fin)) != EOF) 383 (void)Fclose(fin); 387 (void)Fclose(fin);
|
/src/usr.bin/rpcgen/ |
rpc_util.c | 73 FILE *fin; /* file pointer of current input */ variable in typeref:typename:FILE *
|
/src/common/dist/zlib/contrib/minizip/ |
minizip.c | 182 FILE * fin = FOPEN_FUNC(filenameinzip,"rb"); local in function:getFileCrc 186 if (fin==NULL) 195 size_read = fread(buf,1,size_buf,fin); 197 if (feof(fin)==0) 209 if (fin) 210 fclose(fin); 387 FILE * fin = NULL; local in function:main 452 fin = FOPEN_FUNC(filenameinzip,"rb"); 453 if (fin==NULL) 464 size_read = fread(buf,1,size_buf,fin); [all...] |
/src/sys/external/bsd/ipf/netinet/ |
ip_auth.c | 373 /* Parameters: fin(I) - pointer to ipftoken structure */ 381 ipf_auth_check(fr_info_t *fin, u_32_t *passp) 383 ipf_main_softc_t *softc = fin->fin_main_soft; 395 ip = fin->fin_ip; 407 !bcmp((char *)fin, (char *)&fra->fra_info, FI_CSIZE)) { 413 fin->fin_reason = FRB_AUTHFEEDBACK; 421 (fin->fin_flx & FI_FRAG))) { 427 fr->fr_ifa = fin->fin_ifp; 439 fin->fin_fr = fr; 440 fin->fin_flx |= fra->fra_flx 1148 fr_info_t fin; local in function:ipf_auth_reply [all...] |
ip_nat6.c | 437 /* Parameters: fin(I) - pointer to packet information */ 448 ipf_nat6_newmap(fr_info_t *fin, nat_t *nat, natinfo_t *ni) 450 ipf_main_softc_t *softc = fin->fin_main_soft; 472 sport = fin->fin_data[1]; 475 sport = htons(fin->fin_data[0]); 476 dport = htons(fin->fin_data[1]); 492 hm = ipf_nat6_hostmap(softn, np, &fin->fin_src6, 493 &fin->fin_dst6, &in, 0); 515 temp.i6[0] = fin->fin_src6.i6[0] & 517 temp.i6[1] = fin->fin_src6.i6[1] 2459 fr_info_t fin; local in function:ipf_nat6_lookupredir [all...] |
ip_nat.c | 137 DT1(x, fr_info_t *, fin); } while (0) 856 /* Parameters: fin(I) - pointer to packet information */ 894 /* Parameters: fin(I) - pointer to packet information */ 1916 fr_info_t *fin; local in function:ipf_nat_putent 1935 fin = NULL; 2030 KMALLOC(fin, fr_info_t *); 2031 if (fin == NULL) { 2035 bzero(fin, sizeof(*fin)); 2036 fin->fin_v = nat->nat_v[0] 4624 fr_info_t fin; local in function:ipf_nat_lookupredir [all...] |
fil.c | 443 /* Parameters: fin(I) - pointer to packet information */ 452 ipf_pr_short6(fr_info_t *fin, int xmin) 455 if (fin->fin_dlen < xmin) 456 fin->fin_flx |= FI_SHORT; 463 /* Parameters: fin(I) - pointer to packet information */ 472 ipf_pr_ipv6hdr(fr_info_t *fin) 474 ip6_t *ip6 = (ip6_t *)fin->fin_ip; 476 fr_ip_t *fi = &fin->fin_fi; 478 fin->fin_off = 0; 486 fin->fin_crc = p 2800 fr_info_t *fin = &frinfo; local in function:ipf_check [all...] |
ip_fil_compat.c | 2613 fr_info_t *fin = (fr_info_t *)current; local in function:fr_info_4_1_32_to_current 2615 fin->fin_ifp = old->fin_ifp; 2616 ipf_v4iptov5(&old->fin_fi, &fin->fin_fi); 2617 bcopy(&old->fin_dat, &fin->fin_dat, sizeof(old->fin_dat)); 2618 fin->fin_out = old->fin_out; 2619 fin->fin_rev = old->fin_rev; 2620 fin->fin_hlen = old->fin_hlen; 2621 fin->fin_tcpf = old->ofin_tcpf; 2622 fin->fin_icode = old->fin_icode; 2623 fin->fin_rule = old->fin_rule 2652 fr_info_t *fin = (fr_info_t *)current; local in function:fr_info_4_1_24_to_current 2691 fr_info_t *fin = (fr_info_t *)current; local in function:fr_info_4_1_23_to_current 2729 fr_info_t *fin = (fr_info_t *)current; local in function:fr_info_4_1_11_to_current 3963 fr_info_t *fin = (fr_info_t *)current; local in function:fr_info_current_to_4_1_24 4006 fr_info_t *fin = (fr_info_t *)current; local in function:fr_info_current_to_4_1_23 4047 fr_info_t *fin = (fr_info_t *)current; local in function:fr_info_current_to_4_1_11 [all...] |
/src/libexec/ftpd/ |
cmds.c | 468 FILE *fin; local in function:sizecmd 472 fin = fopen(filename, "r"); 473 if (fin == NULL) { 477 if (fstat(fileno(fin), &stbuf) < 0 || !S_ISREG(stbuf.st_mode)) { 479 (void) fclose(fin); 484 (void) fclose(fin); 489 while((c = getc(fin)) != EOF) { 494 (void) fclose(fin); 507 FILE *fin; local in function:statfilecmd 513 fin = ftpd_popen(argv, "r", STDOUT_FILENO) [all...] |
ftpd.c | 1698 FILE *fin, *dout; local in function:retrieve 1711 fin = dout = NULL; 1716 fin = fopen(name, "r"); 1718 if (fin == NULL) /* doesn't exist?; try a conversion */ 1739 fin = ftpd_popen(argv, "r", stderrfd); 1744 if (fin == NULL) { 1755 && (fstat(fileno(fin), &st) < 0 || !S_ISREG(st.st_mode))) { 1766 if ((c=getc(fin)) == EOF) { 1774 } else if (lseek(fileno(fin), restart_point, SEEK_SET) < 0) { 1786 sendrv = send_data(fin, dout, &st, isdata) [all...] |
/src/sys/altq/ |
altq_subr.c | 799 struct flowinfo_in *fin; local in function:altq_extractflow 807 fin = (struct flowinfo_in *)flow; 808 fin->fi_len = sizeof(struct flowinfo_in); 809 fin->fi_family = AF_INET; 811 fin->fi_proto = ip->ip_p; 812 fin->fi_tos = ip->ip_tos; 814 fin->fi_src.s_addr = ip->ip_src.s_addr; 815 fin->fi_dst.s_addr = ip->ip_dst.s_addr; 819 extract_ports4(m, ip, fin); 821 fin->fi_sport = 0 [all...] |
/src/dist/pf/sbin/pfctl/ |
pfctl.c | 1341 pfctl_rules(int dev, char *filename, FILE *fin, int opts, int optimize, 1421 if (parse_rules(fin, &pf) < 0) { 1447 if (fin != stdin) { 1448 fclose(fin); 1449 fin = NULL; 1473 if (fin != NULL && fin != stdin) 1474 fclose(fin); 1961 FILE *fin = NULL; local in function:main 2298 fin = stdin [all...] |
/src/usr.bin/gzip/ |
unlz.c | 281 FILE *fin, *fout; member in struct:lz_decoder 313 if (lz->fin) 314 fclose(lz->fin); 321 lz_create(struct lz_decoder *lz, int fin, int fdout, int dict_size) 325 lz->fin = fdopen(dup(fin), "r"); 326 if (lz->fin == NULL) 342 if (lz_rd_create(&lz->rdec, lz->fin) == -1) 437 while (!feof(lz->fin) && !ferror(lz->fin)) { [all...] |
/src/games/canfield/canfield/ |
canfield.c | 875 int i, fin; local in function:movetotalon 882 fin = 3; 884 fin = cinhand; 899 fin = 3; 901 fin = cinhand; 910 fin = 0; 920 fin = 0; 922 for (i=0; i<fin; i++) { 927 if (i == fin - 1) 939 if (fin != 0) [all...] |
/src/usr.bin/ftp/ |
ftp.c | 700 FILE *volatile fin; local in function:sendrequest 743 fin = stdin; 747 fin = popen(local + 1, "r"); 748 if (fin == NULL) { 756 fin = fopen(local, "r"); 757 if (fin == NULL) { 763 if (fstat(fileno(fin), &st) < 0 || !S_ISREG(st.st_mode)) { 784 rc = fseeko(fin, restart_point, SEEK_SET); 788 rc = lseek(fileno(fin), restart_point, SEEK_SET); 829 c = copy_bytes(fileno(fin), fileno(dout), buf, bufsize [all...] |
fetch.c | 818 print_host(FETCH *fin, const struct urlinfo *ui) 823 fetch_printf(fin, "Host: %s", ui->host); 833 fetch_printf(fin, "Host: [%s]", h); 839 fetch_printf(fin, ":%u", ui->portnum); 840 fetch_printf(fin, "\r\n"); 844 print_agent(FETCH *fin) 848 fetch_printf(fin, "User-Agent: %s\r\n", useragent); 850 fetch_printf(fin, "User-Agent: %s/%s\r\n", 856 print_cache(FETCH *fin, int isproxy) 858 fetch_printf(fin, isproxy 1417 FETCH *volatile fin; local in function:fetch_url [all...] |
/src/sys/dev/ic/ |
bwi.c | 5353 int i, fin; local in function:bwi_rf_lo_measure_11g 5358 fin = LO_ADJUST_MAX; 5361 fin = adjust_state + 1; 5364 fin = adjust_state + 2; 5371 if (fin > LO_ADJUST_MAX) 5372 fin -= LO_ADJUST_MAX; 5373 KASSERT(fin <= LO_ADJUST_MAX && fin >= LO_ADJUST_MIN); 5396 if (i == fin)
|