Lines Matching defs:sym_index
505 unsigned int sym_index;
514 for (sym_index = 0; sym_index < symtab->len + num_cycles; ++sym_index)
516 parent = timesortsym[sym_index];
567 unsigned int sym_index;
580 for (sym_index = 0, nnames = 0; sym_index < symtab->len; sym_index++)
582 if (ignore_zeros && symtab->base[sym_index].ncalls == 0
583 && symtab->base[sym_index].hist.time == 0)
586 name_sorted_syms[nnames++] = &symtab->base[sym_index];
591 for (sym_index = 1, todo = nnames; sym_index <= num_cycles; sym_index++)
592 name_sorted_syms[todo++] = &cycle_header[sym_index];
596 sym_index = (todo + 2) / 3;
598 for (i = 0; i < sym_index; i++)
603 for (j = i; j < todo; j += sym_index)
781 unsigned long sym_index;
794 sym_index = 0;
812 for (sym_index = 0, used = 0, unused = 0; sym_index < symtab->len; sym_index++)
814 if (symtab->base[sym_index].ncalls == 0)
816 unused_syms[unused++] = &symtab->base[sym_index];
817 symtab->base[sym_index].has_been_placed = 1;
821 used_syms[used++] = &symtab->base[sym_index];
822 symtab->base[sym_index].has_been_placed = 0;
823 symtab->base[sym_index].next = 0;
824 symtab->base[sym_index].prev = 0;
825 symtab->base[sym_index].nuses = 0;
867 for (sym_index = 0; sym_index < used / 80; sym_index++)
869 Sym *sym = scratch_syms[sym_index];
908 scratch_index = sym_index;
937 for (sym_index = 0; sym_index < scratch_index; sym_index++)
939 if (scratch_syms[sym_index]->has_been_placed)
940 printf ("%s\n", scratch_syms[sym_index]->name);
959 for (sym_index = 0; sym_index < used; sym_index++)
960 if (used_syms[sym_index]->has_been_placed == 0)
961 printf("%s\n", used_syms[sym_index]->name);
964 for (sym_index = 0; sym_index < unused; sym_index++)
965 printf("%s\n", unused_syms[sym_index]->name);
1239 unsigned long sym_index;
1258 for (sym_index = 0; sym_index < symtab->len; sym_index++)
1260 if (symtab->base[sym_index].mapped
1261 && ! symtab->base[sym_index].has_been_placed)
1262 printf ("%s\n", symtab->base[sym_index].name);
1269 for (sym_index = 0; sym_index < symbol_map_count; sym_index++)
1275 if (last && !filename_cmp (last, symbol_map[sym_index].file_name))
1284 symbol_map[sym_index].file_name))
1291 printf ("%s\n", symbol_map[sym_index].file_name);
1292 last = symbol_map[sym_index].file_name;