Home
last modified time | relevance | path

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

/system/logging/logd/
DLogBufferTest.cpp98 size_t diff_index = 0; in CompareMessages() local
99 for (; diff_index < std::min(expected.size(), result.size()); ++diff_index) { in CompareMessages()
100 if (expected[diff_index] != result[diff_index]) { in CompareMessages()
105 if (diff_index < 80) { in CompareMessages()
112 auto expected_short = MakePrintable(expected.substr(diff_index)); in CompareMessages()
113 auto result_short = MakePrintable(result.substr(diff_index)); in CompareMessages()
114 return StringPrintf("msg: index %zu: expected '%s' vs '%s'", diff_index, expected_short.c_str(), in CompareMessages()