/art/test/175-alloc-big-bignums/ |
D | Android.bp | 3 // Build rules for ART run-test `175-alloc-big-bignums`. 16 name: "art-run-test-175-alloc-big-bignums", 21 ":art-run-test-175-alloc-big-bignums-expected-stdout", 22 ":art-run-test-175-alloc-big-bignums-expected-stderr", 28 name: "art-run-test-175-alloc-big-bignums-expected-stdout", 29 out: ["art-run-test-175-alloc-big-bignums-expected-stdout.txt"], 36 name: "art-run-test-175-alloc-big-bignums-expected-stderr", 37 out: ["art-run-test-175-alloc-big-bignums-expected-stderr.txt"],
|
/art/test/1900-track-alloc/ |
D | Android.bp | 3 // Build rules for ART run-test `1900-track-alloc`. 16 name: "art-run-test-1900-track-alloc", 21 ":art-run-test-1900-track-alloc-expected-stdout", 22 ":art-run-test-1900-track-alloc-expected-stderr", 28 name: "art-run-test-1900-track-alloc-expected-stdout", 29 out: ["art-run-test-1900-track-alloc-expected-stdout.txt"], 36 name: "art-run-test-1900-track-alloc-expected-stderr", 37 out: ["art-run-test-1900-track-alloc-expected-stderr.txt"],
|
/art/test/616-cha-unloading/ |
D | cha_unload.cc | 38 bool Visit(LinearAlloc* alloc) in Visit() argument 40 is_found = alloc->Contains(ptr_); in Visit() 80 std::unique_ptr<LinearAlloc> alloc(Runtime::Current()->CreateLinearAlloc()); in Java_Main_reuseArenaOfMethod() local 83 alloc->Alloc(Thread::Current(), 1); in Java_Main_reuseArenaOfMethod() 84 } while (!alloc->Contains(ptr)); in Java_Main_reuseArenaOfMethod()
|
/art/tools/jvmti-agents/ti-alloc-sample/ |
D | Android.bp | 28 name: "ti-alloc-sample-base-defaults", 43 name: "ti-alloc-sample-defaults", 48 defaults: ["ti-alloc-sample-base-defaults"], 52 name: "ti-alloc-sample-static-defaults", 54 defaults: ["ti-alloc-sample-base-defaults"], 68 defaults: ["ti-alloc-sample-static-defaults"], 73 defaults: ["ti-alloc-sample-defaults"], 80 "ti-alloc-sample-defaults",
|
/art/libartbase/base/ |
D | dchecked_vector.h | 60 explicit dchecked_vector(const allocator_type& alloc) in dchecked_vector() argument 61 : Base(alloc) { } in dchecked_vector() 62 explicit dchecked_vector(size_type n, const allocator_type& alloc = allocator_type()) 63 : Base(n, alloc) { } in Base() argument 66 const allocator_type& alloc = allocator_type()) 67 : Base(n, value, alloc) { } in Base() argument 71 const allocator_type& alloc = allocator_type()) 72 : Base(first, last, alloc) { } in Base() argument 75 dchecked_vector(const dchecked_vector& src, const allocator_type& alloc) in dchecked_vector() argument 76 : Base(src, alloc) { } in dchecked_vector() [all …]
|
D | bit_vector_test.cc | 91 MessyAllocator alloc; in TEST() local 92 BitVector bv(32, false, &alloc); in TEST() 346 SingleAllocator alloc; in TEST() local 348 BitVector bv(16, false, &alloc); in TEST() 350 EXPECT_EQ(alloc.FreeCount(), 0u); in TEST() 351 EXPECT_EQ(alloc.AllocCount(), 1u); in TEST() 358 EXPECT_EQ(alloc.FreeCount(), 0u); in TEST() 359 EXPECT_EQ(alloc.AllocCount(), 1u); in TEST() 361 EXPECT_EQ(alloc.FreeCount(), 1u); in TEST() 362 EXPECT_EQ(alloc.AllocCount(), 1u); in TEST() [all …]
|
D | hash_set.h | 196 explicit HashSet(const allocator_type& alloc) noexcept in HashSet() argument 197 : HashSet(kDefaultMinLoadFactor, kDefaultMaxLoadFactor, alloc) {} in HashSet() 201 HashSet(double min_load_factor, double max_load_factor, const allocator_type& alloc) noexcept in HashSet() argument 202 : HashSet(min_load_factor, max_load_factor, HashFn(), Pred(), alloc) {} in HashSet() 209 const allocator_type& alloc) noexcept in HashSet() argument 210 : HashSet(kDefaultMinLoadFactor, kDefaultMaxLoadFactor, hashfn, pred, alloc) {} in HashSet() 221 const allocator_type& alloc) noexcept in HashSet() argument 222 : allocfn_(alloc), in HashSet() 280 HashSet(value_type* buffer, size_t buffer_size, const allocator_type& alloc) in HashSet() argument 281 : HashSet(kDefaultMinLoadFactor, kDefaultMaxLoadFactor, buffer, buffer_size, alloc) {} in HashSet() [all …]
|
D | leb128.h | 367 explicit Leb128EncodingVector(const typename Vector::allocator_type& alloc) in Leb128EncodingVector() argument 368 : Vector(alloc), in Leb128EncodingVector()
|
D | allocator.h | 119 const TrackingAllocatorImpl<U, kTag>& alloc ATTRIBUTE_UNUSED) noexcept {} in TrackingAllocatorImpl()
|
/art/compiler/utils/ |
D | swap_space_test.cc | 42 SwapAllocator<void> alloc(use_file ? &pool : nullptr); in SwapTest() local 44 SwapVector<int32_t> v(alloc); in SwapTest() 51 SwapVector<int32_t> v2(alloc); in SwapTest() 58 SwapVector<int32_t> v3(alloc); in SwapTest()
|
D | dedupe_set_test.cc | 56 DedupeSetTestAlloc alloc; in TEST() local 61 DedupeSetTestHashFunc> deduplicator("test", alloc); in TEST()
|
D | dedupe_set-inl.h | 57 Shard(const Alloc& alloc, const std::string& lock_name) 58 : alloc_(alloc), 212 const Alloc& alloc) 217 shards_[i].reset(new Shard(alloc, oss.str()));
|
D | dedupe_set.h | 44 DedupeSet(const char* set_name, const Alloc& alloc);
|
/art/compiler/ |
D | compiled_method.cc | 116 SwapAllocator<CompiledMethod> alloc(storage->GetSwapSpaceAllocator()); in SwapAllocCompiledMethod() local 117 CompiledMethod* ret = alloc.allocate(1); in SwapAllocCompiledMethod() 118 alloc.construct(ret, in SwapAllocCompiledMethod() 129 SwapAllocator<CompiledMethod> alloc(storage->GetSwapSpaceAllocator()); in ReleaseSwapAllocatedCompiledMethod() local 130 alloc.destroy(m); in ReleaseSwapAllocatedCompiledMethod() 131 alloc.deallocate(m, 1); in ReleaseSwapAllocatedCompiledMethod()
|
/art/runtime/ |
D | monitor_pool_test.cc | 63 bool alloc; in TEST_F() local 65 alloc = true; in TEST_F() 67 alloc = false; in TEST_F() 70 alloc = r.next() % 2 == 0; in TEST_F() 73 if (alloc) { in TEST_F()
|
D | cha.cc | 83 const LinearAlloc* alloc, in ResetSingleImplementationInHierarchy() argument 88 DCHECK(alloc != nullptr); in ResetSingleImplementationInHierarchy() 99 if (!alloc->ContainsUnsafe(klass->GetMethodsPtr())) { in ResetSingleImplementationInHierarchy() 125 if (!alloc->ContainsUnsafe(method)) { in ResetSingleImplementationInHierarchy() 172 alloc->ContainsUnsafe(method->GetSingleImplementation(pointer_size)) && in ResetSingleImplementationInHierarchy()
|
D | cha.h | 120 const LinearAlloc* alloc,
|
/art/libelffile/elf/ |
D | xz_utils.cc | 103 ISzAlloc alloc; in XzDecompress() local 104 alloc.Alloc = [](ISzAllocPtr, size_t size) { return malloc(size); }; in XzDecompress() 105 alloc.Free = [](ISzAllocPtr, void* ptr) { return free(ptr); }; in XzDecompress() 106 XzUnpacker_Construct(state.get(), &alloc); in XzDecompress()
|
/art/libelffile/dwarf/ |
D | debug_line_opcode_writer.h | 225 const typename Vector::allocator_type& alloc = 228 opcodes_(alloc),
|
D | debug_info_entry_writer.h | 202 const typename Vector::allocator_type& alloc = 206 entries_(alloc),
|
D | debug_frame_opcode_writer.h | 303 const typename Vector::allocator_type& alloc = 307 opcodes_(alloc),
|
/art/runtime/jit/ |
D | jit_code_cache.cc | 177 void RemoveMethodsIn(const LinearAlloc& alloc) REQUIRES_SHARED(Locks::mutator_lock_) { in RemoveMethodsIn() argument 181 [&alloc](ArtMethod* method) { return !alloc.ContainsUnsafe(method); }); in RemoveMethodsIn() 359 static const void* FromAllocationToCode(const uint8_t* alloc) { in FromAllocationToCode() argument 361 return reinterpret_cast<const void*>(alloc + RoundUp(sizeof(OatQuickMethodHeader), alignment)); in FromAllocationToCode() 506 void JitCodeCache::RemoveMethodsIn(Thread* self, const LinearAlloc& alloc) { in RemoveMethodsIn() argument 520 it->second.RemoveMethodsIn(alloc); in RemoveMethodsIn() 530 if (alloc.ContainsUnsafe(it->second)) { in RemoveMethodsIn() 540 if (alloc.ContainsUnsafe(it->first)) { in RemoveMethodsIn() 550 if (alloc.ContainsUnsafe(info->GetMethod())) { in RemoveMethodsIn()
|
/art/compiler/optimizing/ |
D | execution_subgraph.cc | 277 ScopedArenaAllocator alloc(graph_->GetArenaStack()); in RecalculateExcludedCohort() local 278 ScopedArenaQueue<const HBasicBlock*> worklist(alloc.Adapter(kArenaAllocLSA)); in RecalculateExcludedCohort()
|
/art/runtime/mirror/ |
D | dex_cache.cc | 39 static T* AllocArray(Thread* self, LinearAlloc* alloc, size_t num) { in AllocArray() argument 43 return reinterpret_cast<T*>(alloc->AllocAlign16(self, RoundUp(num * sizeof(T), 16))); in AllocArray()
|
/art/openjdkjvmti/ |
D | jvmti_weak_table-inl.h | 252 explicit ReleasableContainer(const allocator_type& alloc, size_t reserve = 10) 253 : allocator(alloc),
|