HomeSort by relevance Sort by last modified time
    Searched defs:dex_file (Results 1 - 25 of 65) sorted by null

1 2 3

  /art/compiler/utils/
string_reference.h 31 StringReference(const DexFile* file, uint32_t index) : dex_file(file), string_index(index) { }
33 const DexFile* dex_file; member in struct:art::StringReference
45 if (sr1.dex_file == sr2.dex_file) {
50 sr1.dex_file->GetStringData(sr1.dex_file->GetStringId(sr1.string_index)),
51 sr1.dex_file->GetStringData(sr2.dex_file->GetStringId(sr2.string_index))) < 0);
56 sr1.dex_file->GetStringData(sr1.dex_file->GetStringId(sr1.string_index))
    [all...]
  /art/runtime/
dex_method_iterator_test.cc 39 const DexFile& dex_file = it.GetDexFile(); local
43 LOG(INFO) << invoke_type << " " << PrettyMethod(method_idx, dex_file);
method_reference.h 28 MethodReference(const DexFile* file, uint32_t index) : dex_file(file), dex_method_index(index) {
30 const DexFile* dex_file; member in struct:art::MethodReference
36 if (mr1.dex_file == mr2.dex_file) {
39 return mr1.dex_file < mr2.dex_file;
dex_method_iterator.h 22 #include "dex_file.h"
130 const DexFile* dex_file = dex_files_[dex_file_index_]; local
131 CHECK(dex_file != nullptr);
132 return *dex_file;
class_linker-inl.h 71 const DexFile& dex_file = *dex_cache->GetDexFile(); local
72 resolved_string = ResolveString(dex_file, string_idx, dex_cache);
87 const DexFile& dex_file = *dex_cache->GetDexFile(); local
88 resolved_type = ResolveType(dex_file, type_idx, dex_cache, class_loader);
103 const DexFile& dex_file = *dex_cache->GetDexFile(); local
104 resolved_type = ResolveType(dex_file, type_idx, dex_cache, class_loader);
131 const DexFile* dex_file = dex_cache->GetDexFile(); local
132 const DexFile::MethodId& method = dex_file->GetMethodId(method_idx);
135 resolved_type = ResolveType(*dex_file, method.class_idx_, dex_cache, class_loader);
151 const DexFile* dex_file = h_dex_cache->GetDexFile() local
181 const DexFile& dex_file = *dex_cache->GetDexFile(); local
    [all...]
art_field-inl.h 263 const DexFile* dex_file = GetDexFile(); local
264 return dex_file->GetFieldName(dex_file->GetFieldId(field_index));
275 const DexFile* dex_file = GetDexFile(); local
276 const DexFile::FieldId& field_id = dex_file->GetFieldId(field_index);
277 return dex_file->GetFieldTypeDescriptor(field_id);
297 const DexFile* const dex_file = dex_cache->GetDexFile(); local
298 const DexFile::FieldId& field_id = dex_file->GetFieldId(field_index);
323 const auto* dex_file = dex_cache->GetDexFile(); local
324 const auto& field_id = dex_file->GetFieldId(dex_field_index)
    [all...]
common_throws.cc 27 #include "dex_file-inl.h"
89 void ThrowAbstractMethodError(uint32_t method_idx, const DexFile& dex_file) {
93 dex_file,
362 const DexFile& dex_file = *dex_cache->GetDexFile(); local
364 msg << "No method '" << PrettyMethod(method_idx, dex_file, true) << "'";
379 const DexFile& dex_file,
384 << PrettyMethod(method_idx, dex_file, true) << "' on a null object reference";
392 const DexFile& dex_file = *dex_cache->GetDexFile(); local
393 ThrowNullPointerExceptionForMethodAccessImpl(method_idx, dex_file, type);
399 const DexFile& dex_file = *dex_cache->GetDexFile() local
535 const DexFile* dex_file = local
    [all...]
dex_file_test.cc 17 #include "dex_file.h"
24 #include "dex_file-inl.h"
162 std::unique_ptr<const DexFile> dex_file = std::move(tmp[0]); local
163 EXPECT_EQ(PROT_READ, dex_file->GetPermissions());
164 EXPECT_TRUE(dex_file->IsReadOnly());
165 return dex_file;
art_method-inl.h 26 #include "dex_file.h"
27 #include "dex_file-inl.h"
284 const DexFile* dex_file = GetDexFile(); local
285 return dex_file->GetMethodDeclaringClassDescriptor(dex_file->GetMethodId(dex_method_idx));
290 const DexFile* dex_file = GetDexFile(); local
291 return dex_file->GetMethodShorty(dex_file->GetMethodId(GetDexMethodIndex()), out_length);
298 const DexFile* dex_file = GetDexFile(); local
299 return dex_file->GetMethodSignature(dex_file->GetMethodId(dex_method_idx))
308 const DexFile* dex_file = GetDexFile(); local
346 const DexFile* dex_file = GetDexFile(); local
352 const DexFile* dex_file = GetDexFile(); local
375 const DexFile* dex_file = GetDexFile(); local
384 const DexFile* dex_file = GetDexFile(); local
429 const DexFile* dex_file = GetDexFile(); local
    [all...]
  /art/test/common/
stack_inspect.cc 20 #include "dex_file-inl.h"
66 const DexFile& dex_file = klass->GetDexFile(); local
67 const OatFile::OatDexFile* oat_dex_file = dex_file.GetOatDexFile();
runtime_state.cc 20 #include "dex_file-inl.h"
40 const DexFile& dex_file = klass->GetDexFile(); local
41 const OatFile::OatDexFile* oat_dex_file = dex_file.GetOatDexFile();
80 const DexFile& dex_file = klass->GetDexFile(); local
81 const OatFile::OatDexFile* oat_dex_file = dex_file.GetOatDexFile();
  /art/compiler/optimizing/
dex_cache_array_fixups_arm.cc 52 const DexFile& dex_file = load_string->GetDexFile(); variable
53 HArmDexCacheArraysBase* base = GetOrCreateDexCacheArrayBase(dex_file);
55 DexCacheArraysLayout layout(kArmPointerSize, &dex_file);
68 HArmDexCacheArraysBase* base = GetOrCreateDexCacheArrayBase(*target_method.dex_file);
70 DexCacheArraysLayout layout(kArmPointerSize, target_method.dex_file);
78 HArmDexCacheArraysBase* GetOrCreateDexCacheArrayBase(const DexFile& dex_file) {
80 auto lb = dex_cache_array_bases_.lower_bound(&dex_file);
82 !dex_cache_array_bases_.key_comp()(&dex_file, lb->first)) {
88 HArmDexCacheArraysBase* base = new (GetGraph()->GetArena()) HArmDexCacheArraysBase(dex_file);
91 dex_cache_array_bases_.PutBefore(lb, &dex_file, base)
    [all...]
intrinsics.cc 519 static bool CheckInvokeType(Intrinsics intrinsic, HInvoke* invoke, const DexFile& dex_file) {
552 class_linker->FindDexCache(soa.Self(), dex_file)->GetResolvedMethod(
578 const DexFile& dex_file = invoke->GetDexFile(); local
579 DexFileMethodInliner* inliner = driver_->GetMethodInlinerMap()->GetMethodInliner(&dex_file);
585 if (!CheckInvokeType(intrinsic, invoke, dex_file)) {
sharpening.cc 91 if (target_method.dex_file == &outer_graph->GetDexFile() &&
98 ContainsElement(compiler_driver_->GetDexFilesForOatFile(), target_method.dex_file);
110 DCHECK_EQ(target_method.dex_file, &graph_->GetDexFile());
160 const DexFile& dex_file = load_string->GetDexFile(); local
171 Handle<mirror::DexCache> dex_cache = IsSameDexFile(dex_file, *compilation_unit_.GetDexFile())
173 : hs.NewHandle(class_linker->FindDexCache(soa.Self(), dex_file));
178 mirror::String* string = class_linker->ResolveString(dex_file, string_index, dex_cache);
184 DCHECK(ContainsElement(compiler_driver_->GetDexFilesForOatFile(), &dex_file));
209 mirror::String* string = class_linker->LookupString(dex_file, string_index, dex_cache);
214 desired_load_kind = ContainsElement(compiler_driver_->GetDexFilesForOatFile(), &dex_file)
    [all...]
  /art/runtime/native/
java_lang_DexCache.cc 19 #include "dex_file.h"
34 const DexFile* dex_file = dex_cache->GetDexFile(); local
35 if (dex_file == nullptr) {
38 void* address = const_cast<void*>(reinterpret_cast<const void*>(dex_file->Begin()));
39 jobject byte_buffer = env->NewDirectByteBuffer(address, dex_file->Size());
java_lang_VMClassLoader.cc 84 const DexFile* dex_file = path[i]; local
87 const std::string& location(dex_file->GetBaseLocation());
  /art/test/117-nopatchoat/
nopatchoat.cc 18 #include "dex_file-inl.h"
33 const DexFile& dex_file = klass->GetDexFile(); local
34 return dex_file.GetOatDexFile();
  /art/test/595-profile-saving/
profile-saving.cc 17 #include "dex_file.h"
77 const DexFile* dex_file = soa.Decode<mirror::Class*>(cls)->GetDexCache()->GetDexFile(); local
79 dex_file,
  /art/compiler/debug/
method_debug_info.h 21 #include "dex_file.h"
28 const DexFile* dex_file; // Native methods (trampolines) do not reference dex file. member in struct:art::debug::MethodDebugInfo
  /art/runtime/mirror/
dex_cache.h 49 void Init(const DexFile* dex_file,
194 void SetDexFile(const DexFile* dex_file) SHARED_REQUIRES(Locks::mutator_lock_) {
195 SetFieldPtr<false>(OFFSET_OF_OBJECT_MEMBER(DexCache, dex_file_), dex_file); local
  /art/compiler/
common_compiler_test.cc 50 const DexFile& dex_file = *dex_cache->GetDexFile(); local
52 compiler_driver_->GetCompiledMethod(MethodReference(&dex_file,
  /art/compiler/driver/
compiler_driver-inl.h 70 Handle<mirror::ClassLoader> class_loader, const DexFile* dex_file,
72 DCHECK_EQ(dex_cache->GetDexFile(), dex_file);
74 *dex_file, field_idx, dex_cache, class_loader, is_static);
89 inline mirror::DexCache* CompilerDriver::FindDexCache(const DexFile* dex_file) {
90 return Runtime::Current()->GetClassLinker()->FindDexCache(Thread::Current(), *dex_file, false);
180 const DexFile* dex_file = dex_cache->GetDexFile(); local
189 storage_idx = resolved_member->GetDeclaringClass()->FindTypeIndexInOtherDexFile(*dex_file);
320 *target_method->dex_file,
321 target_method->dex_file->GetMethodId(target_method->dex_method_index).class_idx_,
333 const bool same_dex_file = target_method->dex_file == mUnit->GetDexFile()
    [all...]
compiler_driver_test.cc 26 #include "dex_file.h"
72 const DexFile* dex_file = class_path[i]; local
73 CHECK(dex_file != nullptr);
74 MakeDexFileExecutable(class_loader, *dex_file);
78 void MakeDexFileExecutable(jobject class_loader, const DexFile& dex_file) {
80 for (size_t i = 0; i < dex_file.NumClassDefs(); i++) {
81 const DexFile::ClassDef& class_def = dex_file.GetClassDef(i);
82 const char* descriptor = dex_file.GetClassDescriptor(class_def);
201 for (const DexFile* dex_file : GetDexFiles(class_loader)) {
202 ASSERT_TRUE(dex_file->EnableWrite())
    [all...]
  /art/compiler/linker/
multi_oat_relative_patcher_test.cc 28 return lhs.dex_file == rhs.dex_file && lhs.dex_method_index == rhs.dex_method_index;
126 const DexFile* dex_file = reinterpret_cast<const DexFile*>(1); local
127 MethodReference ref1(dex_file, 1u);
128 MethodReference ref2(dex_file, 2u);
159 const DexFile* dex_file = reinterpret_cast<const DexFile*>(1); local
160 MethodReference ref1(dex_file, 1u);
161 MethodReference ref2(dex_file, 2u);
162 MethodReference ref3(dex_file, 3u);
  /art/runtime/interpreter/
interpreter.cc 495 const DexFile* dex_file = caller->GetDexFile(); local
496 const DexFile::MethodId& method_id = dex_file->GetMethodId(callee_method_idx);
497 const char* class_name = dex_file->StringByTypeIdx(method_id.class_idx_);
498 const char* method_name = dex_file->GetMethodName(method_id);

Completed in 256 milliseconds

1 2 3