Lines Matching refs:ret
17 int ret = fprintf(fp, " "); in callchain__fprintf_left_margin() local
20 ret += fprintf(fp, " "); in callchain__fprintf_left_margin()
22 return ret; in callchain__fprintf_left_margin()
31 int ret = 0, i; in inline__fprintf() local
47 ret += callchain__fprintf_left_margin(fp, left_margin); in inline__fprintf()
51 ret += fprintf(fp, "|"); in inline__fprintf()
53 ret += fprintf(fp, " "); in inline__fprintf()
54 ret += fprintf(fp, " "); in inline__fprintf()
60 ret += fprintf(fp, "%s:%d (inline)", in inline__fprintf()
64 ret += fprintf(fp, "??"); in inline__fprintf()
66 ret += fprintf(fp, "%s (inline)", in inline__fprintf()
69 ret += fprintf(fp, "%s:%d (inline)", in inline__fprintf()
73 ret += fprintf(fp, "??"); in inline__fprintf()
75 ret += fprintf(fp, "\n"); in inline__fprintf()
80 return ret; in inline__fprintf()
87 size_t ret = callchain__fprintf_left_margin(fp, left_margin); in ipchain__fprintf_graph_line() local
91 ret += fprintf(fp, "| "); in ipchain__fprintf_graph_line()
93 ret += fprintf(fp, " "); in ipchain__fprintf_graph_line()
95 ret += fprintf(fp, "\n"); in ipchain__fprintf_graph_line()
97 return ret; in ipchain__fprintf_graph_line()
106 size_t ret = 0; in ipchain__fprintf_graph() local
111 ret += callchain__fprintf_left_margin(fp, left_margin); in ipchain__fprintf_graph()
114 ret += fprintf(fp, "|"); in ipchain__fprintf_graph()
116 ret += fprintf(fp, " "); in ipchain__fprintf_graph()
118 ret += fprintf(fp, "--"); in ipchain__fprintf_graph()
119 ret += callchain_node__fprintf_value(node, fp, total_samples); in ipchain__fprintf_graph()
120 ret += fprintf(fp, "--"); in ipchain__fprintf_graph()
122 ret += fprintf(fp, "%s", " "); in ipchain__fprintf_graph()
142 ret += inline__fprintf(chain->ms.map, chain->ip, in ipchain__fprintf_graph()
144 return ret; in ipchain__fprintf_graph()
171 size_t ret = 0; in __callchain__fprintf_graph() local
203 ret += ipchain__fprintf_graph_line(fp, depth, depth_mask, in __callchain__fprintf_graph()
207 ret += ipchain__fprintf_graph(fp, child, chain, depth, in __callchain__fprintf_graph()
218 ret += __callchain__fprintf_graph(fp, &child->rb_root, new_total, in __callchain__fprintf_graph()
234 return ret; in __callchain__fprintf_graph()
239 return ret; in __callchain__fprintf_graph()
243 ret += ipchain__fprintf_graph(fp, &rem_node, &rem_hits, depth, in __callchain__fprintf_graph()
248 return ret; in __callchain__fprintf_graph()
280 int ret = 0; in callchain__fprintf_graph() local
297 ret += callchain__fprintf_left_margin(fp, left_margin); in callchain__fprintf_graph()
298 ret += fprintf(fp, "|\n"); in callchain__fprintf_graph()
299 ret += callchain__fprintf_left_margin(fp, left_margin); in callchain__fprintf_graph()
300 ret += fprintf(fp, "---"); in callchain__fprintf_graph()
304 ret += callchain__fprintf_left_margin(fp, left_margin); in callchain__fprintf_graph()
306 ret += fprintf(fp, "%s", in callchain__fprintf_graph()
312 ret += callchain_list_counts__printf_value( in callchain__fprintf_graph()
314 ret += fprintf(fp, "\n"); in callchain__fprintf_graph()
320 ret += inline__fprintf(chain->ms.map, in callchain__fprintf_graph()
332 ret += __callchain__fprintf_graph(fp, root, total_samples, in callchain__fprintf_graph()
334 if (ret) { in callchain__fprintf_graph()
336 ret += fprintf(fp, "\n"); in callchain__fprintf_graph()
339 return ret; in callchain__fprintf_graph()
346 size_t ret = 0; in __callchain__fprintf_flat() local
352 ret += __callchain__fprintf_flat(fp, node->parent, total_samples); in __callchain__fprintf_flat()
358 ret += fprintf(fp, " %s\n", callchain_list__sym_name(chain, in __callchain__fprintf_flat()
362 return ret; in __callchain__fprintf_flat()
368 size_t ret = 0; in callchain__fprintf_flat() local
376 ret += fprintf(fp, " "); in callchain__fprintf_flat()
377 ret += callchain_node__fprintf_value(chain, fp, total_samples); in callchain__fprintf_flat()
378 ret += fprintf(fp, "\n"); in callchain__fprintf_flat()
379 ret += __callchain__fprintf_flat(fp, chain, total_samples); in callchain__fprintf_flat()
380 ret += fprintf(fp, "\n"); in callchain__fprintf_flat()
387 return ret; in callchain__fprintf_flat()
394 size_t ret = 0; in __callchain__fprintf_folded() local
401 ret += __callchain__fprintf_folded(fp, node->parent); in __callchain__fprintf_folded()
403 first = (ret == 0); in __callchain__fprintf_folded()
407 ret += fprintf(fp, "%s%s", first ? "" : sep, in __callchain__fprintf_folded()
413 return ret; in __callchain__fprintf_folded()
419 size_t ret = 0; in callchain__fprintf_folded() local
428 ret += callchain_node__fprintf_value(chain, fp, total_samples); in callchain__fprintf_folded()
429 ret += fprintf(fp, " "); in callchain__fprintf_folded()
430 ret += __callchain__fprintf_folded(fp, chain); in callchain__fprintf_folded()
431 ret += fprintf(fp, "\n"); in callchain__fprintf_folded()
438 return ret; in callchain__fprintf_folded()
480 int ret; in __hist_entry__snprintf() local
495 ret = scnprintf(hpp->buf, hpp->size, "%s", sep ?: " "); in __hist_entry__snprintf()
496 advance_hpp(hpp, ret); in __hist_entry__snprintf()
501 ret = fmt->color(fmt, hpp, he); in __hist_entry__snprintf()
503 ret = fmt->entry(fmt, hpp, he); in __hist_entry__snprintf()
505 ret = hist_entry__snprintf_alignment(he, hpp, fmt, ret); in __hist_entry__snprintf()
506 advance_hpp(hpp, ret); in __hist_entry__snprintf()
527 int ret, printed = 0; in hist_entry__hierarchy_fprintf() local
533 ret = scnprintf(hpp->buf, hpp->size, "%*s", he->depth * HIERARCHY_INDENT, ""); in hist_entry__hierarchy_fprintf()
534 advance_hpp(hpp, ret); in hist_entry__hierarchy_fprintf()
545 ret = scnprintf(hpp->buf, hpp->size, "%s", sep ?: " "); in hist_entry__hierarchy_fprintf()
546 advance_hpp(hpp, ret); in hist_entry__hierarchy_fprintf()
551 ret = fmt->color(fmt, hpp, he); in hist_entry__hierarchy_fprintf()
553 ret = fmt->entry(fmt, hpp, he); in hist_entry__hierarchy_fprintf()
555 ret = hist_entry__snprintf_alignment(he, hpp, fmt, ret); in hist_entry__hierarchy_fprintf()
556 advance_hpp(hpp, ret); in hist_entry__hierarchy_fprintf()
560 ret = scnprintf(hpp->buf, hpp->size, "%*s", in hist_entry__hierarchy_fprintf()
562 advance_hpp(hpp, ret); in hist_entry__hierarchy_fprintf()
602 int ret; in hist_entry__fprintf() local
620 ret = fprintf(fp, "%s\n", bf); in hist_entry__fprintf()
628 ret += inline_ret; in hist_entry__fprintf()
630 ret += fprintf(fp, "\n"); in hist_entry__fprintf()
632 ret += callchain_ret; in hist_entry__fprintf()
634 return ret; in hist_entry__fprintf()
836 size_t ret = 0; in hists__fprintf() local
860 ret = -1; in hists__fprintf()
877 ret += hist_entry__fprintf(h, max_cols, line, linesz, fp, use_callchain); in hists__fprintf()
907 return ret; in hists__fprintf()
913 size_t ret = 0; in events_stats__fprintf() local
925 ret += fprintf(fp, "%16s events: %10d\n", name, in events_stats__fprintf()
929 return ret; in events_stats__fprintf()