Home
last modified time | relevance | path

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

/freebsd/contrib/sendmail/libsm/
H A Dfopen.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/usr.bin/cmp/
H A Dspecial.c48 FILE *fp1, *fp2; in c_special() local
61 if ((fp2 = fdopen(fd2, "r")) == NULL) in c_special()
63 (void)setvbuf(fp2, NULL, _IOFBF, 65536); in c_special()
70 if (getc(fp2) == EOF) in c_special()
82 ch2 = getc(fp2); in c_special()
110 if (ferror(fp2)) in c_special()
113 if (!feof(fp2)) { in c_special()
118 if (feof(fp2)) { in c_special()
123 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/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/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/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
576 /* On success extra reference to `fp1' and 'fp2' is set by falloc. */ in kern_socketpair()
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, t in kern_socketpair()
[all...]
H A Dsys_generic.c2135 struct file *fp1, *fp2; in kern_kcmp() local
2151 error = fget_remote(td, p2, idx2, &fp2); in kern_kcmp()
2154 res = fo_cmp(fp1, fp2, td); in kern_kcmp()
2157 (uintptr_t)fp2); in kern_kcmp()
2158 fdrop(fp2, td); in kern_kcmp()
2197 file_kcmp_generic(struct file *fp1, struct file *fp2, struct thread *td) in file_kcmp_generic() argument
2199 if (fp1->f_type != fp2->f_type) in file_kcmp_generic()
2201 return (kcmp_cmp((uintptr_t)fp1->f_data, (uintptr_t)fp2->f_data)); in file_kcmp_generic()
H A Duipc_mqueue.c2357 struct file *fp, *fp2; in kern_kmq_notify() local
2379 fp2 = fget_noref(fdp, mqd); in kern_kmq_notify()
2380 if (fp2 == NULL) { in kern_kmq_notify()
2392 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.c4265 vn_cmp(struct file *fp1, struct file *fp2, struct thread *td) in vn_cmp() argument
4267 if (fp2->f_type != DTYPE_VNODE) in vn_cmp()
4269 return (kcmp_cmp((uintptr_t)fp1->f_vnode, (uintptr_t)fp2->f_vnode)); in vn_cmp()
/freebsd/sys/sys/
H A Dfile.h285 int file_kcmp_generic(struct file *fp1, struct file *fp2, struct thread *td);
501 fo_cmp(struct file *fp1, struct file *fp2, struct thread *td) in fo_cmp() argument
506 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.c2033 devfs_cmp_f(struct file *fp1, struct file *fp2, struct thread *td) in devfs_cmp_f() argument
2035 if (fp2->f_type != DTYPE_VNODE || fp2->f_ops != &devfs_ops_f) in devfs_cmp_f()
2037 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.c1781 linux_file_kcmp(struct file *fp1, struct file *fp2, struct thread *td) in linux_file_kcmp() argument
1785 if (fp2->f_type != DTYPE_DEV) in linux_file_kcmp()
1789 filp2 = fp2->f_data; in linux_file_kcmp()
/freebsd/contrib/ncurses/progs/
H A Dtic.c480 FILE *fp2 = copy_input(fp, filename, alt_file); in open_input() local
481 fp = fp2; in open_input()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86RegisterInfo.td334 def FP2 : X86Reg<"fp2", 0>;