Lines Matching refs:prefix
119 std::string prefix = " "; in operator() local
121 fprintf(fp, "%s[skipped in brief callgraph mode]\n", prefix.c_str()); in operator()
124 fprintf(fp, "%s|\n", prefix.c_str()); in operator()
125 fprintf(fp, "%s-- %s\n", prefix.c_str(), PrintSampleName(sample).c_str()); in operator()
126 prefix.append(3, ' '); in operator()
128 DisplayCallGraphEntry(fp, 1, prefix, sample->callchain.children[i], in operator()
134 void DisplayCallGraphEntry(FILE* fp, size_t depth, std::string prefix, in DisplayCallGraphEntry() argument
149 prefix += "|"; in DisplayCallGraphEntry()
150 fprintf(fp, "%s\n", prefix.c_str()); in DisplayCallGraphEntry()
152 prefix.back() = ' '; in DisplayCallGraphEntry()
154 fprintf(fp, "%s%s%s\n", prefix.c_str(), percentage_s.c_str(), in DisplayCallGraphEntry()
157 fprintf(fp, "%s%*s%s\n", prefix.c_str(), static_cast<int>(percentage_s.size()), "", in DisplayCallGraphEntry()
160 prefix.append(SPACES_BETWEEN_CALLGRAPH_ENTRIES, ' '); in DisplayCallGraphEntry()
162 fprintf(fp, "%s|--%.2f%%-- [hit in function]\n", prefix.c_str(), in DisplayCallGraphEntry()
166 DisplayCallGraphEntry(fp, depth + 1, prefix, node->children[i], in DisplayCallGraphEntry()