/art/runtime/entrypoints/portable/ |
portable_dexcache_entrypoints.cc | 24 extern "C" mirror::Object* art_portable_initialize_static_storage_from_code(uint32_t type_idx, 28 return ResolveVerifyAndClinit(type_idx, referrer, thread, true, false); 31 extern "C" mirror::Object* art_portable_initialize_type_from_code(uint32_t type_idx, 35 return ResolveVerifyAndClinit(type_idx, referrer, thread, false, false); 38 extern "C" mirror::Object* art_portable_initialize_type_and_verify_access_from_code(uint32_t type_idx, 44 return ResolveVerifyAndClinit(type_idx, referrer, thread, false, true);
|
portable_alloc_entrypoints.cc | 26 extern "C" mirror::Object* art_portable_alloc_object_from_code(uint32_t type_idx, 30 return AllocObjectFromCode<false, true>(type_idx, referrer, thread, kPortableAllocatorType); 33 extern "C" mirror::Object* art_portable_alloc_object_from_code_with_access_check(uint32_t type_idx, 37 return AllocObjectFromCode<true, true>(type_idx, referrer, thread, kPortableAllocatorType); 40 extern "C" mirror::Object* art_portable_alloc_array_from_code(uint32_t type_idx, 45 return AllocArrayFromCode<false, true>(type_idx, referrer, length, self, 49 extern "C" mirror::Object* art_portable_alloc_array_from_code_with_access_check(uint32_t type_idx, 54 return AllocArrayFromCode<true, true>(type_idx, referrer, length, self, 58 extern "C" mirror::Object* art_portable_check_and_alloc_array_from_code(uint32_t type_idx, 63 return CheckAndAllocArrayFromCodeInstrumented(type_idx, referrer, length, thread, false [all...] |
/art/runtime/entrypoints/quick/ |
quick_dexcache_entrypoints.cc | 28 extern "C" mirror::Class* artInitializeStaticStorageFromCode(uint32_t type_idx, 37 return ResolveVerifyAndClinit(type_idx, referrer, self, true, false); 40 extern "C" mirror::Class* artInitializeTypeFromCode(uint32_t type_idx, 47 return ResolveVerifyAndClinit(type_idx, referrer, self, false, false); 50 extern "C" mirror::Class* artInitializeTypeAndVerifyAccessFromCode(uint32_t type_idx, 57 return ResolveVerifyAndClinit(type_idx, referrer, self, false, true);
|
quick_alloc_entrypoints.cc | 30 uint32_t type_idx, mirror::ArtMethod* method, Thread* self, \ 34 return AllocObjectFromCode<false, instrumented_bool>(type_idx, method, self, allocator_type); \ 51 uint32_t type_idx, mirror::ArtMethod* method, Thread* self, \ 55 return AllocObjectFromCode<true, instrumented_bool>(type_idx, method, self, allocator_type); \ 58 uint32_t type_idx, mirror::ArtMethod* method, int32_t component_count, Thread* self, \ 62 return AllocArrayFromCode<false, instrumented_bool>(type_idx, method, component_count, self, \ 74 uint32_t type_idx, mirror::ArtMethod* method, int32_t component_count, Thread* self, \ 78 return AllocArrayFromCode<true, instrumented_bool>(type_idx, method, component_count, self, \ 82 uint32_t type_idx, mirror::ArtMethod* method, int32_t component_count, Thread* self, \ 87 return CheckAndAllocArrayFromCode(type_idx, method, component_count, self, false, allocator_type); [all...] |
/art/runtime/mirror/ |
dex_cache-inl.h | 46 inline void DexCache::SetResolvedType(uint32_t type_idx, Class* resolved) { 49 GetResolvedTypes()->Set(type_idx, resolved);
|
dex_cache.h | 100 Class* GetResolvedType(uint32_t type_idx) ALWAYS_INLINE 102 return GetResolvedTypes()->Get(type_idx); 105 void SetResolvedType(uint32_t type_idx, Class* resolved)
|
art_method-inl.h | 459 inline bool ArtMethod::IsResolvedTypeIdx(uint16_t type_idx) { 461 return method->GetDexCacheResolvedType(type_idx) != nullptr; 508 inline const char* ArtMethod::GetTypeDescriptorFromTypeIdx(uint16_t type_idx) { 511 return dex_file->GetTypeDescriptor(dex_file->GetTypeId(type_idx));
|
/art/runtime/entrypoints/ |
entrypoint_utils.h | 44 ALWAYS_INLINE static inline mirror::Class* CheckObjectAlloc(uint32_t type_idx, 59 ALWAYS_INLINE static inline mirror::Object* AllocObjectFromCode(uint32_t type_idx, 83 ALWAYS_INLINE static inline mirror::Class* CheckArrayAlloc(uint32_t type_idx, 94 ALWAYS_INLINE static inline mirror::Array* AllocArrayFromCode(uint32_t type_idx, 109 extern mirror::Array* CheckAndAllocArrayFromCode(uint32_t type_idx, mirror::ArtMethod* method, 115 extern mirror::Array* CheckAndAllocArrayFromCodeInstrumented(uint32_t type_idx, 158 static inline mirror::Class* ResolveVerifyAndClinit(uint32_t type_idx,
|
entrypoint_utils-inl.h | 40 static inline mirror::Class* CheckObjectAlloc(uint32_t type_idx, 43 mirror::Class* klass = method->GetDexCacheResolvedType<false>(type_idx); 45 klass = Runtime::Current()->GetClassLinker()->ResolveType(type_idx, method); 123 static inline mirror::Object* AllocObjectFromCode(uint32_t type_idx, 128 mirror::Class* klass = CheckObjectAlloc<kAccessCheck>(type_idx, method, self, &slow_path); 176 static inline mirror::Class* CheckArrayAlloc(uint32_t type_idx, 185 mirror::Class* klass = method->GetDexCacheResolvedType<false>(type_idx); 187 klass = Runtime::Current()->GetClassLinker()->ResolveType(type_idx, method); 212 static inline mirror::Array* AllocArrayFromCode(uint32_t type_idx, 218 mirror::Class* klass = CheckArrayAlloc<kAccessCheck>(type_idx, method, component_count [all...] |
entrypoint_utils.cc | 36 static inline mirror::Class* CheckFilledNewArrayAlloc(uint32_t type_idx, 46 mirror::Class* klass = referrer->GetDexCacheResolvedType<false>(type_idx); 48 klass = Runtime::Current()->GetClassLinker()->ResolveType(type_idx, referrer); 80 mirror::Array* CheckAndAllocArrayFromCode(uint32_t type_idx, mirror::ArtMethod* referrer, 84 mirror::Class* klass = CheckFilledNewArrayAlloc(type_idx, referrer, component_count, self, 98 mirror::Array* CheckAndAllocArrayFromCodeInstrumented(uint32_t type_idx, 104 mirror::Class* klass = CheckFilledNewArrayAlloc(type_idx, referrer, component_count, self,
|
/art/runtime/ |
method_helper-inl.h | 46 inline mirror::Class* MethodHelper::GetClassFromTypeIdx(uint16_t type_idx, bool resolve) { 48 mirror::Class* type = method->GetDexCacheResolvedType(type_idx); 50 type = Runtime::Current()->GetClassLinker()->ResolveType(type_idx, method);
|
dex_instruction.cc | 174 uint32_t type_idx = VRegB_21c(); local 175 os << opcode << " v" << static_cast<int>(VRegA_21c()) << ", " << PrettyType(type_idx, *file) 176 << " // type@" << type_idx; 261 uint32_t type_idx = VRegC_22c(); local 263 << PrettyType(type_idx, *file) << " // type@" << type_idx; 268 uint32_t type_idx = VRegC_22c(); local 270 << PrettyType(type_idx, *file) << " // type@" << type_idx;
|
class_linker-inl.h | 75 inline mirror::Class* ClassLinker::ResolveType(uint16_t type_idx, 77 mirror::Class* resolved_type = referrer->GetDexCacheResolvedType(type_idx); 84 resolved_type = ResolveType(dex_file, type_idx, dex_cache, class_loader); 91 inline mirror::Class* ClassLinker::ResolveType(uint16_t type_idx, mirror::ArtField* referrer) { 94 mirror::Class* resolved_type = dex_cache_ptr->GetResolvedType(type_idx); 100 resolved_type = ResolveType(dex_file, type_idx, dex_cache, class_loader);
|
dex_file_verifier.h | 104 const char* CheckLoadStringByTypeIdx(uint32_t type_idx, const char* error_fmt);
|
method_helper.h | 114 mirror::Class* GetClassFromTypeIdx(uint16_t type_idx, bool resolve = true)
|
dex_file_verifier.cc | 76 const char* DexFileVerifier::CheckLoadStringByTypeIdx(uint32_t type_idx, const char* error_string) { 77 if (UNLIKELY(!CheckIndex(type_idx, dex_file_->NumTypeIds(), error_string))) { 80 const DexFile::TypeId& type_id = dex_file_->GetTypeId(type_idx); 107 #define LOAD_STRING_BY_TYPE(var, type_idx, error) \ 108 const char* var = CheckLoadStringByTypeIdx(type_idx, error); \ 423 uint32_t type_idx = DecodeUnsignedLeb128(&ptr_); local 424 if (!CheckIndex(type_idx, header_->type_ids_size_, "handler type_idx")) { 655 if (!CheckIndex(idx, header_->type_ids_size_, "encoded_annotation type_idx")) { 944 uint32_t type_idx = DecodeUnsignedLeb128(&ptr_) local 975 uint32_t type_idx = DecodeUnsignedLeb128(&ptr_); local [all...] |
dex_file.cc | 433 uint16_t type_idx = GetIndexForTypeId(*type_id); local 436 if (class_def.class_idx_ == type_idx) { 464 const DexFile::ClassDef* DexFile::FindClassDef(uint16_t type_idx) const { 468 if (class_def.class_idx_ == type_idx) { 481 const uint16_t type_idx = GetIndexForTypeId(type); local 497 if (type_idx > field.type_idx_) { 499 } else if (type_idx < field.type_idx_) { 679 uint16_t type_idx = GetIndexForTypeId(*type_id); local 681 param_type_idxs->push_back(type_idx); 683 *return_type_idx = type_idx; [all...] |
/art/compiler/dex/quick/ |
gen_common.cc | 346 * Array::AllocFromCode(type_idx, method, count); 349 void Mir2Lir::GenNewArray(uint32_t type_idx, RegLocation rl_dest, 354 if (cu_->compiler_driver->CanAccessTypeWithoutChecks(cu_->method_idx, *dex_file, type_idx)) { 360 driver->CanEmbedTypeInCode(*dex_file, type_idx, &is_type_initialized, &use_direct_type_ptr, 364 LoadClassType(type_idx, kArg0); 374 CallRuntimeHelperImmMethodRegLocation(kQuickAllocArray, type_idx, rl_src, true); 377 CallRuntimeHelperImmMethodRegLocation(kQuickAllocArrayWithAccessCheck, type_idx, rl_src, true); 390 int type_idx = info->index; local 394 type_idx)) { 399 CallRuntimeHelperImmMethodImm(target, type_idx, elems, true) [all...] |
/art/compiler/dex/portable/ |
mir_to_gbc.h | 139 void ConvertCheckCast(uint32_t type_idx, RegLocation rl_src); 140 void ConvertNewInstance(uint32_t type_idx, RegLocation rl_dest); 141 void ConvertNewArray(uint32_t type_idx, RegLocation rl_dest, 151 void ConvertInstanceOf(uint32_t type_idx, RegLocation rl_dest,
|
/cts/tools/dex-tools/src/dex/reader/ |
DexFieldImpl.java | 74 return stringPool[typeIds[fieldIdItem.type_idx]];
|
DexEncodedValueImpl.java | 165 String typeName = stringPool[typeIds[fieldIdItem.type_idx]]; 190 String typeName = stringPool[typeIds[fieldIdItem.type_idx]];
|
DexFileReader.java | 201 public int type_idx; // type of field : index of type_ids field in class:DexFileReader.FieldIdItem 215 item.type_idx = b.readUShort();
|
/external/chromium_org/chrome/browser/chromeos/policy/ |
device_status_collector.cc | 408 size_t type_idx = 0; local 409 for (; type_idx < ARRAYSIZE_UNSAFE(kDeviceTypeMap); ++type_idx) { 410 if ((*device)->type() == kDeviceTypeMap[type_idx].type_string) 416 if (type_idx >= ARRAYSIZE_UNSAFE(kDeviceTypeMap)) 420 interface->set_type(kDeviceTypeMap[type_idx].type_constant);
|
/art/compiler/llvm/ |
gbc_expander.cc | 203 llvm::Value* EmitLoadDexCacheResolvedTypeFieldAddr(uint32_t type_idx); 321 llvm::Value* EmitLoadConstantClass(uint32_t dex_pc, uint32_t type_idx); 322 llvm::Value* EmitLoadStaticStorage(uint32_t dex_pc, uint32_t type_idx); 353 uint32_t type_idx, 720 GBCExpanderPass::EmitLoadDexCacheResolvedTypeFieldAddr(uint32_t type_idx) { 724 llvm::Value* type_idx_value = irb_.getPtrEquivInt(type_idx); 1016 uint32_t type_idx = local 2116 uint32_t type_idx = LV2UInt(call_inst.getArgOperand(0)); local 2155 uint32_t type_idx = LV2UInt(call_inst.getArgOperand(0)); local 2209 uint32_t type_idx = LV2UInt(call_inst.getArgOperand(0)); local 2280 uint32_t type_idx = LV2UInt(call_inst.getArgOperand(0)); local 2342 uint32_t type_idx = LV2UInt(call_inst.getArgOperand(0)); local 2350 uint32_t type_idx = LV2UInt(call_inst.getArgOperand(1)); local [all...] |
/art/runtime/native/ |
dalvik_system_VMRuntime.cc | 245 static void PreloadDexCachesResolveType(mirror::DexCache* dex_cache, uint32_t type_idx) 247 mirror::Class* klass = dex_cache->GetResolvedType(type_idx); 252 const char* class_name = dex_file->StringByTypeIdx(type_idx); 263 dex_cache->SetResolvedType(type_idx, klass);
|