Searched defs:type_index (Results 1 - 7 of 7) sorted by path

/art/compiler/driver/
H A Dcompiler_driver.cc2882 bool CompilerDriver::IsStringTypeIndex(uint16_t type_index, const DexFile* dex_file) { argument
2883 const char* type = dex_file->GetTypeDescriptor(dex_file->GetTypeId(type_index));
/art/compiler/optimizing/
H A Dinstruction_builder.cc903 bool HInstructionBuilder::BuildNewInstance(uint16_t type_index, uint32_t dex_pc) { argument
907 Handle<mirror::Class> resolved_class(hs.NewHandle(dex_cache->GetResolvedType(type_index)));
912 bool can_throw = NeedsAccessCheck(type_index, dex_cache, &finalizable);
928 type_index,
930 IsOutermostCompilingClass(type_index),
933 compiler_driver_->CanAssumeTypeIsPresentInDexCache(outer_dex_cache, type_index));
946 type_index,
1282 bool HInstructionBuilder::IsOutermostCompilingClass(uint16_t type_index) const {
1289 soa, dex_cache, class_loader, type_index, dex_compilation_unit_)));
1483 uint32_t type_index,
1482 BuildFilledNewArray(uint32_t dex_pc, uint32_t type_index, uint32_t number_of_vreg_arguments, bool is_range, uint32_t* args, uint32_t register_index) argument
1621 BuildTypeCheck(const Instruction& instruction, uint8_t destination, uint8_t reference, uint16_t type_index, uint32_t dex_pc) argument
1663 NeedsAccessCheck(uint32_t type_index, Handle<mirror::DexCache> dex_cache, bool* finalizable) const argument
1670 NeedsAccessCheck(uint32_t type_index, bool* finalizable) const argument
2420 uint16_t type_index = instruction.VRegC_22c(); local
2438 uint32_t type_index = instruction.VRegB_35c(); local
2447 uint32_t type_index = instruction.VRegB_3rc(); local
2604 uint16_t type_index = instruction.VRegB_21c(); local
2646 uint16_t type_index = instruction.VRegC_22c(); local
2653 uint16_t type_index = instruction.VRegB_21c(); local
[all...]
H A Dnodes.h3608 uint16_t type_index,
3614 type_index_(type_index),
4203 uint16_t type_index,
4207 type_index_(type_index),
4776 uint16_t type_index,
4782 type_index_(type_index),
5338 uint16_t type_index,
5345 type_index_(type_index),
3605 HNewInstance(HInstruction* cls, HCurrentMethod* current_method, uint32_t dex_pc, uint16_t type_index, const DexFile& dex_file, bool can_throw, bool finalizable, QuickEntrypointEnum entrypoint) argument
4200 HNewArray(HInstruction* length, HCurrentMethod* current_method, uint32_t dex_pc, uint16_t type_index, const DexFile& dex_file, QuickEntrypointEnum entrypoint) argument
4775 HParameterValue(const DexFile& dex_file, uint16_t type_index, uint8_t index, Primitive::Type parameter_type, bool is_this = false) argument
5337 HLoadClass(HCurrentMethod* current_method, uint16_t type_index, const DexFile& dex_file, bool is_referrers_class, uint32_t dex_pc, bool needs_access_check, bool is_in_dex_cache) argument
H A Doptimizing_compiler.cc699 uint16_t type_index = method->GetDeclaringClass()->GetDexTypeIndex(); local
706 if (dex_cache->GetResolvedType(type_index) == nullptr) {
707 dex_cache->SetResolvedType(type_index, method->GetDeclaringClass());
/art/runtime/
H A Dart_method-inl.h180 inline mirror::Class* ArtMethod::GetDexCacheResolvedType(uint32_t type_index, size_t ptr_size) { argument
184 if (UNLIKELY(type_index >= dex_cache->NumResolvedTypes())) {
185 ThrowArrayIndexOutOfBoundsException(type_index, dex_cache->NumResolvedTypes());
189 mirror::Class* klass = GetDexCacheResolvedTypes(ptr_size)[type_index].Read();
H A Ddex_file.cc1659 uint32_t type_index = DecodeUnsignedLeb128(&annotation); local
1661 klass->GetDexFile(), type_index, klass.Get());
1665 klass->GetDescriptor(&temp), type_index);
2101 uint32_t type_index = DecodeUnsignedLeb128(annotation); local
2109 class_linker->ResolveType(klass->GetDexFile(), type_index, klass.Get())));
2112 << type_index;
2167 uint32_t type_index = DecodeUnsignedLeb128(&annotation); local
2169 if (strcmp(descriptor, StringByTypeIdx(type_index)) == 0) {
2178 DecodeUnsignedLeb128(&annotation); // unused type_index
2227 DecodeUnsignedLeb128(&annotation); // unused type_index
[all...]
/art/runtime/native/
H A Djava_lang_DexCache.cc52 static jobject DexCache_getResolvedType(JNIEnv* env, jobject javaDexCache, jint type_index) { argument
55 CHECK_LT(static_cast<size_t>(type_index), dex_cache->NumResolvedTypes());
56 return soa.AddLocalReference<jobject>(dex_cache->GetResolvedType(type_index));
66 static void DexCache_setResolvedType(JNIEnv* env, jobject javaDexCache, jint type_index, argument
70 CHECK_LT(static_cast<size_t>(type_index), dex_cache->NumResolvedTypes());
71 dex_cache->SetResolvedType(type_index, soa.Decode<mirror::Class*>(type));

Completed in 167 milliseconds