Home
last modified time | relevance | path

Searched refs:totalSize (Results 1 – 2 of 2) 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.cpp511 unsigned long totalSize = expected_absolute_minimum_log_size; in TEST() local
520 totalSize = atol(buffer); in TEST()
521 if (totalSize < expected_absolute_minimum_log_size) { in TEST()
525 totalSize = expected_absolute_minimum_log_size; in TEST()
531 totalSize = (totalSize * 11 ) / 10; in TEST()
534 ASSERT_GT(totalSize, nowSpamSize * 2); in TEST()