| /src/usr.bin/cmp/ |
| H A D | special.c | 48 FILE *fp1, *fp2; in c_special() local 58 if ((fp1 = fdopen(fd1, "r")) == NULL) in c_special() 60 (void)setvbuf(fp1, NULL, _IOFBF, 65536); in c_special() 67 if (getc(fp1) == EOF) in c_special() 81 ch1 = getc(fp1); in c_special() 108 eof: if (ferror(fp1)) in c_special() 112 if (feof(fp1)) { in c_special() 124 fclose(fp1); in c_special()
|
| /src/contrib/sendmail/libsm/ |
| H A D | fopen.c | 365 sm_io_automode(fp1, fp2) in sm_io_automode() argument 366 SM_FILE_T *fp1; in sm_io_automode() 369 SM_REQUIRE_ISA(fp1, SmFileMagic); 372 fp1->f_modefp = fp2; 373 fp2->f_modefp = fp1;
|
| /src/crypto/openssl/test/ |
| H A D | cms-examples.pl | 327 my ( $fp1, $fp2 ); 331 if ( !open( $fp1, "<$f1" ) ) { 341 binmode $fp1; 347 $n1 = sysread $fp1, $rd1, 4096; 359 close $fp1;
|
| /src/contrib/byacc/ |
| H A D | lalr.c | 529 unsigned *fp1, *fp2, *fp3; in compute_lookaheads() local 540 fp1 = rowp; in compute_lookaheads() 542 while (fp1 < fp3) in compute_lookaheads() 543 *fp1++ |= *fp2++; in compute_lookaheads() 587 unsigned *fp1; in traverse() local 613 fp1 = base; in traverse() 616 while (fp1 < fp3) in traverse() 617 *fp1++ |= *fp2++; in traverse() 631 fp1 = base; in traverse() 634 while (fp1 < fp3) in traverse() [all …]
|
| /src/usr.bin/comm/ |
| H A D | comm.c | 59 FILE *fp1, *fp2; in main() local 95 fp1 = file(argv[0]); in main() 115 n1 = getline(&line1, &line1len, fp1); in main() 116 if (n1 < 0 && ferror(fp1)) in main() 138 show(fp1, argv[0], col1, &line1, &line1len); in main()
|
| /src/lib/libc/tests/stdio/ |
| H A D | freopen_test.c | 39 FILE *fp1, *fp2; in runtest() local 43 fp1 = fopen(fname1, mode1); in runtest() 44 ATF_REQUIRE_MSG(fp1 != NULL, in runtest() 46 fp2 = freopen(fname2, mode2, fp1); in runtest()
|
| /src/sys/sys/ |
| H A D | file.h | 91 void foffset_lock_pair(struct file *fp1, off_t *off1p, struct file *fp2, 142 typedef int fo_cmp_t(struct file *fp, struct file *fp1, struct thread *td); 143 typedef int fo_fork_t(struct filedesc *fdp, struct file *fp, struct file **fp1, 302 int file_kcmp_generic(struct file *fp1, struct file *fp2, struct thread *td); 518 fo_cmp(struct file *fp1, struct file *fp2, struct thread *td) in fo_cmp() argument 521 if (fp1->f_ops->fo_cmp == NULL) in fo_cmp() 523 return ((*fp1->f_ops->fo_cmp)(fp1, fp2, td)); in fo_cmp()
|
| /src/sys/contrib/openzfs/module/zstd/lib/compress/ |
| H A D | zstd_preSplit.c | 96 static U64 fpDistance(const Fingerprint* fp1, const Fingerprint* fp2, unsigned hashLog) in fpDistance() argument 103 … ZSTD_abs64((S64)fp1->events[n] * (S64)fp2->nbEvents - (S64)fp2->events[n] * (S64)fp1->nbEvents); in fpDistance()
|
| /src/sys/contrib/device-tree/src/arm/mediatek/ |
| H A D | mt6589-fairphone-fp1.dts | 11 compatible = "fairphone,fp1", "mediatek,mt6589";
|
| /src/sys/kern/ |
| H A D | uipc_syscalls.c | 553 struct file *fp1, *fp2; in kern_socketpair() local 587 error = falloc(td, &fp1, &fd, oflag); in kern_socketpair() 591 fp1->f_data = so1; /* so1 already has ref count */ in kern_socketpair() 617 finit(fp1, FREAD | FWRITE | fflag, DTYPE_SOCKET, fp1->f_data, in kern_socketpair() 622 (void) fo_ioctl(fp1, FIONBIO, &fflag, td->td_ucred, td); in kern_socketpair() 625 fdrop(fp1, td); in kern_socketpair() 632 fdclose(td, fp1, rsv[0]); in kern_socketpair() 633 fdrop(fp1, td); in kern_socketpair()
|
| H A D | kern_jaildesc.c | 432 jaildesc_cmp(struct file *fp1, struct file *fp2, struct thread *td) in jaildesc_cmp() argument 439 jd1 = fp1->f_data; in jaildesc_cmp()
|
| H A D | sys_procdesc.c | 569 procdesc_cmp(struct file *fp1, struct file *fp2, struct thread *td) in procdesc_cmp() argument 575 pdp1 = fp1->f_data; in procdesc_cmp()
|
| H A D | sys_generic.c | 2174 struct file *fp1, *fp2; in kern_kcmp() local 2188 error = fget_remote(td, p1, idx1, &fp1); in kern_kcmp() 2193 res = fo_cmp(fp1, fp2, td); in kern_kcmp() 2195 res = kcmp_cmp((uintptr_t)fp1, in kern_kcmp() 2199 fdrop(fp1, td); in kern_kcmp() 2236 file_kcmp_generic(struct file *fp1, struct file *fp2, struct thread *td) in file_kcmp_generic() argument 2238 if (fp1->f_type != fp2->f_type) in file_kcmp_generic() 2240 return (kcmp_cmp((uintptr_t)fp1->f_data, (uintptr_t)fp2->f_data)); in file_kcmp_generic()
|
| H A D | kern_event.c | 3012 kqueue_fork_alloc(struct filedesc *fdp, struct file *fp, struct file **fp1, in kqueue_fork_alloc() argument 3025 error = kern_kqueue_alloc(td, fdp, NULL, fp1, 0, NULL, true, &kq1); in kqueue_fork_alloc() 3028 (*fp1)->f_flag = fp->f_flag & (FREAD | FWRITE | FEXEC | in kqueue_fork_alloc() 3107 kqueue_fork_copy(struct filedesc *fdp, struct file *fp, struct file *fp1, in kqueue_fork_copy() argument 3116 MPASS(fp1->f_type == DTYPE_KQUEUE); in kqueue_fork_copy() 3118 kq1 = fp1->f_data; in kqueue_fork_copy() 3143 kqueue_fork(struct filedesc *fdp, struct file *fp, struct file **fp1, in kqueue_fork() argument 3146 if (*fp1 == NULL) in kqueue_fork() 3147 return (kqueue_fork_alloc(fdp, fp, fp1, td)); in kqueue_fork() 3148 return (kqueue_fork_copy(fdp, fp, *fp1, p1, td)); in kqueue_fork()
|
| H A D | vfs_vnops.c | 1015 foffset_lock_pair(struct file *fp1, off_t *off1p, struct file *fp2, off_t *off2p, in foffset_lock_pair() argument 1018 KASSERT(fp1 != fp2, ("foffset_lock_pair: fp1 == fp2")); in foffset_lock_pair() 1021 if ((uintptr_t)fp1 > (uintptr_t)fp2) { in foffset_lock_pair() 1025 tmpfp = fp1, fp1 = fp2, fp2 = tmpfp; in foffset_lock_pair() 1028 if (fp1 != NULL) in foffset_lock_pair() 1029 *off1p = foffset_lock(fp1, flags); in foffset_lock_pair() 4499 vn_cmp(struct file *fp1, struct file *fp2, struct thread *td) in vn_cmp() argument 4503 return (kcmp_cmp((uintptr_t)fp1->f_vnode, (uintptr_t)fp2->f_vnode)); in vn_cmp()
|
| /src/sys/dev/mpt/ |
| H A D | mpt.c | 3088 mpt2host_config_page_fc_port_1(CONFIG_PAGE_FC_PORT_1 *fp1) in mpt2host_config_page_fc_port_1() argument 3091 MPT_2_HOST32(fp1, Flags); in mpt2host_config_page_fc_port_1() 3092 MPT_2_HOST32(fp1, NoSEEPROMWWNN.Low); in mpt2host_config_page_fc_port_1() 3093 MPT_2_HOST32(fp1, NoSEEPROMWWNN.High); in mpt2host_config_page_fc_port_1() 3094 MPT_2_HOST32(fp1, NoSEEPROMWWPN.Low); in mpt2host_config_page_fc_port_1() 3095 MPT_2_HOST32(fp1, NoSEEPROMWWPN.High); in mpt2host_config_page_fc_port_1() 3099 host2mpt_config_page_fc_port_1(CONFIG_PAGE_FC_PORT_1 *fp1) in host2mpt_config_page_fc_port_1() argument 3102 HOST_2_MPT32(fp1, Flags); in host2mpt_config_page_fc_port_1() 3103 HOST_2_MPT32(fp1, NoSEEPROMWWNN.Low); in host2mpt_config_page_fc_port_1() 3104 HOST_2_MPT32(fp1, NoSEEPROMWWNN.High); in host2mpt_config_page_fc_port_1() [all …]
|
| /src/crypto/openssh/ |
| H A D | ssh-agent.c | 500 char *fp1, *fp2; in identity_permitted() local 523 fp1 = fp2 = NULL; in identity_permitted() 525 (fp1 = sshkey_fingerprint(fromkey, SSH_FP_HASH_DEFAULT, in identity_permitted() 535 fromkey ? fp1 : "", user ? user : "(ANY)", in identity_permitted() 537 free(fp1); in identity_permitted()
|
| /src/sys/compat/linux/ |
| H A D | linux_socket.c | 1028 struct file *fp, *fp1; in linux_accept_common() local 1065 error1 = getsock(td, s, &cap_accept_rights, &fp1); in linux_accept_common() 1070 so = fp1->f_data; in linux_accept_common() 1073 fdrop(fp1, td); in linux_accept_common()
|
| /src/sys/fs/devfs/ |
| H A D | devfs_vnops.c | 2073 devfs_cmp_f(struct file *fp1, struct file *fp2, struct thread *td) in devfs_cmp_f() argument 2077 return (kcmp_cmp((uintptr_t)fp1->f_data, (uintptr_t)fp2->f_data)); in devfs_cmp_f()
|
| /src/sys/compat/linuxkpi/common/src/ |
| H A D | linux_compat.c | 1785 linux_file_kcmp(struct file *fp1, struct file *fp2, struct thread *td) in linux_file_kcmp() argument 1792 filp1 = fp1->f_data; in linux_file_kcmp()
|
| /src/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86RegisterInfo.td | 333 def FP1 : X86Reg<"fp1", 0>;
|