Searched refs:CompareBytesWithByteArray (Results 1 – 5 of 5) sorted by relevance
| /arkcompiler/runtime_core/static_core/runtime/tests/ |
| D | freelist_allocator_test.cpp | 212 ASSERT_TRUE(CompareBytesWithByteArray(std::get<0>(pair), MIN_ALLOC_SIZE, std::get<1>(pair))); in TEST_F() 216 ASSERT_TRUE(CompareBytesWithByteArray(std::get<0>(pair), MIN_ALLOC_SIZE, std::get<1>(pair))); in TEST_F() 235 … ASSERT_TRUE(CompareBytesWithByteArray(std::get<0>(pair), MIN_ALLOC_SIZE * 2U, std::get<1>(pair))); in TEST_F() 241 … ASSERT_TRUE(CompareBytesWithByteArray(std::get<0>(pair), MIN_ALLOC_SIZE, std::get<1>(pair))); in TEST_F() 247 … ASSERT_TRUE(CompareBytesWithByteArray(std::get<0>(pair), MIN_ALLOC_SIZE, std::get<1>(pair))); in TEST_F()
|
| D | allocator_test_base.h | 148 bool CompareBytesWithByteArray(void *mem, size_t size, size_t startIndexInByteArray) in CompareBytesWithByteArray() function 205 …ASSERT_TRUE(CompareBytesWithByteArray(allocatedElements[k].first, size, allocatedElements[k].secon… in OneAlignedAllocFreeTest() 255 …ASSERT_TRUE(CompareBytesWithByteArray(allocatedElements[k].first, size, allocatedElements[k].secon… 291 ASSERT_TRUE(CompareBytesWithByteArray(element.first, allocSize, element.second)) 420 …ASSERT_TRUE(CompareBytesWithByteArray(std::get<0>(allocatedElements[i]), std::get<1>(allocatedElem… in AllocateFreeDifferentSizesTest() 539 …ASSERT_TRUE(CompareBytesWithByteArray(allocatedElements[i].first, SIZE_1, allocatedElements[i].sec… 553 …ASSERT_TRUE(CompareBytesWithByteArray(allocatedElements[i].first, SIZE_2, allocatedElements[i].sec… 1128 ASSERT_TRUE(allocatorTestInstance->CompareBytesWithByteArray( in MtAllocRun() 1175 …ASSERT_TRUE(allocatorTestInstance->CompareBytesWithByteArray(std::get<0>(allocatedElements[index]), in MtAllocFreeRun() 1193 ASSERT_TRUE(allocatorTestInstance->CompareBytesWithByteArray( in MtAllocFreeRun() [all …]
|
| D | stack_like_allocator_test.cpp | 158 ASSERT_TRUE(CompareBytesWithByteArray(lastPair.first, FRAME_SIZE, lastPair.second)) in TEST_F() 167 ASSERT_TRUE(CompareBytesWithByteArray(lastPair.first, FRAME_SIZE, lastPair.second)) in TEST_F()
|
| D | runslots_allocator_test.cpp | 330 ASSERT_TRUE(CompareBytesWithByteArray(bigObjMem, BIG_OBJ_SIZE, bigObjIndex)); in TEST_F() 331 ASSERT_TRUE(CompareBytesWithByteArray(smallObjMem, SMALL_OBJ_SIZE, smallObjIndex)); in TEST_F() 332 ASSERT_TRUE(CompareBytesWithByteArray(secondSmallObjMem, SMALL_OBJ_SIZE, secondSmallObjIndex)); in TEST_F()
|
| D | frame_allocator_test.cpp | 145 ASSERT_TRUE(CompareBytesWithByteArray(lastPair.first, FRAME_SIZE, lastPair.second)) in CycledAllocateFreeForHugeFramesTest() 154 ASSERT_TRUE(CompareBytesWithByteArray(lastPair.first, FRAME_SIZE, lastPair.second)) in CycledAllocateFreeForHugeFramesTest()
|