Home
last modified time | relevance | path

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

/arkcompiler/runtime_core/runtime/tests/
Dallocator_test_base.h427 static void MT_AllocRun(AllocatorTest<Allocator> *allocator_test_instance, Allocator *allocator,
431 …static void MT_AllocFreeRun(AllocatorTest<Allocator> *allocator_test_instance, Allocator *allocato…
435 …static void MT_AllocIterateRun(AllocatorTest<Allocator> *allocator_test_instance, Allocator *alloc…
440 …static void MT_AllocCollectRun(AllocatorTest<Allocator> *allocator_test_instance, Allocator *alloc…
1029 void AllocatorTest<Allocator>::MT_AllocRun(AllocatorTest<Allocator> *allocator_test_instance, Alloc… in MT_AllocRun() argument
1033 …size_t elements_count = allocator_test_instance->RandFromRange(min_elements_count, max_elements_co… in MT_AllocRun()
1039 size_t size = allocator_test_instance->RandFromRange(min_alloc_size, max_alloc_size); in MT_AllocRun()
1044 allocator_test_instance->AddMemoryPoolToAllocator(*allocator); in MT_AllocRun()
1049 … allocated_elements[i] = {mem, size, allocator_test_instance->SetBytesFromByteArray(mem, size)}; in MT_AllocRun()
1055 size_t i = allocator_test_instance->RandFromRange(0, elements_count - 1); in MT_AllocRun()
[all …]