Lines Matching refs:curnode
214 symbol_node_t *curnode; in symlist_search() local
216 curnode = SLIST_FIRST(symlist); in symlist_search()
217 while(curnode != NULL) { in symlist_search()
218 if (strcmp(symname, curnode->symbol->name) == 0) in symlist_search()
220 curnode = SLIST_NEXT(curnode, links); in symlist_search()
222 return (curnode); in symlist_search()
237 symbol_node_t *curnode; in symlist_add() local
258 curnode = SLIST_FIRST(symlist); in symlist_add()
259 if (curnode == NULL in symlist_add()
261 && (curnode->symbol->type > newnode->symbol->type in symlist_add()
262 || (curnode->symbol->type == newnode->symbol->type in symlist_add()
263 && (curnode->symbol->info.finfo->value > in symlist_add()
265 || (!field && (curnode->symbol->info.rinfo->address > in symlist_add()
272 if (SLIST_NEXT(curnode, links) == NULL) { in symlist_add()
273 SLIST_INSERT_AFTER(curnode, newnode, in symlist_add()
279 cursymbol = SLIST_NEXT(curnode, links)->symbol; in symlist_add()
288 SLIST_INSERT_AFTER(curnode, newnode, in symlist_add()
293 curnode = SLIST_NEXT(curnode, links); in symlist_add()
443 aic_print_reg_dump_entry(FILE *dfile, symbol_node_t *curnode) in aic_print_reg_dump_entry() argument
452 curnode->symbol->name); in aic_print_reg_dump_entry()
454 num_tabs = 3 - (strlen(curnode->symbol->name) + 5) / 8; in aic_print_reg_dump_entry()
459 curnode->symbol->info.finfo->value, in aic_print_reg_dump_entry()
460 curnode->symbol->info.finfo->mask); in aic_print_reg_dump_entry()
477 symbol_node_t *curnode; in symtable_dump() local
540 SLIST_FOREACH(curnode, ®isters, links) { in symtable_dump()
542 if (curnode->symbol->dont_generate_debug_code) in symtable_dump()
545 switch(curnode->symbol->type) { in symtable_dump()
556 if (curnode->symbol->count == 1) in symtable_dump()
558 fields = &curnode->symbol->info.rinfo->fields; in symtable_dump()
562 curnode); in symtable_dump()
569 curnode, num_entries); in symtable_dump()
583 curnode = SLIST_FIRST(&masks); in symtable_dump()
586 regnode = SLIST_FIRST(&curnode->symbol->info.finfo->symrefs); in symtable_dump()
589 SLIST_INSERT_AFTER(regnode, curnode, links); in symtable_dump()
596 curnode = SLIST_FIRST(&aliases); in symtable_dump()
599 regname = curnode->symbol->info.ainfo->parent->name; in symtable_dump()
601 SLIST_INSERT_AFTER(regnode, curnode, links); in symtable_dump()
606 symbol_node_t *curnode; in symtable_dump() local
611 curnode = SLIST_FIRST(®isters); in symtable_dump()
613 switch(curnode->symbol->type) { in symtable_dump()
618 value = curnode->symbol->info.rinfo->address; in symtable_dump()
626 parent = curnode->symbol->info.ainfo->parent; in symtable_dump()
636 value = curnode->symbol->info.finfo->value; in symtable_dump()
649 tab_str, curnode->symbol->name, tab_str2, in symtable_dump()
651 free(curnode); in symtable_dump()
656 symbol_node_t *curnode; in symtable_dump() local
658 curnode = SLIST_FIRST(&constants); in symtable_dump()
661 curnode->symbol->name, in symtable_dump()
662 curnode->symbol->info.cinfo->value); in symtable_dump()
663 free(curnode); in symtable_dump()
669 symbol_node_t *curnode; in symtable_dump() local
671 curnode = SLIST_FIRST(&download_constants); in symtable_dump()
674 curnode->symbol->name, in symtable_dump()
675 curnode->symbol->info.cinfo->value); in symtable_dump()
676 free(curnode); in symtable_dump()
683 symbol_node_t *curnode; in symtable_dump() local
685 curnode = SLIST_FIRST(&exported_labels); in symtable_dump()
688 curnode->symbol->name, in symtable_dump()
689 curnode->symbol->info.linfo->address); in symtable_dump()
690 free(curnode); in symtable_dump()