Home
last modified time | relevance | path

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

/aosp12/art/runtime/mirror/
H A Ddex_cache.cc39 static T* AllocArray(Thread* self, LinearAlloc* alloc, size_t num) { in AllocArray() function
67 AllocArray<StringDexCacheType>(self, linear_alloc, num_strings); in InitializeNativeFields()
69 AllocArray<TypeDexCacheType>(self, linear_alloc, num_types); in InitializeNativeFields()
71 AllocArray<MethodDexCacheType>(self, linear_alloc, num_methods); in InitializeNativeFields()
73 AllocArray<FieldDexCacheType>(self, linear_alloc, num_fields); in InitializeNativeFields()
75 AllocArray<MethodTypeDexCacheType>(self, linear_alloc, num_method_types); in InitializeNativeFields()
77 AllocArray<GcRoot<CallSite>>(self, linear_alloc, num_call_sites); in InitializeNativeFields()
194 linear_alloc->AllocArray<GcRoot<mirror::String>>(self, num_strings); in AddPreResolvedStringsArray()
H A Dobject_test.cc155 TEST_F(ObjectTest, AllocArray) { in TEST_F() argument
/aosp12/art/libartbase/base/
H A Dscoped_arena_allocator.h160 return AllocArray<T>(1, kind);
164 T* AllocArray(size_t length, ArenaAllocKind kind = kArenaAllocMisc) {
H A Darena_allocator.h337 return AllocArray<T>(1, kind);
341 T* AllocArray(size_t length, ArenaAllocKind kind = kArenaAllocMisc) {
H A Darena_allocator_test.cc56 small_array = allocator.AllocArray<uint32_t>(kSmallArraySize); in TEST_F()
62 uint32_t* large_array = allocator.AllocArray<uint32_t>(kLargeArraySize); in TEST_F()
H A Darena_containers.h200 return allocator_->AllocArray<T>(n, ArenaAllocatorAdapterKind::Kind());
/aosp12/art/runtime/
H A Dlinear_alloc.h40 T* AllocArray(Thread* self, size_t elements) REQUIRES(!lock_) { in AllocArray() function
/aosp12/art/compiler/utils/
H A Dassembler.cc31 contents_ = allocator_->AllocArray<uint8_t>(kInitialBufferCapacity, kArenaAllocAssembler); in AssemblerBuffer()
/aosp12/art/compiler/optimizing/
H A Dgvn.cc43 buckets_(allocator->AllocArray<Node*>(num_buckets_, kArenaAllocGvn)), in ValueSet()
56 buckets_(allocator->AllocArray<Node*>(num_buckets_, kArenaAllocGvn)), in ValueSet()
H A Dregister_allocator_test.cc475 register_allocator.registers_array_ = GetAllocator()->AllocArray<size_t>(1); in TEST_F()
930 register_allocator.registers_array_ = GetAllocator()->AllocArray<size_t>(1); in TEST_F()
H A Dregister_allocator_linear_scan.cc188 registers_array_ = allocator_->AllocArray<size_t>(number_of_registers_, in AllocateRegistersInternal()
208 registers_array_ = allocator_->AllocArray<size_t>(number_of_registers_, in AllocateRegistersInternal()
H A Dcode_generator.cc1048 blocked_core_registers_(graph->GetAllocator()->AllocArray<bool>(number_of_core_registers, in CodeGenerator()
1050 blocked_fpu_registers_(graph->GetAllocator()->AllocArray<bool>(number_of_fpu_registers, in CodeGenerator()
H A Dcode_generator.h768 GetGraph()->GetAllocator()->AllocArray<LabelType>(size, kArenaAllocCodeGenerator); in CommonInitializeLabels()
/aosp12/frameworks/compile/slang/tests/F_reduce_general_bad_result/
H A Dreduce_general_bad_result.rscript219 typedef rs_allocation AllocArray[10];
224 static void OutAllocArray(AllocArray *out, const int *val) { }
/aosp12/art/runtime/verifier/
H A Dreg_type_cache.cc179 char* ptr = allocator_.AllocArray<char>(str.length()); in AddString()
H A Dmethod_verifier.cc1064 insn_flags_.reset(allocator_.AllocArray<InstructionFlags>( in Verify()