Searched refs:suffix_pos (Results 1 – 2 of 2) sorted by relevance
227 const size_t suffix_pos = path.rfind(suffix); in FindDsoVersion() local228 const size_t prefix_pos = path.rfind(prefix, suffix_pos); in FindDsoVersion()229 if (prefix_pos == string::npos || suffix_pos == string::npos) { in FindDsoVersion()234 if (start >= suffix_pos) { in FindDsoVersion()238 const size_t length = suffix_pos - start; in FindDsoVersion()
34 size_t suffix_pos = filename->length() - suffix.length(); in StripSuffix() local35 if (filename->compare(suffix_pos, grpc::string::npos, suffix) == 0) { in StripSuffix()