Lines Matching refs:sf
322 Source_File *sf = (Source_File *) arg; in annotate_with_count() local
330 if (line_num <= sf->num_lines) in annotate_with_count()
331 b = (Sym *) sf->line[line_num - 1]; in annotate_with_count()
465 Source_File *sf; in print_annotated_source() local
487 for (sf = first_src_file; sf; sf = sf->next) in print_annotated_source()
489 if (sf->num_lines > 0) in print_annotated_source()
491 sf->line = (void **) xmalloc (sf->num_lines * sizeof (sf->line[0])); in print_annotated_source()
492 memset (sf->line, 0, sf->num_lines * sizeof (sf->line[0])); in print_annotated_source()
530 for (sf = first_src_file; sf; sf = sf->next) in print_annotated_source()
532 if (!sf->num_lines || (ignore_zeros && sf->ncalls == 0)) in print_annotated_source()
537 ofp = annotate_source (sf, 16, annotate_with_count, sf); in print_annotated_source()
547 qsort (sf->line, sf->num_lines, sizeof (sf->line[0]), cmp_ncalls); in print_annotated_source()
550 if (table_len > sf->num_lines) in print_annotated_source()
551 table_len = sf->num_lines; in print_annotated_source()
555 sym = (Sym *) sf->line[i]; in print_annotated_source()
564 free (sf->line); in print_annotated_source()
565 sf->line = 0; in print_annotated_source()
576 sf->ncalls); in print_annotated_source()
579 ? (double) sf->ncalls / (double) num_executable_lines in print_annotated_source()