/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) {
|
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);
|
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 *
|
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...] |
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_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_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...] |
/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...] |
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...] |
/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...] |
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...] |
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...] |
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...] |
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...] |
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...] |