HomeSort by relevance Sort by last modified time
    Searched refs:OatFile (Results 1 - 25 of 47) sorted by null

1 2

  /art/runtime/
oat_file_manager.h 40 class OatFile;
53 const OatFile* RegisterOatFile(std::unique_ptr<const OatFile> oat_file)
56 void UnRegisterAndDeleteOatFile(const OatFile* oat_file)
60 const OatFile* FindOpenedOatFileFromOatLocation(const std::string& oat_location) const
65 const OatFile* FindOpenedOatFileFromDexLocation(const std::string& dex_base_location) const
74 std::vector<const OatFile*> GetBootOatFiles() const;
77 const OatFile* GetPrimaryOatFile() const REQUIRES(!Locks::oat_file_manager_lock_);
81 std::vector<const OatFile*> RegisterImageOatFiles(std::vector<gc::space::ImageSpace*> spaces)
102 /*out*/ const OatFile** out_oat_file
    [all...]
oat_file_test.cc 35 OatFile::ResolveRelativeEncodedDexLocation(
39 OatFile::ResolveRelativeEncodedDexLocation(
43 OatFile::ResolveRelativeEncodedDexLocation(
47 OatFile::ResolveRelativeEncodedDexLocation(
51 OatFile::ResolveRelativeEncodedDexLocation(
55 OatFile::ResolveRelativeEncodedDexLocation(
59 OatFile::ResolveRelativeEncodedDexLocation(
63 OatFile::ResolveRelativeEncodedDexLocation(
77 std::unique_ptr<OatFile> odex_file(OatFile::Open(/* zip_fd */ -1
    [all...]
oat_file-inl.h 25 inline const OatQuickMethodHeader* OatFile::OatMethod::GetOatQuickMethodHeader() const {
34 inline uint32_t OatFile::OatMethod::GetOatQuickMethodHeaderOffset() const {
42 inline uint32_t OatFile::OatMethod::GetQuickCodeSizeOffset() const {
50 inline size_t OatFile::OatMethod::GetFrameSizeInBytes() const {
58 inline uint32_t OatFile::OatMethod::GetCoreSpillMask() const {
66 inline uint32_t OatFile::OatMethod::GetFpSpillMask() const {
74 inline uint32_t OatFile::OatMethod::GetVmapTableOffset() const {
79 inline uint32_t OatFile::OatMethod::GetVmapTableOffsetOffset() const {
87 inline const uint8_t* OatFile::OatMethod::GetVmapTable() const {
99 inline uint32_t OatFile::OatMethod::GetQuickCodeSize() const
    [all...]
oat_file.h 68 class OatFile {
77 static OatFile* OpenWithElfFile(int zip_fd,
87 static OatFile* Open(int zip_fd,
97 // Similar to OatFile::Open(const std::string...), but accepts input vdex and
100 static OatFile* Open(int zip_fd,
116 static OatFile* OpenWritable(int zip_fd,
122 static OatFile* OpenReadable(int zip_fd,
128 virtual ~OatFile();
227 // Return the offset from the start of the OatFile to the
244 OatClass(const OatFile* oat_file
    [all...]
oat_file_assistant.h 223 std::unique_ptr<OatFile> GetBestOatFile();
244 static std::unique_ptr<gc::space::ImageSpace> OpenImageSpace(const OatFile* oat_file);
255 const OatFile& oat_file, const char* dex_location);
260 static bool LoadDexFiles(const OatFile& oat_file,
370 const OatFile* GetFile();
395 std::unique_ptr<OatFile> ReleaseFileForUse();
414 std::unique_ptr<OatFile> ReleaseFile();
428 std::unique_ptr<OatFile> file_;
470 bool DexChecksumUpToDate(const OatFile& file, std::string* error_msg);
474 OatStatus GivenOatFileStatus(const OatFile& file)
    [all...]
oat_file_manager.cc 59 const OatFile* OatFileManager::RegisterOatFile(std::unique_ptr<const OatFile> oat_file) {
68 for (const std::unique_ptr<const OatFile>& existing : oat_files_) {
76 const OatFile* ret = oat_file.get();
81 void OatFileManager::UnRegisterAndDeleteOatFile(const OatFile* oat_file) {
84 std::unique_ptr<const OatFile> compare(oat_file);
91 const OatFile* OatFileManager::FindOpenedOatFileFromDexLocation(
94 for (const std::unique_ptr<const OatFile>& oat_file : oat_files_) {
105 const OatFile* OatFileManager::FindOpenedOatFileFromOatLocation(const std::string& oat_location)
111 const OatFile* OatFileManager::FindOpenedOatFileFromOatLocationLocked
    [all...]
oat_file.cc 71 // Whether OatFile::Open will try dlopen. Fallback is our own ELF loader.
74 // Whether OatFile::Open will try dlopen on the host. On the host we're not linking against
85 // These are used in OatFile::Open to try all our loaders.
91 // 3) ComputeFields() to populate the OatFile fields like begin_, using FindDynamicSymbolAddress.
95 class OatFileBase : public OatFile {
127 OatFileBase(const std::string& filename, bool executable) : OatFile(filename, executable) {}
386 // Read an unaligned entry from the OatDexFile data in OatFile and advance the read
388 // Return true on success, false if the read would go beyond the end of the OatFile.
390 inline static bool ReadOatDexFileData(const OatFile& oat_file,
437 static bool ReadIndexBssMapping(OatFile* oat_file
    [all...]
oat_file_assistant.cc 290 std::unique_ptr<OatFile> OatFileAssistant::GetBestOatFile() {
304 const OatFile* file = oat_.GetFile();
325 const OatFile* file = odex_.GetFile();
342 const OatFile &oat_file, const char *dex_location) {
352 const OatFile &oat_file,
357 const OatFile::OatDexFile* oat_dex_file = oat_file.GetOatDexFile(
438 bool OatFileAssistant::DexChecksumUpToDate(const OatFile& file, std::string* error_msg) {
456 const OatFile::OatDexFile* oat_dex_file = file.GetOatDexFile(dex.c_str(), nullptr);
472 OatFileAssistant::OatStatus OatFileAssistant::GivenOatFileStatus(const OatFile& file) {
780 ? OatFile::kSpecialSharedLibrar
    [all...]
class_loader_context.h 32 class OatFile;
165 std::vector<std::unique_ptr<OatFile>> opened_oat_files;
232 // files. When true, dex2oat will use OatFile::kSpecialSharedLibrary as the classpath key in
class_table.h 33 class OatFile;
237 bool InsertOatFile(const OatFile* oat_file)
282 bool InsertOatFileLocked(const OatFile* oat_file)
295 std::vector<const OatFile*> oat_files_ GUARDED_BY(lock_);
oat_file_assistant_test.cc 154 std::unique_ptr<OatFile> oat_file = oat_file_assistant.GetBestOatFile();
520 std::unique_ptr<OatFile> oat_file = oat_file_assistant.GetBestOatFile();
579 std::unique_ptr<OatFile> best_file = oat_file_assistant.GetBestOatFile();
610 std::unique_ptr<OatFile> oat_file = oat_file_assistant.GetBestOatFile();
    [all...]
class_table-inl.h 38 for (const OatFile* oat_file : oat_files_) {
56 for (const OatFile* oat_file : oat_files_) {
  /art/runtime/gc/space/
image_space.h 27 class OatFile;
52 const OatFile* oat_file,
63 // Give access to the OatFile.
64 const OatFile* GetOatFile() const;
66 // Releases the OatFile from the ImageSpace so it can be transfer to
68 std::unique_ptr<const OatFile> ReleaseOatFile();
143 static bool ValidateOatFile(const OatFile& oat_file, std::string* error_msg);
168 // If validate_oat_file is false (for /system), do not verify that image's OatFile is up-to-date
170 // OatFile in /data/dalvik-cache if necessary. If the oat_file is null, it uses the oat file from
175 const OatFile* oat_file
    [all...]
image_space_test.cc 46 std::unique_ptr<OatFile> oat(OatFile::Open(/* zip_fd */ -1,
  /art/test/117-nopatchoat/
nopatchoat.cc 31 static const OatFile::OatDexFile* getOatDexFile(jclass cls) {
45 const OatFile::OatDexFile* oat_dex_file = getOatDexFile(cls);
51 const OatFile::OatDexFile* oat_dex_file = getOatDexFile(cls);
57 const OatFile* oat_file = oat_dex_file->GetOatFile();
  /art/dexlayout/
dexdiag_test.cc 58 std::unique_ptr<OatFile> OpenOatAndVdexFiles() {
71 std::unique_ptr<OatFile> oat(OatFile::Open(/* zip_fd */ -1,
122 std::unique_ptr<OatFile> oat = OpenOatAndVdexFiles();
134 std::unique_ptr<OatFile> oat = OpenOatAndVdexFiles();
148 std::unique_ptr<OatFile> oat = OpenOatAndVdexFiles();
  /external/smali/baksmali/src/main/java/org/jf/baksmali/
ListDependenciesCommand.java 41 import org.jf.dexlib2.dexbacked.OatFile;
90 OatFile oatFile = OatFile.fromInputStream(inputStream);
91 for (String entry: oatFile.getBootClassPath()) {
95 } catch (OatFile.NotAnOatFileException ex) {
  /external/smali/dexlib2/src/main/java/org/jf/dexlib2/
DexFileFactory.java 42 import org.jf.dexlib2.dexbacked.OatFile;
43 import org.jf.dexlib2.dexbacked.OatFile.NotAnOatFileException;
44 import org.jf.dexlib2.dexbacked.OatFile.OatDexFile;
45 import org.jf.dexlib2.dexbacked.OatFile.VdexProvider;
111 OatFile oatFile = null;
113 oatFile = OatFile.fromInputStream(inputStream, new FilenameVdexProvider(file));
118 if (oatFile != null) {
119 if (oatFile.isSupportedVersion() == OatFile.UNSUPPORTED)
    [all...]
  /art/test/661-oat-writer-layout/
oat_writer_layout.cc 58 OatFile::OatClass oat_class = OatFile::FindOatClass(*klass_ptr->GetDexCache()->GetDexFile(),
  /external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/
OatFile.java 39 import org.jf.dexlib2.dexbacked.OatFile.OatDexFile;
40 import org.jf.dexlib2.dexbacked.OatFile.SymbolTable.Symbol;
56 public class OatFile extends BaseDexBuffer implements MultiDexContainer<OatDexFile> {
75 public OatFile(@Nonnull byte[] buf) {
79 public OatFile(@Nonnull byte[] buf, @Nullable VdexProvider vdexProvider) {
126 public static OatFile fromInputStream(@Nonnull InputStream is) throws IOException {
130 public static OatFile fromInputStream(@Nonnull InputStream is, @Nullable VdexProvider vdexProvider)
150 return new OatFile(buf, vdexProvider);
241 @Nonnull @Override public OatFile getContainer() {
242 return OatFile.this
    [all...]
  /external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/
ClassPathResolver.java 43 import org.jf.dexlib2.dexbacked.OatFile;
44 import org.jf.dexlib2.dexbacked.OatFile.OatDexFile;
244 if (loadOatDependencies && container instanceof OatFile) {
245 List<String> oatDependencies = ((OatFile)container).getBootClassPath();
322 if (dexFile instanceof OatFile.OatDexFile) {
  /art/dex2oat/
dex2oat_test.cc 112 [](const OatFile&) {});
138 std::unique_ptr<OatFile> odex_file(OatFile::Open(/* zip_fd */ -1,
158 std::unique_ptr<OatFile> odex_file(OatFile::Open(/* zip_fd */ -1,
547 std::unique_ptr<OatFile> odex_file(OatFile::Open(/* zip_fd */ -1,
572 OatFile::OatClass oat_class = oat_dex_file->GetOatClass(class_def_index);
818 std::unique_ptr<OatFile> odex_file(OatFile::Open(/* zip_fd */ -1
    [all...]
  /art/dex2oat/linker/
oat_writer_test.cc 59 const OatFile::OatMethod& oat_method,
423 std::unique_ptr<OatFile> oat_file(OatFile::Open(/* zip_fd */ -1,
443 const OatFile::OatDexFile* oat_dex_file = oat_file->GetOatDexFile(dex_file.GetLocation().c_str(),
464 const OatFile::OatClass oat_class = oat_dex_file->GetOatClass(i);
558 std::unique_ptr<OatFile> oat_file(OatFile::Open(/* zip_fd */ -1,
636 std::unique_ptr<OatFile> opened_oat_file(OatFile::Open(/* zip_fd */ -1,
767 std::unique_ptr<OatFile> opened_oat_file(OatFile::Open(/* zip_fd */ -1
    [all...]
  /art/oatdump/
oatdump.cc 110 static std::map<const OatFile::OatDexFile*,
113 const DexFile* OpenDexFile(const OatFile::OatDexFile* oat_dex_file, std::string* error_msg) {
127 OatSymbolizer(const OatFile* oat_file, const std::string& output_name, bool no_bits) :
234 std::vector<const OatFile::OatDexFile*> oat_dex_files = oat_file_->GetOatDexFiles();
236 const OatFile::OatDexFile* oat_dex_file = oat_dex_files[i];
242 void WalkOatDexFile(const OatFile::OatDexFile* oat_dex_file) {
251 const OatFile::OatClass oat_class = oat_dex_file->GetOatClass(class_def_index);
267 void WalkOatClass(const OatFile::OatClass& oat_class,
291 void WalkOatMethod(const OatFile::OatMethod& oat_method,
333 const OatFile* oat_file_
    [all...]
  /art/compiler/
common_compiler_test.h 47 OatFile::OatMethod CreateOatMethod(const void* code);

Completed in 603 milliseconds

1 2