Home
last modified time | relevance | path

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

/art/runtime/mirror/
Ddex_cache-inl.h57 T* DexCache::AllocArray(MemberOffset obj_offset, MemberOffset num_offset, size_t num) { in AllocArray() function
138 strings = AllocArray<StringDexCacheType, kDexCacheStringCacheSize>( in SetResolvedString()
190 resolved_types = AllocArray<TypeDexCacheType, kDexCacheTypeCacheSize>( in SetResolvedType()
239 methods = AllocArray<MethodTypeDexCacheType, kDexCacheMethodTypeCacheSize>( in SetResolvedMethodType()
287 call_sites = AllocArray<GcRoot<CallSite>, std::numeric_limits<size_t>::max()>( in SetResolvedCallSite()
325 fields = AllocArray<FieldDexCacheType, kDexCacheFieldCacheSize>( in SetResolvedField()
352 methods = AllocArray<MethodDexCacheType, kDexCacheMethodCacheSize>( in SetResolvedMethod()
Ddex_cache.h450 T* AllocArray(MemberOffset obj_offset, MemberOffset num_offset, size_t num)
Dobject_test.cc155 TEST_F(ObjectTest, AllocArray) { in TEST_F() argument
/art/libartbase/base/
Dscoped_arena_allocator.h160 return AllocArray<T>(1, kind);
164 T* AllocArray(size_t length, ArenaAllocKind kind = kArenaAllocMisc) {
Darena_allocator.h338 return AllocArray<T>(1, kind);
342 T* AllocArray(size_t length, ArenaAllocKind kind = kArenaAllocMisc) {
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()
Darena_containers.h204 return allocator_->AllocArray<T>(n, ArenaAllocatorAdapterKind::Kind());
/art/runtime/
Dlinear_alloc.h40 T* AllocArray(Thread* self, size_t elements) REQUIRES(!lock_) { in AllocArray() function
Dclass_linker.cc7626 : allocator_.AllocArray<CopiedMethodRecord*>(num_new_copied_methods); in ReallocMethods()
7969 : allocator_.AllocArray<uint32_t>(total_buffer_size); in AssignVTableIndexes()
8000 allocator_.AllocArray<uint32_t>(super_vtable_length), super_vtable_length); in AssignVTableIndexes()
8212 : allocator_.AllocArray<uint32_t>(declared_virtuals_buffer_size); in FindCopiedMethodsForInterface()
/art/compiler/utils/
Dassembler.cc31 contents_ = allocator_->AllocArray<uint8_t>(kInitialBufferCapacity, kArenaAllocAssembler); in AssemblerBuffer()
/art/compiler/optimizing/
Dgvn.cc43 buckets_(allocator->AllocArray<Node*>(num_buckets_, kArenaAllocGvn)), in ValueSet()
56 buckets_(allocator->AllocArray<Node*>(num_buckets_, kArenaAllocGvn)), in ValueSet()
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()
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()
Dcode_generator.h778 GetGraph()->GetAllocator()->AllocArray<LabelType>(size, kArenaAllocCodeGenerator); in CommonInitializeLabels()
Dcode_generator.cc1050 blocked_core_registers_(graph->GetAllocator()->AllocArray<bool>(number_of_core_registers, in CodeGenerator()
1052 blocked_fpu_registers_(graph->GetAllocator()->AllocArray<bool>(number_of_fpu_registers, in CodeGenerator()
/art/runtime/verifier/
Dreg_type_cache.cc179 char* ptr = allocator_.AllocArray<char>(str.length()); in AddString()
Dmethod_verifier.cc1031 insn_flags_.reset(allocator_.AllocArray<InstructionFlags>( in Verify()