Searched defs:filename (Results 1 - 13 of 13) sorted by relevance

/art/compiler/llvm/
H A Dcompiler_llvm.h73 void SetBitcodeFileName(std::string const& filename) { argument
74 bitcode_filename_ = filename;
H A Dcompiler_llvm.cc235 std::string const& filename) {
236 ContextOf(driver)->SetBitcodeFileName(filename);
234 compilerLLVMSetBitcodeFileName(art::CompilerDriver& driver, std::string const& filename) argument
/art/runtime/
H A Dmonitor_android.cc82 const char* filename; local
84 TranslateLocation(m, pc, filename, line_number);
85 cp = EventLogWriteString(cp, filename, strlen(filename));
93 } else if (strcmp(filename, owner_filename) == 0) {
H A Doat_file.cc60 OatFile* OatFile::Open(const std::string& filename, argument
64 CHECK(!filename.empty()) << location;
65 CheckLocation(filename);
73 return OpenDlopen(filename, location, requested_base);
82 UniquePtr<File> file(OS::OpenFileForReading(filename.c_str()));
H A Dzip_archive.cc332 ZipArchive* ZipArchive::Open(const std::string& filename) { argument
333 DCHECK(!filename.empty());
334 int fd = open(filename.c_str(), O_RDONLY, 0);
336 PLOG(WARNING) << "Unable to open '" << filename << "'";
542 // add the CDE filename to the hash table
H A Dcommon_test.h370 std::string filename(dalvik_cache_);
371 filename.push_back('/');
372 filename.append(e->d_name);
373 int unlink_result = unlink(filename.c_str());
425 std::string filename; local
427 filename += getenv("ANDROID_HOST_OUT");
428 filename += "/framework/";
430 filename += "/data/nativetest/art/";
432 filename += "art-test-dex-";
433 filename
[all...]
H A Ddex_file.cc65 int OpenAndReadMagic(const std::string& filename, uint32_t* magic) { argument
67 int fd = open(filename.c_str(), O_RDONLY, 0);
69 PLOG(WARNING) << "Unable to open '" << filename << "'";
74 PLOG(ERROR) << "Failed to find magic in '" << filename << "'";
78 PLOG(ERROR) << "Failed to seek to beginning of file '" << filename << "'";
84 bool DexFile::GetChecksum(const std::string& filename, uint32_t* checksum) { argument
87 int fd = OpenAndReadMagic(filename, &magic);
98 LOG(ERROR) << "Zip archive '" << filename << "' doesn't contain " << kClassesDex;
105 UniquePtr<const DexFile> dex_file(DexFile::OpenFile(fd, filename, false));
112 LOG(ERROR) << "Expected valid zip or dex file: " << filename;
116 Open(const std::string& filename, const std::string& location) argument
[all...]
H A Dclass_linker.cc748 bool Init(const std::string& filename) { argument
750 file_.reset(OS::OpenFileWithFlags(filename.c_str(), O_CREAT | O_RDWR));
752 LOG(ERROR) << "Failed to open file: " << filename;
757 PLOG(ERROR) << "Failed to lock file: " << filename;
763 PLOG(ERROR) << "Failed to fstat: " << filename;
767 int stat_result = TEMP_FAILURE_RETRY(stat(filename.c_str(), &stat_stat));
769 PLOG(WARNING) << "Failed to stat, will retry: " << filename;
774 LOG(WARNING) << "File changed while locking, will retry: " << filename;
/art/compiler/sea_ir/debug/
H A Ddot_gen.h101 // Saves to @filename the .dot representation of @graph with the options @options.
102 void DumpSea(SeaGraph* graph, std::string filename, argument
104 LOG(INFO) << "Starting to write SEA string to file " << filename << std::endl;
108 art::File* file = art::OS::CreateEmptyFile(filename.c_str());
/art/runtime/native/
H A Ddalvik_system_VMDebug.cc183 std::string filename; local
189 filename = chars.c_str();
191 filename = "[fd]";
204 hprof::DumpHeap(filename.c_str(), fd, false);
/art/oatdump/
H A Doatdump.cc63 " --oat-file=<file.oat>: specifies an input oat filename.\n"
67 " --image=<file.art>: specifies an input image filename.\n"
1382 const char* filename = option.substr(strlen("--output=")).data(); local
1383 out.reset(new std::ofstream(filename));
1385 fprintf(stderr, "Failed to open output filename %s\n", filename);
/art/runtime/hprof/
H A Dhprof.cc1077 // Otherwise, "filename" is used to create an output file.
1078 void DumpHeap(const char* filename, int fd, bool direct_to_ddms) { argument
1079 CHECK(filename != NULL);
1082 Hprof hprof(filename, fd, direct_to_ddms);
/art/compiler/driver/
H A Dcompiler_driver.cc336 std::string const& filename);
2416 void CompilerDriver::SetBitcodeFileName(std::string const& filename) { argument
2422 set_bitcode_file_name(*this, filename);

Completed in 393 milliseconds