/art/runtime/mirror/ |
D | array.cc | 35 Array* Array::Alloc(Thread* self, Class* array_class, int32_t component_count, in Alloc() function in art::mirror::Array 63 Array* Array::Alloc(Thread* self, Class* array_class, int32_t component_count) { in Alloc() function in art::mirror::Array 65 return Alloc(self, array_class, component_count, array_class->GetComponentSize()); in Alloc() 80 SirtRef<Array> new_array(self, Array::Alloc(self, array_class, array_length)); in RecursiveCreateMultiArray() 146 PrimitiveArray<T>* PrimitiveArray<T>::Alloc(Thread* self, size_t length) { in Alloc() function in art::mirror::PrimitiveArray 148 Array* raw_array = Array::Alloc(self, array_class_, length, sizeof(T)); in Alloc()
|
D | string.cc | 120 String* string = Alloc(self, GetJavaLangString(), utf16_length); in AllocFromUtf16() 150 String* string = Alloc(self, GetJavaLangString(), utf16_length); in AllocFromModifiedUtf8() 161 String* String::Alloc(Thread* self, Class* java_lang_String, int32_t utf16_length) { in Alloc() function in art::mirror::String 162 SirtRef<CharArray> array(self, CharArray::Alloc(self, utf16_length)); in Alloc() 166 return Alloc(self, java_lang_String, array.get()); in Alloc() 169 String* String::Alloc(Thread* self, Class* java_lang_String, CharArray* array) { in Alloc() function in art::mirror::String
|
D | array.h | 29 static Array* Alloc(Thread* self, Class* array_class, int32_t component_count) 32 static Array* Alloc(Thread* self, Class* array_class, int32_t component_count, 102 static PrimitiveArray<T>* Alloc(Thread* self, size_t length)
|
D | object_array-inl.h | 32 inline ObjectArray<T>* ObjectArray<T>::Alloc(Thread* self, Class* object_array_class, int32_t lengt… in Alloc() function 33 Array* array = Array::Alloc(self, object_array_class, length, sizeof(Object*)); in Alloc() 137 ObjectArray<T>* new_array = Alloc(self, GetClass(), new_length); in CopyOf()
|
D | string.h | 79 static String* Alloc(Thread* self, Class* java_lang_String, int32_t utf16_length) 82 static String* Alloc(Thread* self, Class* java_lang_String, CharArray* array)
|
D | stack_trace_element.cc | 40 StackTraceElement* StackTraceElement::Alloc(Thread* self, in Alloc() function in art::mirror::StackTraceElement
|
D | stack_trace_element.h | 51 static StackTraceElement* Alloc(Thread* self,
|
D | object_array.h | 28 static ObjectArray<T>* Alloc(Thread* self, Class* object_array_class, int32_t length)
|
D | object_test.cc | 138 SirtRef<Array> a(soa.Self(), Array::Alloc(soa.Self(), c, 1)); in TEST_F() 142 a.reset(Array::Alloc(soa.Self(), c, 1)); in TEST_F() 146 a.reset(Array::Alloc(soa.Self(), c, 1)); in TEST_F() 155 ArrayT* a = ArrayT::Alloc(soa.Self(), 2); in TestPrimitiveArray() 226 SirtRef<IntArray> dims(soa.Self(), IntArray::Alloc(soa.Self(), 1)); in TEST_F() 239 dims.reset(IntArray::Alloc(soa.Self(), 2)); in TEST_F() 291 SirtRef<CharArray> char_array(soa.Self(), CharArray::Alloc(soa.Self(), 0)); in TEST_F() 484 Object* array = ObjectArray<Object>::Alloc(soa.Self(), Object_array_class, 1); in TEST_F()
|
/art/runtime/ |
D | class_linker-inl.h | 98 return mirror::ObjectArray<T>::Alloc(self, GetClassRoot(kObjectArrayClass), length); in AllocObjectArray() 103 return mirror::ObjectArray<mirror::Class>::Alloc(self, GetClassRoot(kClassArrayClass), length); in AllocClassArray() 108 return mirror::ObjectArray<mirror::String>::Alloc(self, GetClassRoot(kJavaLangStringArrayClass), in AllocStringArray() 114 return mirror::ObjectArray<mirror::ArtMethod>::Alloc(self, in AllocArtMethodArray() 120 … mirror::IfTable::Alloc(self, GetClassRoot(kObjectArrayClass), ifcount * mirror::IfTable::kMax)); in AllocIfTable() 125 return mirror::ObjectArray<mirror::ArtField>::Alloc(self, in AllocArtFieldArray()
|
D | utils_test.cc | 99 SirtRef<mirror::ShortArray> a(soa.Self(), mirror::ShortArray::Alloc(soa.Self(), 2)); in TEST_F() 104 mirror::Object* o = mirror::ObjectArray<mirror::String>::Alloc(soa.Self(), c, 0); in TEST_F() 114 mirror::Object* o = mirror::ObjectArray<mirror::String>::Alloc(soa.Self(), c, 0); in TEST_F() 123 mirror::Object* o = mirror::ObjectArray<mirror::String>::Alloc(soa.Self(), c, 0); in TEST_F()
|
/art/runtime/gc/space/ |
D | space_test.cc | 98 mirror::Object* ptr1 = space->Alloc(self, 1 * MB, &dummy); in TEST_F() 102 mirror::Object* ptr2 = space->Alloc(self, 8 * MB, &dummy); in TEST_F() 112 mirror::Object* ptr4 = space->Alloc(self, 8 * MB, &dummy); in TEST_F() 135 space->Alloc(self, 1U * MB, &dummy); in TEST_F() 142 ptr1 = space->Alloc(self, 1 * MB, &dummy); in TEST_F() 146 ptr2 = space->Alloc(self, 8 * MB, &dummy); in TEST_F() 170 mirror::Object* ptr1 = space->Alloc(self, 1 * MB, &dummy); in TEST_F() 174 mirror::Object* ptr2 = space->Alloc(self, 8 * MB, &dummy); in TEST_F() 184 mirror::Object* ptr4 = space->Alloc(self, 8 * MB, &dummy); in TEST_F() 225 mirror::Object* obj = los->Alloc(Thread::Current(), request_size, &allocation_size); in TEST_F() [all …]
|
D | large_object_space.h | 86 mirror::Object* Alloc(Thread* self, size_t num_bytes, size_t* bytes_allocated); 112 mirror::Object* Alloc(Thread* self, size_t num_bytes, size_t* bytes_allocated);
|
/art/compiler/dex/ |
D | growable_array.h | 70 return arena->Alloc(sizeof(GrowableArray::Iterator), ArenaAllocator::kAllocGrowableArray); in new() 84 elem_list_ = static_cast<T*>(arena_->Alloc(sizeof(T) * init_length, in arena_() 98 T* new_array = static_cast<T*>(arena_->Alloc(sizeof(T) * target_length, in Resize() 156 return arena->Alloc(sizeof(GrowableArray<T>), ArenaAllocator::kAllocGrowableArray); in new()
|
D | arena_bit_vector.h | 70 return arena->Alloc(sizeof(ArenaBitVector::Iterator), in new() 87 return arena->Alloc(sizeof(ArenaBitVector), ArenaAllocator::kAllocGrowableBitMap); in new()
|
D | arena_bit_vector.cc | 38 storage_(static_cast<uint32_t*>(arena_->Alloc(storage_size_ * sizeof(uint32_t), in ArenaBitVector() 71 static_cast<uint32_t*>(arena_->Alloc(new_size * sizeof(uint32_t), in SetBit()
|
D | mir_dataflow.cc | 957 mir->ssa_rep->uses = static_cast<int*>(arena_->Alloc(sizeof(int) * num_uses, in DataFlowSSAFormat35C() 960 mir->ssa_rep->fp_use = static_cast<bool*>(arena_->Alloc(sizeof(bool) * num_uses, in DataFlowSSAFormat35C() 975 mir->ssa_rep->uses = static_cast<int*>(arena_->Alloc(sizeof(int) * num_uses, in DataFlowSSAFormat3RC() 978 mir->ssa_rep->fp_use = static_cast<bool*>(arena_->Alloc(sizeof(bool) * num_uses, in DataFlowSSAFormat3RC() 994 static_cast<struct SSARepresentation *>(arena_->Alloc(sizeof(SSARepresentation), in DoSSAConversion() 1044 mir->ssa_rep->uses = static_cast<int*>(arena_->Alloc(sizeof(int) * num_uses, in DoSSAConversion() 1046 mir->ssa_rep->fp_use = static_cast<bool*>(arena_->Alloc(sizeof(bool) * num_uses, in DoSSAConversion() 1061 mir->ssa_rep->defs = static_cast<int*>(arena_->Alloc(sizeof(int) * num_defs, in DoSSAConversion() 1063 mir->ssa_rep->fp_def = static_cast<bool*>(arena_->Alloc(sizeof(bool) * num_defs, in DoSSAConversion() 1112 static_cast<int*>(arena_->Alloc(sizeof(int) * cu_->num_dalvik_registers, in DoSSAConversion() [all …]
|
D | ssa_transformation.cc | 139 (arena_->Alloc(sizeof(ArenaBitVector *) * num_registers, in ComputeDefBlockMatrix() 387 i_dom_list_ = static_cast<int*>(arena_->Alloc(sizeof(int) * num_reachable_blocks, in ComputeDominators() 567 static_cast<MIR*>(arena_->Alloc(sizeof(MIR), ArenaAllocator::kAllocDFInfo)); in InsertPhiNodes() 613 static_cast<int*>(arena_->Alloc(sizeof(int) * num_uses, ArenaAllocator::kAllocDFInfo)); in InsertPhiNodeOperands() 615 static_cast<bool*>(arena_->Alloc(sizeof(bool) * num_uses, ArenaAllocator::kAllocDFInfo)); in InsertPhiNodeOperands() 617 static_cast<int*>(arena_->Alloc(sizeof(int) * num_uses, ArenaAllocator::kAllocDFInfo)); in InsertPhiNodeOperands() 644 static_cast<int*>(arena_->Alloc(map_size, ArenaAllocator::kAllocDalvikToSSAMap)); in DoDFSPreOrderSSARename()
|
D | mir_graph.cc | 402 static_cast<SuccessorBlockInfo*>(arena_->Alloc(sizeof(SuccessorBlockInfo), in ProcessCanSwitch() 447 (arena_->Alloc(sizeof(SuccessorBlockInfo), ArenaAllocator::kAllocSuccessor)); in ProcessCanThrow() 493 MIR* new_insn = static_cast<MIR*>(arena_->Alloc(sizeof(MIR), ArenaAllocator::kAllocMIR)); in ProcessCanThrow() 574 static_cast<bool*>(arena_->Alloc(sizeof(bool) * num_patterns, ArenaAllocator::kAllocMisc)); in InlineMethod() 579 MIR *insn = static_cast<MIR *>(arena_->Alloc(sizeof(MIR), ArenaAllocator::kAllocMIR)); in InlineMethod() 1004 ret = static_cast<char*>(arena_->Alloc(length, ArenaAllocator::kAllocDFInfo)); in GetDalvikDisassembly() 1117 CallInfo* info = static_cast<CallInfo*>(arena_->Alloc(sizeof(CallInfo), in NewMemCallInfo() 1129 (arena_->Alloc(sizeof(RegLocation) * info->num_arg_words, ArenaAllocator::kAllocMisc)); in NewMemCallInfo() 1143 BasicBlock* bb = static_cast<BasicBlock*>(arena_->Alloc(sizeof(BasicBlock), in NewMemBB()
|
D | arena_allocator.h | 105 void* Alloc(size_t bytes, ArenaAllocKind kind) ALWAYS_INLINE { in Alloc() function
|
/art/compiler/dex/quick/mips/ |
D | call_mips.cc | 70 static_cast<SwitchTable*>(arena_->Alloc(sizeof(SwitchTable), ArenaAllocator::kAllocData)); in GenSparseSwitch() 75 static_cast<LIR**>(arena_->Alloc(elements * sizeof(LIR*), ArenaAllocator::kAllocLIR)); in GenSparseSwitch() 149 static_cast<SwitchTable*>(arena_->Alloc(sizeof(SwitchTable), ArenaAllocator::kAllocData)); in GenPackedSwitch() 153 tab_rec->targets = static_cast<LIR**>(arena_->Alloc(size * sizeof(LIR*), in GenPackedSwitch() 229 reinterpret_cast<FillArrayData*>(arena_->Alloc(sizeof(FillArrayData), in GenFillArrayData()
|
/art/compiler/dex/quick/x86/ |
D | call_x86.cc | 77 static_cast<SwitchTable *>(arena_->Alloc(sizeof(SwitchTable), ArenaAllocator::kAllocData)); in GenPackedSwitch() 81 tab_rec->targets = static_cast<LIR**>(arena_->Alloc(size * sizeof(LIR*), in GenPackedSwitch() 133 static_cast<FillArrayData*>(arena_->Alloc(sizeof(FillArrayData), ArenaAllocator::kAllocData)); in GenFillArrayData()
|
/art/runtime/gc/ |
D | heap_test.cc | 49 mirror::ObjectArray<mirror::Object>::Alloc(soa.Self(), c, 2048)); in TEST_F()
|
/art/compiler/dex/quick/arm/ |
D | call_arm.cc | 319 static_cast<SwitchTable*>(arena_->Alloc(sizeof(SwitchTable), ArenaAllocator::kAllocData)); in GenSparseSwitch() 323 tab_rec->targets = static_cast<LIR**>(arena_->Alloc(size * sizeof(LIR*), in GenSparseSwitch() 367 static_cast<SwitchTable*>(arena_->Alloc(sizeof(SwitchTable), ArenaAllocator::kAllocData)); in GenPackedSwitch() 372 static_cast<LIR**>(arena_->Alloc(size * sizeof(LIR*), ArenaAllocator::kAllocLIR)); in GenPackedSwitch() 420 static_cast<FillArrayData*>(arena_->Alloc(sizeof(FillArrayData), ArenaAllocator::kAllocData)); in GenFillArrayData()
|
/art/runtime/native/ |
D | java_lang_reflect_Array.cc | 61 mirror::Array* new_array = mirror::Array::Alloc(soa.Self(), array_class, length); in Array_createObjectArray()
|