Home
last modified time | relevance | path

Searched refs:fh (Results 1 – 25 of 162) sorted by relevance

1234567

/freebsd-14.2/tools/tools/vt/mkkfont/
H A Dmkkfont.c45 gbytes = howmany(fh->fh_width, 8) * fh->fh_height; in print_glyphs()
107 print_info(struct font_header *fh) in print_info() argument
116 fh->fh_width, fh->fh_height); in print_info()
120 if (fh->fh_map_count[i] > 0) in print_info()
127 be32toh(fh->fh_map_count[0]), in print_info()
128 be32toh(fh->fh_map_count[1]), in print_info()
129 be32toh(fh->fh_map_count[2]), in print_info()
139 struct font_header fh; in main() local
142 if (fread(&fh, sizeof fh, 1, stdin) != 1) { in main()
154 if (print_glyphs(&fh) != 0) in main()
[all …]
/freebsd-14.2/tools/tools/kdrv/
H A DKernelDriver222 close $fh;
401 puts $fh $l;
404 close $fh;
425 close $fh;
462 close $fh;
523 close $fh;
554 close $fh;
593 close $fh;
632 close $fh;
707 close $fh
[all …]
/freebsd-14.2/usr.bin/sort/
H A Dfile.c791 if (fh && fn) { in file_header_init()
820 if (fh && *fh) { in file_header_close()
829 *fh = NULL; in file_header_close()
841 tmp = fh[i1]; in file_header_swap()
842 fh[i1] = fh[i2]; in file_header_swap()
843 fh[i2] = tmp; in file_header_swap()
861 if (file_header_cmp(fh[indx], fh[parent_index]) < 0) { in file_header_heap_swim()
890 if (file_header_cmp(fh[indx], fh[min_child_index]) > 0) { in file_header_heap_sink()
932 if (fh && fh->fr && f_out && fh->si && fh->si->str) { in file_header_print()
952 if (fh && fh->fr) { in file_header_read_next()
[all …]
/freebsd-14.2/sys/arm/arm/
H A Dfiq.c86 fiq_claim(struct fiqhandler *fh) in fiq_claim() argument
92 if (fh->fh_size > 0x100) in fiq_claim()
109 if (fh->fh_regs != NULL) in fiq_claim()
110 fiq_setregs(fh->fh_regs); in fiq_claim()
115 fiq_installhandler(fh->fh_func, fh->fh_size); in fiq_claim()
131 fiq_release(struct fiqhandler *fh) in fiq_release() argument
143 if (fh == TAILQ_FIRST(&fiqhandler_stack)) { in fiq_release()
144 if (fh->fh_regs != NULL) in fiq_release()
145 fiq_getregs(fh->fh_regs); in fiq_release()
146 TAILQ_REMOVE(&fiqhandler_stack, fh, fh_list); in fiq_release()
[all …]
/freebsd-14.2/contrib/ntp/scripts/lib/NTP/
H A DUtil.pm42 open my $fh, $cmd or croak "Could not start ntpq: $!";
44 while (<$fh>) {
66 close $fh or croak "running ntpq failed: $! (exit status $?)";
99 open my $fh, $cmd or croak "Could not start ntpq: $!";
101 <$fh> for 1 .. 2;
105 while (<$fh>) {
110 defined ($_ = <$fh>) or last;
124 close $fh or croak "running ntpq failed: $! (exit status $?)";
133 open my $fh, $cmd or croak "Could not start sntp: $!";
136 while (<$fh>) {
[all …]
/freebsd-14.2/contrib/llvm-project/lldb/source/API/
H A DSBCommandReturnObject.cpp112 LLDB_INSTRUMENT_VA(this, fh); in PutOutput()
113 if (fh) { in PutOutput()
116 return ::fprintf(fh, "%s", GetOutput()); in PutOutput()
135 size_t SBCommandReturnObject::PutError(FILE *fh) { in PutError() argument
136 LLDB_INSTRUMENT_VA(this, fh); in PutError()
137 if (fh) { in PutError()
140 return ::fprintf(fh, "%s", GetError()); in PutError()
243 LLDB_INSTRUMENT_VA(this, fh); in SetImmediateOutputFile()
245 SetImmediateOutputFile(fh, false); in SetImmediateOutputFile()
249 LLDB_INSTRUMENT_VA(this, fh); in SetImmediateErrorFile()
[all …]
/freebsd-14.2/crypto/openssl/external/perl/Text-Template-1.56/t/
H A Dtaint.t32 open my $fh, '>', $file or die "Couldn't write temporary file $file: $!";
33 print $fh $template, "\n";
34 close $fh or die "Couldn't finish temporary file $file: $!";
82 open $fh, '<', $file or die "Couldn't open $file for reading: $!; aborting";
83 should_fail TYPE => 'filehandle', SOURCE => $fh;
84 close $fh;
86 open $fh, '<', $file or die "Couldn't open $file for reading: $!; aborting";
87 should_work TYPE => 'filehandle', SOURCE => $fh, UNTAINT => 1;
88 close $fh;
/freebsd-14.2/tools/tools/drm/
H A Dgen-drm_pciids15 open(my $fh, '<', $header) or die "Can't open Linux header: $!\n";
23 while (my $line = <$fh>) {
39 close($fh);
47 open(my $fh, '<', $header) or die "Can't open FreeBSD header: $!\n";
55 while (my $line = <$fh>) {
73 close($fh);
81 open(my $fh, '<', $header) or die "Can't open PCI IDs database: $!\n";
87 while (my $line = <$fh>) {
109 close($fh);
/freebsd-14.2/crypto/openssl/test/recipes/
H A D15-test_mp_rsa.t112 open(my $fh, "<", $cleartext) or return 0;
113 binmode $fh;
114 read($fh, $msg, 10240);
115 close $fh;
116 open($fh, "<", $decrypted ) or return 0;
117 binmode $fh;
118 read($fh, $dec, 10240);
119 close $fh;
/freebsd-14.2/stand/efi/libefi/
H A Defihttp.c406 if (fh == NULL) in _efihttp_fs_open()
408 f->f_fsdata = fh; in _efihttp_fs_open()
542 fh->size = 0; in _efihttp_fs_open()
543 fh->is_dir = false; in _efihttp_fs_open()
553 fh->is_dir = true; in _efihttp_fs_open()
613 if (fh->size > 0 && fh->offset >= fh->size) { in _efihttp_fs_read()
722 path = fh->path; in efihttp_fs_seek()
723 fh->path = NULL; in efihttp_fs_seek()
751 sb->st_size = fh->size; in efihttp_fs_stat()
772 dirbuf_len = fh->size; in efihttp_fs_readdir()
[all …]
/freebsd-14.2/contrib/netbsd-tests/fs/tmpfs/
H A Dh_tools.c71 void *fh; in getfh_main() local
83 fh = NULL; in getfh_main()
86 fh = malloc(fh_size); in getfh_main()
87 if (fh == NULL) { in getfh_main()
98 error = getfh(argv[1], fh); in getfh_main()
100 error = getfh(argv[1], fh, &fh_size); in getfh_main()
105 if (fh != NULL) in getfh_main()
106 free(fh); in getfh_main()
114 error = write(STDOUT_FILENO, fh, fh_size); in getfh_main()
119 free(fh); in getfh_main()
/freebsd-14.2/secure/caroot/
H A DMAca-bundle.pl113 my ($fh, $label, $certdata) = @_;
277 my $fh = *STDOUT;
284 open($fh, ">", "$outputdir/$filename") or die "Failed to open certificate $filename";
285 print_header($fh, $labels{$it});
287 printcert($fh, $labels{$it}, $certs{$it});
289 close($fh) or die "Unable to close: $filename";
291 print $fh "\n\n\n";
/freebsd-14.2/contrib/llvm-project/lldb/include/lldb/API/
H A DSBCommandReturnObject.h52 size_t PutOutput(FILE *fh);
66 size_t PutError(FILE *fh);
93 void SetImmediateOutputFile(FILE *fh);
98 void SetImmediateErrorFile(FILE *fh);
103 void SetImmediateOutputFile(FILE *fh, bool transfer_ownership);
108 void SetImmediateErrorFile(FILE *fh, bool transfer_ownership);
/freebsd-14.2/contrib/processor-trace/libipt/src/windows/
H A Dpt_section_windows.c129 HANDLE fh, mh; in pt_sec_windows_map() local
155 fh = (HANDLE) _get_osfhandle(fd); in pt_sec_windows_map()
157 mh = CreateFileMapping(fh, NULL, PAGE_READONLY, 0, 0, NULL); in pt_sec_windows_map()
234 HANDLE fh; in pt_section_map() local
259 fh = CreateFileA(filename, GENERIC_READ, FILE_SHARE_READ, NULL, in pt_section_map()
261 if (fh == INVALID_HANDLE_VALUE) { in pt_section_map()
268 fh = CreateFileA(filename, GENERIC_READ, FILE_SHARE_WRITE, in pt_section_map()
271 if (fh == INVALID_HANDLE_VALUE) { in pt_section_map()
277 fd = _open_osfhandle((intptr_t) fh, _O_RDONLY); in pt_section_map()
318 CloseHandle(fh); in pt_section_map()
/freebsd-14.2/sys/fs/fuse/
H A Dfuse_kernel.h503 uint64_t fh; member
546 uint64_t fh; member
575 uint64_t fh; member
581 uint64_t fh; member
588 uint64_t fh; member
595 uint64_t fh; member
607 uint64_t fh; member
628 uint64_t fh; member
659 uint64_t fh; member
737 uint64_t fh; member
[all …]
/freebsd-14.2/crypto/openssl/util/perl/OpenSSL/Util/
H A DPod.pm99 my $fh = undef;
106 open $fh, $input or die "Trying to read $filename: $!\n";
108 $input = $fh;
168 if (defined $fh) {
169 close $fh;
/freebsd-14.2/tests/sys/vm/stack/
H A Dstack_dlopen_exec_test.c21 void *fh; in checkstack() local
24 fh = dlopen("libsoxstack.so", RTLD_LAZY); in checkstack()
25 ATF_REQUIRE(fh != NULL); in checkstack()
26 socheckstack = dlsym(fh, "checkstack"); in checkstack()
/freebsd-14.2/contrib/smbfs/lib/smb/
H A Dfile.c55 smb_read(struct smb_ctx *ctx, smbfh fh, off_t offset, size_t count, char *dst) in smb_read() argument
59 rwrq.ioc_fh = fh; in smb_read()
69 smb_write(struct smb_ctx *ctx, smbfh fh, off_t offset, size_t count, in smb_write() argument
74 rwrq.ioc_fh = fh; in smb_write()
/freebsd-14.2/usr.sbin/ppp/
H A Dhdlc.c363 const struct frameheader *fh; in hdlc_Detect() local
368 for (fh = FrameHeaders; fh->len; fh++) { in hdlc_Detect()
369 h = issync ? fh->data + 1 : fh->data; in hdlc_Detect()
370 len = issync ? fh->len - 1 : fh->len; in hdlc_Detect()
/freebsd-14.2/sys/fs/nfsserver/
H A Dnfs_fha_new.c44 static int fhanew_get_fh(uint64_t *fh, int v3, struct mbuf **md,
186 *fh = t; in fhanew_get_fh()
308 i->fh = ++random_fh; in fha_extract_info()
347 error = fhanew_get_fh(&i->fh, v3, &md, &dpos); in fha_extract_info()
360 fha_hash_entry_new(u_int64_t fh) in fha_hash_entry_new() argument
365 e->fh = fh; in fha_hash_entry_new()
403 fhs = &softc->fha_hash[fh % FHA_HASH_SIZE]; in fha_hash_entry_lookup()
404 new_fhe = fha_hash_entry_new(fh); in fha_hash_entry_lookup()
408 if (fhe->fh == fh) in fha_hash_entry_lookup()
576 fhe = fha_hash_entry_lookup(softc, i.fh); in fhanew_assign()
[all …]
/freebsd-14.2/crypto/heimdal/lib/roken/
H A Dget_window_size.c104 intptr_t fh = 0; in get_window_size() local
107 fh = _get_osfhandle(fd); in get_window_size()
108 if (fh != (intptr_t) INVALID_HANDLE_VALUE && in get_window_size()
109 GetConsoleScreenBufferInfo((HANDLE) fh, &sb_info)) { in get_window_size()
/freebsd-14.2/sys/contrib/openzfs/module/os/linux/zfs/
H A Dzpl_export.c35 zpl_encode_fh(struct inode *ip, __u32 *fh, int *max_len, struct inode *parent) argument
38 zpl_encode_fh(struct dentry *dentry, __u32 *fh, int *max_len, int connectable)
53 fid = (fid_t *)fh;
72 zpl_fh_to_dentry(struct super_block *sb, struct fid *fh, argument
75 fid_t *fid = (fid_t *)fh;
/freebsd-14.2/sys/nlm/
H A Dnlm_advlock.c83 int svid, size_t fhlen, void *fh, off_t size);
87 int svid, size_t fhlen, void *fh, off_t size);
202 union nfsfh fh; in nlm_advlock_internal() local
309 svid, fhlen, &fh.fh_bytes, size, reclaim); in nlm_advlock_internal()
314 svid, fhlen, &fh.fh_bytes, size); in nlm_advlock_internal()
326 flags, svid, fhlen, &fh.fh_bytes, in nlm_advlock_internal()
541 dst->fh = src->fh; in nlm_convert_to_nlm_lock()
960 int svid, size_t fhlen, void *fh, off_t size) in nlm_clearlock() argument
1035 int svid, size_t fhlen, void *fh, off_t size) in nlm_getlock() argument
1264 lock->fh.n_len = fhlen; in nlm_init_lock()
[all …]
/freebsd-14.2/crypto/openssl/Configurations/
H A D15-android.conf43 if (open my $fh, "<$ndk_src_props") {
45 while(<$fh>) {
51 close $fh;
88 open my $fh, $path or die "Could not open '$path' $!";
89 while (<$fh>) {
95 close $fh;
/freebsd-14.2/crypto/openssl/util/
H A Dmk-fipsmodule-cnf.pl28 open my $fh, "<:raw", $module_name or die "Trying to open $module_name: $!";
29 read $fh, my $data, $module_size or die "Trying to read $module_name: $!";
30 close $fh;

1234567