Home
last modified time | relevance | path

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

/system/chre/apps/chqts/src/general_test/
Dsimple_heap_alloc_test.cc119 static constexpr size_t kSizes[5] = { in setUp() local
122 mPtrs[0] = chreHeapAlloc(kSizes[0]); in setUp()
123 mPtrs[1] = chreHeapAlloc(kSizes[1]); in setUp()
127 mPtrs[3] = chreHeapAlloc(kSizes[3]); in setUp()
135 mPtrs[4] = chreHeapAlloc(kSizes[4]); in setUp()
136 mPtrs[2] = chreHeapAlloc(kSizes[2]); in setUp()
155 nanoapp_testing::memset(mPtrs[i], 0xFF, kSizes[i]); in setUp()
/system/nvram/messages/tests/
Dio_test.cpp40 if (index_ >= (sizeof(kSizes) / sizeof(kSizes[0]))) { in Advance()
45 const size_t size = kSizes[index_] < kMaxSize ? kSizes[index_] : kMaxSize; in Advance()
56 static constexpr size_t kSizes[] = { sizes... }; member in nvram::__anon37fc1c570111::TestInputStreamBuffer
64 constexpr size_t TestInputStreamBuffer<sizes...>::kSizes[]; member in nvram::__anon37fc1c570111::TestInputStreamBuffer<sizes...>
200 if (index_ >= (sizeof(kSizes) / sizeof(kSizes[0]))) { in Advance()
208 const size_t size = kSizes[index_] < kMaxSize ? kSizes[index_] : kMaxSize; in Advance()
217 static constexpr size_t kSizes[] = { sizes... }; member in nvram::__anon37fc1c570211::TestOutputStreamBuffer
234 constexpr size_t TestOutputStreamBuffer<sizes...>::kSizes[]; member in nvram::__anon37fc1c570211::TestOutputStreamBuffer<sizes...>