Home
last modified time | relevance | path

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

/external/boringssl/src/crypto/err/
Derr_test.cc121 size_t suffix_len = strlen(suffix); in HasSuffix() local
123 if (str_len < suffix_len) { in HasSuffix()
126 return strcmp(str + str_len - suffix_len, suffix) == 0; in HasSuffix()
/external/elfutils/src/
Dobjdump.c305 size_t suffix_len = suffix != NULL ? strlen (suffix) : 0; in handle_ar() local
306 char new_suffix[suffix_len + 2]; in handle_ar()
775 size_t suffix_len = suffix == NULL ? 0 : strlen (suffix); in handle_elf() local
777 char fullname[prefix_len + 1 + fname_len + suffix_len]; in handle_elf()
783 memcpy (cp - 1, suffix, suffix_len + 1); in handle_elf()
Dnm.c430 size_t suffix_len = suffix != NULL ? strlen (suffix) : 0; in handle_ar() local
431 char new_suffix[suffix_len + 2]; in handle_ar()
1512 size_t suffix_len = suffix == NULL ? 0 : strlen (suffix); in handle_elf() local
1514 char fullname[prefix_len + 1 + fname_len + suffix_len]; in handle_elf()
1548 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/boringssl/src/crypto/x509v3/
Dv3_utl.c687 const unsigned char *suffix, size_t suffix_len, in wildcard_match() argument
697 if (subject_len < prefix_len + suffix_len) in wildcard_match()
702 wildcard_end = subject + (subject_len - suffix_len); in wildcard_match()
703 if (!equal_nocase(wildcard_end, suffix_len, suffix, suffix_len, flags)) in wildcard_match()
/external/boringssl/src/crypto/pem/
Dpem_lib.c805 int suffix_len = strlen(suffix); in pem_check_suffix() local
807 if (suffix_len + 1 >= pem_len) in pem_check_suffix()
809 p = pem_str + pem_len - suffix_len; in pem_check_suffix()
/external/selinux/policycoreutils/mcstrans/src/
Dmcstrans.c1164 int suffix_offset = 0, suffix_len = 0; in compute_raw_from_trans() local
1178 suffix_len = ovector[1] - ovector[0]; in compute_raw_from_trans()
1188 int l = (suffix_len ? suffix_offset : work_len) - prefix_len - prefix_offset; in compute_raw_from_trans()
1229 memset(work + suffix_offset, '#', suffix_len); in compute_raw_from_trans()
/external/protobuf/gtest/src/
Dgtest.cc1695 const size_t suffix_len = strlen(suffix); in EndsWith() local
1696 return (this_len >= suffix_len) && in EndsWith()
1697 CStringEquals(c_str() + this_len - suffix_len, suffix); in EndsWith()
1708 const size_t suffix_len = strlen(suffix); in EndsWithCaseInsensitive() local
1709 return (this_len >= suffix_len) && in EndsWithCaseInsensitive()
1710 CaseInsensitiveCStringEquals(c_str() + this_len - suffix_len, suffix); in EndsWithCaseInsensitive()
/external/google-breakpad/src/testing/gtest/src/
Dgtest.cc1673 const size_t suffix_len = strlen(suffix); in EndsWith() local
1674 return (this_len >= suffix_len) && in EndsWith()
1675 CStringEquals(c_str() + this_len - suffix_len, suffix); in EndsWith()
1686 const size_t suffix_len = strlen(suffix); in EndsWithCaseInsensitive() local
1687 return (this_len >= suffix_len) && in EndsWithCaseInsensitive()
1688 CaseInsensitiveCStringEquals(c_str() + this_len - suffix_len, suffix); in EndsWithCaseInsensitive()
/external/mesa3d/src/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/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/protobuf/gtest/fused-src/gtest/
Dgtest-all.cc3035 const size_t suffix_len = strlen(suffix); in EndsWith() local
3036 return (this_len >= suffix_len) && in EndsWith()
3037 CStringEquals(c_str() + this_len - suffix_len, suffix); in EndsWith()
3048 const size_t suffix_len = strlen(suffix); in EndsWithCaseInsensitive() local
3049 return (this_len >= suffix_len) && in EndsWithCaseInsensitive()
3050 CaseInsensitiveCStringEquals(c_str() + this_len - suffix_len, suffix); in EndsWithCaseInsensitive()
/external/gtest/src/
Dgtest.cc1629 const size_t suffix_len = suffix.length(); in EndsWithCaseInsensitive() local
1630 return (str_len >= suffix_len) && in EndsWithCaseInsensitive()
1631 CaseInsensitiveCStringEquals(str.c_str() + str_len - suffix_len, in EndsWithCaseInsensitive()
/external/vulkan-validation-layers/tests/gtest-1.7.0/src/
Dgtest.cc1629 const size_t suffix_len = suffix.length(); in EndsWithCaseInsensitive() local
1630 return (str_len >= suffix_len) && in EndsWithCaseInsensitive()
1631 CaseInsensitiveCStringEquals(str.c_str() + str_len - suffix_len, in EndsWithCaseInsensitive()
/external/opencv3/modules/ts/src/
Dts_gtest.cpp3129 const size_t suffix_len = suffix.length(); in EndsWithCaseInsensitive() local
3130 return (str_len >= suffix_len) && in EndsWithCaseInsensitive()
3131 CaseInsensitiveCStringEquals(str.c_str() + str_len - suffix_len, in EndsWithCaseInsensitive()
/external/libvpx/libvpx/third_party/googletest/src/src/
Dgtest-all.cc3113 const size_t suffix_len = suffix.length(); in EndsWithCaseInsensitive() local
3114 return (str_len >= suffix_len) && in EndsWithCaseInsensitive()
3115 CaseInsensitiveCStringEquals(str.c_str() + str_len - suffix_len, in EndsWithCaseInsensitive()
/external/vulkan-validation-layers/tests/gtest-1.7.0/fused-src/gtest/
Dgtest-all.cc3113 const size_t suffix_len = suffix.length(); in EndsWithCaseInsensitive() local
3114 return (str_len >= suffix_len) && in EndsWithCaseInsensitive()
3115 CaseInsensitiveCStringEquals(str.c_str() + str_len - suffix_len, in EndsWithCaseInsensitive()
/external/v8/test/cctest/
Dtest-parsing.cc3514 int suffix_len = Utf8LengthHelper(suffix); in TEST() local
3530 inner_comment_len + inner_len + suffix_len; in TEST()