Home
last modified time | relevance | path

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

/external/boringssl/src/ssl/
Dssl_aead_ctx.cc303 size_t suffix_len; in SealScatter() local
304 if (!SuffixLen(&suffix_len, in_len, extra_in_len)) { in SealScatter()
310 buffers_alias(in, in_len, out_suffix, suffix_len)) { in SealScatter()
373 ctx_.get(), out, out_suffix, &written_suffix_len, suffix_len, nonce, in SealScatter()
375 assert(!result || written_suffix_len == suffix_len); in SealScatter()
384 size_t suffix_len; in Seal() local
385 if (!SuffixLen(&suffix_len, in_len, 0)) { in Seal()
390 in_len + prefix_len + suffix_len < in_len + prefix_len) { in Seal()
394 if (in_len + prefix_len + suffix_len > max_out_len) { in Seal()
403 *out_len = prefix_len + in_len + suffix_len; in Seal()
Dtls_record.cc388 size_t suffix_len; in do_seal_record() local
389 if (!ssl->s3->aead_write_ctx->SuffixLen(&suffix_len, in_len, extra_in_len)) { in do_seal_record()
394 ssl->s3->aead_write_ctx->ExplicitNonceLen() + suffix_len; in do_seal_record()
403 assert(!buffers_alias(in, in_len, out_suffix, suffix_len)); in do_seal_record()
526 size_t suffix_len; in tls_seal_record() local
527 if (!tls_seal_scatter_suffix_len(ssl, &suffix_len, type, in_len)) { in tls_seal_record()
531 prefix_len + in_len + suffix_len < prefix_len + in_len) { in tls_seal_record()
535 if (max_out_len < in_len + prefix_len + suffix_len) { in tls_seal_record()
547 *out_len = prefix_len + in_len + suffix_len; in tls_seal_record()
648 size_t suffix_len; in SealRecordSuffixLen() local
[all …]
/external/boringssl/src/crypto/err/
Derr_test.cc103 size_t suffix_len = strlen(suffix); in HasSuffix() local
105 if (str_len < suffix_len) { in HasSuffix()
108 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/swiftshader/third_party/LLVM/test/CodeGen/Generic/
D2008-01-30-LoadCrash.ll5 define i32 @mkstemps(i8* %pattern, i32 %suffix_len, i64 %tmp42.rle) nounwind {
/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/bio/
Dbio_test.cc163 size_t suffix_len; member
204 input.resize(input.size() + param.suffix_len, 0); in TEST_P()
/external/boringssl/src/crypto/x509v3/
Dv3_utl.c779 const unsigned char *suffix, size_t suffix_len, in wildcard_match() argument
789 if (subject_len < prefix_len + suffix_len) in wildcard_match()
794 wildcard_end = subject + (subject_len - suffix_len); in wildcard_match()
795 if (!equal_nocase(wildcard_end, suffix_len, suffix, suffix_len, flags)) in wildcard_match()
/external/brotli/c/tools/
Dbrotli.c554 size_t suffix_len = strlen(context->suffix); in NextFile() local
558 if (name_len < suffix_len + 1) { in NextFile()
564 name_suffix = name + name_len - suffix_len; in NextFile()
/external/selinux/mcstrans/src/
Dmcstrans.c1163 int suffix_offset = 0, suffix_len = 0; in compute_raw_from_trans() local
1177 suffix_len = ovector[1] - ovector[0]; in compute_raw_from_trans()
1187 int l = (suffix_len ? suffix_offset : work_len) - prefix_len - prefix_offset; in compute_raw_from_trans()
1228 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/swiftshader/third_party/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/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/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/mesa3d/src/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/v8/testing/gtest/src/
Dgtest.cc1952 const size_t suffix_len = suffix.length(); in EndsWithCaseInsensitive() local
1953 return (str_len >= suffix_len) && in EndsWithCaseInsensitive()
1954 CaseInsensitiveCStringEquals(str.c_str() + str_len - suffix_len, in EndsWithCaseInsensitive()
/external/googletest/googletest/src/
Dgtest.cc1951 const size_t suffix_len = suffix.length(); in EndsWithCaseInsensitive() local
1952 return (str_len >= suffix_len) && in EndsWithCaseInsensitive()
1953 CaseInsensitiveCStringEquals(str.c_str() + str_len - suffix_len, in EndsWithCaseInsensitive()
/external/libvpx/libvpx/third_party/googletest/src/src/
Dgtest.cc1953 const size_t suffix_len = suffix.length(); in EndsWithCaseInsensitive() local
1954 return (str_len >= suffix_len) && in EndsWithCaseInsensitive()
1955 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()