Searched refs:sym (Results 1 - 25 of 324) sorted by relevance

1234567891011>>

/opensolaris-onvv-gate/usr/src/tools/ctf/common/
H A Dsymbol.c35 ignore_symbol(GElf_Sym *sym, const char *name) argument
37 uchar_t type = GELF_ST_TYPE(sym->st_info);
43 if (sym->st_shndx == SHN_UNDEF || sym->st_name == 0)
58 if (type == STT_OBJECT && sym->st_shndx == SHN_ABS &&
59 sym->st_value == 0)
H A Dsymbol.h38 int ignore_symbol(GElf_Sym *sym, const char *name);
/opensolaris-onvv-gate/usr/src/cmd/mdb/common/modules/libumem/
H A Dmisc.c61 GElf_Sym sym; local
64 if (mdb_lookup_by_obj(UMEM_OBJNAME, "umem_alloc", &sym) == 0)
66 else if (mdb_lookup_by_obj(MDB_OBJ_EXEC, "umem_alloc", &sym) == 0)
81 umem_lookup_by_name(const char *name, GElf_Sym *sym) argument
84 UMEM_OBJNAME), name, sym));
91 GElf_Sym sym; local
93 if (umem_lookup_by_name(name, &sym))
96 if (mdb_vread(buf, sym.st_size, (uintptr_t)sym.st_value)
97 == sym
104 is_umem_sym(const char *sym, const char *prefix) argument
[all...]
/opensolaris-onvv-gate/usr/src/cmd/mdb/tools/findfp/common/
H A Dfindsym.c56 GElf_Sym sym; local
58 if (gelf_getsym(symtab, i, &sym) == NULL)
61 if ((GELF_ST_TYPE(sym.st_info) != STT_FUNC &&
62 GELF_ST_TYPE(sym.st_info) != STT_OBJECT) ||
63 sym.st_shndx == SHN_UNDEF)
66 if (addr - sym.st_value < sym.st_size) {
69 sym.st_name)) == NULL)
70 elfdie("failed to get name for sym %d", i);
71 *offp = addr - sym
[all...]
/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/
H A Dvars.pm13 my ($sym, $ch);
15 if (($ch, $sym) = /^([\$\@\%\*\&])(.+)/) {
16 if ($sym =~ /\W/) {
18 if ($sym =~ /^\w+[[{].*[]}]$/) {
21 } elsif (warnings::enabled() and length($sym) == 1 and $sym !~ tr/a-zA-Z//) {
28 $sym = "${callpack}::$sym" unless $sym =~ /::/;
29 *$sym
[all...]
/opensolaris-onvv-gate/usr/src/cmd/mdb/common/modules/logindmux/
H A Dlogindmux.c104 GElf_Sym sym; local
106 if (mdb_lookup_by_obj("logindmux", "logdmuxuwinit", &sym) == 0)
107 mdb_qops_install(&logdmux_uqops, (uintptr_t)sym.st_value);
108 if (mdb_lookup_by_obj("logindmux", "logdmuxlwinit", &sym) == 0)
109 mdb_qops_install(&logdmux_lqops, (uintptr_t)sym.st_value);
117 GElf_Sym sym; local
119 if (mdb_lookup_by_obj("logindmux", "logdmuxuwinit", &sym) == 0)
120 mdb_qops_remove(&logdmux_uqops, (uintptr_t)sym.st_value);
121 if (mdb_lookup_by_obj("logindmux", "logdmuxlwinit", &sym) == 0)
122 mdb_qops_remove(&logdmux_lqops, (uintptr_t)sym
[all...]
/opensolaris-onvv-gate/usr/src/uts/common/krtld/
H A Dreloc.h242 #define REL_ERR_UNIMPL(lml, file, sym, rtype) \
244 _kobj_printf(ops, MSG_REL_SYM, ((sym) ? (sym) : MSG_STR_UNKNOWN)); \
247 #define REL_ERR_UNSUPSZ(lml, file, sym, rtype, size) \
250 _kobj_printf(ops, MSG_REL_SYM, ((sym) ? (sym) : MSG_STR_UNKNOWN)); \
253 #define REL_ERR_NONALIGN(lml, file, sym, rtype, off) \
256 _kobj_printf(ops, MSG_REL_SYM, ((sym) ? (sym) : MSG_STR_UNKNOWN)); \
259 #define REL_ERR_UNNOBITS(lml, file, sym, rtyp
[all...]
/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/Exporter/
H A DHeavy.pm62 my($type, $sym, $cache_is_current, $oops);
108 foreach $sym (@names) { delete $imports{$sym} }
118 foreach $sym (@imports) {
119 if (!$export_cache->{$sym}) {
120 if ($sym =~ m/^\d/) {
121 $pkg->VERSION($sym); # inherit from UNIVERSAL
134 } elsif ($sym !~ s/^&// || !$export_cache->{$sym}) {
144 if (!$export_cache->{$sym}) {
[all...]
/opensolaris-onvv-gate/usr/src/grub/grub-0.97/docs/
H A Dmultiboot.h38 # define EXT_C(sym) _ ## sym
40 # define EXT_C(sym) sym
/opensolaris-onvv-gate/usr/src/lib/libpp/common/
H A Dppmacref.c31 ppmacref(struct ppsymbol* sym, char* file, int line, int type, unsigned long sum) argument
39 p += sfsprintf(p, MAXTOKEN, "\n#%s %s:%s %s %d", dirname(PRAGMA), pp.pass, keyname(X_MACREF), sym->name, type);
42 if (sym->macro && sym->macro->value)
43 sum = strsum(sym->macro->value, (long)sym->macro->arity);
H A Dppmisc.c37 register struct ppsymbol* sym; local
39 if (!(sym = ppsymget(pp.symtab, name)) && (ref <= REF_NORMAL && pp.macref || ref == REF_CREATE || ref == REF_DELETE && (pp.mode & (INIT|READONLY))))
43 sym = ppsymset(pp.symtab, NiL);
45 if (sym && ref <= REF_NORMAL)
47 if (pp.macref) (*pp.macref)(sym, error_info.file, error_info.line, ref == REF_NORMAL && (pp.state & CONDITIONAL) ? REF_IF : ref, 0L);
48 if (!sym->macro) sym = 0;
53 if (ref == REF_IF && sym && (sym->flags & SYM_PREDEFINED) && *name != '_' && !(pp.mode & (HOSTED|INACTIVE)))
62 return(sym);
74 register struct ppsymbol* sym; local
[all...]
H A Dppcall.c36 * 0 returned if tok==0 and sym->mac->value to be copied to output by caller
41 ppcall(register struct ppsymbol* sym, int tok) argument
62 sym->flags |= SYM_NOTICED;
63 if (mac = sym->macro)
66 if ((sym->flags & SYM_PREDICATE) && (pp.state & (CONDITIONAL|WARN)) == (CONDITIONAL|WARN))
67 error(1, "%s: macro definition overrides assertion: use #%s ...", sym->name, sym->name);
68 if (sym->flags & SYM_DISABLED)
76 error(1, "%s: macro recursion inhibited", sym->name);
80 if ((sym
[all...]
/opensolaris-onvv-gate/usr/src/cmd/sgs/elfedit/common/
H A Delfconst.c253 elfedit_atoui_sym_t *sym = &fill_state->desc[fill_state->cur++]; local
255 sym->sym_name = str;
256 sym->sym_value = value;
266 libconv_fill_iter(sym_table_ent_t *sym, conv_iter_osabi_t osabi, Half mach, argument
269 switch (sym->ste_type) {
271 (void) (* sym->ste_conv_func.simple)(
273 (void) (* sym->ste_conv_func.simple)(
278 (void) (* sym->ste_conv_func.osabi)(osabi,
280 (void) (* sym->ste_conv_func.osabi)(osabi,
285 (void) (* sym
304 libconv_fill(sym_table_ent_t *sym, conv_iter_osabi_t osabi, Half mach) argument
431 sym_table_ent_t *sym; local
502 sym_table_ent_t *sym; local
[all...]
H A Dutil.c71 * sym - NULL terminated array of name->value mappings.
87 elfedit_atoi_value_to_str(const elfedit_atoi_sym_t *sym, elfedit_atoi_t value, argument
90 for (; sym->sym_name != NULL; sym++)
91 if (value == sym->sym_value)
92 return (sym->sym_name);
100 elfedit_atoui_value_to_str(const elfedit_atoui_sym_t *sym, argument
103 for (; sym->sym_name != NULL; sym++)
104 if (value == sym
134 atoi_sym_process(const char *str, const elfedit_atoi_sym_t *sym, elfedit_atoi_t *value) argument
161 atoui_sym_process(const char *str, const elfedit_atoui_sym_t *sym, elfedit_atoui_t *value) argument
194 elfedit_cpl_atoi(void *cpldata, const elfedit_atoi_sym_t *sym) argument
200 elfedit_cpl_atoui(void *cpldata, const elfedit_atoui_sym_t *sym) argument
238 elfedit_atoi2(const char *str, const elfedit_atoi_sym_t *sym, elfedit_atoi_t *v) argument
254 elfedit_atoi(const char *str, const elfedit_atoi_sym_t *sym) argument
263 elfedit_atoui2(const char *str, const elfedit_atoui_sym_t *sym, elfedit_atoui_t *v) argument
280 elfedit_atoui(const char *str, const elfedit_atoui_sym_t *sym) argument
329 elfedit_atoi_range2(const char *str, elfedit_atoi_t min, elfedit_atoi_t max, const elfedit_atoi_sym_t *sym, elfedit_atoi_t *v) argument
336 elfedit_atoi_range(const char *str, const char *item_name, elfedit_atoi_t min, elfedit_atoi_t max, const elfedit_atoi_sym_t *sym) argument
348 elfedit_atoui_range2(const char *str, elfedit_atoui_t min, elfedit_atoui_t max, const elfedit_atoui_sym_t *sym, elfedit_atoui_t *v) argument
355 elfedit_atoui_range(const char *str, const char *item_name, elfedit_atoui_t min, elfedit_atoui_t max, const elfedit_atoui_sym_t *sym) argument
[all...]
/opensolaris-onvv-gate/usr/src/cmd/dis/
H A Ddis_target.c220 sym_entry_t *sym; local
259 for (i = 0, sym = p_symtab; i < tgt->dt_symcount; i++) {
260 if (gelf_getsym(symdata, i, &(sym->se_sym)) == NULL) {
270 if (!IS_DATA_TYPE(GELF_ST_TYPE(sym->se_sym.st_info))) {
275 if (sym->se_sym.st_shndx == SHN_XINDEX && symshndx != NULL) {
279 sym->se_shndx = -1;
281 sym->se_shndx = symshndx[i];
284 sym->se_shndx = sym->se_sym.st_shndx;
287 if ((sym
505 sym_entry_t *sym, *osym, *match; local
587 sym_entry_t *sym = tgt->dt_symcache; local
719 sym_entry_t *sym; local
[all...]
/opensolaris-onvv-gate/usr/src/cmd/sgs/elfedit/modules/common/
H A Dsym.c50 SYM_CMD_T_DUMP = 0, /* sym:dump */
52 SYM_CMD_T_ST_BIND = 1, /* sym:st_bind */
53 SYM_CMD_T_ST_INFO = 2, /* sym:st_info */
54 SYM_CMD_T_ST_NAME = 3, /* sym:st_name */
55 SYM_CMD_T_ST_OTHER = 4, /* sym:st_other */
56 SYM_CMD_T_ST_SHNDX = 5, /* sym:st_shndx */
57 SYM_CMD_T_ST_SIZE = 6, /* sym:st_size */
58 SYM_CMD_T_ST_TYPE = 7, /* sym:st_type */
59 SYM_CMD_T_ST_VALUE = 8, /* sym:st_value */
60 SYM_CMD_T_ST_VISIBILITY = 9 /* sym
155 } sym; member in struct:__anon1680
250 Sym *sym; local
428 Sym *sym; local
685 Sym *sym = &symstate->sym.data[symstate->ndx]; local
743 Sym *sym = &symstate->sym.data[symstate->ndx]; local
795 Sym *sym = &symstate->sym.data[symstate->ndx]; local
942 Sym *sym = &symstate->sym.data[symstate->ndx]; local
981 Sym *sym = &symstate->sym.data[symstate->ndx]; local
1231 Sym *sym = &symstate->sym.data[symstate->ndx]; local
[all...]
/opensolaris-onvv-gate/usr/src/uts/common/zmod/
H A Dinftrees.c43 unsigned sym; /* index of code symbols */ local
111 for (sym = 0; sym < codes; sym++)
112 count[lens[sym]]++;
148 for (sym = 0; sym < codes; sym++)
149 if (lens[sym] != 0) work[offs[lens[sym]]
[all...]
/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/ext/B/
H A Ddefsubs_h.PL67 my $sym = shift;
68 my $l = length($sym);
70 newCONSTSUB(stash,"$sym",newSViv($sym));
71 av_push(export_ok,newSVpvn("$sym",$l));
/opensolaris-onvv-gate/usr/src/lib/libtecla/common/
H A Dkeytab.c74 static void _kt_assign_action(KeySym *sym, KtBinder binder, KtKeyFn *keyfn,
228 Symbol *sym = _find_HashSymbol(kt->actions, action); local
229 if(!sym) {
235 keyfn = (KtKeyFn *) sym->fn;
236 data = sym->data;
346 KeySym *sym; local
366 sym = kt->table + last;
367 sym->keyseq = binary;
368 sym->nc = nc;
370 KtAction *action = sym
665 Symbol *sym; /* The symbol table entry of the action */ local
752 _kt_assign_action(KeySym *sym, KtBinder binder, KtKeyFn *keyfn, void *data) argument
809 KeySym *sym = kt->table + oldkey; local
984 Symbol *sym; /* The symbol table entry of the action */ local
[all...]
/opensolaris-onvv-gate/usr/src/cmd/dtrace/test/tst/common/aggs/
H A Dtst.signature.d36 @symmy[sym(0)] = count();
47 @symmy[sym(0)] = count();
/opensolaris-onvv-gate/usr/src/cmd/mdb/i86pc/modules/pcplusmp/
H A Dpcplusmp.c113 GElf_Sym sym; local
115 if (mdb_lookup_by_name("gld_intr", &sym) != -1)
116 if (GELF_ST_TYPE(sym.st_info) == STT_FUNC)
117 gld_intr_addr = (uintptr_t)sym.st_value;
/opensolaris-onvv-gate/usr/src/cmd/sgs/librtld_db/demo/common/
H A Dsyms.c69 GElf_Sym sym; local
71 if (symtab_getsym(symp, i, &sym) == NULL) {
76 if (sym.st_name == 0)
78 if ((sym.st_shndx == SHN_UNDEF) ||
79 (strcmp(strs + sym.st_name, symname) != 0))
81 *symptr = sym;
127 GElf_Sym sym; local
152 if (symtab_getsym(symp, i, &sym) == NULL) {
156 if ((sym.st_name == 0) || (sym
[all...]
/opensolaris-onvv-gate/usr/src/lib/libdhcputil/common/
H A Ddhcp_symbol.c632 dsym_close_parser(char **fields, dhcp_symbol_t *sym) argument
635 dsym_free_classes(&sym->ds_classes);
653 dhcp_symbol_t *sym)
666 sym->ds_category = 0;
667 sym->ds_code = 0;
668 (void) strlcpy(sym->ds_name, name, DSYM_MAX_SYM_LEN);
669 sym->ds_type = 0;
670 sym->ds_gran = 0;
671 sym->ds_max = 0;
672 sym
652 dsym_init_parser(const char *name, const char *value, char ***fields_ret, dhcp_symbol_t *sym) argument
733 dsym_parse_field(int field_num, char **fields, dhcp_symbol_t *sym) argument
802 dsym_parser(char **fields, dhcp_symbol_t *sym, int *lastField, boolean_t bestEffort) argument
[all...]
/opensolaris-onvv-gate/usr/src/cmd/sgs/rtld/common/
H A Dmove.c53 elf_move_bad(Lm_list *lml, Rt_map *lmp, Sym *sym, ulong_t num, Addr addr) argument
65 if (ELF_ST_BIND(sym->st_info) != STB_LOCAL)
66 name = (const char *)(STRTAB(lmp) + sym->st_name);
101 Sym *sym; local
103 if ((sym = (Sym *)SYMTAB(lmp) + ELF_M_SYM(mv->m_info)) == 0)
107 addr = sym->st_value;
118 elf_move_bad(lml, lmp, sym, num, taddr);
126 DBG_CALL(Dbg_move_entry2(lml, mv, sym->st_name,
127 (const char *)(sym->st_name + STRTAB(lmp))));
/opensolaris-onvv-gate/usr/src/cmd/sgs/libelf/demo/
H A Ddispsyms.c132 GElf_Sym sym; local
144 &sym, &shndx) == NULL) {
157 if ((sym.st_shndx == SHN_XINDEX) &&
190 &sym, &shndx) == NULL)) {
212 type = GELF_ST_TYPE(sym.st_info);
213 bind = GELF_ST_BIND(sym.st_info);
233 if (sym.st_shndx < SHN_LORESERVE)
234 shndx = sym.st_shndx;
235 else if ((sym.st_shndx != SHN_XINDEX) ||
237 shndx = sym
[all...]

Completed in 238 milliseconds

1234567891011>>