Searched defs:filename (Results 26 - 32 of 32) sorted by relevance

12

/art/runtime/
H A Dmonitor.cc271 const char* filename; local
273 TranslateLocation(visitor.method_, visitor.dex_pc_, &filename, &line_number);
286 (filename != nullptr ? filename : "null"),
376 const char* filename; local
378 TranslateLocation(m, pc, &filename, &line_number);
380 << PrettyMethod(m) << "(" << (filename != nullptr ? filename : "null") << ":"
H A Doat_file.cc96 OatFileBase(const std::string& filename, bool executable) : OatFile(filename, executable) {} argument
495 DlOpenOatFile(const std::string& filename, bool executable) argument
496 : OatFileBase(filename, executable),
757 ElfOatFile(const std::string& filename, bool executable) : OatFileBase(filename, executable) {} argument
872 *error_msg = StringPrintf("Failed to open oat filename for reading: %s", strerror(errno));
944 OatFile* OatFile::Open(const std::string& filename, argument
953 CHECK(!filename.empty()) << location;
957 if (!OS::FileExists(filename
[all...]
H A Ddex_file.cc72 bool DexFile::GetChecksum(const char* filename, uint32_t* checksum, std::string* error_msg) { argument
78 const char* file_part = filename;
81 if (DexFile::IsMultiDexLocation(filename)) {
82 file_part_storage = GetBaseLocation(filename);
84 zip_entry_name = filename + file_part_storage.size() + 1;
95 ZipArchive::OpenFromFd(fd.release(), filename, error_msg));
112 DexFile::OpenFile(fd.release(), filename, false, error_msg));
119 *error_msg = StringPrintf("Expected valid zip or dex file: '%s'", filename);
123 bool DexFile::Open(const char* filename, const char* location, std::string* error_msg, argument
128 ScopedFd fd(OpenAndReadMagic(filename,
150 ContainsClassesDex(int fd, const char* filename) argument
160 MaybeDex(const char* filename) argument
[all...]
H A Dutils.cc1355 std::string* filename, std::string* error_msg) {
1366 *filename = StringPrintf("%s/%s", cache_location, cache_file.c_str());
1379 static void InsertIsaDirectory(const InstructionSet isa, std::string* filename) { argument
1382 size_t pos = filename->rfind('/');
1383 CHECK_NE(pos, std::string::npos) << *filename << " " << isa;
1384 filename->insert(pos, "/", 1);
1385 filename->insert(pos + 1, GetInstructionSetString(isa));
1390 // filename = /system/framework/<isa>/boot.art
1391 std::string filename(location);
1392 InsertIsaDirectory(isa, &filename);
1354 GetDalvikCacheFilename(const char* location, const char* cache_location, std::string* filename, std::string* error_msg) argument
1464 FileExists(const std::string& filename) argument
1469 FileExistsAndNotEmpty(const std::string& filename) argument
1891 GetFileSizeBytes(const std::string& filename) argument
[all...]
/art/patchoat/
H A Dpatchoat.cc54 std::string* filename) {
85 *filename = system_filename;
88 *filename = cache_filename;
159 CHECK(!image_location.empty()) << "image file must have a filename.";
432 LOG(ERROR) << "No output oat filename specified, needs filename for when we are PIC";
918 UsageError(" --input-oat-file=<file.oat>: Specifies the exact filename of the oat file to be");
1058 Usage("Unable to find filename for input oat location %s", input_oat_location.c_str());
53 LocationToFilename(const std::string& location, InstructionSet isa, std::string* filename) argument
/art/runtime/gc/space/
H A Dimage_space.cc180 static bool ReadSpecificImageHeader(const char* filename, ImageHeader* image_header) { argument
181 std::unique_ptr<File> image_file(OS::OpenFileForReading(filename));
230 static ImageHeader* ReadSpecificImageHeader(const char* filename, std::string* error_msg) { argument
232 if (!ReadSpecificImageHeader(filename, hdr.get())) {
233 *error_msg = StringPrintf("Unable to read image header for %s", filename);
1516 // If the image filename was adapted (e.g., for our tests), we need to change this here,
/art/runtime/hprof/
H A Dhprof.cc1409 // Otherwise, "filename" is used to create an output file.
1410 void DumpHeap(const char* filename, int fd, bool direct_to_ddms) { argument
1411 CHECK(filename != nullptr);
1422 Hprof hprof(filename, fd, direct_to_ddms);

Completed in 169 milliseconds

12