HomeSort by relevance Sort by last modified time
    Searched refs:dex_file (Results 26 - 50 of 107) sorted by null

12 3 4 5

  /art/compiler/driver/
compiler_driver.h 29 #include "dex_file.h"
193 void AddRequiresConstructorBarrier(Thread* self, const DexFile* dex_file,
195 bool RequiresConstructorBarrier(Thread* self, const DexFile* dex_file, uint16_t class_def_index);
199 bool CanAssumeTypeIsPresentInDexCache(const DexFile& dex_file, uint32_t type_idx);
201 bool CanAssumeStringIsPresentInDexCache(const DexFile& dex_file, uint32_t string_idx)
205 bool CanAccessTypeWithoutChecks(uint32_t referrer_idx, const DexFile& dex_file,
212 bool CanAccessInstantiableTypeWithoutChecks(uint32_t referrer_idx, const DexFile& dex_file,
216 bool CanEmbedTypeInCode(const DexFile& dex_file, uint32_t type_idx,
220 bool CanEmbedStringInCode(const DexFile& dex_file, uint32_t string_idx,
330 const VerifiedMethod* GetVerifiedMethod(const DexFile* dex_file, uint32_t method_idx) const
    [all...]
compiler_driver_test.cc 25 #include "dex_file.h"
72 const DexFile* dex_file = class_path[i]; local
73 CHECK(dex_file != NULL);
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);
compiler_driver-inl.h 127 const DexFile* dex_file = dex_cache->GetDexFile(); local
138 dex_file->FindStringId(
142 dex_file->FindTypeId(dex_file->GetIndexForStringId(*string_id));
145 storage_idx = dex_file->GetIndexForTypeId(*type_id);
154 CanAssumeTypeIsPresentInDexCache(*dex_file, storage_idx);
241 CHECK(target_method->dex_file == mUnit->GetDexFile());
265 if (LIKELY(devirt_target->dex_file == mUnit->GetDexFile())) {
266 called_method = class_linker->ResolveMethod(*devirt_target->dex_file,
273 hs.NewHandle(class_linker->FindDexCache(*devirt_target->dex_file)));
    [all...]
dex_compilation_unit.h 22 #include "dex_file.h"
39 const DexFile& dex_file, const DexFile::CodeItem* code_item,
  /art/runtime/
class_linker.h 28 #include "dex_file.h"
101 const DexFile& dex_file, const DexFile::ClassDef& dex_class_def)
144 mirror::String* ResolveString(const DexFile& dex_file, uint32_t string_idx,
151 mirror::Class* ResolveType(const DexFile& dex_file, uint16_t type_idx, mirror::Class* referrer)
167 mirror::Class* ResolveType(const DexFile& dex_file, uint16_t type_idx,
177 mirror::ArtMethod* ResolveMethod(const DexFile& dex_file,
203 mirror::ArtField* ResolveField(const DexFile& dex_file,
214 mirror::ArtField* ResolveFieldJLS(const DexFile& dex_file, uint32_t field_idx,
233 void RegisterDexFile(const DexFile& dex_file)
236 void RegisterDexFile(const DexFile& dex_file, Handle<mirror::DexCache> dex_cache
    [all...]
class_linker-inl.h 66 const DexFile& dex_file = *dex_cache->GetDexFile(); local
67 resolved_string = ResolveString(dex_file, string_idx, dex_cache);
83 const DexFile& dex_file = *dex_cache->GetDexFile(); local
84 resolved_type = ResolveType(dex_file, type_idx, dex_cache, class_loader);
99 const DexFile& dex_file = *dex_cache->GetDexFile(); local
100 resolved_type = ResolveType(dex_file, type_idx, dex_cache, class_loader);
129 const DexFile* dex_file = h_dex_cache->GetDexFile(); local
130 resolved_method = ResolveMethod(*dex_file, method_idx, h_dex_cache, h_class_loader, h_referrer,
150 const DexFile& dex_file = *dex_cache->GetDexFile(); local
151 resolved_field = ResolveField(dex_file, field_idx, dex_cache, class_loader, is_static)
    [all...]
class_linker.cc 37 #include "dex_file-inl.h"
351 for (const DexFile* dex_file : boot_class_path) {
352 CHECK(dex_file != nullptr);
353 AppendToBootClassPath(*dex_file);
523 const DexFile& dex_file = java_lang_Object->GetDexFile(); local
524 const DexFile::StringId* void_string_id = dex_file.FindStringId("V");
526 uint32_t void_string_index = dex_file.GetIndexForStringId(*void_string_id);
527 const DexFile::TypeId* void_type_id = dex_file.FindTypeId(void_string_index);
529 uint16_t void_type_idx = dex_file.GetIndexForTypeId(*void_type_id);
532 mirror::Class* resolved_type = ResolveType(dex_file, void_type_idx, java_lang_Object.Get())
788 const DexFile* dex_file = oat_dex_file->OpenDexFile(&error_msg); local
1173 std::unique_ptr<const DexFile> dex_file; local
1643 const DexFile* dex_file = oat_dex_file->OpenDexFile(&error_msg); local
2085 mirror::Object* dex_file = dex_file_field->GetObject(element); local
2559 const DexFile& dex_file = klass->GetDexFile(); local
3449 const DexFile* dex_file = dex_cache->GetDexFile(); local
3574 const DexFile& dex_file = *klass->GetDexCache()->GetDexFile(); local
4208 const DexFile& dex_file = klass->GetDexFile(); local
5902 const DexFile& dex_file = *dex_cache->GetDexFile(); local
6010 const DexFile& dex_file = m->GetDeclaringClass()->GetDexFile(); local
    [all...]
dex_file.cc 17 #include "dex_file.h"
31 #include "dex_file-inl.h"
110 std::unique_ptr<const DexFile> dex_file(DexFile::OpenFile(fd.release(), filename, false, error_msg));
111 if (dex_file.get() == NULL) {
114 *checksum = dex_file->GetHeader().checksum_;
133 std::unique_ptr<const DexFile> dex_file(DexFile::OpenFile(fd.release(), location, true,
135 if (dex_file.get() != nullptr) {
136 dex_files->push_back(dex_file.release());
208 const DexFile* dex_file = OpenMemory(location, dex_header->checksum_, map.release(), error_msg); local
209 if (dex_file == nullptr)
    [all...]
method_helper.cc 20 #include "dex_file-inl.h"
29 const DexFile* dex_file = method_->GetDexFile(); local
32 const DexFile::MethodId& method_id = dex_file->GetMethodId(dex_method_idx);
35 return Runtime::Current()->GetClassLinker()->ResolveString(*dex_file, method_id.name_idx_,
profiler.h 75 if (mr1.dex_file == mr2.dex_file) {
82 return mr1.dex_file < mr2.dex_file;
common_throws.cc 23 #include "dex_file-inl.h"
320 const DexFile& dex_file = *dex_cache->GetDexFile(); local
322 msg << "No method '" << PrettyMethod(method_idx, dex_file, true) << "'";
339 const DexFile& dex_file,
344 << PrettyMethod(method_idx, dex_file, true) << "' on a null object reference";
352 const DexFile& dex_file = *dex_cache->GetDexFile(); local
354 dex_file, type);
361 const DexFile& dex_file = *dex_cache->GetDexFile(); local
363 dex_file, type);
496 const DexFile& dex_file local
    [all...]
  /art/compiler/dex/
frontend.cc 482 dex_file(nullptr),
530 LOG(INFO) << "TIMINGS " << PrettyMethod(method_idx, *dex_file);
555 static bool CanCompileMethod(uint32_t method_idx, const DexFile& dex_file,
570 const char* shorty = dex_file.GetMethodShorty(dex_file.GetMethodId(method_idx));
604 const char* invoke_method_shorty = dex_file.GetMethodShorty(
605 dex_file.GetMethodId(invoke_method_idx));
608 << PrettyMethod(invoke_method_idx, dex_file)
623 jobject class_loader, const DexFile& dex_file,
625 VLOG(compiler) << "Compiling " << PrettyMethod(method_idx, dex_file) << "..."
    [all...]
global_value_numbering.h 112 const DexFile* dex_file; member in struct:art::GlobalValueNumbering::FieldReference
122 // If the field_idx and dex_file match, the type must also match.
123 DCHECK(lhs.dex_file != rhs.dex_file || lhs.type == rhs.type);
124 return lhs.dex_file < rhs.dex_file;
verification_results.cc 69 << PrettyMethod(ref.dex_method_index, *ref.dex_file);
114 method_ref.dex_method_index, *(method_ref.dex_file)).find("fibonacci"));
compiler_ir.h 54 const DexFile* dex_file; // DexFile containing the method being compiled. member in struct:art::CompilationUnit
frontend.h 20 #include "dex_file.h"
124 const art::DexFile& dex_file);
  /art/compiler/optimizing/
optimizing_compiler.cc 80 const DexFile& dex_file) const {
94 nullptr, class_loader, art::Runtime::Current()->GetClassLinker(), dex_file, code_item,
96 GetCompilerDriver()->GetVerifiedMethod(&dex_file, method_idx));
106 HGraphBuilder builder(&arena, &dex_compilation_unit, &dex_file, GetCompilerDriver());
builder.h 20 #include "dex_file.h"
36 const DexFile* dex_file = nullptr,
47 dex_file_(dex_file),
  /art/compiler/llvm/
compiler_llvm.cc 46 const DexFile& dex_file,
210 const art::DexFile& dex_file) {
215 NULL, class_loader, class_linker, dex_file, code_item,
216 class_def_idx, method_idx, access_flags, driver->GetVerifiedMethod(&dex_file, method_idx));
224 const art::DexFile& dex_file) {
228 nullptr, nullptr, class_linker, dex_file, nullptr,
  /art/compiler/dex/quick/
mir_to_lir-inl.h 72 << PrettyMethod(cu_->method_idx, *cu_->dex_file) << " "
82 << PrettyMethod(cu_->method_idx, *cu_->dex_file) << " "
92 << PrettyMethod(cu_->method_idx, *cu_->dex_file) << " "
102 << PrettyMethod(cu_->method_idx, *cu_->dex_file) << " "
112 << PrettyMethod(cu_->method_idx, *cu_->dex_file) << " "
122 << PrettyMethod(cu_->method_idx, *cu_->dex_file) << " "
133 << PrettyMethod(cu_->method_idx, *cu_->dex_file) << " "
dex_file_method_inliner.h 25 #include "dex_file.h"
293 static uint32_t FindClassIndex(const DexFile* dex_file, IndexCache* cache,
295 static uint32_t FindNameIndex(const DexFile* dex_file, IndexCache* cache,
297 static uint32_t FindProtoIndex(const DexFile* dex_file, IndexCache* cache,
299 static uint32_t FindMethodIndex(const DexFile* dex_file, IndexCache* cache,
303 * Find all known intrinsic methods in the dex_file and cache their indices.
307 void FindIntrinsics(const DexFile* dex_file) EXCLUSIVE_LOCKS_REQUIRED(lock_);
dex_file_method_inliner.cc 575 uint32_t DexFileMethodInliner::FindClassIndex(const DexFile* dex_file, IndexCache* cache,
582 const DexFile::StringId* string_id = dex_file->FindStringId(kClassCacheNames[index]);
587 uint32_t string_index = dex_file->GetIndexForStringId(*string_id);
589 const DexFile::TypeId* type_id = dex_file->FindTypeId(string_index);
594 *class_index = dex_file->GetIndexForTypeId(*type_id);
598 uint32_t DexFileMethodInliner::FindNameIndex(const DexFile* dex_file, IndexCache* cache,
605 const DexFile::StringId* string_id = dex_file->FindStringId(kNameCacheNames[index]);
610 *name_index = dex_file->GetIndexForStringId(*string_id);
614 uint32_t DexFileMethodInliner::FindProtoIndex(const DexFile* dex_file, IndexCache* cache,
622 uint32_t return_index = FindClassIndex(dex_file, cache, proto_def.return_type)
    [all...]
  /art/compiler/
oat_writer.cc 26 #include "dex_file-inl.h"
215 virtual bool StartClass(const DexFile* dex_file, size_t class_def_index) {
218 dex_file_ = dex_file;
258 bool StartClass(const DexFile* dex_file, size_t class_def_index) {
259 DexMethodVisitor::StartClass(dex_file, class_def_index);
284 bool StartClass(const DexFile* dex_file, size_t class_def_index) {
285 DexMethodVisitor::StartClass(dex_file, class_def_index);
702 for (const DexFile* dex_file : *dex_files_) {
703 const size_t class_def_count = dex_file->NumClassDefs();
705 if (UNLIKELY(!visitor->StartClass(dex_file, class_def_index)))
756 const DexFile* dex_file = (*dex_files_)[i]; local
776 const DexFile* dex_file = (*dex_files_)[i]; local
984 const DexFile* dex_file = (*dex_files_)[i]; local
989 const DexFile* dex_file = (*dex_files_)[i]; local
    [all...]
  /art/runtime/mirror/
dex_cache.h 48 void Init(const DexFile* dex_file,
153 void SetDexFile(const DexFile* dex_file) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_)
155 return SetFieldPtr<false>(OFFSET_OF_OBJECT_MEMBER(DexCache, dex_file_), dex_file);
  /art/runtime/native/
java_lang_VMClassLoader.cc 82 const DexFile* dex_file = path[index]; local
85 const std::string& location(dex_file->GetBaseLocation());

Completed in 174 milliseconds

12 3 4 5