Home
last modified time | relevance | path

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

/external/bluetooth/glib/gmodule/
Dgmodule.c300 gsize suffix_len = strlen (suffix); in str_check_suffix() local
302 return string_len >= suffix_len && in str_check_suffix()
303 strcmp (string + string_len - suffix_len, suffix) == 0; in str_check_suffix()
DChangeLog616 and suffix_len to be gsize. Properly accommodates return from
/external/elfutils/src/
Dnm.c423 size_t suffix_len = suffix != NULL ? strlen (suffix) : 0; in handle_ar() local
424 char new_suffix[suffix_len + 2]; in handle_ar()
1210 size_t suffix_len = suffix == NULL ? 0 : strlen (suffix); in handle_elf() local
1212 char fullname[prefix_len + 1 + fname_len + suffix_len]; in handle_elf()
1246 memcpy (cp - 1, suffix, suffix_len + 1); in handle_elf()
/external/bluetooth/glib/glib/
Dgstrfuncs.c2904 int suffix_len; in g_str_has_suffix() local
2910 suffix_len = strlen (suffix); in g_str_has_suffix()
2912 if (str_len < suffix_len) in g_str_has_suffix()
2915 return strcmp (str + str_len - suffix_len, suffix) == 0; in g_str_has_suffix()
/external/gtest/src/
Dgtest.cc1679 const size_t suffix_len = strlen(suffix); in EndsWith() local
1680 return (this_len >= suffix_len) && in EndsWith()
1681 CStringEquals(c_str_ + this_len - suffix_len, suffix); in EndsWith()
1692 const size_t suffix_len = strlen(suffix); in EndsWithCaseInsensitive() local
1693 return (this_len >= suffix_len) && in EndsWithCaseInsensitive()
1694 CaseInsensitiveCStringEquals(c_str_ + this_len - suffix_len, suffix); in EndsWithCaseInsensitive()