Searched refs:infp (Results 1 – 7 of 7) sorted by relevance
/freebsd/usr.bin/bintrans/ |
H A D | uudecode.c | 61 static FILE *infp, *outfp; variable 77 infp = fopen(infile, "r"); in main_base64_decode() 78 if (infp == NULL) in main_base64_decode() 82 infp = stdin; in main_base64_decode() 140 infp = fopen(infile = *argv, "r"); in main_decode() 141 if (infp == NULL) { in main_decode() 147 fclose(infp); in main_decode() 151 infp = stdin; in main_decode() 198 if (fgets(buf, sizeof(buf), infp) == NULL) in decode2() 315 if (fgets(buf, size, infp) != NULL) in get_line()
|
/freebsd/bin/sh/ |
H A D | mknodes.c | 100 FILE *infp; in main() local 104 if ((infp = fopen(argv[1], "r")) == NULL) in main() 106 while (readline(infp)) { in main() 112 fclose(infp); in main() 402 readline(FILE *infp) in readline() argument 406 if (fgets(line, 1024, infp) == NULL) in readline()
|
/freebsd/contrib/netbsd-tests/lib/libm/ |
H A D | t_pow.c | 192 const double infp = 1.0L / 0.0L; in ATF_TC_BODY() local 198 ATF_REQUIRE(isinf(infp) != 0); in ATF_TC_BODY() 201 if (pow(-1.0, infp) != 1.0) { in ATF_TC_BODY() 493 const float infp = 1.0L / 0.0L; in ATF_TC_BODY() local 499 ATF_REQUIRE(isinf(infp) != 0); in ATF_TC_BODY() 502 if (powf(-1.0, infp) != 1.0) { in ATF_TC_BODY()
|
/freebsd/usr.bin/split/ |
H A D | split.c | 279 FILE *infp; in split2() local 285 if ((infp = fdopen(ifd, "r")) == NULL) in split2() 289 while ((errno = 0, len = getline(&buf, &bufsize, infp)) > 0) { in split2() 313 if ((len == -1 && errno != 0) || ferror(infp)) in split2()
|
/freebsd/usr.sbin/uefisign/ |
H A D | child.c | 228 FILE *outfp = NULL, *infp = NULL; in child() local 231 infp = checked_fopen(inpath, "r"); in child() 242 x->x_fp = infp; in child()
|
/freebsd/usr.bin/rpcinfo/ |
H A D | rpcinfo.c | 1612 print_rmtcallstat(int rtype, rpcb_stat *infp) argument 1622 for (pr = infp->rmtinfo; pr; pr = pr->next) { 1637 print_getaddrstat(int rtype, rpcb_stat *infp) argument 1643 for (al = infp->addrinfo; al; al = al->next) {
|
/freebsd/sys/kern/ |
H A D | vfs_syscalls.c | 4905 struct file *infp, *outfp; in kern_copy_file_range() local 4912 infp = outfp = NULL; in kern_copy_file_range() 4932 inoffp != NULL ? &cap_pread_rights : &cap_read_rights, &infp); in kern_copy_file_range() 4935 if (infp->f_ops == &badfileops) { in kern_copy_file_range() 4939 if (infp->f_vnode == NULL) { in kern_copy_file_range() 4958 inoffp = &infp->f_offset; in kern_copy_file_range() 4964 invp = infp->f_vnode; in kern_copy_file_range() 4968 (infp->f_flag & FREAD) == 0) { in kern_copy_file_range() 5005 flags, infp->f_cred, outfp->f_cred, td); in kern_copy_file_range() 5017 if (infp != NULL) in kern_copy_file_range() [all …]
|