Home
last modified time | relevance | path

Searched refs:last_slash (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/cmds/installd/
Dotapreopt.cpp402 size_t last_slash = path.find_last_of('/'); in CreatePath() local
403 if (last_slash == std::string::npos || last_slash == 0) { in CreatePath()
408 if (!CreatePath(path.substr(0, last_slash))) { in CreatePath()
483 const char* last_slash = strrchr(apk_path, '/'); in ShouldSkipPreopt() local
484 if (last_slash != nullptr) { in ShouldSkipPreopt()
485 std::string path(apk_path, last_slash - apk_path + 1); in ShouldSkipPreopt()
/frameworks/base/tools/aapt2/dump/
DDumpManifest.cpp2780 const char* last_slash = in Extract() local
2782 if (last_slash) { in Extract()
2783 architectures_from_apk.insert(std::string(file_path + APK_LIB_LEN, last_slash)); in Extract()