Searched refs:CompareBytesWithByteArray (Results 1 – 5 of 5) sorted by relevance
| /arkcompiler/runtime_core/static_core/runtime/tests/ |
| D | freelist_allocator_test.cpp | 213 ASSERT_TRUE(CompareBytesWithByteArray(std::get<0>(pair), MIN_ALLOC_SIZE, std::get<1>(pair))); in TEST_F() 217 ASSERT_TRUE(CompareBytesWithByteArray(std::get<0>(pair), MIN_ALLOC_SIZE, std::get<1>(pair))); in TEST_F() 238 … ASSERT_TRUE(CompareBytesWithByteArray(std::get<0>(pair), MIN_ALLOC_SIZE * 2U, std::get<1>(pair))); in TEST_F() 244 … ASSERT_TRUE(CompareBytesWithByteArray(std::get<0>(pair), MIN_ALLOC_SIZE, std::get<1>(pair))); in TEST_F() 250 … ASSERT_TRUE(CompareBytesWithByteArray(std::get<0>(pair), MIN_ALLOC_SIZE, std::get<1>(pair))); in TEST_F()
|
| 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 | 336 ASSERT_TRUE(CompareBytesWithByteArray(bigObjMem, BIG_OBJ_SIZE, bigObjIndex)); in TEST_F() 337 ASSERT_TRUE(CompareBytesWithByteArray(smallObjMem, SMALL_OBJ_SIZE, smallObjIndex)); in TEST_F() 338 ASSERT_TRUE(CompareBytesWithByteArray(secondSmallObjMem, SMALL_OBJ_SIZE, secondSmallObjIndex)); in TEST_F()
|
| D | allocator_test_base.h | 149 bool CompareBytesWithByteArray(void *mem, size_t size, size_t startIndexInByteArray) in CompareBytesWithByteArray() function 502 …ASSERT_TRUE(CompareBytesWithByteArray(allocatedElements[k].first, size, allocatedElements[k].secon… in OneAlignedAllocFreeTest() 542 …ASSERT_TRUE(CompareBytesWithByteArray(allocatedElements[k].first, size, allocatedElements[k].secon… in AlignedAllocFreeTest() 571 ASSERT_TRUE(CompareBytesWithByteArray(element.first, allocSize, element.second)) in AllocateAndFree() 679 …ASSERT_TRUE(CompareBytesWithByteArray(std::get<0>(allocatedElements[i]), std::get<1>(allocatedElem… in AllocateFreeDifferentSizesTest() 776 …ASSERT_TRUE(CompareBytesWithByteArray(allocatedElements[i].first, SIZE_1, allocatedElements[i].sec… in AllocateReuseTest() 790 …ASSERT_TRUE(CompareBytesWithByteArray(allocatedElements[i].first, SIZE_2, allocatedElements[i].sec… in AllocateReuseTest() 1065 ASSERT_TRUE(allocatorTestInstance->CompareBytesWithByteArray( in MtAllocRun() 1115 …ASSERT_TRUE(allocatorTestInstance->CompareBytesWithByteArray(std::get<0>(allocatedElements[index]), in MtAllocFreeRun() 1136 ASSERT_TRUE(allocatorTestInstance->CompareBytesWithByteArray( in MtAllocFreeRun() [all …]
|
| 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()
|