Lines Matching refs:location

162     const std::string& location,  in Open()  argument
169 ScopedTrace trace(std::string("Open dex file from RAM ") + location); in Open()
174 location, in Open()
184 std::unique_ptr<const DexFile> ArtDexFileLoader::Open(const std::string& location, in Open() argument
190 ScopedTrace trace(std::string("Open dex file from mapped-memory ") + location); in Open()
197 location.c_str()); in Open()
206 location, in Open()
217 location.c_str()); in Open()
224 const std::string& location, in Open() argument
236 magic, fd.Release(), location, verify, verify_checksum, error_msg, dex_files); in Open()
240 const std::string& location, in Open() argument
250 return OpenWithMagic(magic, fd, location, verify, verify_checksum, error_msg, dex_files); in Open()
255 const std::string& location, in OpenWithMagic() argument
260 ScopedTrace trace(std::string("Open dex file ") + std::string(location)); in OpenWithMagic()
263 return OpenZip(fd, location, verify, verify_checksum, error_msg, dex_files); in OpenWithMagic()
267 location, in OpenWithMagic()
279 *error_msg = StringPrintf("Expected valid zip or dex file: '%s'", location.c_str()); in OpenWithMagic()
284 const std::string& location, in OpenDex() argument
289 ScopedTrace trace("Open dex file " + std::string(location)); in OpenDex()
290 return OpenFile(fd, location, verify, verify_checksum, mmap_shared, error_msg); in OpenDex()
294 const std::string& location, in OpenZip() argument
299 ScopedTrace trace("Dex file open Zip " + std::string(location)); in OpenZip()
301 std::unique_ptr<ZipArchive> zip_archive(ZipArchive::OpenFromFd(fd, location.c_str(), error_msg)); in OpenZip()
307 *zip_archive, location, verify, verify_checksum, error_msg, dex_files); in OpenZip()
311 const std::string& location, in OpenFile() argument
316 ScopedTrace trace(std::string("Open dex file ") + std::string(location)); in OpenFile()
317 CHECK(!location.empty()); in OpenFile()
324 *error_msg = StringPrintf("DexFile: fstat '%s' failed: %s", location.c_str(), in OpenFile()
329 *error_msg = StringPrintf("Attempt to mmap directory '%s'", location.c_str()); in OpenFile()
339 location.c_str(), in OpenFile()
352 location.c_str()); in OpenFile()
362 location, in OpenFile()
374 location.c_str()); in OpenFile()
383 const std::string& location, in OpenOneDexFileFromZip() argument
388 ScopedTrace trace("Dex file open from Zip Archive " + std::string(location)); in OpenOneDexFileFromZip()
389 CHECK(!location.empty()); in OpenOneDexFileFromZip()
396 *error_msg = StringPrintf("Dex file '%s' has zero length", location.c_str()); in OpenOneDexFileFromZip()
406 LOG(WARNING) << "Can't mmap dex file " << location << "!" << entry_name << " directly; " in OpenOneDexFileFromZip()
411 map = zip_entry->MapDirectlyFromFile(location.c_str(), /*out*/error_msg); in OpenOneDexFileFromZip()
413 LOG(WARNING) << "Can't mmap dex file " << location << "!" << entry_name << " directly; " in OpenOneDexFileFromZip()
423 map = zip_entry->ExtractToMemMap(location.c_str(), entry_name, error_msg); in OpenOneDexFileFromZip()
427 *error_msg = StringPrintf("Failed to extract '%s' from '%s': %s", entry_name, location.c_str(), in OpenOneDexFileFromZip()
439 location, in OpenOneDexFileFromZip()
449 location.c_str()); in OpenOneDexFileFromZip()
461 *error_msg = StringPrintf("Failed to make dex file '%s' read only", location.c_str()); in OpenOneDexFileFromZip()
465 CHECK(dex_file->IsReadOnly()) << location; in OpenOneDexFileFromZip()
482 const std::string& location, in OpenAllDexFilesFromZip() argument
487 ScopedTrace trace("Dex file open from Zip " + std::string(location)); in OpenAllDexFilesFromZip()
492 location, in OpenAllDexFilesFromZip()
510 std::string fake_location = GetMultiDexLocation(i, location.c_str()); in OpenAllDexFilesFromZip()
528 LOG(WARNING) << location << " has in excess of " << kWarnOnManyDexFilesThreshold in OpenAllDexFilesFromZip()
547 const std::string& location, in OpenCommon() argument
559 location, in OpenCommon()