Home
last modified time | relevance | path

Searched refs:GetUint64AlignedStringLength (Results 1 – 9 of 9) sorted by relevance

/external/perf_data_converter/src/quipper/
Dperf_data_utils_test.cc12 TEST(PerfDataUtilsTest, GetUint64AlignedStringLength) { in TEST() argument
13 EXPECT_EQ(8, GetUint64AlignedStringLength("012345")); in TEST()
14 EXPECT_EQ(8, GetUint64AlignedStringLength("0123456")); in TEST()
15 EXPECT_EQ(16, GetUint64AlignedStringLength("01234567")); // Room for '\0' in TEST()
16 EXPECT_EQ(16, GetUint64AlignedStringLength("012345678")); in TEST()
17 EXPECT_EQ(16, GetUint64AlignedStringLength("0123456789abcde")); in TEST()
18 EXPECT_EQ(24, GetUint64AlignedStringLength("0123456789abcdef")); in TEST()
Ddata_writer.cc24 uint32_t len = GetUint64AlignedStringLength(src); in WriteStringWithSizeToData()
Dperf_data_utils.h60 inline size_t GetUint64AlignedStringLength(const string& str) { in GetUint64AlignedStringLength() function
Dsample_info_reader.cc592 GetUint64AlignedStringLength(event.mmap.filename); in GetPerfSampleDataOffset()
600 GetUint64AlignedStringLength(event.comm.comm); in GetPerfSampleDataOffset()
614 GetUint64AlignedStringLength(event.mmap2.filename); in GetPerfSampleDataOffset()
Dtest_perf_data.cc226 GetUint64AlignedStringLength(filename_) + in GetSize()
252 GetUint64AlignedStringLength(filename_); in WriteTo()
262 GetUint64AlignedStringLength(filename_); in WriteTo()
Dhuge_page_deducer.cc44 event->header().size() + GetUint64AlignedStringLength(new_filename) - in SetMmapFilename()
45 GetUint64AlignedStringLength(event->mmap_event().filename())); in SetMmapFilename()
Dperf_serializer_test.cc298 GetUint64AlignedStringLength(comm_md5_string) - in TEST_P()
299 GetUint64AlignedStringLength(event.comm_event().comm()); in TEST_P()
349 GetUint64AlignedStringLength(filename_md5_string) - in TEST_P()
350 GetUint64AlignedStringLength(event.mmap_event().filename()); in TEST_P()
Dperf_reader.cc127 size_t filename_len = GetUint64AlignedStringLength(filename); in CreateBuildIDEvent()
146 return sizeof(string_size_type) + GetUint64AlignedStringLength(str); in ExpectedStorageSizeOf()
949 sizeof(*event) + GetUint64AlignedStringLength(event->filename); in ReadBuildIDMetadataWithoutHeader()
1896 GetUint64AlignedStringLength(build_id.filename()); in GetBuildIDMetadataSize()
2001 size_t old_len = GetUint64AlignedStringLength(filename); in LocalizeMMapFilenames()
2002 size_t new_len = GetUint64AlignedStringLength(new_filename); in LocalizeMMapFilenames()
Dperf_serializer.cc803 size_t size = sizeof(build_id_event) + GetUint64AlignedStringLength(filename); in DeserializeBuildIDEvent()