Home
last modified time | relevance | path

Searched refs:fp1 (Results 1 – 19 of 19) sorted by relevance

/freebsd/usr.bin/cmp/
H A Dspecial.c47 FILE *fp1, *fp2; in c_special() local
57 if ((fp1 = fdopen(fd1, "r")) == NULL) in c_special()
59 (void)setvbuf(fp1, NULL, _IOFBF, 65536); in c_special()
66 if (getc(fp1) == EOF) in c_special()
80 ch1 = getc(fp1); in c_special()
107 eof: if (ferror(fp1)) in c_special()
111 if (feof(fp1)) { in c_special()
118 fclose(fp1); in c_special()
/freebsd/contrib/sendmail/libsm/
H A Dfopen.c365 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;
/freebsd/crypto/openssl/test/
H A Dcms-examples.pl327 my ( $fp1, $fp2 );
331 if ( !open( $fp1, "<$f1" ) ) {
341 binmode $fp1;
347 $n1 = sysread $fp1, $rd1, 4096;
359 close $fp1;
/freebsd/usr.bin/comm/
H A Dcomm.c59 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()
/freebsd/contrib/byacc/
H A Dlalr.c529 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 …]
/freebsd/lib/libc/tests/stdio/
H A Dfreopen_test.c39 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()
/freebsd/sys/sys/
H A Dfile.h132 typedef int fo_cmp_t(struct file *fp, struct file *fp1, struct thread *td);
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) in fo_cmp() argument
501 if (fp1->f_ops->fo_cmp == NULL) in fo_cmp()
503 return ((*fp1->f_ops->fo_cmp)(fp1, fp2, td)); in fo_cmp()
/freebsd/sys/contrib/device-tree/src/arm/mediatek/
H A Dmt6589-fairphone-fp1.dts11 compatible = "fairphone,fp1", "mediatek,mt6589";
/freebsd/sys/kern/
H A Duipc_syscalls.c547 struct file *fp1, *fp2; in kern_socketpair() local
577 error = falloc(td, &fp1, &fd, oflag); in kern_socketpair()
581 fp1->f_data = so1; /* so1 already has ref count */ in kern_socketpair()
607 finit(fp1, FREAD | FWRITE | fflag, DTYPE_SOCKET, fp1->f_data, in kern_socketpair()
612 (void) fo_ioctl(fp1, FIONBIO, &fflag, td->td_ucred, td); in kern_socketpair()
615 fdrop(fp1, td); in kern_socketpair()
622 fdclose(td, fp1, rsv[0]); in kern_socketpair()
623 fdrop(fp1, td); in kern_socketpair()
H A Dsys_generic.c2112 struct file *fp1, *fp2; in kern_kcmp() local
2126 error = fget_remote(td, p1, idx1, &fp1); in kern_kcmp()
2131 res = fo_cmp(fp1, fp2, td); in kern_kcmp()
2133 res = kcmp_cmp((uintptr_t)fp1, in kern_kcmp()
2137 fdrop(fp1, td); in kern_kcmp()
2174 file_kcmp_generic(struct file *fp1, struct file *fp2, struct thread *td) in file_kcmp_generic() argument
2176 if (fp1->f_type != fp2->f_type) in file_kcmp_generic()
2178 return (kcmp_cmp((uintptr_t)fp1->f_data, (uintptr_t)fp2->f_data)); in file_kcmp_generic()
H A Dsys_procdesc.c559 procdesc_cmp(struct file *fp1, struct file *fp2, struct thread *td) in procdesc_cmp() argument
565 pdp1 = fp1->f_data; in procdesc_cmp()
H A Dvfs_vnops.c4265 vn_cmp(struct file *fp1, struct file *fp2, struct thread *td) in vn_cmp() argument
4269 return (kcmp_cmp((uintptr_t)fp1->f_vnode, (uintptr_t)fp2->f_vnode)); in vn_cmp()
/freebsd/sys/dev/mpt/
H A Dmpt.c3088 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()
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()
3105 HOST_2_MPT32(fp1, NoSEEPROMWWPN.Low); in host2mpt_config_page_fc_port_1()
[all …]
/freebsd/crypto/openssh/
H A Dssh-agent.c495 char *fp1, *fp2; in identity_permitted() local
518 fp1 = fp2 = NULL; in identity_permitted()
520 (fp1 = sshkey_fingerprint(fromkey, SSH_FP_HASH_DEFAULT, in identity_permitted()
530 fromkey ? fp1 : "", user ? user : "(ANY)", in identity_permitted()
532 free(fp1); in identity_permitted()
/freebsd/sys/contrib/device-tree/Bindings/arm/
H A Dmediatek.yaml39 - fairphone,fp1
/freebsd/sys/compat/linux/
H A Dlinux_socket.c1027 struct file *fp, *fp1; in linux_accept_common() local
1064 error1 = getsock(td, s, &cap_accept_rights, &fp1); in linux_accept_common()
1069 so = fp1->f_data; in linux_accept_common()
1072 fdrop(fp1, td); in linux_accept_common()
/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
2037 return (kcmp_cmp((uintptr_t)fp1->f_data, (uintptr_t)fp2->f_data)); in devfs_cmp_f()
/freebsd/sys/compat/linuxkpi/common/src/
H A Dlinux_compat.c1725 linux_file_kcmp(struct file *fp1, struct file *fp2, struct thread *td) in linux_file_kcmp() argument
1732 filp1 = fp1->f_data; in linux_file_kcmp()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86RegisterInfo.td333 def FP1 : X86Reg<"fp1", 0>;