/art/libartbase/base/ |
D | arena_bit_vector.cc | 32 explicit ArenaBitVectorAllocatorKindImpl([[maybe_unused]] ArenaAllocKind kind) {} in ArenaBitVectorAllocatorKindImpl() argument 41 explicit ArenaBitVectorAllocatorKindImpl(ArenaAllocKind kind) : kind_(kind) { } in ArenaBitVectorAllocatorKindImpl() argument 56 static ArenaBitVectorAllocator* Create(ArenaAlloc* allocator, ArenaAllocKind kind) { in Create() argument 57 void* storage = allocator->template Alloc<ArenaBitVectorAllocator>(kind); in Create() 58 return new (storage) ArenaBitVectorAllocator(allocator, kind); in Create() 73 ArenaBitVectorAllocator(ArenaAlloc* allocator, ArenaAllocKind kind) in ArenaBitVectorAllocator() argument 74 : ArenaBitVectorAllocatorKind(kind), allocator_(allocator) { } in ArenaBitVectorAllocator() 84 ArenaAllocKind kind) in ArenaBitVector() argument 87 ArenaBitVectorAllocator<ArenaAllocator>::Create(allocator, kind)) { in ArenaBitVector() 94 ArenaAllocKind kind) in ArenaBitVector() argument [all …]
|
D | scoped_arena_allocator.h | 97 void* Alloc(size_t bytes, ArenaAllocKind kind) ALWAYS_INLINE { in Alloc() argument 99 return AllocWithMemoryTool(bytes, kind); in Alloc() 107 CurrentStats()->RecordAlloc(bytes, kind); in Alloc() 119 void* AllocWithMemoryTool(size_t bytes, ArenaAllocKind kind); 153 void* Alloc(size_t bytes, ArenaAllocKind kind = kArenaAllocMisc) ALWAYS_INLINE { 155 return arena_stack_->Alloc(bytes, kind); 159 T* Alloc(ArenaAllocKind kind = kArenaAllocMisc) { 160 return AllocArray<T>(1, kind); 164 T* AllocArray(size_t length, ArenaAllocKind kind = kArenaAllocMisc) { 165 return static_cast<T*>(Alloc(length * sizeof(T), kind)); [all …]
|
D | arena_bit_vector.h | 39 ArenaAllocKind kind = kArenaAllocGrowableBitMap) { 40 void* storage = allocator->template Alloc<ArenaBitVector>(kind); 41 return new (storage) ArenaBitVector(allocator, start_bits, expandable, kind); 47 ArenaAllocKind kind = kArenaAllocGrowableBitMap); 51 ArenaAllocKind kind = kArenaAllocGrowableBitMap);
|
D | arena_allocator.h | 124 void RecordAlloc([[maybe_unused]] size_t bytes, [[maybe_unused]] ArenaAllocKind kind) {} in RecordAlloc() argument 140 void RecordAlloc(size_t bytes, ArenaAllocKind kind); 266 ArenaAllocatorAdapter<void> Adapter(ArenaAllocKind kind = kArenaAllocSTL); 269 void* Alloc(size_t bytes, ArenaAllocKind kind = kArenaAllocMisc) ALWAYS_INLINE { 271 return AllocWithMemoryTool(bytes, kind); 274 ArenaAllocatorStats::RecordAlloc(bytes, kind); 285 void* AllocAlign16(size_t bytes, ArenaAllocKind kind = kArenaAllocMisc) ALWAYS_INLINE { 289 return AllocWithMemoryToolAlign16(bytes, kind); 293 ArenaAllocatorStats::RecordAlloc(bytes, kind); 309 ArenaAllocKind kind = kArenaAllocMisc) ALWAYS_INLINE { [all …]
|
D | arena_containers.h | 112 explicit ArenaAllocatorAdapterKindImpl([[maybe_unused]] ArenaAllocKind kind) {} in ArenaAllocatorAdapterKindImpl() argument 121 explicit ArenaAllocatorAdapterKindImpl(ArenaAllocKind kind) : kind_(kind) { } in ArenaAllocatorAdapterKindImpl() argument 145 ArenaAllocKind kind = kArenaAllocSTL) 146 : ArenaAllocatorAdapterKind(kind), in ArenaAllocatorAdapterKind() argument 181 ArenaAllocatorAdapter(ArenaAllocator* allocator, ArenaAllocKind kind) in ArenaAllocatorAdapter() argument 182 : ArenaAllocatorAdapterKind(kind), in ArenaAllocatorAdapter() 242 inline ArenaAllocatorAdapter<void> ArenaAllocator::Adapter(ArenaAllocKind kind) { in Adapter() argument 243 return ArenaAllocatorAdapter<void>(this, kind); in Adapter()
|
/art/runtime/ |
D | linear_alloc.h | 43 TrackingHeader(size_t size, LinearAllocKind kind, bool is_16_aligned = false) 44 : kind_(kind), size_(dchecked_integral_cast<uint32_t>(size)) { in kind_() argument 60 void SetKind(LinearAllocKind kind) { kind_ = kind; } in SetKind() argument 81 void* Alloc(Thread* self, size_t size, LinearAllocKind kind) REQUIRES(!lock_); 82 void* AllocAlign16(Thread* self, size_t size, LinearAllocKind kind) REQUIRES(!lock_); 85 void* Realloc(Thread* self, void* ptr, size_t old_size, size_t new_size, LinearAllocKind kind) 90 T* AllocArray(Thread* self, size_t elements, LinearAllocKind kind) REQUIRES(!lock_) { in AllocArray() argument 91 return reinterpret_cast<T*>(Alloc(self, elements * sizeof(T), kind)); in AllocArray()
|
D | deoptimization_kind.h | 38 inline const char* GetDeoptimizationKindName(DeoptimizationKind kind) { in GetDeoptimizationKindName() argument 39 switch (kind) { in GetDeoptimizationKindName() 50 LOG(FATAL) << "Unexpected kind " << static_cast<size_t>(kind); in GetDeoptimizationKindName() 54 std::ostream& operator<<(std::ostream& os, const DeoptimizationKind& kind);
|
D | linear_alloc-inl.h | 65 LinearAllocKind kind) { in Realloc() argument 72 DCHECK_EQ(header->GetKind(), kind); in Realloc() 81 new (ret) TrackingHeader(new_size, kind); in Realloc() 89 inline void* LinearAlloc::Alloc(Thread* self, size_t size, LinearAllocKind kind) { in Alloc() argument 93 TrackingHeader* storage = new (allocator_.Alloc(size)) TrackingHeader(size, kind); in Alloc() 101 inline void* LinearAlloc::AllocAlign16(Thread* self, size_t size, LinearAllocKind kind) { in AllocAlign16() argument 124 new (ptr) TrackingHeader(required_size, kind, /*is_16_aligned=*/true); in AllocAlign16()
|
/art/test/2272-checker-codegen-honor-write-barrier-kind/ |
D | Android.bp | 3 // Build rules for ART run-test `2272-checker-codegen-honor-write-barrier-kind`. 16 name: "art-run-test-2272-checker-codegen-honor-write-barrier-kind", 21 ":art-run-test-2272-checker-codegen-honor-write-barrier-kind-expected-stdout", 22 ":art-run-test-2272-checker-codegen-honor-write-barrier-kind-expected-stderr", 31 name: "art-run-test-2272-checker-codegen-honor-write-barrier-kind-expected-stdout", 32 out: ["art-run-test-2272-checker-codegen-honor-write-barrier-kind-expected-stdout.txt"], 39 name: "art-run-test-2272-checker-codegen-honor-write-barrier-kind-expected-stderr", 40 out: ["art-run-test-2272-checker-codegen-honor-write-barrier-kind-expected-stderr.txt"],
|
/art/runtime/entrypoints/quick/ |
D | quick_deoptimization_entrypoints.cc | 29 DeoptimizationKind kind, in artDeoptimizeImpl() argument 33 Runtime::Current()->IncrementDeoptimizationCount(kind); in artDeoptimizeImpl() 47 exception_handler.DeoptimizeSingleFrame(kind); in artDeoptimizeImpl() 69 extern "C" NO_RETURN void artDeoptimizeFromCompiledCode(DeoptimizationKind kind, Thread* self) in artDeoptimizeFromCompiledCode() argument 82 artDeoptimizeImpl(self, kind, true, /* skip_method_exit_callbacks= */ false); in artDeoptimizeFromCompiledCode()
|
/art/tools/dexfuzz/src/dexfuzz/rawdex/ |
D | FieldIdItem.java | 43 public void incrementIndex(IndexUpdateKind kind, int insertedIdx) { in incrementIndex() argument 44 if (kind == IndexUpdateKind.TYPE_ID && classIdx >= insertedIdx) { in incrementIndex() 47 if (kind == IndexUpdateKind.TYPE_ID && typeIdx >= insertedIdx) { in incrementIndex() 50 if (kind == IndexUpdateKind.STRING_ID && nameIdx >= insertedIdx) { in incrementIndex()
|
D | MethodIdItem.java | 43 public void incrementIndex(IndexUpdateKind kind, int insertedIdx) { in incrementIndex() argument 44 if (kind == IndexUpdateKind.TYPE_ID && classIdx >= insertedIdx) { in incrementIndex() 47 if (kind == IndexUpdateKind.PROTO_ID && protoIdx >= insertedIdx) { in incrementIndex() 50 if (kind == IndexUpdateKind.STRING_ID && nameIdx >= insertedIdx) { in incrementIndex()
|
D | AnnotationElement.java | 38 public void incrementIndex(IndexUpdateKind kind, int insertedIdx) { in incrementIndex() argument 39 if (kind == IndexUpdateKind.STRING_ID && nameIdx >= insertedIdx) { in incrementIndex() 42 value.incrementIndex(kind, insertedIdx); in incrementIndex()
|
D | ClassDefItem.java | 66 public void incrementIndex(IndexUpdateKind kind, int insertedIdx) { in incrementIndex() argument 67 if (kind == IndexUpdateKind.TYPE_ID && classIdx >= insertedIdx) { in incrementIndex() 70 if (kind == IndexUpdateKind.TYPE_ID && superclassIdx >= insertedIdx) { in incrementIndex() 73 if (kind == IndexUpdateKind.STRING_ID && sourceFileIdx >= insertedIdx) { in incrementIndex()
|
D | ProtoIdItem.java | 43 public void incrementIndex(IndexUpdateKind kind, int insertedIdx) { in incrementIndex() argument 44 if (kind == IndexUpdateKind.STRING_ID && shortyIdx >= insertedIdx) { in incrementIndex() 47 if (kind == IndexUpdateKind.TYPE_ID && returnTypeIdx >= insertedIdx) { in incrementIndex()
|
D | EncodedAnnotation.java | 50 public void incrementIndex(IndexUpdateKind kind, int insertedIdx) { in incrementIndex() argument 51 if (kind == IndexUpdateKind.TYPE_ID && typeIdx >= insertedIdx) { in incrementIndex() 56 element.incrementIndex(kind, insertedIdx); in incrementIndex()
|
D | AnnotationsDirectoryItem.java | 84 public void incrementIndex(IndexUpdateKind kind, int insertedIdx) { in incrementIndex() argument 87 fieldAnnotation.incrementIndex(kind, insertedIdx); in incrementIndex() 92 methodAnnotation.incrementIndex(kind, insertedIdx); in incrementIndex() 97 parameterAnnotation.incrementIndex(kind, insertedIdx); in incrementIndex()
|
D | RawDexFile.java | 352 public void incrementIndex(IndexUpdateKind kind, int insertedIdx) { in incrementIndex() argument 354 typeId.incrementIndex(kind, insertedIdx); in incrementIndex() 357 protoId.incrementIndex(kind, insertedIdx); in incrementIndex() 360 fieldId.incrementIndex(kind, insertedIdx); in incrementIndex() 363 methodId.incrementIndex(kind, insertedIdx); in incrementIndex() 366 classDef.incrementIndex(kind, insertedIdx); in incrementIndex() 369 classData.incrementIndex(kind, insertedIdx); in incrementIndex() 373 typeList.incrementIndex(kind, insertedIdx); in incrementIndex() 377 codeItem.incrementIndex(kind, insertedIdx); in incrementIndex() 381 annotationsDirectoryItem.incrementIndex(kind, insertedIdx); in incrementIndex() [all …]
|
D | EncodedValue.java | 91 public void incrementIndex(IndexUpdateKind kind, int insertedIdx) { in incrementIndex() argument 93 encodedArray.incrementIndex(kind, insertedIdx); in incrementIndex() 95 encodedAnnotation.incrementIndex(kind, insertedIdx); in incrementIndex()
|
D | TypeItem.java | 35 public void incrementIndex(IndexUpdateKind kind, int insertedIdx) { in incrementIndex() argument 36 if (kind == IndexUpdateKind.TYPE_ID && typeIdx >= insertedIdx) { in incrementIndex()
|
/art/test/979-const-method-handle/src/ |
D | Main.java | 109 kind = ConstantMethodHandle.INVOKE_STATIC, 119 kind = ConstantMethodHandle.STATIC_PUT, 129 kind = ConstantMethodHandle.STATIC_GET, 139 kind = ConstantMethodHandle.STATIC_GET, 149 kind = ConstantMethodHandle.STATIC_PUT, 159 kind = ConstantMethodHandle.INSTANCE_GET, 171 kind = ConstantMethodHandle.INSTANCE_PUT, 181 kind = ConstantMethodHandle.INVOKE_VIRTUAL, 191 kind = ConstantMethodHandle.INVOKE_VIRTUAL, 201 kind = ConstantMethodHandle.STATIC_GET,
|
/art/test/523-checker-can-throw-regression/smali/ |
D | Test.smali | 21 ## CHECK: TryBoundary kind:entry 22 ## CHECK: TryBoundary kind:entry 23 ## CHECK-NOT: TryBoundary kind:entry 26 ## CHECK: TryBoundary kind:exit 27 ## CHECK: TryBoundary kind:exit 28 ## CHECK-NOT: TryBoundary kind:exit
|
/art/runtime/mirror/ |
D | method_handle_impl.cc | 34 Kind kind, in Initialize() argument 41 SetField32<false>(HandleKindOffset(), static_cast<uint32_t>(kind)); in Initialize() 47 MethodHandle::Kind kind, in Create() argument 53 mh->Initialize(art_field_or_method, kind, method_type); in Create()
|
/art/test/543-checker-dce-trycatch/smali/ |
D | TestCase.smali | 33 ## CHECK: TryBoundary kind:entry 34 ## CHECK: TryBoundary kind:entry 35 ## CHECK-NOT: TryBoundary kind:entry 41 ## CHECK: TryBoundary kind:entry 42 ## CHECK-NOT: TryBoundary kind:entry 78 ## CHECK: TryBoundary kind:exit 79 ## CHECK: TryBoundary kind:exit 80 ## CHECK-NOT: TryBoundary kind:exit 86 ## CHECK: TryBoundary kind:exit 87 ## CHECK-NOT: TryBoundary kind:exit [all …]
|
/art/test/522-checker-regression-monitor-exit/smali/ |
D | Test.smali | 21 ## CHECK: MonitorOperation [<<Param:l\d+>>] kind:enter 22 ## CHECK: MonitorOperation [<<Param>>] kind:exit 25 ## CHECK: MonitorOperation [<<Param:l\d+>>] kind:enter 26 ## CHECK: MonitorOperation [<<Param>>] kind:exit
|