Searched refs:firstSlash (Results 1 – 2 of 2) sorted by relevance
41 size_t firstSlash = name.find('/'); in isVintfDeclared() local42 size_t lastDot = name.rfind('.', firstSlash); in isVintfDeclared()43 if (firstSlash == std::string::npos || lastDot == std::string::npos) { in isVintfDeclared()49 const std::string iface = name.substr(lastDot+1, firstSlash-lastDot-1); in isVintfDeclared()50 const std::string instance = name.substr(firstSlash+1); in isVintfDeclared()
1543 int firstSlash = path.lastIndexOf('/');1544 if (firstSlash <= 0) {1547 String parent = path.substring(0, firstSlash);