Searched refs:lastSlash (Results 1 – 2 of 2) sorted by relevance
251 my $lastSlash=rindex($path, '/');252 $device=substr($path, $lastSlash+1);
610 size_t lastSlash = path.rfind('/'); in setupMatches() local611 if (lastSlash == std::string::npos || in setupMatches()612 lastSlash == path.size() || matches.empty()) in setupMatches()616 std::string sensorName = path.substr(lastSlash + 1); in setupMatches()