Home | History | Annotate | Download | only in oatdump

Lines Matching refs:oat_file

72 #include "oat_file-inl.h"
127 OatSymbolizer(const OatFile* oat_file, const std::string& output_name, bool no_bits) :
128 oat_file_(oat_file),
389 OatDumper(const OatFile& oat_file, const OatDumperOptions& options)
390 : oat_file_(oat_file),
391 oat_dex_files_(oat_file.GetOatDexFiles()),
398 oat_file.Begin(),
399 oat_file.End(),
2078 const OatFile* oat_file = image_space_.GetOatFile();
2079 if (oat_file == nullptr) {
2080 oat_file = runtime->GetOatFileManager().FindOpenedOatFileFromOatLocation(oat_location);
2082 if (oat_file == nullptr) {
2083 oat_file = OatFile::Open(/* zip_fd */ -1,
2093 if (oat_file == nullptr) {
2099 stats_.oat_file_bytes = oat_file->Size();
2101 oat_dumper_.reset(new OatDumper(*oat_file, *oat_dumper_options_));
2103 for (const OatFile::OatDexFile* oat_dex_file : oat_file->GetOatDexFiles()) {
2972 std::unique_ptr<OatFile> oat_file(OatFile::Open(/* zip_fd */ -1,
2981 if (oat_file == nullptr) {
2986 gc::space::ImageSpace::CreateFromAppImage(options->app_image_, oat_file.get(), &error_msg));
3017 std::unique_ptr<OatFile> oat_file,
3026 OatFile* oat_file_ptr = oat_file.get();
3028 runtime->GetOatFileManager().RegisterOatFile(std::move(oat_file));
3054 std::unique_ptr<OatFile> oat_file,
3057 CHECK(runtime != nullptr && oat_file != nullptr && options != nullptr);
3060 OatFile* oat_file_ptr = oat_file.get();
3062 jobject class_loader = InstallOatFile(runtime, std::move(oat_file), &class_path);
3075 static int DumpOatWithoutRuntime(OatFile* oat_file, OatDumperOptions* options, std::ostream* os) {
3076 CHECK(oat_file != nullptr && options != nullptr);
3081 OatDumper oat_dumper(*oat_file, *options);
3096 std::unique_ptr<OatFile> oat_file(OatFile::Open(/* zip_fd */ -1,
3105 if (oat_file == nullptr) {
3111 return DumpOatWithRuntime(runtime, std::move(oat_file), options, os);
3113 return DumpOatWithoutRuntime(oat_file.get(), options, os);
3122 std::unique_ptr<OatFile> oat_file(OatFile::Open(/* zip_fd */ -1,
3131 if (oat_file == nullptr) {
3139 if (Is64BitInstructionSet(oat_file->GetOatHeader().GetInstructionSet())) {
3140 OatSymbolizer<ElfTypes64> oat_symbolizer(oat_file.get(), output_name, no_bits);
3143 OatSymbolizer<ElfTypes32> oat_symbolizer(oat_file.get(), output_name, no_bits);
3170 std::unique_ptr<OatFile> oat_file(OatFile::Open(/* zip_fd */ -1,
3179 if (oat_file == nullptr) {
3185 InstallOatFile(runtime, std::move(oat_file), &class_path)));