Home
last modified time | relevance | path

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

123456

/art/runtime/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* arena, ArenaAllocKind kind) { in Create() argument
56 void* storage = arena->template Alloc<ArenaBitVectorAllocator>(kind); in Create()
57 return new (storage) ArenaBitVectorAllocator(arena, kind); in Create()
72 ArenaBitVectorAllocator(ArenaAlloc* arena, ArenaAllocKind kind) in ArenaBitVectorAllocator() argument
73 : ArenaBitVectorAllocatorKind(kind), arena_(arena) { } in ArenaBitVectorAllocator()
83 ArenaAllocKind kind) in ArenaBitVector() argument
86 ArenaBitVectorAllocator<ArenaAllocator>::Create(arena, kind)) { in ArenaBitVector()
92 ArenaAllocKind kind) in ArenaBitVector() argument
[all …]
Dscoped_arena_allocator.h89 void* Alloc(size_t bytes, ArenaAllocKind kind) ALWAYS_INLINE { in Alloc() argument
91 return AllocWithMemoryTool(bytes, kind); in Alloc()
99 CurrentStats()->RecordAlloc(bytes, kind); in Alloc()
111 void* AllocWithMemoryTool(size_t bytes, ArenaAllocKind kind);
150 void* Alloc(size_t bytes, ArenaAllocKind kind = kArenaAllocMisc) ALWAYS_INLINE {
152 return arena_stack_->Alloc(bytes, kind);
156 T* Alloc(ArenaAllocKind kind = kArenaAllocMisc) {
157 return AllocArray<T>(1, kind);
161 T* AllocArray(size_t length, ArenaAllocKind kind = kArenaAllocMisc) {
162 return static_cast<T*>(Alloc(length * sizeof(T), kind));
[all …]
Darena_bit_vector.h37 ArenaAllocKind kind = kArenaAllocGrowableBitMap) {
38 void* storage = arena->template Alloc<ArenaBitVector>(kind);
39 return new (storage) ArenaBitVector(arena, start_bits, expandable, kind);
45 ArenaAllocKind kind = kArenaAllocGrowableBitMap);
49 ArenaAllocKind kind = kArenaAllocGrowableBitMap);
Darena_allocator.h116 void RecordAlloc(size_t bytes ATTRIBUTE_UNUSED, ArenaAllocKind kind ATTRIBUTE_UNUSED) {} in RecordAlloc()
132 void RecordAlloc(size_t bytes, ArenaAllocKind kind);
288 ArenaAllocatorAdapter<void> Adapter(ArenaAllocKind kind = kArenaAllocSTL);
291 void* Alloc(size_t bytes, ArenaAllocKind kind = kArenaAllocMisc) ALWAYS_INLINE {
293 return AllocWithMemoryTool(bytes, kind);
296 ArenaAllocatorStats::RecordAlloc(bytes, kind);
307 void* AllocAlign16(size_t bytes, ArenaAllocKind kind = kArenaAllocMisc) ALWAYS_INLINE {
311 return AllocWithMemoryToolAlign16(bytes, kind);
315 ArenaAllocatorStats::RecordAlloc(bytes, kind);
331 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* arena_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.cc29 NO_RETURN static void artDeoptimizeImpl(Thread* self, DeoptimizationKind kind, bool single_frame) in artDeoptimizeImpl() argument
31 Runtime::Current()->IncrementDeoptimizationCount(kind); in artDeoptimizeImpl()
45 ScopedTrace trace(std::string("Deoptimization ") + GetDeoptimizationKindName(kind)); in artDeoptimizeImpl()
47 exception_handler.DeoptimizeSingleFrame(kind); in artDeoptimizeImpl()
70 extern "C" NO_RETURN void artDeoptimizeFromCompiledCode(DeoptimizationKind kind, Thread* self) in artDeoptimizeFromCompiledCode() argument
77 artDeoptimizeImpl(self, kind, true); in artDeoptimizeFromCompiledCode()
/art/runtime/
Ddeoptimization_kind.h34 inline const char* GetDeoptimizationKindName(DeoptimizationKind kind) { in GetDeoptimizationKindName() argument
35 switch (kind) { in GetDeoptimizationKindName()
45 LOG(FATAL) << "Unexpected kind " << static_cast<size_t>(kind); in GetDeoptimizationKindName()
49 std::ostream& operator<<(std::ostream& os, const DeoptimizationKind& kind);
Dstack_map.h111 static bool IsShortLocationKind(Kind kind) { in IsShortLocationKind() argument
112 switch (kind) { in IsShortLocationKind()
134 static Kind ConvertToSurfaceKind(Kind kind) { in ConvertToSurfaceKind() argument
135 switch (kind) { in ConvertToSurfaceKind()
142 return kind; in ConvertToSurfaceKind()
151 return kind; in ConvertToSurfaceKind()
159 DexRegisterLocation(Kind kind, int32_t value) : kind_(kind), value_(value) {} in DexRegisterLocation() argument
192 std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation::Kind& kind);
210 DexRegisterLocation::Kind kind = ComputeCompressedKind(dex_register_location); in SetRegisterInfo() local
212 if (DexRegisterLocation::IsShortLocationKind(kind)) { in SetRegisterInfo()
[all …]
/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()
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()
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()
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()
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 …]
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()
DTypeIdItem.java37 public void incrementIndex(IndexUpdateKind kind, int insertedIdx) { in incrementIndex() argument
38 if (kind == IndexUpdateKind.STRING_ID && descriptorIdx >= 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/runtime/mirror/
Dmethod_handle_impl.cc32 Kind kind, in Initialize() argument
39 SetField32<false>(HandleKindOffset(), static_cast<uint32_t>(kind)); in Initialize()
66 MethodHandle::Kind kind, in Create() argument
72 mh->Initialize(art_field_or_method, kind, method_type); in Create()
Dmethod_handle_impl-inl.h37 Kind kind = GetHandleKind(); in GetTargetClass() local
38 return (kind <= kLastValidKind) ? in GetTargetClass()
/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 …]

123456