Lines Matching refs:filename
278 for (const std::string& filename : dex_paths) { in OpenDexFiles() local
279 File fd(filename.c_str(), O_RDWR, /* check_usage= */ false); in OpenDexFiles()
280 CHECK_NE(fd.Fd(), -1) << "Unable to open file '" << filename << "': " << strerror(errno); in OpenDexFiles()
289 /* location= */ filename, in OpenDexFiles()
294 CHECK(dex_file.get() != nullptr) << "Open failed for '" << filename << "' " << error_msg; in OpenDexFiles()
295 CHECK(dex_file->IsStandardDexFile()) << "Expected a standard dex file '" << filename << "'"; in OpenDexFiles()
297 << "Failed to enable write permission for '" << filename << "'"; in OpenDexFiles()
301 for (const std::string& filename : dex_paths) { in OpenDexFiles() local
302 bool success = dex_loader.Open(filename.c_str(), in OpenDexFiles()
303 /* location= */ filename, in OpenDexFiles()
308 CHECK(success) << "Open failed for '" << filename << "' " << error_msg; in OpenDexFiles()