Lines Matching defs:sym
253 elfedit_atoui_sym_t *sym = &fill_state->desc[fill_state->cur++];
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,
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->ste_conv_func.mach)(mach,
287 (void) (* sym->ste_conv_func.mach)(mach,
292 (void) (* sym->ste_conv_func.osabi_mach)(osabi, mach,
294 (void) (* sym->ste_conv_func.osabi_mach)(osabi, mach,
304 libconv_fill(sym_table_ent_t *sym, conv_iter_osabi_t osabi, Half mach)
310 libconv_fill_iter(sym, osabi, mach, libconv_count_cb, &fill_state.cnt);
316 if ((sym->ste_alloc != NULL) && (fill_state.cnt > sym->ste_nelts)) {
317 free(sym->ste_alloc);
318 sym->ste_alloc = NULL;
319 sym->ste_nelts = 0;
323 if (sym->ste_alloc == NULL) {
324 sym->ste_alloc = elfedit_malloc(MSG_INTL(MSG_ALLOC_ELFCONDESC),
326 sym->ste_nelts = fill_state.cnt;
330 fill_state.desc = sym->ste_alloc;
332 libconv_fill_iter(sym, osabi, mach, libconv_fill_cb, &fill_state);
339 sym->ste_arr = fill_state.desc;
431 sym_table_ent_t *sym;
462 for (i = 0, sym = sym_table;
463 i < (sizeof (sym_table) / sizeof (sym_table[0])); i++, sym++) {
464 if (sym->ste_arr == NULL)
467 switch (sym->ste_type) {
470 sym->ste_arr = NULL;
475 sym->ste_arr = NULL;
480 sym->ste_arr = NULL;
502 sym_table_ent_t *sym;
512 sym = &sym_table[const_type];
518 if (sym->ste_type != STE_STATIC) {
529 if (sym->ste_arr == NULL)
530 libconv_fill(sym, osabi, mach);
533 return (sym->ste_arr);