Home
last modified time | relevance | path

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

/freebsd-14-stable/contrib/sendmail/libsm/
HDfopen.c230 SM_FILE_T *fp2; local
287 fp2 = sm_fp(type, ioflags, fp);
288 ret = (*fp2->f_open)(fp2, info, flags, rpool);
296 fp2->f_flags = 0; /* release */
297 fp2->sm_magic = NULL; /* release */
313 sm_rpool_attach_x(rpool, sm_io_close, fp2);
316 return fp2;
333 sm_io_autoflush(fp, fp2) in sm_io_autoflush() argument
335 SM_FILE_T *fp2;
340 if (fp2 != NULL)
[all …]
/freebsd-14-stable/usr.bin/cmp/
HDspecial.c55 FILE *fp1, *fp2; in c_special() local
68 if ((fp2 = fdopen(fd2, "r")) == NULL) in c_special()
70 (void)setvbuf(fp2, NULL, _IOFBF, 65536); in c_special()
77 if (getc(fp2) == EOF) in c_special()
89 ch2 = getc(fp2); in c_special()
117 if (ferror(fp2)) in c_special()
120 if (!feof(fp2)) { in c_special()
125 if (feof(fp2)) { in c_special()
130 fclose(fp2); in c_special()
/freebsd-14-stable/crypto/openssl/test/
HDcms-examples.pl327 my ( $fp1, $fp2 );
336 if ( !open( $fp2, "<$f2" ) ) {
342 binmode $fp2;
348 $n2 = sysread $fp2, $rd2, 4096;
360 close $fp2;
/freebsd-14-stable/usr.bin/comm/
HDcomm.c72 FILE *fp1, *fp2; in main() local
109 fp2 = file(argv[1]); in main()
136 n2 = getline(&line2, &line2len, fp2); in main()
137 if (n2 < 0 && ferror(fp2)) in main()
146 show(fp2, argv[1], col2, &line2, &line2len); in main()
/freebsd-14-stable/lib/libc/tests/stdio/
HDfreopen_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-14-stable/lib/libc/tests/gen/
HDpopen_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-14-stable/contrib/byacc/
HDlalr.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-14-stable/contrib/llvm-project/lld/ELF/Arch/
HDMipsArchTree.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-14-stable/sys/kern/
HDsys_procdesc.c562 procdesc_cmp(struct file *fp1, struct file *fp2, struct thread *td) in procdesc_cmp() argument
566 if (fp2->f_type != DTYPE_PROCDESC) in procdesc_cmp()
569 pdp2 = fp2->f_data; in procdesc_cmp()
HDuipc_syscalls.c566 struct file *fp1, *fp2; in kern_socketpair() local
601 error = falloc(td, &fp2, &fd, oflag); in kern_socketpair()
604 fp2->f_data = so2; /* so2 already has ref count */ in kern_socketpair()
628 finit(fp2, FREAD | FWRITE | fflag, DTYPE_SOCKET, fp2->f_data, in kern_socketpair()
632 (void) fo_ioctl(fp2, FIONBIO, &fflag, td->td_ucred, td); in kern_socketpair()
635 fdrop(fp2, td); in kern_socketpair()
638 fdclose(td, fp2, rsv[1]); in kern_socketpair()
639 fdrop(fp2, td); in kern_socketpair()
HDsys_generic.c2145 struct file *fp1, *fp2; in kern_kcmp() local
2161 error = fget_remote(td, p2, idx2, &fp2); in kern_kcmp()
2164 res = fo_cmp(fp1, fp2, td); in kern_kcmp()
2167 (uintptr_t)fp2); in kern_kcmp()
2168 fdrop(fp2, td); in kern_kcmp()
2207 file_kcmp_generic(struct file *fp1, struct file *fp2, struct thread *td) in file_kcmp_generic() argument
2209 if (fp1->f_type != fp2->f_type) in file_kcmp_generic()
2211 return (kcmp_cmp((uintptr_t)fp1->f_data, (uintptr_t)fp2->f_data)); in file_kcmp_generic()
HDvfs_vnops.c898 foffset_lock_pair(struct file *fp1, off_t *off1p, struct file *fp2, off_t *off2p, in foffset_lock_pair() argument
901 KASSERT(fp1 != fp2, ("foffset_lock_pair: fp1 == fp2")); in foffset_lock_pair()
904 if ((uintptr_t)fp1 > (uintptr_t)fp2) { in foffset_lock_pair()
908 tmpfp = fp1, fp1 = fp2, fp2 = tmpfp; in foffset_lock_pair()
913 if (fp2 != NULL) in foffset_lock_pair()
914 *off2p = foffset_lock(fp2, flags); in foffset_lock_pair()
4287 vn_cmp(struct file *fp1, struct file *fp2, struct thread *td) in vn_cmp() argument
4289 if (fp2->f_type != DTYPE_VNODE) in vn_cmp()
4291 return (kcmp_cmp((uintptr_t)fp1->f_vnode, (uintptr_t)fp2->f_vnode)); in vn_cmp()
HDuipc_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()
HDkern_descrip.c487 struct file *fp, *fp2; in kern_fcntl() local
721 error = fget_unlocked(td, fd, &cap_no_rights, &fp2); in kern_fcntl()
726 if (fp != fp2) { in kern_fcntl()
735 fdrop(fp2, td); in kern_fcntl()
/freebsd-14-stable/sys/sys/
HDfile.h88 void foffset_lock_pair(struct file *fp1, off_t *off1p, struct file *fp2,
288 int file_kcmp_generic(struct file *fp1, struct file *fp2, struct thread *td);
504 fo_cmp(struct file *fp1, struct file *fp2, struct thread *td) in fo_cmp() argument
509 return ((*fp1->f_ops->fo_cmp)(fp1, fp2, td)); in fo_cmp()
/freebsd-14-stable/crypto/openssh/
HDssh-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-14-stable/sys/contrib/device-tree/src/arm/
HDqcom-msm8974-fairphone-fp2.dts11 compatible = "fairphone,fp2", "qcom,msm8974";
HDqcom-msm8974pro-fairphone-fp2.dts11 compatible = "fairphone,fp2", "qcom,msm8974pro", "qcom,msm8974";
/freebsd-14-stable/sys/fs/devfs/
HDdevfs_vnops.c2035 devfs_cmp_f(struct file *fp1, struct file *fp2, struct thread *td) in devfs_cmp_f() argument
2037 if (fp2->f_type != DTYPE_VNODE || fp2->f_ops != &devfs_ops_f) in devfs_cmp_f()
2039 return (kcmp_cmp((uintptr_t)fp1->f_data, (uintptr_t)fp2->f_data)); in devfs_cmp_f()
/freebsd-14-stable/sys/compat/linuxkpi/common/src/
HDlinux_compat.c1731 linux_file_kcmp(struct file *fp1, struct file *fp2, struct thread *td) in linux_file_kcmp() argument
1735 if (fp2->f_type != DTYPE_DEV) in linux_file_kcmp()
1739 filp2 = fp2->f_data; in linux_file_kcmp()
/freebsd-14-stable/contrib/ncurses/progs/
HDtic.c480 FILE *fp2 = copy_input(fp, filename, alt_file); in open_input() local
481 fp = fp2; in open_input()
/freebsd-14-stable/contrib/llvm-project/llvm/lib/Target/X86/
HDX86RegisterInfo.td334 def FP2 : X86Reg<"fp2", 0>;