Home
last modified time | relevance | path

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

/system/core/libutils/
DBlobCache.cpp207 size_t totalSize = align4(entrySize); in flatten() local
208 if (byteOffset + totalSize > size) { in flatten()
221 if (totalSize > entrySize) { in flatten()
224 memset(eheader->mData + keySize + valueSize, 0, totalSize - entrySize); in flatten()
227 byteOffset += totalSize; in flatten()
274 size_t totalSize = align4(entrySize); in unflatten() local
275 if (byteOffset + totalSize > size) { in unflatten()
284 byteOffset += totalSize; in unflatten()
/system/core/logd/tests/
Dlogd_test.cpp515 unsigned long totalSize = expected_absolute_minimum_log_size; in TEST() local
524 totalSize = atol(buffer); in TEST()
525 if (totalSize < expected_absolute_minimum_log_size) { in TEST()
529 totalSize = expected_absolute_minimum_log_size; in TEST()
535 totalSize = (totalSize * 11 ) / 10; in TEST()
538 ASSERT_GT(totalSize, nowSpamSize * 2); in TEST()
/system/core/logd/
DLogStatistics.cpp237 size_t totalSize = stat.sizesTotal(id); in format() local
239 float totalVirtualSize = (float)sizes + (float)totalDropped * totalSize in format()
247 virtualEntrySize += (float)dropped * totalSize / totalElements; in format()