Searched refs:sublen (Results 1 – 2 of 2) sorted by relevance
229 int sublen = strlen(sub); in str_ends_with() local231 if (sublen > slen) in str_ends_with()234 return !memcmp(s + slen - sublen, sub, sublen); in str_ends_with()
808 int slen, sublen; in strrcmp() local814 sublen = strlen(sub); in strrcmp()816 if ((slen == 0) || (sublen == 0)) in strrcmp()819 if (sublen > slen) in strrcmp()822 return memcmp(s + slen - sublen, sub, sublen); in strrcmp()