Searched refs:len_s (Results 1 – 1 of 1) sorted by relevance
55 const auto len_s = strlen(s); in str_has_prefix() local57 if (len_s < len_prefix) return false; in str_has_prefix()64 const auto len_s = strlen(s); in str_has_suffix() local66 if (len_s < len_suffix) return false; in str_has_suffix()67 return std::equal(s + len_s - len_suffix, s + len_s, suffix); in str_has_suffix()