Home
last modified time | relevance | path

Searched refs:fp2 (Results 1 – 22 of 22) sorted by relevance

/freebsd/contrib/sendmail/libsm/
H A Dfopen.c230 SM_FILE_T *fp2; local
288 ret = (*fp2->f_open)(fp2, info, flags, rpool);
316 return fp2;
333 sm_io_autoflush(fp, fp2) in sm_io_autoflush() argument
335 SM_FILE_T *fp2;
340 if (fp2 != NULL)
344 fp->f_flushfp = fp2;
365 sm_io_automode(fp1, fp2) in sm_io_automode() argument
367 SM_FILE_T *fp2;
372 fp1->f_modefp = fp2;
[all …]
/freebsd/usr.bin/cmp/
H A Dspecial.c47 FILE *fp1, *fp2; in c_special() local
60 if ((fp2 = fdopen(fd2, "r")) == NULL) in c_special()
62 (void)setvbuf(fp2, NULL, _IOFBF, 65536); in c_special()
69 if (getc(fp2) == EOF) in c_special()
81 ch2 = getc(fp2); in c_special()
109 if (ferror(fp2)) in c_special()
112 if (!feof(fp2)) in c_special()
115 if (feof(fp2)) in c_special()
117 fclose(fp2); in c_special()
/freebsd/crypto/openssl/test/
H A Dcms-examples.pl327 my ( $fp1, $fp2 );
336 if ( !open( $fp2, "<$f2" ) ) {
342 binmode $fp2;
348 $n2 = sysread $fp2, $rd2, 4096;
360 close $fp2;
/freebsd/usr.bin/comm/
H A Dcomm.c59 FILE *fp1, *fp2; in main() local
96 fp2 = file(argv[1]); in main()
123 n2 = getline(&line2, &line2len, fp2); in main()
124 if (n2 < 0 && ferror(fp2)) in main()
133 show(fp2, argv[1], col2, &line2, &line2len); in main()
/freebsd/lib/libc/tests/stdio/
H A Dfreopen_test.c39 FILE *fp1, *fp2; in runtest() local
46 fp2 = freopen(fname2, mode2, fp1); in runtest()
47 if (fp2 == NULL) { in runtest()
56 fclose(fp2); in runtest()
/freebsd/lib/libc/tests/gen/
H A Dpopen_test.c136 FILE *fp, *fp2; in ATF_TC_BODY() local
189 fp2 = popen("read x", mode); in ATF_TC_BODY()
190 ATF_CHECK_MSG(fp2 != NULL, in ATF_TC_BODY()
192 if (fp2 == NULL) { in ATF_TC_BODY()
200 status = pclose(fp2); in ATF_TC_BODY()
/freebsd/contrib/byacc/
H A Dlalr.c529 unsigned *fp1, *fp2, *fp3; in compute_lookaheads() local
541 fp2 = F + tokensetsize * sp->value; in compute_lookaheads()
543 *fp1++ |= *fp2++; in compute_lookaheads()
588 unsigned *fp2; in traverse() local
614 fp2 = F + j * tokensetsize; in traverse()
617 *fp1++ |= *fp2++; in traverse()
632 fp2 = F + j * tokensetsize; in traverse()
635 *fp2++ = *fp1++; in traverse()
/freebsd/contrib/llvm-project/lld/ELF/Arch/
H A DMipsArchTree.cpp86 bool fp2 = f.flags & EF_MIPS_FP64; in checkFlags() local
87 if (fp != fp2) in checkFlags()
88 error(toString(f.file) + ": -mfp" + getFpName(fp2) + in checkFlags()
/freebsd/sys/kern/
H A Dsys_procdesc.c559 procdesc_cmp(struct file *fp1, struct file *fp2, struct thread *td) in procdesc_cmp() argument
563 if (fp2->f_type != DTYPE_PROCDESC) in procdesc_cmp()
566 pdp2 = fp2->f_data; in procdesc_cmp()
H A Duipc_syscalls.c547 struct file *fp1, *fp2; in kern_socketpair() local
582 error = falloc(td, &fp2, &fd, oflag); in kern_socketpair()
585 fp2->f_data = so2; /* so2 already has ref count */ in kern_socketpair()
609 finit(fp2, FREAD | FWRITE | fflag, DTYPE_SOCKET, fp2->f_data, in kern_socketpair()
613 (void) fo_ioctl(fp2, FIONBIO, &fflag, td->td_ucred, td); in kern_socketpair()
616 fdrop(fp2, td); in kern_socketpair()
619 fdclose(td, fp2, rsv[1]); in kern_socketpair()
620 fdrop(fp2, td); in kern_socketpair()
H A Dsys_generic.c2112 struct file *fp1, *fp2; in kern_kcmp() local
2128 error = fget_remote(td, p2, idx2, &fp2); in kern_kcmp()
2131 res = fo_cmp(fp1, fp2, td); in kern_kcmp()
2134 (uintptr_t)fp2); in kern_kcmp()
2135 fdrop(fp2, td); in kern_kcmp()
2174 file_kcmp_generic(struct file *fp1, struct file *fp2, struct thread *td) in file_kcmp_generic() argument
2176 if (fp1->f_type != fp2->f_type) in file_kcmp_generic()
2178 return (kcmp_cmp((uintptr_t)fp1->f_data, (uintptr_t)fp2->f_data)); in file_kcmp_generic()
H A Duipc_mqueue.c2324 struct file *fp, *fp2; in kern_kmq_notify() local
2346 fp2 = fget_noref(fdp, mqd); in kern_kmq_notify()
2347 if (fp2 == NULL) { in kern_kmq_notify()
2359 if (fp2 != fp) { in kern_kmq_notify()
H A Dkern_descrip.c488 struct file *fp, *fp2; in kern_fcntl() local
722 error = fget_unlocked(td, fd, &cap_no_rights, &fp2); in kern_fcntl()
727 if (fp != fp2) { in kern_fcntl()
736 fdrop(fp2, td); in kern_fcntl()
H A Dvfs_vnops.c4262 vn_cmp(struct file *fp1, struct file *fp2, struct thread *td) in vn_cmp() argument
4264 if (fp2->f_type != DTYPE_VNODE) in vn_cmp()
4266 return (kcmp_cmp((uintptr_t)fp1->f_vnode, (uintptr_t)fp2->f_vnode)); in vn_cmp()
/freebsd/sys/sys/
H A Dfile.h282 int file_kcmp_generic(struct file *fp1, struct file *fp2, struct thread *td);
498 fo_cmp(struct file *fp1, struct file *fp2, struct thread *td) in fo_cmp() argument
503 return ((*fp1->f_ops->fo_cmp)(fp1, fp2, td)); in fo_cmp()
/freebsd/crypto/openssh/
H A Dssh-agent.c495 char *fp1, *fp2; in identity_permitted() local
518 fp1 = fp2 = NULL; in identity_permitted()
523 if ((fp2 = sshkey_fingerprint(hks->key, SSH_FP_HASH_DEFAULT, in identity_permitted()
531 sshkey_type(hks->key), fp2); in identity_permitted()
533 free(fp2); in identity_permitted()
/freebsd/sys/fs/devfs/
H A Ddevfs_vnops.c2034 devfs_cmp_f(struct file *fp1, struct file *fp2, struct thread *td) in devfs_cmp_f() argument
2036 if (fp2->f_type != DTYPE_VNODE || fp2->f_ops != &devfs_ops_f) in devfs_cmp_f()
2038 return (kcmp_cmp((uintptr_t)fp1->f_data, (uintptr_t)fp2->f_data)); in devfs_cmp_f()
/freebsd/sys/contrib/device-tree/src/arm/qcom/
H A Dqcom-msm8974pro-fairphone-fp2.dts11 compatible = "fairphone,fp2", "qcom,msm8974pro", "qcom,msm8974";
/freebsd/sys/compat/linuxkpi/common/src/
H A Dlinux_compat.c1725 linux_file_kcmp(struct file *fp1, struct file *fp2, struct thread *td) in linux_file_kcmp() argument
1729 if (fp2->f_type != DTYPE_DEV) in linux_file_kcmp()
1733 filp2 = fp2->f_data; in linux_file_kcmp()
/freebsd/contrib/ncurses/progs/
H A Dtic.c477 FILE *fp2 = copy_input(fp, filename, alt_file); in open_input() local
478 fp = fp2; in open_input()
/freebsd/sys/contrib/device-tree/Bindings/arm/
H A Dqcom.yaml214 - fairphone,fp2
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86RegisterInfo.td334 def FP2 : X86Reg<"fp2", 0>;