/art/dex2oat/dex/ |
quick_compiler_callbacks.cc | 64 const DexFile* dex_file = &klass->GetDexFile(); local 65 return std::find(dex_files_->begin(), dex_files_->end(), dex_file) == dex_files_->end();
|
/art/test/800-smali/ |
jni.cc | 20 #include "dex/dex_file-inl.h" 34 const DexFile& dex_file = *klass->GetDexCache()->GetDexFile(); local 36 bool ret = rt->GetClassLinker()->VerifyClassUsingOatFile(dex_file, klass, oat_file_class_status);
|
/art/libdexfile/dex/ |
dex_file_reference.h | 28 DexFileReference(const DexFile* file, uint32_t idx) : dex_file(file), index(idx) {} 29 const DexFile* dex_file; member in class:art::DexFileReference 34 if (a.dex_file != b.dex_file) { 35 return a.dex_file < b.dex_file; 47 return a.dex_file == b.dex_file && a.index == b.index;
|
art_dex_file_loader.cc | 32 #include "dex/dex_file.h" 143 std::unique_ptr<const DexFile> dex_file(OpenFile(fd.Release(), 149 if (dex_file == nullptr) { 152 checksums->push_back(dex_file->GetHeader().checksum_); 202 std::unique_ptr<DexFile> dex_file = OpenCommon(begin, local 215 if (dex_file != nullptr && dex_file->IsCompactDexFile()) { 220 return dex_file; 266 std::unique_ptr<const DexFile> dex_file(OpenFile(fd, 272 if (dex_file.get() != nullptr) 358 std::unique_ptr<DexFile> dex_file = OpenCommon(begin, local 435 std::unique_ptr<DexFile> dex_file = OpenCommon(begin, local [all...] |
dex_file_loader.cc | 23 #include "dex_file.h" 297 std::unique_ptr<const DexFile> dex_file(Open(base, 305 if (dex_file.get() != nullptr) { 306 dex_files->push_back(std::move(dex_file)); 331 std::unique_ptr<DexFile> dex_file; local 336 dex_file.reset(new StandardDexFile(base, 351 dex_file.reset(new CompactDexFile(base, 364 if (dex_file == nullptr) { 369 if (!dex_file->Init(error_msg)) { 370 dex_file.reset() 418 std::unique_ptr<const DexFile> dex_file = OpenCommon( local [all...] |
/art/runtime/entrypoints/quick/ |
quick_dexcache_entrypoints.cc | 22 #include "dex/dex_file-inl.h" 81 const DexFile* dex_file = outer_method->GetDexFile(); local 82 DCHECK(dex_file != nullptr); 83 const OatDexFile* oat_dex_file = dex_file->GetOatDexFile(); 87 dex_file->NumTypeIds(), 99 const DexFile* dex_file = outer_method->GetDexFile(); local 100 DCHECK(dex_file != nullptr); 101 const OatDexFile* oat_dex_file = dex_file->GetOatDexFile(); 105 dex_file->NumStringIds(),
|
/art/tools/veridex/ |
hidden_api_finder.cc | 22 #include "dex/dex_file.h" 55 const DexFile& dex_file = resolver->GetDexFile(); local 58 for (uint32_t i = 0; i < dex_file.NumTypeIds(); ++i) { 59 std::string name(dex_file.StringByTypeIdx(dex::TypeIndex(i))); 66 for (ClassAccessor accessor : dex_file.GetClasses()) { 72 std::string name = std::string(dex_file.StringDataByIdx(string_index));
|
resolver.cc | 20 #include "dex/dex_file-inl.h" 49 static bool HasSameNameAndSignature(const DexFile& dex_file, 53 return strcmp(method_name, dex_file.GetMethodName(method_id)) == 0 && 54 strcmp(type, dex_file.GetMethodSignature(method_id).ToString().c_str()) == 0; 57 static bool HasSameNameAndSignature(const DexFile& dex_file, 61 return strcmp(method_name, dex_file.GetMethodName(method_id)) == 0 && 62 dex_file.GetMethodSignature(method_id) == signature; 65 static bool HasSameNameAndType(const DexFile& dex_file, 69 return strcmp(field_name, dex_file.GetFieldName(field_id)) == 0 && 70 strcmp(field_type, dex_file.GetFieldTypeDescriptor(field_id)) == 0 117 const DexFile& dex_file = resolver_it->second->dex_file_; local [all...] |
/art/compiler/debug/ |
elf_symtab_writer.h | 26 #include "dex/dex_file-inl.h" 89 DCHECK(info.dex_file != nullptr); 90 std::string name = info.dex_file->PrettyMethod(info.dex_method_index, !mini_debug_info); 108 const DexFile* dex_file = it.second; local 110 symtab->Add(dex_name, dex, dex_address, dex_file->Size(), STB_GLOBAL, STT_FUNC);
|
method_debug_info.h | 24 #include "dex/dex_file.h" 31 const DexFile* dex_file; // Native methods (trampolines) do not reference dex file. member in struct:art::debug::MethodDebugInfo
|
/art/compiler/utils/ |
atomic_dex_ref_map-inl.h | 25 #include "dex/dex_file-inl.h" 33 const DexFile* dex_file) { 40 return dex_file->NumMethodIds(); 43 return dex_file->NumClassDefs(); 46 return dex_file->NumTypeIds(); 56 ElementArray* const array = GetArray(ref.dex_file); 69 const ElementArray* const array = GetArray(ref.dex_file); 80 ElementArray* const array = GetArray(ref.dex_file); 89 inline void AtomicDexRefMap<DexFileReferenceType, Value>::AddDexFile(const DexFile* dex_file) { 90 arrays_.Put(dex_file, std::move(ElementArray(NumberOfDexIndices(dex_file)))) 120 const DexFile* dex_file = pair.first; local [all...] |
/art/libdexfile/external/ |
dex_file_supp_test.cc | 24 #include <dex/dex_file.h> 128 std::unique_ptr<DexFile> dex_file = DexFile::OpenFromMemory(kDexData, &size, "", &error_msg); local 130 return dex_file; 185 std::unique_ptr<DexFile> dex_file = GetTestDexData(); local 186 ASSERT_NE(dex_file, nullptr); 188 MethodInfo info = dex_file->GetMethodInfoForOffset(0x102, false); 193 info = dex_file->GetMethodInfoForOffset(0x118, false); 199 info = dex_file->GetMethodInfoForOffset(0x104, false); 206 std::unique_ptr<DexFile> dex_file = GetTestDexData(); local 207 ASSERT_NE(dex_file, nullptr) 233 std::unique_ptr<DexFile> dex_file = GetTestDexData(); local 258 std::unique_ptr<DexFile> dex_file = GetTestDexData(); local 268 std::unique_ptr<DexFile> dex_file = GetTestDexData(); local 278 std::unique_ptr<DexFile> dex_file = GetTestDexData(); local [all...] |
/art/runtime/ |
imtable-inl.h | 23 #include "dex/dex_file.h" 48 const DexFile* dex_file = method->GetDexFile(); local 49 const dex::MethodId& method_id = dex_file->GetMethodId(method->GetDexMethodIndex()); 52 *class_hash = ComputeModifiedUtf8Hash(dex_file->GetMethodDeclaringClassDescriptor(method_id)); 55 *name_hash = ComputeModifiedUtf8Hash(dex_file->GetMethodName(method_id)); 57 const dex::ProtoId& proto_id = dex_file->GetMethodPrototype(method_id); 61 dex_file->GetTypeDescriptor(dex_file->GetTypeId(proto_id.return_type_idx_))); 66 const dex::TypeList* param_types = dex_file->GetProtoParameters(proto_id); 71 dex_file->GetTypeDescriptor(dex_file->GetTypeId(type.type_idx_))) [all...] |
class_linker-inl.h | 26 #include "dex/dex_file.h" 290 const DexFile& dex_file = *dex_cache->GetDexFile(); local 291 const dex::MethodId& method_id = dex_file.GetMethodId(method_idx);
|
common_runtime_test.h | 82 DexFile* dex_file = const_cast<DexFile*>(dex.get()); local 83 mutator(dex_file); 84 const_cast<DexFile::Header&>(dex_file->GetHeader()).checksum_ = dex_file->CalculateChecksum();
|
/art/runtime/mirror/ |
dex_cache_test.cc | 145 const DexFile& dex_file = *(method1->GetDexFile()); local 147 class_linker_->FindDexCache(Thread::Current(), dex_file)); 149 const dex::MethodId& method1_id = dex_file.GetMethodId(method1->GetDexMethodIndex()); 150 const dex::MethodId& method2_id = dex_file.GetMethodId(method2->GetDexMethodIndex()); 166 ASSERT_EQ(2u, dex_file.NumProtoIds()); 167 ASSERT_EQ(dex_file.NumProtoIds(), dex_cache->NumResolvedMethodTypes()); 170 for (size_t i = 0; i < dex_file.NumProtoIds(); ++i) {
|
/art/runtime/native/ |
java_lang_VMClassLoader.cc | 143 const DexFile* dex_file = path[i]; local 146 const std::string location(DexFileLoader::GetBaseLocation(dex_file->GetLocation()));
|
/art/openjdkjvmti/ |
ti_class_definition.cc | 38 #include "dex/dex_file.h" 135 static void DequickenDexFile(const art::DexFile* dex_file, 140 FixedUpDexFile::Create(*dex_file, descriptor)); 151 const art::DexFile* dex_file = nullptr; local 162 dex_file = orig_dex->AsDexCache()->GetDexFile(); 174 dex_file = reinterpret_cast<const art::DexFile*>(static_cast<uintptr_t>(val.GetJ())); 178 if (dex_file == nullptr) { 179 dex_file = &klass->GetDexFile(); 182 DequickenDexFile(dex_file, klass->GetDescriptor(&storage), dex_data); 355 const art::DexFile& dex_file) { [all...] |
/art/runtime/verifier/ |
class_verifier.cc | 30 #include "dex/dex_file-inl.h" 58 const DexFile& dex_file = klass->GetDexFile(); local 70 failure_message = " that isn't present in dex file " + dex_file.GetLocation(); 75 ClassReference ref(&dex_file, klass->GetDexClassDefIndex()); 84 &dex_file, 96 const DexFile* dex_file, 108 *error += PrettyDescriptor(dex_file->GetClassDescriptor(class_def)); 113 ClassAccessor accessor(*dex_file, class_def); 144 dex_file, 164 *error += PrettyDescriptor(dex_file->GetClassDescriptor(class_def)) [all...] |
/art/compiler/optimizing/ |
sharpening.cc | 55 const DexFile& dex_file = klass->GetDexFile(); local 56 return compiler_options.IsImageClass(dex_file.StringByTypeIdx(klass->GetDexTypeIndex())); 148 const DexFile& dex_file = load_class->GetDexFile(); local 162 compiler_options.IsImageClass(dex_file.StringByTypeIdx(type_index))) { 167 DCHECK(ContainsElement(compiler_options.GetDexFilesForOatFile(), &dex_file)); 287 const DexFile& dex_file = load_string->GetDexFile(); local 296 Handle<mirror::DexCache> dex_cache = IsSameDexFile(dex_file, *dex_compilation_unit.GetDexFile()) 298 : hs.NewHandle(class_linker->FindDexCache(soa.Self(), dex_file)); 307 DCHECK(ContainsElement(compiler_options.GetDexFilesForOatFile(), &dex_file));
|
/art/compiler/ |
common_compiler_test.cc | 183 const DexFile& dex_file = *method->GetDexFile(); local 184 Handle<mirror::DexCache> dex_cache = hs.NewHandle(class_linker_->FindDexCache(self, dex_file)); 190 dex_file, 193 verification_results_->AddDexFile(&dex_file); 195 MethodReference(&dex_file, method->GetDexMethodIndex())); 202 dex_file,
|
/art/dex2oat/driver/ |
compiler_driver_test.cc | 29 #include "dex/dex_file.h" 74 const DexFile* dex_file = class_path[i]; local 75 CHECK(dex_file != nullptr); 76 MakeDexFileExecutable(class_loader, *dex_file); 85 const DexFile& dex_file = *method->GetDexFile(); local 87 compiler_driver_->GetCompiledMethod(MethodReference(&dex_file, 93 void MakeDexFileExecutable(jobject class_loader, const DexFile& dex_file) { 95 for (size_t i = 0; i < dex_file.NumClassDefs(); i++) { 96 const dex::ClassDef& class_def = dex_file.GetClassDef(i); 97 const char* descriptor = dex_file.GetClassDescriptor(class_def) 336 const DexFile* dex_file = nullptr; local [all...] |
/art/dex2oat/linker/ |
multi_oat_relative_patcher_test.cc | 137 const DexFile* dex_file = reinterpret_cast<const DexFile*>(1); local 138 MethodReference ref1(dex_file, 1u); 139 MethodReference ref2(dex_file, 2u); 170 const DexFile* dex_file = reinterpret_cast<const DexFile*>(1); local 171 MethodReference ref1(dex_file, 1u); 172 MethodReference ref2(dex_file, 2u); 173 MethodReference ref3(dex_file, 3u);
|
/art/dexdump/ |
dexdump_cfg.cc | 30 #include "dex/dex_file-inl.h" 37 const DexFile* dex_file = &method.GetDexFile(); local 39 os << " # /* " << dex_file->PrettyMethod(method.GetIndex(), true) << " */\n"; 109 std::string inst_str = pair.Inst().DumpString(dex_file);
|
/art/libartbase/base/ |
common_art_test.h | 148 DexFile* dex_file = const_cast<DexFile*>(dex.get()); local 149 mutator(dex_file); 150 const_cast<DexFile::Header&>(dex_file->GetHeader()).checksum_ = dex_file->CalculateChecksum();
|