Searched refs:last_slash (Results 1 – 2 of 2) sorted by relevance
241 auto last_slash = path.rfind('/'); in FindPlatformDevice() local242 if (last_slash == std::string::npos) return false; in FindPlatformDevice()244 path.erase(last_slash); in FindPlatformDevice()438 auto last_slash = uevent.path.rfind('/'); in GetBlockDeviceSymlinks() local439 links.emplace_back(link_path + "/" + uevent.path.substr(last_slash + 1)); in GetBlockDeviceSymlinks()
2776 const char* last_slash = in Extract() local2778 if (last_slash) { in Extract()2779 architectures_from_apk.insert(std::string(file_path + APK_LIB_LEN, last_slash)); in Extract()