Searched refs:suffix_len (Results 1 – 4 of 4) sorted by relevance
96 unsigned int len, suffix_len; in strends() local99 suffix_len = strlen(suffix); in strends()100 if (len < suffix_len) in strends()102 return streq(str + len - suffix_len, suffix); in strends()
1190 unsigned int len, suffix_len; in strcmp_suffix() local1193 suffix_len = strlen(suffix); in strcmp_suffix()1194 if (len <= suffix_len) in strcmp_suffix()1196 return strcmp(str + len - suffix_len, suffix); in strcmp_suffix()
1729 size_t suffix_len, name_len; in hidinput_allocate() local1774 suffix_len = strlen(suffix); in hidinput_allocate()1775 if ((name_len < suffix_len) || in hidinput_allocate()1776 strcmp(hid->name + name_len - suffix_len, suffix)) { in hidinput_allocate()
3085 size_t suffix_len = strlen(suffix); in ends_with() local3088 if (strlen(str) > suffix_len) { in ends_with()3089 p = str + strlen(str) - suffix_len; in ends_with()3090 if (!strncmp(p, suffix, suffix_len)) in ends_with()
Completed in 22 milliseconds