Searched refs:suffix_len (Results 1 – 3 of 3) sorted by relevance
29 const int suffix_len = strlen(suffix); in dev_name_ends_with() local31 if (suffix_len > name_len) in dev_name_ends_with()34 return strcmp(name + (name_len - suffix_len), suffix) == 0; in dev_name_ends_with()
1113 unsigned int len, suffix_len; in strcmp_suffix() local1116 suffix_len = strlen(suffix); in strcmp_suffix()1117 if (len <= suffix_len) in strcmp_suffix()1119 return strcmp(str + len - suffix_len, suffix); in strcmp_suffix()
1664 size_t suffix_len, name_len; in hidinput_allocate() local1709 suffix_len = strlen(suffix); in hidinput_allocate()1710 if ((name_len < suffix_len) || in hidinput_allocate()1711 strcmp(hid->name + name_len - suffix_len, suffix)) { in hidinput_allocate()