Lines Matching refs:index

98 	      _("index"), _("%time"), _("self"), _("descendants"),
99 _("called"), _("self"), _("name"), _("index"));
106 printf (_("index %% time self children called name\n"));
117 sprintf (buf, "[%d]", cyc->cg.index);
129 printf (_(" <cycle %d as a whole> [%d]\n"), cyc->cg.cyc.num, cyc->cg.index);
471 sprintf (buf, "[%d]", np->cg.index);
502 unsigned int index;
510 for (index = 0; index < symtab.len + num_cycles; ++index)
512 parent = timesortsym[index];
563 unsigned int index;
572 alphabetically to create an index. */
575 for (index = 0, nnames = 0; index < symtab.len; index++)
577 if (ignore_zeros && symtab.base[index].ncalls == 0
578 && symtab.base[index].hist.time == 0)
581 name_sorted_syms[nnames++] = &symtab.base[index];
586 for (index = 1, todo = nnames; index <= num_cycles; index++)
587 name_sorted_syms[todo++] = &cycle_header[index];
591 index = (todo + 2) / 3;
593 for (i = 0; i < index; i++)
598 for (j = i; j < todo; j += index)
603 sprintf (buf, "[%d]", sym->cg.index);
605 sprintf (buf, "(%d)", sym->cg.index);
776 unsigned long index, used, unused, scratch_index;
786 index = 0;
804 for (index = 0, used = 0, unused = 0; index < symtab.len; index++)
806 if (symtab.base[index].ncalls == 0)
809 if (strcmp (symtab.base[index].name, "<locore>")
810 && strcmp (symtab.base[index].name, "<hicore>"))
812 unused_syms[unused++] = &symtab.base[index];
813 symtab.base[index].has_been_placed = 1;
818 used_syms[used++] = &symtab.base[index];
819 symtab.base[index].has_been_placed = 0;
820 symtab.base[index].next = 0;
821 symtab.base[index].prev = 0;
822 symtab.base[index].nuses = 0;
835 for (index = 0; index < numarcs; index++)
837 total_arcs += arcs[index]->count;
838 arcs[index]->has_been_placed = 0;
845 for (index = 0; index < numarcs; index++)
847 tmp_arcs_count += arcs[index]->count;
854 arcs[index]->child->nuses++;
864 for (index = 0; index < used / 80; index++)
866 Sym *sym = scratch_syms[index];
905 scratch_index = index;
914 for (index = 0; index < scratch_arc_count; index++)
916 Arc *arc = scratch_arcs[index];
923 high_arcs[high_arc_count++] = scratch_arcs[index];
934 for (index = 0; index < scratch_index; index++)
936 if (scratch_syms[index]->has_been_placed)
937 printf ("%s\n", scratch_syms[index]->name);
956 for (index = 0; index < used; index++)
957 if (used_syms[index]->has_been_placed == 0)
958 printf("%s\n", used_syms[index]->name);
961 for (index = 0; index < unused; index++)
962 printf("%s\n", unused_syms[index]->name);
1000 unsigned int index;
1008 for (index = 0; index < arc_count; index++)
1009 total_arcs += the_arcs[index]->count;
1016 for (index = 0; index < arc_count; index++)
1021 tmp_arcs += the_arcs[index]->count;
1024 if (the_arcs[index]->has_been_placed)
1027 child = the_arcs[index]->child;
1028 parent = the_arcs[index]->parent;
1036 unplaced_arcs[(*unplaced_arc_count)++] = the_arcs[index];
1046 unplaced_arcs[(*unplaced_arc_count)++] = the_arcs[index];
1101 unplaced_arcs[(*unplaced_arc_count)++] = the_arcs[index];
1126 unplaced_arcs[(*unplaced_arc_count)++] = the_arcs[index];
1138 the_arcs[index]->has_been_placed = 1;
1149 the_arcs[index]->has_been_placed = 1;
1161 the_arcs[index]->has_been_placed = 1;
1168 the_arcs[index]->has_been_placed = 1;
1174 for (index = 0; index < arc_count; index++)
1177 if (the_arcs[index]->parent->has_been_placed
1178 || the_arcs[index]->child->has_been_placed)
1181 sym = the_arcs[index]->parent;
1207 for (index = 0; index < arc_count; index++)
1210 if (the_arcs[index]->parent->has_been_placed
1211 || the_arcs[index]->child->has_been_placed)
1214 sym = the_arcs[index]->parent;
1228 unsigned long scratch_arc_count, index;
1235 for (index = 0; index < numarcs; index++)
1237 if (! arcs[index]->parent->mapped
1238 || ! arcs[index]->child->mapped)
1239 arcs[index]->has_been_placed = 1;
1246 for (index = 0; index < symtab.len; index++)
1248 if (symtab.base[index].mapped
1249 && ! symtab.base[index].has_been_placed)
1250 printf ("%s\n", symtab.base[index].name);
1255 for (index = 0; index < symbol_map_count; index++)
1261 if (last && !strcmp (last, symbol_map[index].file_name))
1269 if (!strcmp (symtab.base[index2].name, symbol_map[index].file_name))
1276 printf ("%s\n", symbol_map[index].file_name);
1277 last = symbol_map[index].file_name;