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/sys/kern/ |
| H A D | vfs_syscalls.c | 5138 struct file *infp, *infp1, *outfp, *outfp1; in kern_copy_file_range() local 5146 infp = outfp = NULL; in kern_copy_file_range() 5167 inoffp != NULL ? &cap_pread_rights : &cap_read_rights, &infp); in kern_copy_file_range() 5170 if (infp->f_ops == &badfileops) { in kern_copy_file_range() 5174 if (infp->f_vnode == NULL) { in kern_copy_file_range() 5200 infp1 = infp; in kern_copy_file_range() 5223 invp = infp->f_vnode; in kern_copy_file_range() 5227 (infp->f_flag & FREAD) == 0) { in kern_copy_file_range() 5271 flags, infp->f_cred, outfp->f_cred, td); in kern_copy_file_range() 5284 foffset_unlock(infp, inoff, 0); in kern_copy_file_range() [all …]
|
| /freebsd/usr.bin/rpcinfo/ |
| H A D | rpcinfo.c | 1632 print_rmtcallstat(int rtype, rpcb_stat *infp) argument 1642 for (pr = infp->rmtinfo; pr; pr = pr->next) { 1657 print_getaddrstat(int rtype __unused, rpcb_stat *infp) argument 1663 for (al = infp->addrinfo; al; al = al->next) {
|