Searched refs:suffix_len (Results 1 – 5 of 5) sorted by relevance
300 gsize suffix_len = strlen (suffix); in str_check_suffix() local302 return string_len >= suffix_len && in str_check_suffix()303 strcmp (string + string_len - suffix_len, suffix) == 0; in str_check_suffix()
616 and suffix_len to be gsize. Properly accommodates return from
423 size_t suffix_len = suffix != NULL ? strlen (suffix) : 0; in handle_ar() local424 char new_suffix[suffix_len + 2]; in handle_ar()1210 size_t suffix_len = suffix == NULL ? 0 : strlen (suffix); in handle_elf() local1212 char fullname[prefix_len + 1 + fname_len + suffix_len]; in handle_elf()1246 memcpy (cp - 1, suffix, suffix_len + 1); in handle_elf()
2904 int suffix_len; in g_str_has_suffix() local2910 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()
1679 const size_t suffix_len = strlen(suffix); in EndsWith() local1680 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() local1693 return (this_len >= suffix_len) && in EndsWithCaseInsensitive()1694 CaseInsensitiveCStringEquals(c_str_ + this_len - suffix_len, suffix); in EndsWithCaseInsensitive()