Home
last modified time | relevance | path

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

/system/chre/apps/test/chqts/src/general_test/
Dsimple_heap_alloc_test.cc107 nanoapp_testing::memset(mPtrs, 0, sizeof(mPtrs)); in setUp()
118 mPtrs[0] = chreHeapAlloc(kSizes[0]); in setUp()
119 mPtrs[1] = chreHeapAlloc(kSizes[1]); in setUp()
122 mPtrs[2] = chreHeapAlloc(23); in setUp()
123 mPtrs[3] = chreHeapAlloc(kSizes[3]); in setUp()
126 if (mPtrs[2] == nullptr) { in setUp()
129 chreHeapFree(mPtrs[2]); in setUp()
131 mPtrs[4] = chreHeapAlloc(kSizes[4]); in setUp()
132 mPtrs[2] = chreHeapAlloc(kSizes[2]); in setUp()
134 for (uint32_t i = 0; i < arrayLength(mPtrs); i++) { in setUp()
[all …]
Dsimple_heap_alloc_test.h46 void *mPtrs[5]; variable