Lines Matching refs:location
1254 bool GetDalvikCacheFilename(const char* location, const char* cache_location, in GetDalvikCacheFilename() argument
1256 if (location[0] != '/') { in GetDalvikCacheFilename()
1257 *error_msg = StringPrintf("Expected path in location to be absolute: %s", location); in GetDalvikCacheFilename()
1260 std::string cache_file(&location[1]); // skip leading slash in GetDalvikCacheFilename()
1261 if (!EndsWith(location, ".dex") && !EndsWith(location, ".art") && !EndsWith(location, ".oat")) { in GetDalvikCacheFilename()
1270 std::string GetDalvikCacheFilenameOrDie(const char* location, const char* cache_location) { in GetDalvikCacheFilenameOrDie() argument
1273 if (!GetDalvikCacheFilename(location, cache_location, &ret, &error_msg)) { in GetDalvikCacheFilenameOrDie()
1288 std::string GetSystemImageFilename(const char* location, const InstructionSet isa) { in GetSystemImageFilename() argument
1291 std::string filename(location); in GetSystemImageFilename()
1296 std::string DexFilenameToOdexFilename(const std::string& location, const InstructionSet isa) { in DexFilenameToOdexFilename() argument
1300 CHECK_GE(location.size(), 4U) << location; // must be at least .123 in DexFilenameToOdexFilename()
1301 std::string odex_location(location); in DexFilenameToOdexFilename()
1304 CHECK_EQ('.', odex_location[dot_index]) << location; in DexFilenameToOdexFilename()
1306 CHECK_EQ('.', odex_location[odex_location.size()-1]) << location << " " << odex_location; in DexFilenameToOdexFilename()