Home
last modified time | relevance | path

Searched refs:CompareBytesWithByteArray (Results 1 – 5 of 5) sorted by relevance

/arkcompiler/runtime_core/static_core/runtime/tests/
Dfreelist_allocator_test.cpp212 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()
Dallocator_test_base.h148 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 …]
Dstack_like_allocator_test.cpp158 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()
Drunslots_allocator_test.cpp330 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()
Dframe_allocator_test.cpp145 ASSERT_TRUE(CompareBytesWithByteArray(lastPair.first, FRAME_SIZE, lastPair.second)) in CycledAllocateFreeForHugeFramesTest()
154 ASSERT_TRUE(CompareBytesWithByteArray(lastPair.first, FRAME_SIZE, lastPair.second)) in CycledAllocateFreeForHugeFramesTest()