/freebsd-10.1-release/tools/tools/vt/mkkfont/ |
H A D | mkkfont.c | 57 print_glyphs(struct file_header *fh) argument 62 gbytes = howmany(fh->width, 8) * fh->height; 63 glyph_count = be32toh(fh->glyph_count); 91 print_mappings(struct file_header *fh, int map_index) argument 97 nmappings = be32toh(fh->map_count[map_index]); 124 print_info(struct file_header *fh) argument 133 fh->width, fh->height); 137 if (fh 156 struct file_header fh; local [all...] |
/freebsd-10.1-release/sys/arm/arm/ |
H A D | fiq.c | 96 fiq_claim(struct fiqhandler *fh) argument 102 if (fh->fh_size > 0x100) 119 if (fh->fh_regs != NULL) 120 fiq_setregs(fh->fh_regs); 122 TAILQ_INSERT_HEAD(&fiqhandler_stack, fh, fh_list); 125 fiq_installhandler(fh->fh_func, fh->fh_size); 141 fiq_release(struct fiqhandler *fh) argument 153 if (fh == TAILQ_FIRST(&fiqhandler_stack)) { 154 if (fh [all...] |
/freebsd-10.1-release/contrib/opie/libopie/ |
H A D | lock.c | 93 int fh, waits = 0, rval = -1, pid, t, i; local 145 fh = -1; 146 while (fh < 0) { 151 if ((fh = open(__opie_lockfilename, O_WRONLY | O_CREAT | O_EXCL, 0600)) < 0) { 158 if ((fh = open(__opie_lockfilename, O_RDONLY, 0600)) < 0) 160 if ((i = read(fh, buffer, sizeof(buffer))) <= 0) 188 close(fh); 189 fh = 0; 200 if (fstat(fh, &statbuf[1]) < 0) 209 if (lseek(fh, [all...] |
H A D | unlock.c | 47 int fh, rval = -1, pid, t, i; variable 56 if (!(fh = open(__opie_lockfilename, O_RDWR, 0600))) 59 if ((i = read(fh, buffer, sizeof(buffer))) < 0) 92 if (fh) 93 close(fh); variable
|
/freebsd-10.1-release/contrib/ntp/scripts/lib/NTP/ |
H A D | Util.pm | 42 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-10.1-release/tools/tools/vt/setfont/ |
H A D | setfont.c | 51 struct file_header fh; local 56 if (fread(&fh, sizeof fh, 1, stdin) != 1) { 61 if (memcmp(fh.magic, "VFNT0002", 8) != 0) { 67 vfnt.map_count[i] = be32toh(fh.map_count[i]); 68 vfnt.glyph_count = be32toh(fh.glyph_count); 69 vfnt.width = fh.width; 70 vfnt.height = fh.height;
|
/freebsd-10.1-release/tools/tools/kdrv/ |
H A D | KernelDriver | 150 set fh [open $fname r]; 162 while {[gets $fh line] >= 0} { 214 while {[gets $fh line] >= 0} { 223 close $fh; 396 set fh [open $fname a]; 399 puts $fh "\#\# driver: $Drv(driver)"; 400 puts $fh "\# $Drv(description)"; 402 puts $fh $l; 404 puts $fh "\#\# enddriver"; 405 close $fh; [all...] |
/freebsd-10.1-release/gnu/lib/libsupc++/ |
H A D | Version.map | 97 _ZTI[a-fh-z]; 98 _ZTIP[a-fh-z]; 99 _ZTIPK[a-fh-z]; 112 _ZTS[a-fh-z]; 113 _ZTSP[a-fh-z]; 114 _ZTSPK[a-fh-z];
|
/freebsd-10.1-release/tools/regression/priv/ |
H A D | priv_vfs_fhstat.c | 50 static fhandle_t fh; variable 59 if (getfh(fpath, &fh) < 0) { 72 error = fhstat(&fh, &sb);
|
H A D | priv_vfs_fhstatfs.c | 49 static fhandle_t fh; variable 58 if (getfh(fpath, &fh) < 0) { 71 error = fhstatfs(&fh, &sf);
|
H A D | priv_vfs_getfh.c | 60 fhandle_t fh; local 63 error = getfh(fpath, &fh);
|
H A D | priv_vfs_fhopen.c | 50 static fhandle_t fh; variable 59 if (getfh(fpath, &fh) < 0) { 71 fd = fhopen(&fh, O_RDONLY);
|
/freebsd-10.1-release/contrib/ofed/management/opensm/osmtest/ |
H A D | osmt_slvl_vl_arb.c | 58 IN FILE * fh, 66 result = fprintf(fh, 74 fprintf(fh, " "); 76 fprintf(fh, "| %-2u ", i); 77 fprintf(fh, "|\nVL: "); 80 fprintf(fh, "|0x%02X", p_rec->vl_arb_tbl.vl_entry[i].vl); 81 fprintf(fh, "|\nWEIGHT:"); 84 fprintf(fh, "|0x%02X", p_rec->vl_arb_tbl.vl_entry[i].weight); 85 fprintf(fh, "|\nEND\n\n"); 99 IN uint8_t const block_num, IN FILE * fh) 57 osmtest_write_vl_arb_table(IN osmtest_t * const p_osmt, IN FILE * fh, IN const ib_vl_arb_table_record_t * const p_rec) argument 96 osmt_query_vl_arb(IN osmtest_t * const p_osmt, IN ib_net16_t const lid, IN uint8_t const port_num, IN uint8_t const block_num, IN FILE * fh) argument 185 osmt_query_all_ports_vl_arb(IN osmtest_t * const p_osmt, IN FILE * fh) argument 261 osmtest_write_slvl_map_table(IN osmtest_t * const p_osmt, IN FILE * fh, IN const ib_slvl_table_record_t * const p_rec) argument 297 osmt_query_slvl_map(IN osmtest_t * const p_osmt, IN ib_net16_t const lid, IN uint8_t const out_port_num, IN uint8_t const in_port_num, IN FILE * fh) argument 386 osmt_query_all_ports_slvl_map(IN osmtest_t * const p_osmt, IN FILE * fh) argument 487 FILE *fh; local [all...] |
/freebsd-10.1-release/contrib/llvm/tools/lldb/include/lldb/API/ |
H A D | SBCommandReturnObject.h | 48 PutOutput (FILE *fh); 57 PutError (FILE *fh); 84 SetImmediateOutputFile (FILE *fh); 87 SetImmediateErrorFile (FILE *fh);
|
/freebsd-10.1-release/contrib/smbfs/lib/smb/ |
H A D | file.c | 55 smb_read(struct smb_ctx *ctx, smbfh fh, off_t offset, size_t count, char *dst) argument 59 rwrq.ioc_fh = fh; 69 smb_write(struct smb_ctx *ctx, smbfh fh, off_t offset, size_t count, argument 74 rwrq.ioc_fh = fh;
|
/freebsd-10.1-release/crypto/heimdal/lib/roken/ |
H A D | get_window_size.c | 104 intptr_t fh = 0; local 107 fh = _get_osfhandle(fd); 108 if (fh != (intptr_t) INVALID_HANDLE_VALUE && 109 GetConsoleScreenBufferInfo((HANDLE) fh, &sb_info)) {
|
/freebsd-10.1-release/tools/tools/drm/ |
H A D | gen-drm_pciids | 16 open(my $fh, '<', $header) or die "Can't open Linux header: $!\n"; 24 while (my $line = <$fh>) { 40 close($fh); 48 open(my $fh, '<', $header) or die "Can't open FreeBSD header: $!\n"; 56 while (my $line = <$fh>) { 74 close($fh); 82 open(my $fh, '<', $header) or die "Can't open PCI IDs database: $!\n"; 88 while (my $line = <$fh>) { 110 close($fh);
|
/freebsd-10.1-release/usr.bin/sort/ |
H A D | file.c | 932 file_header_init(struct file_header **fh, const char *fn, size_t file_pos) argument 935 if (fh && fn) { 938 *fh = sort_malloc(sizeof(struct file_header)); 939 (*fh)->file_pos = file_pos; 940 (*fh)->fr = file_reader_init(fn); 941 if ((*fh)->fr == NULL) { 945 line = file_reader_readline((*fh)->fr); 947 file_reader_free((*fh)->fr); 948 (*fh)->fr = NULL; 949 (*fh) 961 file_header_close(struct file_header **fh) argument 983 file_header_swap(struct file_header **fh, size_t i1, size_t i2) argument 999 file_header_heap_swim(struct file_header **fh, size_t indx) argument 1019 file_header_heap_sink(struct file_header **fh, size_t indx, size_t size) argument 1049 file_header_list_rearrange_from_header(struct file_header **fh, size_t size) argument 1059 file_header_list_push(struct file_header *f, struct file_header **fh, size_t size) argument 1075 file_header_print(struct file_header *fh, FILE *f_out, struct last_printed *lp) argument 1095 file_header_read_next(struct file_header *fh) argument 1122 file_headers_merge(size_t fnum, struct file_header **fh, FILE *f_out) argument 1157 struct file_header **fh; local [all...] |
/freebsd-10.1-release/contrib/llvm/tools/lldb/source/Core/ |
H A D | StreamFile.cpp | 44 StreamFile::StreamFile (FILE *fh, bool transfer_ownership) : argument 46 m_file (fh, transfer_ownership)
|
/freebsd-10.1-release/sys/nfs/ |
H A D | nfs_fha.h | 63 u_int64_t fh; member in struct:fha_hash_entry 79 u_int64_t fh; member in struct:fha_info 87 int (*get_fh)(uint64_t *fh, int v3, struct mbuf **md, caddr_t *dpos);
|
/freebsd-10.1-release/contrib/llvm/tools/lldb/source/API/ |
H A D | SBCommandReturnObject.cpp | 127 SBCommandReturnObject::PutOutput (FILE *fh) argument 129 if (fh) 133 return ::fprintf (fh, "%s", GetOutput()); 139 SBCommandReturnObject::PutError (FILE *fh) argument 141 if (fh) 145 return ::fprintf (fh, "%s", GetError()); 268 SBCommandReturnObject::SetImmediateOutputFile (FILE *fh) argument 271 m_opaque_ap->SetImmediateOutputFile (fh); 275 SBCommandReturnObject::SetImmediateErrorFile (FILE *fh) argument 278 m_opaque_ap->SetImmediateErrorFile (fh); [all...] |
/freebsd-10.1-release/contrib/llvm/tools/lldb/include/lldb/Core/ |
H A D | StreamFile.h | 40 StreamFile (FILE *fh, bool transfer_ownership);
|
/freebsd-10.1-release/contrib/llvm/tools/lldb/include/lldb/Interpreter/ |
H A D | CommandReturnObject.h | 80 SetImmediateOutputFile (FILE *fh, bool transfer_fh_ownership = false) argument 82 lldb::StreamSP stream_sp (new StreamFile (fh, transfer_fh_ownership)); 87 SetImmediateErrorFile (FILE *fh, bool transfer_fh_ownership = false) argument 89 lldb::StreamSP stream_sp (new StreamFile (fh, transfer_fh_ownership));
|
/freebsd-10.1-release/contrib/smbfs/smbutil/ |
H A D | print.c | 60 smbfh fh; local 111 error = smb_smb_open_print_file(ctx, 0, 1, fnamebuf, &fh); 127 i = smb_write(ctx, fh, offset, count, buf); 141 error = smb_smb_close_print_file(ctx, fh);
|
/freebsd-10.1-release/contrib/ntp/lib/isc/win32/ |
H A D | file.c | 204 int fh; local 209 if ((fh = open(file, _O_RDONLY | _O_BINARY)) < 0) 212 if (!GetFileTime((HANDLE) _get_osfhandle(fh), 217 close(fh); 221 close(fh); 227 int fh; local 231 if ((fh = open(file, _O_RDWR | _O_BINARY)) < 0) 239 if (!SetFileTime((HANDLE) _get_osfhandle(fh), 244 close(fh); 249 close(fh); 529 int fh; local [all...] |