Home
last modified time | relevance | path

Searched refs:Alloc (Results 26 – 50 of 118) sorted by relevance

12345

/art/runtime/mirror/
Dclass_ext.cc86 ObjectArray<DexCache>::Alloc(self, in ExtendObsoleteArrays()
117 ObjPtr<ClassExt> ClassExt::Alloc(Thread* self) { in Alloc() function in art::mirror::ClassExt
Dstack_trace_element.cc30 ObjPtr<StackTraceElement> StackTraceElement::Alloc(Thread* self, in Alloc() function in art::mirror::StackTraceElement
Dstack_trace_element.h42 static ObjPtr<StackTraceElement> Alloc(Thread* self,
Darray-alloc-inl.h119 inline ObjPtr<Array> Array::Alloc(Thread* self, in Alloc() function
174 Handle<PrimitiveArray<T>> arr(hs.NewHandle(PrimitiveArray<T>::Alloc(self, length))); in AllocateAndFill()
/art/test/616-cha-unloading/
Dcha_unload.cc83 alloc->Alloc(Thread::Current(), 1); in Java_Main_reuseArenaOfMethod()
/art/runtime/gc/
Dheap-inl.h318 ret = rosalloc_space_->Alloc(self, alloc_size, bytes_allocated, usable_size, in TryToAllocate()
343 ret = dlmalloc_space_->Alloc(self, in TryToAllocate()
359 ret = non_moving_space_->Alloc(self, in TryToAllocate()
367 ret = large_object_space_->Alloc(self, in TryToAllocate()
Dheap_test.cc75 mirror::ObjectArray<mirror::Object>::Alloc(soa.Self(), c.Get(), 2048))); in TEST_F()
/art/runtime/entrypoints/
Dentrypoint_utils-inl.h180 return klass->Alloc</*kInstrumented=*/true>( in AllocObjectFromCode()
185 return klass->Alloc<kInstrumented>(self, allocator_type); in AllocObjectFromCode()
205 return klass->Alloc</*kInstrumented=*/true, mirror::Class::AddFinalizer::kNoAddFinalizer>( in AllocObjectFromCodeResolved()
209 return klass->Alloc<kInstrumented, in AllocObjectFromCodeResolved()
221 return klass->Alloc<kInstrumented, in AllocObjectFromCodeInitialized()
279 return mirror::Array::Alloc</*kInstrumented=*/true>(self, in AllocArrayFromCode()
285 return mirror::Array::Alloc<kInstrumented>(self, in AllocArrayFromCode()
305 return mirror::Array::Alloc<kInstrumented>(self, in AllocArrayFromCodeResolved()
/art/libartbase/base/
Dbit_vector.cc47 static_cast<uint32_t*>(allocator->Alloc(BitsToWords(start_bits) * kWordBytes))) { in BitVector()
57 static_cast<uint32_t*>(allocator->Alloc(src.storage_size_ * kWordBytes))) { in BitVector()
356 static_cast<uint32_t*>(allocator_->Alloc(new_size * kWordBytes)); in EnsureSize()
Dhash_set.h97 template <class T, class EmptyFn, class HashFn, class Pred, class Alloc> friend class HashSet;
170 class Alloc = std::allocator<T>>
174 using allocator_type = Alloc;
755 Alloc allocfn_; // Allocator function.
773 template <class T, class EmptyFn, class HashFn, class Pred, class Alloc>
774 void swap(HashSet<T, EmptyFn, HashFn, Pred, Alloc>& lhs, in swap()
775 HashSet<T, EmptyFn, HashFn, Pred, Alloc>& rhs) { in swap()
/art/runtime/native/
Djava_lang_reflect_Executable.cc50 mirror::ObjectArray<mirror::Object>::Alloc(soa.Self(), annotation_array_class, 0); in Executable_getDeclaredAnnotationsNative()
116 mirror::ObjectArray<mirror::Object>::Alloc( in Executable_getParameterAnnotationsNative()
133 mirror::ObjectArray<mirror::Object>::Alloc(soa.Self(), annotation_array_class, 0)); in Executable_getParameterAnnotationsNative()
203 mirror::ObjectArray<mirror::Object>::Alloc(self, in Executable_getParameters0()
356 mirror::ObjectArray<mirror::Class>::Alloc(soa.Self(), class_array_class, num_params)); in Executable_getParameterTypesInternal()
Djava_lang_reflect_Array.cc69 ObjPtr<mirror::Array> new_array = mirror::ObjectArray<mirror::Object>::Alloc( in Array_createObjectArray()
Djava_lang_reflect_Method.cc75 mirror::ObjectArray<mirror::Class>::Alloc(soa.Self(), class_array_class, 0); in Method_getExceptionTypes()
/art/runtime/gc/space/
Drosalloc_space-inl.h42 rosalloc_->Alloc<kThreadSafe>(self, num_bytes, &rosalloc_bytes_allocated, in AllocCommon()
Dmemory_tool_malloc_space.h37 mirror::Object* Alloc(Thread* self, size_t num_bytes, size_t* bytes_allocated,
Dspace_test.h67 mirror::Object* Alloc(space::MallocSpace* alloc_space, in Alloc() function
76 mirror::Object* obj = alloc_space->Alloc(self, in Alloc()
196 object.Assign(Alloc(space, self, alloc_size, &bytes_allocated, nullptr, in SizeFootPrintGrowthLimitAndTrimBody()
294 large_object.Assign(Alloc(space, self, three_quarters_space, &bytes_allocated, nullptr, in SizeFootPrintGrowthLimitAndTrimBody()
Dzygote_space.h51 mirror::Object* Alloc(Thread* self, size_t num_bytes, size_t* bytes_allocated,
Dbump_pointer_space-inl.h28 inline mirror::Object* BumpPointerSpace::Alloc(Thread*, size_t num_bytes, size_t* bytes_allocated, in Alloc() function
Dmemory_tool_malloc_space-inl.h128 kUseObjSizeForUsable>::Alloc( in Alloc() function
137 void* obj_with_rdz = S::Alloc(self, in Alloc()
/art/runtime/jit/
Ddebugger_interface.cc218 static const void* Alloc(size_t size) { return malloc(size); } in Alloc() function
227 static const void* Alloc(size_t size) { return Memory()->AllocateData(size); } in Alloc() function
311 const void* memory = NativeInfo::Alloc(sizeof(JITCodeEntry)); in CreateJITCodeEntryInternal()
322 const uint8_t* copy = reinterpret_cast<const uint8_t*>(NativeInfo::Alloc(symfile.size())); in CreateJITCodeEntryInternal()
465 reinterpret_cast<const JITCodeEntry*>(JitNativeInfo::Alloc(sizeof(JITCodeEntry))); in NativeDebugInfoPreFork()
/art/dt_fd_forward/
Ddt_fd_forward.h100 void* Alloc(size_t data);
/art/test/1985-structural-redefine-stack-scope/
Dstack_scope.cc61 hs.NewHandle(mirror::ObjectArray<mirror::Class>::Alloc( in Java_Main_NativeFieldScopeCheck()
/art/compiler/utils/
Dswap_space.h39 void* Alloc(size_t size) REQUIRES(!lock_);
185 return reinterpret_cast<T*>(swap_space_->Alloc(n * sizeof(T)));
/art/compiler/optimizing/
Doptimizing_unit_test.h132 const uint8_t* dex_data = reinterpret_cast<uint8_t*>(allocator->Alloc(kDexDataSize));
162 void* aligned_data = GetAllocator()->Alloc(code_item_size);
/art/test/004-ThreadStress/src-art/
DMain.java131 private final static class Alloc extends Operation { class in Main
332 frequencyMap.put(new Alloc(), 0.2); // 40/200 in createDefaultFrequencyMap()
349 frequencyMap.put(new Alloc(), 0.575); // 115/200 in createAllocFrequencyMap()
393 op = new Alloc(); in updateFrequencyMap()

12345