Home
last modified time | relevance | path

Searched refs:ef (Results 1 – 25 of 90) sorted by relevance

1234

/illumos-gate/usr/src/lib/libtecla/common/
H A Dexpand.c113 static int ef_record_pathname(ExpandFile *ef, const char *pathname,
115 static char *ef_cache_pathname(ExpandFile *ef, const char *pathname,
117 static void ef_clear_files(ExpandFile *ef);
119 static DirNode *ef_open_dir(ExpandFile *ef, const char *pathname);
120 static DirNode *ef_close_dir(ExpandFile *ef, DirNode *node);
121 static char *ef_expand_special(ExpandFile *ef, const char *path, int pathlen);
122 static int ef_match_relative_pathname(ExpandFile *ef, DirReader *dr,
162 ExpandFile *ef; /* The object to be returned */ in new_ExpandFile() local
166 ef = (ExpandFile *) malloc(sizeof(ExpandFile)); in new_ExpandFile()
167 if(!ef) { in new_ExpandFile()
[all …]
/illumos-gate/usr/src/boot/common/
H A Dload_elf.c90 __elfN(load_elf_header)(char *filename, elf_file_t ef) in __elfN()
101 if ((ef->fd = open(filename, O_RDONLY)) == -1) in __elfN()
103 ef->firstpage = malloc(PAGE_SIZE); in __elfN()
104 if (ef->firstpage == NULL) { in __elfN()
105 close(ef->fd); in __elfN()
108 bytes_read = read(ef->fd, ef->firstpage, PAGE_SIZE); in __elfN()
109 ef->firstlen = (size_t)bytes_read; in __elfN()
110 if (bytes_read < 0 || ef->firstlen <= sizeof (Elf_Ehdr)) { in __elfN()
114 ehdr = ef->ehdr = (Elf_Ehdr *)ef->firstpage; in __elfN()
133 if (ef->firstpage != NULL) { in __elfN()
[all …]
H A Dload_elf_obj.c65 static int __elfN(obj_loadimage)(struct preloaded_file *mp, elf_file_t ef,
67 static int __elfN(obj_lookup_set)(struct preloaded_file *mp, elf_file_t ef,
69 static int __elfN(obj_reloc_ptr)(struct preloaded_file *mp, elf_file_t ef,
72 elf_file_t ef);
73 static Elf_Addr __elfN(obj_symaddr)(struct elf_file *ef, Elf_Size symidx);
88 struct elf_file ef; in __elfN() local
94 bzero(&ef, sizeof(struct elf_file)); in __elfN()
101 if ((ef.fd = open(filename, O_RDONLY)) == -1) in __elfN()
104 hdr = &ef.hdr; in __elfN()
105 bytes_read = read(ef.fd, hdr, sizeof(*hdr)); in __elfN()
[all …]
H A Dreloc_elf.c52 __elfN(reloc)(struct elf_file *ef, symaddr_fn *symaddr, const void *reldata, in __elfN()
121 addr = symaddr(ef, symidx); in __elfN()
183 addr = symaddr(ef, symidx); in __elfN()
221 (void)ef; in __elfN()
/illumos-gate/usr/src/cmd/mailx/
H A Dmain.c75 register char *ef; in main() local
137 ef = NOSTR; in main()
189 ef = u; in main()
251 ef = (argc == optind || *argv[optind] == '-') in main()
253 if (*ef && *ef != '/' && *ef != '+') in main()
333 if (newsflg && ef==NOSTR) { in main()
337 if (ef != NOSTR && argp != -1) { in main()
390 if (ef != NOSTR) { in main()
391 if (ef == NOSTR || *ef == '\0' || *ef == '+') { in main()
395 ef = *ef ? safeexpand(ef) : Getf("MBOX"); in main()
[all …]
/illumos-gate/usr/src/lib/libc/port/fp/
H A Ddouble_decim.c534 fp_exception_field_type ef; in single_to_decimal() local
563 ef = 0; in single_to_decimal()
564 if (__fast_double_to_decimal(&x, pm, pd, &ef)) { in single_to_decimal()
566 __bigfloat_to_decimal(&bf, pm, pd, &ef); in single_to_decimal()
568 if (ef != 0) in single_to_decimal()
569 __base_conversion_set_exception(ef); in single_to_decimal()
570 *ps = ef; in single_to_decimal()
589 ef = 0; in single_to_decimal()
591 if (__fast_double_to_decimal(&x, pm, pd, &ef)) { in single_to_decimal()
593 __bigfloat_to_decimal(&bf, pm, pd, &ef); in single_to_decimal()
[all …]
H A Ddecimal_bin.c498 fp_exception_field_type ef; in decimal_to_single() local
534 ef = 0; in decimal_to_single()
553 if (__fast_decimal_to_single(px, pm, pd, &ef) == 1) { in decimal_to_single()
554 *ps = ef; in decimal_to_single()
555 if (ef != 0) in decimal_to_single()
556 __base_conversion_set_exception(ef); in decimal_to_single()
561 __pack_single(&u, px, pm->rd, &ef); in decimal_to_single()
562 *ps = ef; in decimal_to_single()
563 if (ef != 0) in decimal_to_single()
564 __base_conversion_set_exception(ef); in decimal_to_single()
[all …]
H A Dfconvert.c37 fp_exception_field_type ef; in fconvert() local
53 double_to_decimal(&arg, &dm, &dr, &ef); in fconvert()
91 fp_exception_field_type ef; in sfconvert() local
107 single_to_decimal(arg, &dm, &dr, &ef); in sfconvert()
145 fp_exception_field_type ef; in qfconvert() local
162 quadruple_to_decimal(arg, &dm, &dr, &ef); in qfconvert()
164 extended_to_decimal((extended *)arg, &dm, &dr, &ef); in qfconvert()
169 if (ef & (1 << fp_overflow)) { in qfconvert()
H A D_base_sup.c58 __base_conversion_set_exception(fp_exception_field_type ef) in __base_conversion_set_exception() argument
63 if (ef == (1 << fp_inexact)) { in __base_conversion_set_exception()
69 } else if ((ef & (1 << fp_invalid)) != 0) { in __base_conversion_set_exception()
71 } else if ((ef & (1 << fp_overflow)) != 0) { in __base_conversion_set_exception()
78 } else if ((ef & (1 << fp_underflow)) != 0) { in __base_conversion_set_exception()
H A Deconvert.c58 fp_exception_field_type ef; in econvert() local
74 double_to_decimal(&arg, &dm, &dr, &ef); in econvert()
103 fp_exception_field_type ef; in seconvert() local
119 single_to_decimal(arg, &dm, &dr, &ef); in seconvert()
148 fp_exception_field_type ef; in qeconvert() local
165 quadruple_to_decimal(arg, &dm, &dr, &ef); in qeconvert()
167 extended_to_decimal((extended *)arg, &dm, &dr, &ef); in qeconvert()
/illumos-gate/usr/src/cmd/lastcomm/
H A Dlc_exacct.c33 skip_group(ea_file_t *ef, uint_t nobjs) in skip_group() argument
37 if (ea_previous_object(ef, &curr_obj) == -1) { in skip_group()
58 disp_group(ea_file_t *ef, uint_t nobjs, int argc, char *argv[], int index) in disp_group() argument
77 if (ea_get_object(ef, &curr_obj) == -1) { in disp_group()
119 disp_group(ef, curr_obj.eo_group.eg_nobjs, in disp_group()
159 ea_file_t ef; in lc_exacct() local
162 if (ea_open(&ef, filename, EXACCT_CREATOR, in lc_exacct()
181 while (ea_previous_object(&ef, &curr_obj) != -1) { in lc_exacct()
182 if (ea_get_object(&ef, &curr_obj) == -1) { in lc_exacct()
196 disp_group(&ef, curr_obj.eo_group.eg_nobjs, in lc_exacct()
[all …]
H A Dlastcomm.c42 ea_file_t ef; in main() local
94 if ((res = ea_open(&ef, filename, EXACCT_CREATOR, in main()
96 (void) ea_close(&ef); in main()
/illumos-gate/usr/src/lib/libexacct/common/
H A Dexacct_ops.c317 ea_next_object(ea_file_t *ef, ea_object_t *obj) in ea_next_object() argument
319 ea_file_impl_t *f = (ea_file_impl_t *)ef; in ea_next_object()
417 ea_previous_object(ea_file_t *ef, ea_object_t *obj) in ea_previous_object() argument
419 ea_file_impl_t *f = (ea_file_impl_t *)ef; in ea_previous_object()
468 return (ea_next_object(ef, obj)); in ea_previous_object()
667 ea_get_object(ea_file_t *ef, ea_object_t *obj) in ea_get_object() argument
670 return (xget_object((ea_file_impl_t *)ef, obj, fread_wrapper, in ea_get_object()
817 ea_write_object(ea_file_t *ef, ea_object_t *obj) in ea_write_object() argument
821 ea_file_impl_t *f = (ea_file_impl_t *)ef; in ea_write_object()
858 validate_header(ea_file_t *ef, const char *creator) in validate_header() argument
[all …]
/illumos-gate/usr/src/test/util-tests/tests/sed/
H A Dsed_addr.ksh26 typeset ef=`mktemp`
27 [[ -n "$expect" ]] && printf "%s\n" $expect > $ef
30 if [[ $? -eq 0 ]] && cmp -s $output $ef; then
34 diff -u $ef $output
37 rm -f $ef
/illumos-gate/usr/src/cmd/acctadm/
H A Dutils.c191 ea_file_t ef; in verify_exacct_file() local
199 err = ea_open(&ef, file, "SunOS", EO_TAIL, O_RDONLY, 0); in verify_exacct_file()
206 if (ea_previous_object(&ef, &eo) == EO_ERROR) { in verify_exacct_file()
219 (void) ea_close(&ef); in verify_exacct_file()
241 (void) ea_close(&ef); in verify_exacct_file()
245 (void) ea_close(&ef); in verify_exacct_file()
/illumos-gate/usr/src/lib/libexacct/demo/
H A Dexdump.c477 disp_group(ea_file_t *ef, uint_t nobjs, int indent) in disp_group() argument
485 if ((res = ea_get_object(ef, &scratch)) == -1) { in disp_group()
494 disp_group(ef, scratch.eo_group.eg_nobjs, indent + 1); in disp_group()
510 ea_file_t ef; in main() local
532 if (ea_open(&ef, fname, NULL, in main()
539 while (ea_get_object(&ef, &scratch) != -1) { in main()
542 disp_group(&ef, scratch.eo_group.eg_nobjs, 0); in main()
548 (void) ea_close(&ef); in main()
/illumos-gate/usr/src/test/util-tests/tests/dis/i386/
H A D32.vbmi.out2 libdis_test+0x6: 62 f2 5d 09 8d ef vpermb %xmm7,%xmm4,%xmm5{%k1}
14 libdis_test+0x41: 62 f2 5d 29 8d ef vpermb %ymm7,%ymm4,%ymm5{%k1}
26 libdis_test+0x7f: 62 f2 5d 49 8d ef vpermb %zmm7,%zmm4,%zmm5{%k1}
38 libdis_test+0xbd: 62 f2 dd 09 8d ef vpermw %xmm7,%xmm4,%xmm5{%k1}
50 libdis_test+0xf8: 62 f2 dd 29 8d ef vpermw %ymm7,%ymm4,%ymm5{%k1}
62 libdis_test+0x136: 62 f2 dd 49 8d ef vpermw %zmm7,%zmm4,%zmm5{%k1}
74 libdis_test+0x174: 62 f2 5d 09 75 ef vpermi2b %xmm7,%xmm4,%xmm5{%k1}
86 libdis_test+0x1af: 62 f2 5d 29 75 ef vpermi2b %ymm7,%ymm4,%ymm5{%k1}
98 libdis_test+0x1ed: 62 f2 5d 49 75 ef vpermi2b %zmm7,%zmm4,%zmm5{%k1}
110 libdis_test+0x22b: 62 f2 dd 09 75 ef vpermi2w %xmm7,%xmm4,%xmm5{%k1}
[all …]
H A D32.avx512.out242 libdis_test+0x4ca: 62 f1 75 08 ef d0 vpxord %xmm0,%xmm1,%xmm2
243 libdis_test+0x4d0: 62 f1 65 08 ef 20 vpxord (%eax),%xmm3,%xmm4
244 libdis_test+0x4d6: 62 f1 55 08 ef b1 vpxord 0x42(%ecx),%xmm5,%xmm6
246 libdis_test+0x4e0: 62 f1 75 28 ef d0 vpxord %ymm0,%ymm1,%ymm2
247 libdis_test+0x4e6: 62 f1 65 28 ef 23 vpxord (%ebx),%ymm3,%ymm4
248 libdis_test+0x4ec: 62 f1 55 28 ef b2 vpxord 0x42(%edx),%ymm5,%ymm6
250 libdis_test+0x4f6: 62 f1 75 48 ef d0 vpxord %zmm0,%zmm1,%zmm2
251 libdis_test+0x4fc: 62 f1 65 48 ef 20 vpxord (%eax),%zmm3,%zmm4
252 libdis_test+0x502: 62 f1 55 48 ef b1 vpxord 0x42(%ecx),%zmm5,%zmm6
254 libdis_test+0x50c: 62 f1 f5 08 ef d0 vpxorq %xmm0,%xmm1,%xmm2
[all …]
H A D64.avx512.out307 libdis_test+0x632: 62 f1 75 08 ef d0 vpxord %xmm0,%xmm1,%xmm2
308 libdis_test+0x638: 62 f1 65 08 ef 20 vpxord (%rax),%xmm3,%xmm4
309 libdis_test+0x63e: 62 f1 55 08 ef b1 vpxord 0x42(%rcx),%xmm5,%xmm6
311 libdis_test+0x648: 62 f1 75 28 ef d0 vpxord %ymm0,%ymm1,%ymm2
312 libdis_test+0x64e: 62 f1 65 28 ef 23 vpxord (%rbx),%ymm3,%ymm4
313 libdis_test+0x654: 62 f1 55 28 ef b2 vpxord 0x42(%rdx),%ymm5,%ymm6
315 libdis_test+0x65e: 62 f1 75 48 ef d0 vpxord %zmm0,%zmm1,%zmm2
316 libdis_test+0x664: 62 f1 65 48 ef 20 vpxord (%rax),%zmm3,%zmm4
317 libdis_test+0x66a: 62 f1 55 48 ef b1 vpxord 0x42(%rcx),%zmm5,%zmm6
319 libdis_test+0x674: 62 f1 f5 08 ef d0 vpxorq %xmm0,%xmm1,%xmm2
[all …]
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/printf/
H A Dtst.ints.d.out22 ef
27 ef
/illumos-gate/usr/src/boot/sys/i386/include/
H A Dcpufunc.h323 u_int ef; in read_eflags() local
325 __asm __volatile("pushfl; popl %0" : "=r" (ef)); in read_eflags()
326 return (ef); in read_eflags()
381 write_eflags(u_int ef) in write_eflags() argument
383 __asm __volatile("pushl %0; popfl" : : "r" (ef)); in write_eflags()
735 void intr_restore(register_t ef);
787 void write_eflags(u_int ef);
/illumos-gate/usr/src/lib/libdladm/common/
H A Dusage.c768 add_desc(net_table_t *net_table, ea_file_t *ef, int nobjs) in add_desc() argument
780 if (ea_get_object(ef, &scratch) == -1) { in add_desc()
860 add_stats(net_table_t *net_table, ea_file_t *ef, int nobjs) in add_stats() argument
885 if (ea_get_object(ef, &scratch) == -1) { in add_stats()
967 ea_file_t ef; in parse_logfile() local
976 if (ea_open(&ef, file, NULL, 0, O_RDONLY, 0) == -1) { in parse_logfile()
982 while (ea_get_object(&ef, &scratch) != -1) { in parse_logfile()
993 (void) add_desc(net_table, &ef, in parse_logfile()
998 (void) add_stats(net_table, &ef, in parse_logfile()
1005 (void) add_desc(net_table, &ef, in parse_logfile()
[all …]
/illumos-gate/usr/src/lib/libnisdb/
H A Ddb_mindex3.cc71 uint_t ef = 0; in entryFlagsFromTable() local
74 ef |= EN_BINARY; in entryFlagsFromTable()
76 ef |= EN_CRYPT; in entryFlagsFromTable()
78 ef |= EN_XDR; in entryFlagsFromTable()
80 ef |= EN_ASN1; in entryFlagsFromTable()
82 return (ef); in entryFlagsFromTable()
/illumos-gate/usr/src/lib/libtecla/
H A Dlibtecla.h173 ExpandFile *del_ExpandFile(ExpandFile *ef);
248 FileExpansion *ef_expand_file(ExpandFile *ef, const char *path, int pathlen);
270 const char *ef_last_error(ExpandFile *ef);
/illumos-gate/usr/src/test/util-tests/tests/awk/gnu/
H A Dsubstr.ok9 ef

1234