Lines Matching refs:curnode

211 	symbol_node_t *curnode;  in symlist_search()  local
213 curnode = SLIST_FIRST(symlist); in symlist_search()
214 while(curnode != NULL) { in symlist_search()
215 if (strcmp(symname, curnode->symbol->name) == 0) in symlist_search()
217 curnode = SLIST_NEXT(curnode, links); in symlist_search()
219 return (curnode); in symlist_search()
234 symbol_node_t *curnode; in symlist_add() local
255 curnode = SLIST_FIRST(symlist); in symlist_add()
256 if (curnode == NULL in symlist_add()
258 && (curnode->symbol->type > newnode->symbol->type in symlist_add()
259 || (curnode->symbol->type == newnode->symbol->type in symlist_add()
260 && (curnode->symbol->info.finfo->value > in symlist_add()
262 || (!field && (curnode->symbol->info.rinfo->address > in symlist_add()
269 if (SLIST_NEXT(curnode, links) == NULL) { in symlist_add()
270 SLIST_INSERT_AFTER(curnode, newnode, in symlist_add()
276 cursymbol = SLIST_NEXT(curnode, links)->symbol; in symlist_add()
285 SLIST_INSERT_AFTER(curnode, newnode, in symlist_add()
290 curnode = SLIST_NEXT(curnode, links); in symlist_add()
440 aic_print_reg_dump_entry(FILE *dfile, symbol_node_t *curnode) in aic_print_reg_dump_entry() argument
449 curnode->symbol->name); in aic_print_reg_dump_entry()
451 num_tabs = 3 - (strlen(curnode->symbol->name) + 5) / 8; in aic_print_reg_dump_entry()
456 curnode->symbol->info.finfo->value, in aic_print_reg_dump_entry()
457 curnode->symbol->info.finfo->mask); in aic_print_reg_dump_entry()
474 symbol_node_t *curnode; in symtable_dump() local
537 SLIST_FOREACH(curnode, &registers, links) { in symtable_dump()
539 if (curnode->symbol->dont_generate_debug_code) in symtable_dump()
542 switch(curnode->symbol->type) { in symtable_dump()
553 if (curnode->symbol->count == 1) in symtable_dump()
555 fields = &curnode->symbol->info.rinfo->fields; in symtable_dump()
559 curnode); in symtable_dump()
566 curnode, num_entries); in symtable_dump()
580 curnode = SLIST_FIRST(&masks); in symtable_dump()
583 regnode = SLIST_FIRST(&curnode->symbol->info.finfo->symrefs); in symtable_dump()
586 SLIST_INSERT_AFTER(regnode, curnode, links); in symtable_dump()
593 curnode = SLIST_FIRST(&aliases); in symtable_dump()
596 regname = curnode->symbol->info.ainfo->parent->name; in symtable_dump()
598 SLIST_INSERT_AFTER(regnode, curnode, links); in symtable_dump()
603 symbol_node_t *curnode; in symtable_dump() local
608 curnode = SLIST_FIRST(&registers); in symtable_dump()
610 switch(curnode->symbol->type) { in symtable_dump()
615 value = curnode->symbol->info.rinfo->address; in symtable_dump()
623 parent = curnode->symbol->info.ainfo->parent; in symtable_dump()
633 value = curnode->symbol->info.finfo->value; in symtable_dump()
646 tab_str, curnode->symbol->name, tab_str2, in symtable_dump()
648 free(curnode); in symtable_dump()
653 symbol_node_t *curnode; in symtable_dump() local
655 curnode = SLIST_FIRST(&constants); in symtable_dump()
658 curnode->symbol->name, in symtable_dump()
659 curnode->symbol->info.cinfo->value); in symtable_dump()
660 free(curnode); in symtable_dump()
666 symbol_node_t *curnode; in symtable_dump() local
668 curnode = SLIST_FIRST(&download_constants); in symtable_dump()
671 curnode->symbol->name, in symtable_dump()
672 curnode->symbol->info.cinfo->value); in symtable_dump()
673 free(curnode); in symtable_dump()
680 symbol_node_t *curnode; in symtable_dump() local
682 curnode = SLIST_FIRST(&exported_labels); in symtable_dump()
685 curnode->symbol->name, in symtable_dump()
686 curnode->symbol->info.linfo->address); in symtable_dump()
687 free(curnode); in symtable_dump()