Lines Matching refs:outbuf
58 static HChar outbuf[FILENAME_LEN + FN_NAME_LEN + OBJ_NAME_LEN + COSTS_LEN]; variable
348 VG_(sprintf)(outbuf, "rec=%d\n\n", bbcc->rec_index); in print_fn_pos()
349 my_fwrite(fd, outbuf, VG_(strlen)(outbuf)); in print_fn_pos()
363 VG_(sprintf)(outbuf, "frfn=(spontaneous)\n"); in print_fn_pos()
364 my_fwrite(fd, outbuf, VG_(strlen)(outbuf)); in print_fn_pos()
369 print_fn(fd,outbuf,"frfn", curr_from); in print_fn_pos()
377 VG_(sprintf)(outbuf, "ob="); in print_fn_pos()
378 print_obj(outbuf+3, bbcc->cxt->fn[0]->file->obj); in print_fn_pos()
379 my_fwrite(fd, outbuf, VG_(strlen)(outbuf)); in print_fn_pos()
385 VG_(sprintf)(outbuf, "fl="); in print_fn_pos()
386 print_file(outbuf+3, bbcc->cxt->fn[0]->file); in print_fn_pos()
387 my_fwrite(fd, outbuf, VG_(strlen)(outbuf)); in print_fn_pos()
394 print_fn(fd,outbuf, "fn", bbcc->cxt->fn[0]); in print_fn_pos()
404 print_mangled_fn(fd, outbuf, "fn", bbcc->cxt, bbcc->rec_index); in print_fn_pos()
533 VG_(sprintf)(outbuf, "fe="); in fprint_apos()
535 VG_(sprintf)(outbuf, "fi="); in fprint_apos()
536 print_file(outbuf+3, curr->file); in fprint_apos()
537 my_fwrite(fd, outbuf, VG_(strlen)(outbuf)); in fprint_apos()
542 VG_(sprintf)(outbuf, "ln=%d\n", curr->line); in fprint_apos()
543 my_fwrite(fd, outbuf, VG_(strlen)(outbuf)); in fprint_apos()
560 VG_(sprintf)(outbuf, "%lu ", curr->addr - curr->bb_addr); in fprint_pos()
568 p = VG_(sprintf)(outbuf, "+%d ", diff); in fprint_pos()
570 p = VG_(sprintf)(outbuf, "* "); in fprint_pos()
572 p = VG_(sprintf)(outbuf, "%d ", diff); in fprint_pos()
575 p = VG_(sprintf)(outbuf, "%#lx ", curr->addr); in fprint_pos()
583 p += VG_(sprintf)(outbuf+p, "+%d ", diff); in fprint_pos()
585 p += VG_(sprintf)(outbuf+p, "* "); in fprint_pos()
587 p += VG_(sprintf)(outbuf+p, "%d ", diff); in fprint_pos()
590 p += VG_(sprintf)(outbuf+p, "%#lx ", curr->bb_addr); in fprint_pos()
599 VG_(sprintf)(outbuf+p, "+%d ", diff); in fprint_pos()
601 VG_(sprintf)(outbuf+p, "* "); in fprint_pos()
603 VG_(sprintf)(outbuf+p, "%d ", diff); in fprint_pos()
606 VG_(sprintf)(outbuf+p, "%u ", curr->line); in fprint_pos()
609 my_fwrite(fd, outbuf, VG_(strlen)(outbuf)); in fprint_pos()
620 int p = CLG_(sprint_mappingcost)(outbuf, es, cost); in fprint_cost()
621 VG_(sprintf)(outbuf+p, "\n"); in fprint_cost()
622 my_fwrite(fd, outbuf, VG_(strlen)(outbuf)); in fprint_cost()
693 VG_(sprintf)(outbuf, "jfi="); in fprint_jcc()
694 print_file(outbuf+4, target.file); in fprint_jcc()
695 my_fwrite(fd, outbuf, VG_(strlen)(outbuf)); in fprint_jcc()
700 print_mangled_fn(fd, outbuf, "jfn", in fprint_jcc()
703 print_fn(fd, outbuf, "jfn", jcc->to->cxt->fn[0]); in fprint_jcc()
708 VG_(sprintf)(outbuf, "jcnd=%llu/%llu ", in fprint_jcc()
713 VG_(sprintf)(outbuf, "jump=%llu ", in fprint_jcc()
716 my_fwrite(fd, outbuf, VG_(strlen)(outbuf)); in fprint_jcc()
732 VG_(sprintf)(outbuf, "cob="); in fprint_jcc()
733 print_obj(outbuf+4, obj); in fprint_jcc()
734 my_fwrite(fd, outbuf, VG_(strlen)(outbuf)); in fprint_jcc()
739 VG_(sprintf)(outbuf, "cfi="); in fprint_jcc()
740 print_file(outbuf+4, file); in fprint_jcc()
741 my_fwrite(fd, outbuf, VG_(strlen)(outbuf)); in fprint_jcc()
745 print_mangled_fn(fd, outbuf, "cfn", jcc->to->cxt, jcc->to->rec_index); in fprint_jcc()
747 print_fn(fd, outbuf, "cfn", jcc->to->cxt->fn[0]); in fprint_jcc()
750 VG_(sprintf)(outbuf, "calls=%llu ", in fprint_jcc()
752 my_fwrite(fd, outbuf, VG_(strlen)(outbuf)); in fprint_jcc()
895 VG_(sprintf)(outbuf, "# Skipped\n"); in fprint_bbcc()
896 my_fwrite(fd, outbuf, VG_(strlen)(outbuf)); in fprint_bbcc()
1259 p = VG_(sprintf)(outbuf, "%s", prefix); in fprint_cost_ln()
1260 p += CLG_(sprint_mappingcost)(outbuf + p, em, cost); in fprint_cost_ln()
1261 VG_(sprintf)(outbuf + p, "\n"); in fprint_cost_ln()
1262 my_fwrite(fd, outbuf, VG_(strlen)(outbuf)); in fprint_cost_ln()