Lines Matching defs:dex_file
22 #include "dex_file-inl.h"
109 const DexFile* dex_file;
111 dex_file = linker->FindDexFileInOatFileFromDexLocation(dex_location, dex_location_checksum);
114 dex_file = linker->FindOrCreateOatFileForDexLocation(dex_location, dex_location_checksum, oat_location);
116 if (dex_file == NULL) {
123 return static_cast<jint>(reinterpret_cast<uintptr_t>(dex_file));
127 const DexFile* dex_file = reinterpret_cast<const DexFile*>(static_cast<uintptr_t>(dex_file_address));
128 if (dex_file == NULL) {
129 ThrowNullPointerException(NULL, "dex_file == null");
131 return dex_file;
135 const DexFile* dex_file;
138 dex_file = toDexFile(cookie);
140 if (dex_file == NULL) {
143 if (Runtime::Current()->GetClassLinker()->IsDexFileRegistered(*dex_file)) {
146 delete dex_file;
152 const DexFile* dex_file = toDexFile(cookie);
153 if (dex_file == NULL) {
154 VLOG(class_linker) << "Failed to find dex_file";
163 const DexFile::ClassDef* dex_class_def = dex_file->FindClassDef(descriptor.c_str());
169 class_linker->RegisterDexFile(*dex_file);
171 mirror::Class* result = class_linker->DefineClass(descriptor.c_str(), class_loader, *dex_file,
178 const DexFile* dex_file;
181 dex_file = toDexFile(cookie);
183 if (dex_file == NULL) {
188 for (size_t i = 0; i < dex_file->NumClassDefs(); ++i) {
189 const DexFile::ClassDef& class_def = dex_file->GetClassDef(i);
190 const char* descriptor = dex_file->GetClassDescriptor(class_def);