Home
last modified time | relevance | path

Searched refs:line_nums (Results 1 – 2 of 2) sorted by relevance

/external/valgrind/main/cachegrind/
Dcg_annotate.in778 my @line_nums = sort {$a <=> $b} keys %$src_file_CCs;
796 shift(@line_nums) if (0 == $line_nums[0]);
800 my $n = @line_nums;
803 push(@pairs, $line_nums[$i] - $context); # lower marker
805 $line_nums[$i] + 2*$context >= $line_nums[$i+1]) {
808 push(@pairs, $line_nums[$i] + $context); # upper marker
824 if (defined $line_nums[0] && $. == $line_nums[0]) {
828 shift(@line_nums);
845 if (@line_nums) {
846 foreach my $line_num (@line_nums) {
[all …]
/external/valgrind/main/callgrind/
Dcallgrind_annotate.in1094 my @line_nums = sort {$a <=> $b} keys %$src_file_CCs;
1112 shift(@line_nums) if (0 == $line_nums[0]);
1116 my $n = @line_nums;
1119 push(@pairs, $line_nums[$i] - $context); # lower marker
1121 $line_nums[$i] + 2*$context >= $line_nums[$i+1]) {
1124 push(@pairs, $line_nums[$i] + $context); # upper marker
1140 if (defined $line_nums[0] && $. == $line_nums[0]) {
1144 shift(@line_nums);
1173 if (@line_nums) {
1174 foreach my $line_num (@line_nums) {
[all …]