Home
last modified time | relevance | path

Searched refs:suffix_len (Results 1 – 5 of 5) sorted by relevance

/linux-6.1.9/drivers/usb/typec/
Dretimer.c24 const int suffix_len = strlen(suffix); in dev_name_ends_with() local
26 if (suffix_len > name_len) in dev_name_ends_with()
29 return strcmp(name + (name_len - suffix_len), suffix) == 0; in dev_name_ends_with()
/linux-6.1.9/scripts/dtc/
Ddtc.h96 unsigned int len, suffix_len; in strends() local
99 suffix_len = strlen(suffix); in strends()
100 if (len < suffix_len) in strends()
102 return streq(str + len - suffix_len, suffix); in strends()
/linux-6.1.9/drivers/of/
Dproperty.c1221 unsigned int len, suffix_len; in strcmp_suffix() local
1224 suffix_len = strlen(suffix); in strcmp_suffix()
1225 if (len <= suffix_len) in strcmp_suffix()
1227 return strcmp(str + len - suffix_len, suffix); in strcmp_suffix()
/linux-6.1.9/drivers/hid/
Dhid-input.c1928 size_t suffix_len, name_len; in hidinput_allocate() local
1983 suffix_len = strlen(suffix); in hidinput_allocate()
1984 if ((name_len < suffix_len) || in hidinput_allocate()
1985 strcmp(hid->name + name_len - suffix_len, suffix)) { in hidinput_allocate()
/linux-6.1.9/tools/perf/
Dbuiltin-script.c3208 size_t suffix_len = strlen(suffix); in ends_with() local
3211 if (strlen(str) > suffix_len) { in ends_with()
3212 p = str + strlen(str) - suffix_len; in ends_with()
3213 if (!strncmp(p, suffix, suffix_len)) in ends_with()