Home
last modified time | relevance | path

Searched refs:kind (Results 1 – 25 of 143) sorted by relevance

123456

/art/libartbase/base/
Darena_bit_vector.cc31 explicit ArenaBitVectorAllocatorKindImpl(ArenaAllocKind kind ATTRIBUTE_UNUSED) {} in ArenaBitVectorAllocatorKindImpl()
40 explicit ArenaBitVectorAllocatorKindImpl(ArenaAllocKind kind) : kind_(kind) { } in ArenaBitVectorAllocatorKindImpl() argument
55 static ArenaBitVectorAllocator* Create(ArenaAlloc* allocator, ArenaAllocKind kind) { in Create() argument
56 void* storage = allocator->template Alloc<ArenaBitVectorAllocator>(kind); in Create()
57 return new (storage) ArenaBitVectorAllocator(allocator, kind); in Create()
72 ArenaBitVectorAllocator(ArenaAlloc* allocator, ArenaAllocKind kind) in ArenaBitVectorAllocator() argument
73 : ArenaBitVectorAllocatorKind(kind), allocator_(allocator) { } in ArenaBitVectorAllocator()
83 ArenaAllocKind kind) in ArenaBitVector() argument
86 ArenaBitVectorAllocator<ArenaAllocator>::Create(allocator, kind)) { in ArenaBitVector()
92 ArenaAllocKind kind) in ArenaBitVector() argument
[all …]
Darena_bit_vector.h38 ArenaAllocKind kind = kArenaAllocGrowableBitMap) {
39 void* storage = allocator->template Alloc<ArenaBitVector>(kind);
40 return new (storage) ArenaBitVector(allocator, start_bits, expandable, kind);
46 ArenaAllocKind kind = kArenaAllocGrowableBitMap);
50 ArenaAllocKind kind = kArenaAllocGrowableBitMap);
75 ArenaAllocKind kind = kArenaAllocGrowableBitMap)
80 kind)) {} in BaseBitVectorArray()
86 ArenaAllocKind kind = kArenaAllocGrowableBitMap)
91 kind)) {} in BaseBitVectorArray()
Dscoped_arena_allocator.h97 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 …]
Darena_allocator.h122 void RecordAlloc(size_t bytes ATTRIBUTE_UNUSED, ArenaAllocKind kind ATTRIBUTE_UNUSED) {} in RecordAlloc()
138 void RecordAlloc(size_t bytes, ArenaAllocKind kind);
265 ArenaAllocatorAdapter<void> Adapter(ArenaAllocKind kind = kArenaAllocSTL);
268 void* Alloc(size_t bytes, ArenaAllocKind kind = kArenaAllocMisc) ALWAYS_INLINE {
270 return AllocWithMemoryTool(bytes, kind);
273 ArenaAllocatorStats::RecordAlloc(bytes, kind);
284 void* AllocAlign16(size_t bytes, ArenaAllocKind kind = kArenaAllocMisc) ALWAYS_INLINE {
288 return AllocWithMemoryToolAlign16(bytes, kind);
292 ArenaAllocatorStats::RecordAlloc(bytes, kind);
308 ArenaAllocKind kind = kArenaAllocMisc) ALWAYS_INLINE {
[all …]
Darena_containers.h108 explicit ArenaAllocatorAdapterKindImpl(ArenaAllocKind kind ATTRIBUTE_UNUSED) {} in ArenaAllocatorAdapterKindImpl()
117 explicit ArenaAllocatorAdapterKindImpl(ArenaAllocKind kind) : kind_(kind) { } in ArenaAllocatorAdapterKindImpl() argument
141 ArenaAllocKind kind = kArenaAllocSTL)
142 : ArenaAllocatorAdapterKind(kind), in ArenaAllocatorAdapterKind() argument
177 ArenaAllocatorAdapter(ArenaAllocator* allocator, ArenaAllocKind kind) in ArenaAllocatorAdapter() argument
178 : ArenaAllocatorAdapterKind(kind), in ArenaAllocatorAdapter()
238 inline ArenaAllocatorAdapter<void> ArenaAllocator::Adapter(ArenaAllocKind kind) { in Adapter() argument
239 return ArenaAllocatorAdapter<void>(this, kind); in Adapter()
/art/runtime/entrypoints/quick/
Dquick_deoptimization_entrypoints.cc28 NO_RETURN static void artDeoptimizeImpl(Thread* self, DeoptimizationKind kind, bool single_frame) in artDeoptimizeImpl() argument
30 Runtime::Current()->IncrementDeoptimizationCount(kind); in artDeoptimizeImpl()
44 exception_handler.DeoptimizeSingleFrame(kind); in artDeoptimizeImpl()
66 extern "C" NO_RETURN void artDeoptimizeFromCompiledCode(DeoptimizationKind kind, Thread* self) in artDeoptimizeFromCompiledCode() argument
77 artDeoptimizeImpl(self, kind, true); in artDeoptimizeFromCompiledCode()
/art/runtime/
Ddeoptimization_kind.h36 inline const char* GetDeoptimizationKindName(DeoptimizationKind kind) { in GetDeoptimizationKindName() argument
37 switch (kind) { in GetDeoptimizationKindName()
47 LOG(FATAL) << "Unexpected kind " << static_cast<size_t>(kind); in GetDeoptimizationKindName()
51 std::ostream& operator<<(std::ostream& os, const DeoptimizationKind& kind);
Ddex_register_location.h42 DexRegisterLocation(Kind kind, int32_t value) : kind_(kind), value_(value) {} in DexRegisterLocation() argument
88 std::ostream& operator<<(std::ostream& stream, DexRegisterLocation::Kind kind);
/art/tools/dexfuzz/src/dexfuzz/rawdex/
DFieldIdItem.java43 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()
DMethodIdItem.java43 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()
DAnnotationElement.java38 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()
DClassDefItem.java66 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()
DProtoIdItem.java43 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()
DEncodedAnnotation.java50 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()
DAnnotationsDirectoryItem.java84 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()
DRawDexFile.java352 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 …]
DEncodedValue.java91 public void incrementIndex(IndexUpdateKind kind, int insertedIdx) { in incrementIndex() argument
93 encodedArray.incrementIndex(kind, insertedIdx); in incrementIndex()
95 encodedAnnotation.incrementIndex(kind, insertedIdx); in incrementIndex()
DTypeItem.java35 public void incrementIndex(IndexUpdateKind kind, int insertedIdx) { in incrementIndex() argument
36 if (kind == IndexUpdateKind.TYPE_ID && typeIdx >= insertedIdx) { in incrementIndex()
DEncodedTypeAddrPair.java38 public void incrementIndex(IndexUpdateKind kind, int insertedIdx) { in incrementIndex() argument
39 if (kind == IndexUpdateKind.TYPE_ID && typeIdx >= insertedIdx) { in incrementIndex()
/art/test/523-checker-can-throw-regression/smali/
DTest.smali21 ## 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/test/979-const-method-handle/src/
DMain.java101 kind = ConstantMethodHandle.INVOKE_STATIC,
111 kind = ConstantMethodHandle.STATIC_PUT,
121 kind = ConstantMethodHandle.STATIC_GET,
131 kind = ConstantMethodHandle.STATIC_GET,
141 kind = ConstantMethodHandle.STATIC_PUT,
151 kind = ConstantMethodHandle.INSTANCE_GET,
163 kind = ConstantMethodHandle.INSTANCE_PUT,
173 kind = ConstantMethodHandle.INVOKE_VIRTUAL,
183 kind = ConstantMethodHandle.INVOKE_VIRTUAL,
/art/runtime/mirror/
Dmethod_handle_impl.cc34 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/522-checker-regression-monitor-exit/smali/
DTest.smali21 ## 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
/art/test/543-checker-dce-trycatch/smali/
DTestCase.smali33 ## 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/510-checker-try-catch/smali/
DBuilder.smali78 ## CHECK: TryBoundary kind:entry
84 ## CHECK: TryBoundary kind:entry
90 ## CHECK: TryBoundary kind:exit
96 ## CHECK: TryBoundary kind:exit
175 ## CHECK: TryBoundary kind:entry
181 ## CHECK: TryBoundary kind:entry
187 ## CHECK: TryBoundary kind:exit
193 ## CHECK: TryBoundary kind:exit
270 ## CHECK: TryBoundary kind:entry
276 ## CHECK: TryBoundary kind:exit
[all …]

123456