Lines Matching +defs:count +defs:lines

66 /* This is the size of the buffer used to read in source file lines.  */
83 gcov_type count;
125 /* Block execution count. */
126 gcov_type count;
149 } line; /* Valid until blocks are linked onto lines */
157 lines. */
199 int lines;
217 gcov_type count; /* execution count */
239 line_t *lines;
276 /* Name and file pointer of the input file for the arc count data. */
302 /* Output count information for every basic block, not merely those
522 src->lines = XCNEWVEC (line_t, src->num_lines);
584 free (src->lines);
813 arc->count = 0;
958 /* Reads profiles from the count file and attach to each
1117 arc->count = *count_ptr++;
1201 total += arc->count;
1204 total += arc->count;
1208 blk->count = total;
1225 total = blk->count;
1229 total -= arc->count;
1235 inv_arc->count = total;
1261 total = blk->count;
1265 total -= arc->count;
1271 inv_arc->count = total;
1297 valid count. */
1318 if (arc->src->count)
1324 if (arc->src->count)
1326 if (arc->count)
1332 count. If dp >= 0, format TOP/BOTTOM * 100 to DP decimal places.
1384 if (coverage->lines)
1386 format_gcov (coverage->lines_executed, coverage->lines, 2),
1387 coverage->lines);
1389 fnotice (stdout, "No executable lines\n");
1481 the line number execution count indicated by the execution count of
1499 if (block->count && ix && ix + 1 != fn->num_blocks)
1513 line = &src->lines[*encoding];
1518 coverage->lines++;
1519 if (!line->count && block->count)
1523 line->count += block->count;
1533 line_t *block_line = line ? line : &fn->src->lines[fn->line];
1552 fnotice (stderr, "%s:no lines for '%s'\n", bbg_file_name, fn->name);
1573 for (ix = src->num_lines, line = src->lines; ix--; line++)
1592 /* The user expects the line count to be the number of times
1593 a line has been executed. Simply summing the block count
1599 gcov_type count = 0;
1619 count += arc->count;
1626 arc->cs_count = arc->count;
1642 transition count, and add that to the cumulative
1643 count. Decrease flow over the cycle and remove the arc
1674 /* Locate the smallest arc count of the loop. */
1683 count += cycle_count;
1724 line->count = count;
1729 src->coverage.lines++;
1730 if (line->count)
1745 if (arc->src->count)
1748 format_gcov (arc->src->count - arc->count,
1749 arc->src->count, -flag_counts));
1756 if (arc->src->count)
1758 format_gcov (arc->count, arc->src->count, -flag_counts),
1765 if (arc->src->count)
1767 format_gcov (arc->count, arc->src->count, -flag_counts));
1778 the gcov file preceded by its execution count and other
1822 for (line_num = 1, line = &src->lines[line_num];
1828 gcov_type return_count = fn->blocks[fn->num_blocks - 1].count;
1832 return_count -= arc->count;
1836 format_gcov (fn->blocks[0].count, 0, -1));
1838 format_gcov (return_count, fn->blocks[0].count, 0));
1844 /* For lines which don't exist in the .bb file, print '-' before
1845 the source line. For lines which exist but were never
1847 print the execution count before the source line. There are
1851 !line->exists ? "-" : !line->count ? "#####"
1852 : format_gcov (line->count, 0, -1), line_num);
1880 !line->exists ? "-" : !block->count ? "$$$$$"
1881 : format_gcov (block->count, 0, -1),
1898 /* Handle all remaining source lines. There may be lines after the