Home
last modified time | relevance | path

Searched refs:kind (Results 1 – 25 of 132) 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.h37 ArenaAllocKind kind = kArenaAllocGrowableBitMap) {
38 void* storage = allocator->template Alloc<ArenaBitVector>(kind);
39 return new (storage) ArenaBitVector(allocator, start_bits, expandable, kind);
45 ArenaAllocKind kind = kArenaAllocGrowableBitMap);
49 ArenaAllocKind kind = kArenaAllocGrowableBitMap);
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.h121 void RecordAlloc(size_t bytes ATTRIBUTE_UNUSED, ArenaAllocKind kind ATTRIBUTE_UNUSED) {} in RecordAlloc()
137 void RecordAlloc(size_t bytes, ArenaAllocKind kind);
264 ArenaAllocatorAdapter<void> Adapter(ArenaAllocKind kind = kArenaAllocSTL);
267 void* Alloc(size_t bytes, ArenaAllocKind kind = kArenaAllocMisc) ALWAYS_INLINE {
269 return AllocWithMemoryTool(bytes, kind);
272 ArenaAllocatorStats::RecordAlloc(bytes, kind);
283 void* AllocAlign16(size_t bytes, ArenaAllocKind kind = kArenaAllocMisc) ALWAYS_INLINE {
287 return AllocWithMemoryToolAlign16(bytes, kind);
291 ArenaAllocatorStats::RecordAlloc(bytes, kind);
307 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/
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);
Dstack.cc198 VRegKind kind, in GetVRegFromDebuggerShadowFrame() argument
207 if (kind == kReferenceVReg) { in GetVRegFromDebuggerShadowFrame()
222 VRegKind kind, in GetVReg() argument
229 if (GetVRegFromDebuggerShadowFrame(vreg, kind, val)) { in GetVReg()
235 *val = (kind == kReferenceVReg) in GetVReg()
240 if (location.has_value() && kind != kReferenceVReg) { in GetVReg()
244 result = GetVRegFromOptimizedCode(location.value(), kind, val); in GetVReg()
246 DCHECK_EQ(result, GetVRegFromOptimizedCode(m, vreg, kind, &val2)); in GetVReg()
249 result = GetVRegFromOptimizedCode(m, vreg, kind, val); in GetVReg()
252 if (kind == kReferenceVReg) { in GetVReg()
[all …]
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/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/tools/dexfuzz/src/dexfuzz/rawdex/
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()
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()
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()
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()
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()
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()
DTypeItem.java35 public void incrementIndex(IndexUpdateKind kind, int insertedIdx) { in incrementIndex() argument
36 if (kind == IndexUpdateKind.TYPE_ID && typeIdx >= insertedIdx) { in incrementIndex()
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()
DEncodedTypeAddrPair.java38 public void incrementIndex(IndexUpdateKind kind, int insertedIdx) { in incrementIndex() argument
39 if (kind == IndexUpdateKind.TYPE_ID && typeIdx >= insertedIdx) { in incrementIndex()
DTypeIdItem.java37 public void incrementIndex(IndexUpdateKind kind, int insertedIdx) { in incrementIndex() argument
38 if (kind == IndexUpdateKind.STRING_ID && descriptorIdx >= 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 …]
/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/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/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/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

123456