Lines Matching refs:curnode

210 	symbol_node_t *curnode;  in symlist_search()  local
212 curnode = SLIST_FIRST(symlist); in symlist_search()
213 while(curnode != NULL) { in symlist_search()
214 if (strcmp(symname, curnode->symbol->name) == 0) in symlist_search()
216 curnode = SLIST_NEXT(curnode, links); in symlist_search()
218 return (curnode); in symlist_search()
233 symbol_node_t *curnode; in symlist_add() local
254 curnode = SLIST_FIRST(symlist); in symlist_add()
255 if (curnode == NULL in symlist_add()
257 && (curnode->symbol->type > newnode->symbol->type in symlist_add()
258 || (curnode->symbol->type == newnode->symbol->type in symlist_add()
259 && (curnode->symbol->info.finfo->value > in symlist_add()
261 || (!field && (curnode->symbol->info.rinfo->address > in symlist_add()
268 if (SLIST_NEXT(curnode, links) == NULL) { in symlist_add()
269 SLIST_INSERT_AFTER(curnode, newnode, in symlist_add()
275 cursymbol = SLIST_NEXT(curnode, links)->symbol; in symlist_add()
284 SLIST_INSERT_AFTER(curnode, newnode, in symlist_add()
289 curnode = SLIST_NEXT(curnode, links); in symlist_add()
439 aic_print_reg_dump_entry(FILE *dfile, symbol_node_t *curnode) in aic_print_reg_dump_entry() argument
448 curnode->symbol->name); in aic_print_reg_dump_entry()
450 num_tabs = 3 - (strlen(curnode->symbol->name) + 5) / 8; in aic_print_reg_dump_entry()
455 curnode->symbol->info.finfo->value, in aic_print_reg_dump_entry()
456 curnode->symbol->info.finfo->mask); in aic_print_reg_dump_entry()
473 symbol_node_t *curnode; in symtable_dump() local
536 SLIST_FOREACH(curnode, &registers, links) { in symtable_dump()
538 if (curnode->symbol->dont_generate_debug_code) in symtable_dump()
541 switch(curnode->symbol->type) { in symtable_dump()
552 if (curnode->symbol->count == 1) in symtable_dump()
554 fields = &curnode->symbol->info.rinfo->fields; in symtable_dump()
558 curnode); in symtable_dump()
565 curnode, num_entries); in symtable_dump()
579 curnode = SLIST_FIRST(&masks); in symtable_dump()
582 regnode = SLIST_FIRST(&curnode->symbol->info.finfo->symrefs); in symtable_dump()
585 SLIST_INSERT_AFTER(regnode, curnode, links); in symtable_dump()
592 curnode = SLIST_FIRST(&aliases); in symtable_dump()
595 regname = curnode->symbol->info.ainfo->parent->name; in symtable_dump()
597 SLIST_INSERT_AFTER(regnode, curnode, links); in symtable_dump()
602 symbol_node_t *curnode; in symtable_dump() local
607 curnode = SLIST_FIRST(&registers); in symtable_dump()
609 switch(curnode->symbol->type) { in symtable_dump()
614 value = curnode->symbol->info.rinfo->address; in symtable_dump()
622 parent = curnode->symbol->info.ainfo->parent; in symtable_dump()
632 value = curnode->symbol->info.finfo->value; in symtable_dump()
645 tab_str, curnode->symbol->name, tab_str2, in symtable_dump()
647 free(curnode); in symtable_dump()
652 symbol_node_t *curnode; in symtable_dump() local
654 curnode = SLIST_FIRST(&constants); in symtable_dump()
657 curnode->symbol->name, in symtable_dump()
658 curnode->symbol->info.cinfo->value); in symtable_dump()
659 free(curnode); in symtable_dump()
665 symbol_node_t *curnode; in symtable_dump() local
667 curnode = SLIST_FIRST(&download_constants); in symtable_dump()
670 curnode->symbol->name, in symtable_dump()
671 curnode->symbol->info.cinfo->value); in symtable_dump()
672 free(curnode); in symtable_dump()
679 symbol_node_t *curnode; in symtable_dump() local
681 curnode = SLIST_FIRST(&exported_labels); in symtable_dump()
684 curnode->symbol->name, in symtable_dump()
685 curnode->symbol->info.linfo->address); in symtable_dump()
686 free(curnode); in symtable_dump()