Home
last modified time | relevance | path

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

/external/linux-tools-perf/util/
Dpath.c138 int path_len = strlen(path), suffix_len = strlen(suffix); in strip_path_suffix() local
140 while (suffix_len) { in strip_path_suffix()
145 if (!is_dir_sep(suffix[suffix_len - 1])) in strip_path_suffix()
148 suffix_len = chomp_trailing_dir_sep(suffix, suffix_len); in strip_path_suffix()
150 else if (path[--path_len] != suffix[--suffix_len]) in strip_path_suffix()
/external/elfutils/src/
Dobjdump.c309 size_t suffix_len = suffix != NULL ? strlen (suffix) : 0; in handle_ar() local
310 char new_suffix[suffix_len + 2]; in handle_ar()
784 size_t suffix_len = suffix == NULL ? 0 : strlen (suffix); in handle_elf() local
786 char fullname[prefix_len + 1 + fname_len + suffix_len]; in handle_elf()
792 memcpy (cp - 1, suffix, suffix_len + 1); in handle_elf()
Dnm.c415 size_t suffix_len = suffix != NULL ? strlen (suffix) : 0; in handle_ar() local
416 char new_suffix[suffix_len + 2]; in handle_ar()
1230 size_t suffix_len = suffix == NULL ? 0 : strlen (suffix); in handle_elf() local
1232 char fullname[prefix_len + 1 + fname_len + suffix_len]; in handle_elf()
1266 memcpy (cp - 1, suffix, suffix_len + 1); in handle_elf()
/external/llvm/test/CodeGen/Generic/
D2008-01-30-LoadCrash.ll5 define i32 @mkstemps(i8* %pattern, i32 %suffix_len, i64 %tmp42.rle) nounwind {
/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/openssl/crypto/pem/
Dpem_lib.c840 int suffix_len = strlen(suffix); in pem_check_suffix() local
842 if (suffix_len + 1 >= pem_len) in pem_check_suffix()
844 p = pem_str + pem_len - suffix_len; in pem_check_suffix()
/external/linux-tools-perf/
Dbuiltin-script.c765 size_t suffix_len = strlen(suffix); in ends_with() local
768 if (strlen(str) > suffix_len) { in ends_with()
769 p = str + strlen(str) - suffix_len; in ends_with()
770 if (!strncmp(p, suffix, suffix_len)) in ends_with()
/external/chromium/sdch/open-vcdiff/src/gtest/
Dgtest.cc1430 const size_t suffix_len = strlen(suffix); in EndsWith() local
1431 return (this_len >= suffix_len) && in EndsWith()
1432 CStringEquals(c_str_ + this_len - suffix_len, suffix); in EndsWith()
1443 const size_t suffix_len = strlen(suffix); in EndsWithCaseInsensitive() local
1444 return (this_len >= suffix_len) && in EndsWithCaseInsensitive()
1445 CaseInsensitiveCStringEquals(c_str_ + this_len - suffix_len, suffix); in EndsWithCaseInsensitive()
/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.cc1672 const size_t suffix_len = strlen(suffix); in EndsWith() local
1673 return (this_len >= suffix_len) && in EndsWith()
1674 CStringEquals(c_str() + this_len - suffix_len, suffix); in EndsWith()
1685 const size_t suffix_len = strlen(suffix); in EndsWithCaseInsensitive() local
1686 return (this_len >= suffix_len) && in EndsWithCaseInsensitive()
1687 CaseInsensitiveCStringEquals(c_str() + this_len - suffix_len, suffix); in EndsWithCaseInsensitive()
/external/llvm/utils/unittest/googletest/
Dgtest.cc1672 const size_t suffix_len = strlen(suffix); in EndsWith() local
1673 return (this_len >= suffix_len) && in EndsWith()
1674 CStringEquals(c_str() + this_len - suffix_len, suffix); in EndsWith()
1685 const size_t suffix_len = strlen(suffix); in EndsWithCaseInsensitive() local
1686 return (this_len >= suffix_len) && in EndsWithCaseInsensitive()
1687 CaseInsensitiveCStringEquals(c_str() + this_len - suffix_len, suffix); in EndsWithCaseInsensitive()
/external/protobuf/gtest/src/
Dgtest.cc1659 const size_t suffix_len = strlen(suffix); in EndsWith() local
1660 return (this_len >= suffix_len) && in EndsWith()
1661 CStringEquals(c_str() + this_len - suffix_len, suffix); in EndsWith()
1672 const size_t suffix_len = strlen(suffix); in EndsWithCaseInsensitive() local
1673 return (this_len >= suffix_len) && in EndsWithCaseInsensitive()
1674 CaseInsensitiveCStringEquals(c_str() + this_len - suffix_len, suffix); in EndsWithCaseInsensitive()
/external/chromium/testing/gtest/src/
Dgtest.cc1672 const size_t suffix_len = strlen(suffix); in EndsWith() local
1673 return (this_len >= suffix_len) && in EndsWith()
1674 CStringEquals(c_str() + this_len - suffix_len, suffix); in EndsWith()
1685 const size_t suffix_len = strlen(suffix); in EndsWithCaseInsensitive() local
1686 return (this_len >= suffix_len) && in EndsWithCaseInsensitive()
1687 CaseInsensitiveCStringEquals(c_str() + this_len - suffix_len, suffix); in EndsWithCaseInsensitive()