/freebsd-current/contrib/sendmail/libsm/ |
H A D | fopen.c | 230 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 D | special.c | 47 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 D | cms-examples.pl | 327 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 D | comm.c | 59 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 D | freopen_test.c | 39 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 D | popen_test.c | 136 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 D | lalr.c | 529 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 D | MipsArchTree.cpp | 86 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 D | sys_procdesc.c | 559 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 D | uipc_syscalls.c | 547 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 D | sys_generic.c | 2112 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 D | uipc_mqueue.c | 2357 struct file *fp, *fp2; local 2379 fp2 = fget_noref(fdp, mqd); 2380 if (fp2 == NULL) { 2392 if (fp2 != fp) {
|
H A D | kern_descrip.c | 488 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 D | vfs_vnops.c | 4265 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 D | file.h | 282 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 D | ssh-agent.c | 495 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 D | devfs_vnops.c | 2033 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 D | linux_compat.c | 1725 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 D | tic.c | 480 FILE *fp2 = copy_input(fp, filename, alt_file); local 481 fp = fp2;
|