Searched refs:ConvertBytesToValue (Results 1 – 5 of 5) sorted by relevance
/system/extras/simpleperf/ |
D | utils_test.cpp | 29 TEST(utils, ConvertBytesToValue) { in TEST() argument 34 ASSERT_EQ(0x1ULL, ConvertBytesToValue(buf + 1, 1)); in TEST() 35 ASSERT_EQ(0x201ULL, ConvertBytesToValue(buf + 1, 2)); in TEST() 36 ASSERT_EQ(0x05040302ULL, ConvertBytesToValue(buf + 2, 4)); in TEST() 37 ASSERT_EQ(0x0706050403020100ULL, ConvertBytesToValue(buf, 8)); in TEST()
|
D | tracing.h | 51 return ConvertBytesToValue(raw_data + offset, size); in ReadFromData()
|
D | utils.h | 251 uint64_t ConvertBytesToValue(const char* bytes, uint32_t size);
|
D | utils.cpp | 353 uint64_t ConvertBytesToValue(const char* bytes, uint32_t size) { in ConvertBytesToValue() function
|
D | tracing.cpp | 76 uint64_t file_size = ConvertBytesToValue(reader.head, file_size_bytes); in DetachFile()
|