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

1 23 4 5

  /art/runtime/native/
dalvik_system_DexFile.cc 33 #include "dex_file-inl.h"
145 ThrowNullPointerException(NULL, "dex_file == null");
158 for (const DexFile* dex_file : *dex_files) {
159 if (Runtime::Current()->GetClassLinker()->IsDexFileRegistered(*dex_file)) {
173 VLOG(class_linker) << "Failed to find dex_file";
183 for (const DexFile* dex_file : *dex_files) {
184 const DexFile::ClassDef* dex_class_def = dex_file->FindClassDef(descriptor.c_str(), hash);
188 class_linker->RegisterDexFile(*dex_file);
193 class_loader, *dex_file, *dex_class_def);
220 for (const DexFile* dex_file : *dex_files)
    [all...]
  /art/compiler/
elf_writer_mclinker.cc 246 const DexFile& dex_file = it.GetDexFile(); local
249 compiler_driver_->GetCompiledMethod(MethodReference(&dex_file, method_idx));
356 const DexFile& dex_file = it.GetDexFile(); local
365 Handle<mirror::DexCache> dex_cache(hs.NewHandle(linker->FindDexCache(dex_file)));
366 method = linker->ResolveMethod(dex_file, method_idx, dex_cache,
372 compiler_driver_->GetCompiledMethod(MethodReference(&dex_file, method_idx));
image_test.cc 75 for (const DexFile* dex_file : class_linker->GetBootClassPath()) {
76 dex_file->EnableWrite();
  /art/runtime/mirror/
art_field-inl.h 251 const DexFile* dex_file = GetDexFile(); local
252 return dex_file->GetFieldName(dex_file->GetFieldId(field_index));
263 const DexFile* dex_file = GetDexFile(); local
264 const DexFile::FieldId& field_id = dex_file->GetFieldId(field_index);
265 return dex_file->GetFieldTypeDescriptor(field_id);
object_test.cc 31 #include "dex_file.h"
328 const DexFile* dex_file = Runtime::Current()->GetCompileTimeClassPath(class_loader)[0]; local
329 CHECK(dex_file != NULL);
335 const DexFile::StringId* klass_string_id = dex_file->FindStringId("LStaticsFromCode;");
337 const DexFile::TypeId* klass_type_id = dex_file->FindTypeId(
338 dex_file->GetIndexForStringId(*klass_string_id));
341 const DexFile::StringId* type_string_id = dex_file->FindStringId("Ljava/lang/Object;");
343 const DexFile::TypeId* type_type_id = dex_file->FindTypeId(
344 dex_file->GetIndexForStringId(*type_string_id));
347 const DexFile::StringId* name_str_id = dex_file->FindStringId("s0")
    [all...]
  /art/runtime/verifier/
method_verifier.h 28 #include "dex_file.h"
144 static FailureKind VerifyClass(const DexFile* dex_file, Handle<mirror::DexCache> dex_cache,
151 const DexFile* dex_file,
206 MethodVerifier(const DexFile* dex_file, Handle<mirror::DexCache>* dex_cache,
211 : MethodVerifier(dex_file, dex_cache, class_loader, class_def, code_item, method_idx, method,
244 MethodVerifier(const DexFile* dex_file, Handle<mirror::DexCache>* dex_cache,
268 static FailureKind VerifyMethod(uint32_t method_idx, const DexFile* dex_file,
  /art/compiler/jni/portable/
jni_compiler.cc 22 #include "dex_file-inl.h"
66 const DexFile* dex_file = dex_compilation_unit_->GetDexFile(); local
68 dex_file->GetMethodId(dex_compilation_unit_->GetDexMethodIndex());
69 char const return_shorty = dex_file->GetMethodShorty(method_id)[0];
74 MangleForJni(PrettyMethod(method_idx, *dex_file)).c_str()));
  /art/runtime/
utils.cc 30 #include "dex_file-inl.h"
308 std::string PrettyField(uint32_t field_idx, const DexFile& dex_file, bool with_type) {
309 if (field_idx >= dex_file.NumFieldIds()) {
312 const DexFile::FieldId& field_id = dex_file.GetFieldId(field_idx);
315 result += dex_file.GetFieldTypeDescriptor(field_id);
318 result += PrettyDescriptor(dex_file.GetFieldDeclaringClassDescriptor(field_id));
320 result += dex_file.GetFieldName(field_id);
324 std::string PrettyType(uint32_t type_idx, const DexFile& dex_file) {
325 if (type_idx >= dex_file.NumTypeIds()) {
328 const DexFile::TypeId& type_id = dex_file.GetTypeId(type_idx)
    [all...]
common_runtime_test.cc 32 #include "dex_file.h"
335 for (const DexFile* dex_file : dex_files) {
336 CHECK_EQ(PROT_READ, dex_file->GetPermissions());
337 CHECK(dex_file->IsReadOnly());
352 for (const DexFile* dex_file : dex_files) {
353 class_linker_->RegisterDexFile(*dex_file);
intern_table.cc 158 const DexFile* dex_file = dex_cache->GetDexFile(); local
159 const size_t num_strings = dex_file->NumStringIds();
190 const DexFile* dex_file = dex_cache->GetDexFile(); local
192 const DexFile::StringId* string_id = dex_file->FindStringId(utf8.c_str());
194 uint32_t string_idx = dex_file->GetIndexForStringId(*string_id);
dex_file_test.cc 17 #include "dex_file.h"
161 const DexFile* dex_file = tmp[0]; local
162 EXPECT_EQ(PROT_READ, dex_file->GetPermissions());
163 EXPECT_TRUE(dex_file->IsReadOnly());
164 return dex_file;
dex_file.h 928 static const DexFile* OpenMemory(const byte* dex_file,
    [all...]
  /art/oatdump/
oatdump.cc 29 #include "dex_file-inl.h"
282 std::unique_ptr<const DexFile> dex_file(oat_dex_file->OpenDexFile(&error_msg));
283 if (dex_file.get() == nullptr) {
289 dex_file->FindClassDef(descriptor, ComputeModifiedUtf8Hash(descriptor));
291 uint16_t class_def_index = dex_file->GetIndexForClassDef(*class_def);
311 std::unique_ptr<const DexFile> dex_file(oat_dex_file->OpenDexFile(&error_msg));
312 if (dex_file.get() == nullptr) {
317 offsets_.insert(reinterpret_cast<uintptr_t>(&dex_file->GetHeader()));
319 class_def_index < dex_file->NumClassDefs();
321 const DexFile::ClassDef& class_def = dex_file->GetClassDef(class_def_index)
    [all...]
  /art/compiler/dex/
dex_to_dex_compiler.cc 19 #include "dex_file-inl.h"
277 const art::DexFile& dex_file,
281 dex_file, code_item, class_def_idx, method_idx, access_flags,
282 driver.GetVerifiedMethod(&dex_file, method_idx));
verified_method.cc 25 #include "dex_file.h"
87 *method_verifier->GetMethodReference().dex_file);
95 *method_verifier->GetMethodReference().dex_file);
110 *method_verifier->GetMethodReference().dex_file);
mir_method_info.cc 87 it->target_dex_file_ = target_method.dex_file;
mir_method_info.h 118 target_dex_file_ = ref.dex_file;
mir_graph.cc 24 #include "dex_file-inl.h"
555 LOG(INFO) << PrettyMethod(cu_->method_idx, *cu_->dex_file);
651 uint32_t method_idx, jobject class_loader, const DexFile& dex_file) {
658 dex_file, current_code_item_, class_def_idx, method_idx, access_flags,
659 cu_->compiler_driver->GetVerifiedMethod(&dex_file, method_idx)));
688 cu_->dex_file = &dex_file;
693 cu_->shorty = dex_file.GetMethodShorty(dex_file.GetMethodId(method_idx));
    [all...]
  /art/compiler/sea_ir/ir/
sea.h 26 #include "dex_file.h"
266 uint32_t method_idx, uint32_t method_access_flags, const art::DexFile& dex_file);
311 // Builds the non-SSA sea-ir representation of the function @code_item from @dex_file
314 const art::DexFile& dex_file, uint16_t class_def_idx,
342 CodeGenData* GenerateLLVM(const std::string& function_name, const art::DexFile& dex_file);
sea.cc 52 SeaGraph* SeaGraph::GetGraph(const art::DexFile& dex_file) {
53 return new SeaGraph(dex_file);
194 const art::DexFile& dex_file, uint16_t class_def_idx,
398 const art::DexFile& dex_file) {
403 CodeGenVisitor code_gen_visitor(code_gen_prepass_visitor.GetData(), dex_file);
413 uint32_t method_idx, uint32_t method_access_flags, const art::DexFile& dex_file) {
415 BuildMethodSeaGraph(code_item, dex_file, class_def_idx, method_idx, method_access_flags);
431 CodeGenData* cgd = GenerateLLVM(function_name, dex_file);
  /art/compiler/dex/quick/
codegen_util.cc 18 #include "dex_file-inl.h"
198 << PrettyMethod(cu_->method_idx, *cu_->dex_file);
318 << PrettyMethod(cu_->method_idx, *cu_->dex_file);
344 cu_->dex_file->GetMethodId(cu_->method_idx);
345 const Signature signature = cu_->dex_file->GetMethodSignature(method_id);
346 const char* name = cu_->dex_file->GetMethodName(method_id);
347 const char* descriptor(cu_->dex_file->GetMethodDeclaringClassDescriptor(method_id));
396 UnwrapPointer(data_target->operands[1]) == method.dex_file) {
467 cu_->compiler_driver->AddCodePatch(cu_->dex_file,
485 cu_->compiler_driver->AddMethodPatch(cu_->dex_file,
    [all...]
gen_common.cc 356 const DexFile* dex_file = cu_->dex_file; local
358 if (cu_->compiler_driver->CanAccessTypeWithoutChecks(cu_->method_idx, *dex_file, type_idx)) {
364 driver->CanEmbedTypeInCode(*dex_file, type_idx, &is_type_initialized, &use_direct_type_ptr,
397 if (cu_->compiler_driver->CanAccessTypeWithoutChecks(cu_->method_idx, *cu_->dex_file,
827 *cu_->dex_file,
984 const DexFile* dex_file = cu_->dex_file; local
    [all...]
  /art/compiler/sea_ir/code_gen/
code_gen.h 150 const art::DexFile& dex_file): CodeGenPassVisitor(code_gen_data), dex_file_(dex_file) { }
  /art/runtime/entrypoints/quick/
quick_trampoline_entrypoints.cc 19 #include "dex_file-inl.h"
715 const DexFile* dex_file; local
720 dex_file = caller->GetDexFile();
1785 const DexFile* dex_file = caller_method->GetDeclaringClass()->GetDexCache()->GetDexFile(); local
1923 const DexFile* dex_file = caller_method->GetDeclaringClass()->GetDexCache() local
    [all...]
  /art/compiler/jni/quick/
jni_compiler.cc 27 #include "dex_file-inl.h"
59 const DexFile& dex_file) {
64 const char* shorty = dex_file.GetMethodShorty(dex_file.GetMethodId(method_idx));
552 const art::DexFile& dex_file) {
553 return ArtJniCompileMethodInternal(compiler, access_flags, method_idx, dex_file);

Completed in 287 milliseconds

1 23 4 5