Lines Matching defs:filename

289 static jbyte IsDexOptNeededForFile(const std::string& oat_filename, const char* filename,
302 << "' for file location '" << filename << "': " << error_msg;
314 const art::OatFile::OatDexFile* oat_dex_file = oat_file->GetOatDexFile(filename, nullptr,
319 if (!DexFile::GetChecksum(filename, &location_checksum, &error_msg)) {
322 << filename << " for " << oat_filename << ": " << error_msg;
327 << " is up-to-date for " << filename;
334 << " needs to be relocated for " << filename;
340 << " is out of date for " << filename;
346 if (ClassLinker::VerifyOatAndDexFileChecksums(oat_file.get(), filename, location_checksum,
350 << " is up-to-date for " << filename;
358 << " needs to be relocated for " << filename;
364 << " is out of date for " << filename;
372 << " does not contain " << filename;
378 static jbyte IsDexOptNeededInternal(JNIEnv* env, const char* filename,
385 if ((filename == nullptr) || !OS::FileExists(filename)) {
386 LOG(ERROR) << "DexFile_isDexOptNeeded file '" << filename << "' does not exist";
388 const char* message = (filename == nullptr) ? "<empty file name>" : filename;
402 if (boot_class_path[i]->GetLocation() == filename) {
404 LOG(INFO) << "DexFile_isDexOptNeeded ignoring boot class path file: " << filename;
512 // Get the filename for odex file next to the dex file.
513 std::string odex_filename(DexFilenameToOdexFilename(filename, target_instruction_set));
514 // Get the filename for the dalvik-cache file
525 have_cache_filename = GetDalvikCacheFilename(filename, cache_dir.c_str(), &cache_filename,
528 LOG(INFO) << "DexFile_isDexOptNeededInternal failed to find cache file for dex file " << filename
542 IsDexOptNeededForFile<kVerboseLogging, kReasonLogging>(cache_filename, filename,
560 IsDexOptNeededForFile<kVerboseLogging, kReasonLogging>(odex_filename, filename,
585 ScopedUtfChars filename(env, javaFilename);
597 return IsDexOptNeededInternal(env, filename.c_str(), pkgname.c_str(),
604 ScopedUtfChars filename(env, javaFilename);
605 return kUpToDate != IsDexOptNeededInternal(env, filename.c_str(), nullptr /* pkgname */,