Home
last modified time | relevance | path

Searched refs:file_header (Results 1 – 3 of 3) sorted by relevance

/system/libbase/
Dlogging_splitters_test.cpp209 auto file_header = StringPrintf("%s:%d] ", file.c_str(), line); in TEST() local
214 auto second_string_size = max_size - first_string_size - 1 - 2 * file_header.size(); in TEST()
217 auto exact_string = std::string(max_size - file_header.size(), 'c'); in TEST()
224 file_header + first_string + '\n' + file_header + second_string, file_header + exact_string, in TEST()
225 file_header + ReduceToMaxSize(file_header + tag, large_string), file_header + final_string}; in TEST()
Dlogging_splitters.h64 std::string file_header; in SplitByLogdChunks() local
66 file_header = StringPrintf("%s:%u] ", file, line); in SplitByLogdChunks()
68 int file_header_size = file_header.size(); in SplitByLogdChunks()
83 "%s%s%.*s", new_line, file_header.c_str(), length, message); in SplitByLogdChunks()
125 snprintf(logd_chunk, sizeof(logd_chunk), "%s%s", file_header.c_str(), msg); in SplitByLogdChunks()
/system/extras/simpleperf/
Dcmd_record_test.cpp177 const FileHeader& file_header = reader->FileHeader(); in TEST() local
178 ASSERT_TRUE(file_header.features[FEAT_BUILD_ID / 8] & in TEST()