Searched refs:fp2 (Results 1 - 19 of 19) sorted by relevance

/freebsd-current/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;
321 ** When a read occurs on fp, fp2 will be flushed iff there is no
326 ** fp2
[all...]
/freebsd-current/usr.bin/cmp/
H A Dspecial.c47 FILE *fp1, *fp2; local
60 if ((fp2 = fdopen(fd2, "r")) == NULL)
62 (void)setvbuf(fp2, NULL, _IOFBF, 65536);
69 if (getc(fp2) == EOF)
81 ch2 = getc(fp2);
109 if (ferror(fp2))
112 if (!feof(fp2))
115 if (feof(fp2))
117 fclose(fp2);
/freebsd-current/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-current/usr.bin/comm/
H A Dcomm.c59 FILE *fp1, *fp2; local
96 fp2 = file(argv[1]);
123 n2 = getline(&line2, &line2len, fp2);
124 if (n2 < 0 && ferror(fp2))
133 show(fp2, argv[1], col2, &line2, &line2len);
/freebsd-current/lib/libc/tests/stdio/
H A Dfreopen_test.c39 FILE *fp1, *fp2; local
46 fp2 = freopen(fname2, mode2, fp1);
47 if (fp2 == NULL) {
56 fclose(fp2);
/freebsd-current/lib/libc/tests/gen/
H A Dpopen_test.c136 FILE *fp, *fp2; local
189 fp2 = popen("read x", mode);
190 ATF_CHECK_MSG(fp2 != NULL,
192 if (fp2 == NULL) {
196 /* If fp2 inherits fp's pipe, we will deadlock here. */
200 status = pclose(fp2);
/freebsd-current/contrib/byacc/
H A Dlalr.c529 unsigned *fp1, *fp2, *fp3; local
541 fp2 = F + tokensetsize * sp->value;
543 *fp1++ |= *fp2++;
588 unsigned *fp2; local
614 fp2 = F + j * tokensetsize;
617 *fp1++ |= *fp2++;
632 fp2 = F + j * tokensetsize;
635 *fp2++ = *fp1++;
/freebsd-current/contrib/llvm-project/lld/ELF/Arch/
H A DMipsArchTree.cpp86 bool fp2 = f.flags & EF_MIPS_FP64; local
87 if (fp != fp2)
88 error(toString(f.file) + ": -mfp" + getFpName(fp2) +
/freebsd-current/sys/kern/
H A Dsys_procdesc.c559 procdesc_cmp(struct file *fp1, struct file *fp2, struct thread *td) argument
563 if (fp2->f_type != DTYPE_PROCDESC)
566 pdp2 = fp2->f_data;
H A Duipc_syscalls.c547 struct file *fp1, *fp2; local
576 /* On success extra reference to `fp1' and 'fp2' is set by falloc. */
582 error = falloc(td, &fp2, &fd, oflag);
585 fp2->f_data = so2; /* so2 already has ref count */
609 finit(fp2, FREAD | FWRITE | fflag, DTYPE_SOCKET, fp2->f_data,
613 (void) fo_ioctl(fp2, FIONBIO, &fflag, td->td_ucred, td);
616 fdrop(fp2, td);
619 fdclose(td, fp2, rsv[1]);
620 fdrop(fp2, t
[all...]
H A Dsys_generic.c2112 struct file *fp1, *fp2; local
2128 error = fget_remote(td, p2, idx2, &fp2);
2131 res = fo_cmp(fp1, fp2, td);
2134 (uintptr_t)fp2);
2135 fdrop(fp2, td);
2174 file_kcmp_generic(struct file *fp1, struct file *fp2, struct thread *td) argument
2176 if (fp1->f_type != fp2->f_type)
2178 return (kcmp_cmp((uintptr_t)fp1->f_data, (uintptr_t)fp2->f_data));
H A Duipc_mqueue.c2357 struct file *fp, *fp2; local
2379 fp2 = fget_noref(fdp, mqd);
2380 if (fp2 == NULL) {
2392 if (fp2 != fp) {
H A Dkern_descrip.c488 struct file *fp, *fp2; local
722 error = fget_unlocked(td, fd, &cap_no_rights, &fp2);
727 if (fp != fp2) {
736 fdrop(fp2, td);
H A Dvfs_vnops.c4265 vn_cmp(struct file *fp1, struct file *fp2, struct thread *td) argument
4267 if (fp2->f_type != DTYPE_VNODE)
4269 return (kcmp_cmp((uintptr_t)fp1->f_vnode, (uintptr_t)fp2->f_vnode));
/freebsd-current/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) argument
503 return ((*fp1->f_ops->fo_cmp)(fp1, fp2, td));
/freebsd-current/crypto/openssh/
H A Dssh-agent.c495 char *fp1, *fp2; local
518 fp1 = fp2 = NULL;
523 if ((fp2 = sshkey_fingerprint(hks->key, SSH_FP_HASH_DEFAULT,
531 sshkey_type(hks->key), fp2);
533 free(fp2);
/freebsd-current/sys/fs/devfs/
H A Ddevfs_vnops.c2033 devfs_cmp_f(struct file *fp1, struct file *fp2, struct thread *td) argument
2035 if (fp2->f_type != DTYPE_VNODE || fp2->f_ops != &devfs_ops_f)
2037 return (kcmp_cmp((uintptr_t)fp1->f_data, (uintptr_t)fp2->f_data));
/freebsd-current/sys/compat/linuxkpi/common/src/
H A Dlinux_compat.c1725 linux_file_kcmp(struct file *fp1, struct file *fp2, struct thread *td) argument
1729 if (fp2->f_type != DTYPE_DEV)
1733 filp2 = fp2->f_data;
/freebsd-current/contrib/ncurses/progs/
H A Dtic.c480 FILE *fp2 = copy_input(fp, filename, alt_file); local
481 fp = fp2;

Completed in 168 milliseconds