Searched defs:expected_len (Results 1 - 12 of 12) sorted by relevance

/external/boringssl/src/crypto/base64/
H A Dbase64_test.cc64 size_t expected_len = strlen(t->decoded); local
88 if (expected_len % 3 != 0) {
89 ret -= 3 - (expected_len % 3);
/external/webrtc/webrtc/base/
H A Dsslstreamadapterhelper.cc94 size_t expected_len; local
96 if (!GetDigestLength(digest_alg, &expected_len)) {
100 if (expected_len != digest_len)
H A Dsslidentity_unittest.cc116 size_t expected_len) {
121 memset(digest, 0, expected_len);
125 EXPECT_EQ(expected_len, digest_len);
128 memset(digest1, 0xff, expected_len);
132 EXPECT_EQ(expected_len, digest_len);
134 EXPECT_EQ(0, memcmp(digest, digest1, expected_len));
138 size_t expected_len) {
141 ASSERT_TRUE(expected_len <= sizeof(DigestType));
143 TestDigestHelper(digest[0], identity_rsa1_.get(), algorithm, expected_len);
144 TestDigestHelper(digest[1], identity_rsa2_.get(), algorithm, expected_len);
113 TestDigestHelper(DigestType digest, const SSLIdentity* identity, const std::string& algorithm, size_t expected_len) argument
137 TestDigestForGeneratedCert(const std::string& algorithm, size_t expected_len) argument
160 TestDigestForFixedCert(const std::string& algorithm, size_t expected_len, const unsigned char* expected_digest) argument
[all...]
H A Dopensslstreamadapter.cc341 size_t expected_len; local
343 if (!OpenSSLDigest::GetDigestSize(digest_alg, &expected_len)) {
347 if (expected_len != digest_len)
/external/boringssl/src/crypto/bio/
H A Dbio_test.cc333 size_t expected_len, size_t max_len) {
349 (out_len != expected_len || memcmp(data, out, expected_len) != 0)) {
332 ReadASN1(bool should_succeed, const uint8_t *data, size_t data_len, size_t expected_len, size_t max_len) argument
/external/boringssl/src/crypto/test/
H A Dfile_test.cc250 bool FileTest::ExpectBytesEqual(const uint8_t *expected, size_t expected_len, argument
252 if (expected_len == actual_len &&
253 memcmp(expected, actual, expected_len) == 0) {
257 std::string expected_hex = EncodeHex(expected, expected_len);
/external/icu/icu4j/perf-tests/src/com/ibm/icu/dev/test/perf/
H A DResourceBundlePerf.java249 int expected_len; field in class:ResourceBundlePerf.GetBinaryIcu
250 GetBinaryIcu(String key, int expected_len) { argument
252 this.expected_len = expected_len;
257 if(got.remaining() != expected_len) throw new Error("not the expected len");
267 int expected_len; field in class:ResourceBundlePerf.GetBinaryJava
268 GetBinaryJava(String key, int expected_len) { argument
270 this.expected_len = expected_len;
274 if(got.remaining() != expected_len) thro
[all...]
/external/webrtc/talk/session/media/
H A Dsrtpfilter_unittest.cc599 int out_len = 0, expected_len = sizeof(kPcmuFrame); local
601 EXPECT_EQ(expected_len, out_len);
605 int out_len = 0, expected_len = sizeof(kRtcpReport); local
607 EXPECT_EQ(expected_len, out_len);
/external/android-clat/
H A Dclatd_test.cpp487 const uint8_t *expected, size_t expected_len, const char *msg) {
491 EXPECT_EQ(expected_len, translated_len) << msg << ": Translated packet length incorrect\n";
899 size_t expected_len, const char *msg) {
903 EXPECT_EQ(expected_len, translated_len) << msg << ": Translated packet length incorrect\n";
486 check_translated_packet(const uint8_t *original, size_t original_len, const uint8_t *expected, size_t expected_len, const char *msg) argument
898 check_translate_checksum_neutral(const uint8_t *original, size_t original_len, size_t expected_len, const char *msg) argument
/external/dbus/dbus/
H A Ddbus-object-tree.c1472 int expected_len; local
1479 expected_len = string_array_length (decompose_tests[i].result);
1482 expected_len != result_len ||
1488 decompose_tests[i].path, expected_len, result_len,
/external/boringssl/src/ssl/
H A Dt1_lib.c871 const size_t expected_len = ssl->s3->previous_client_finished_len + local
875 assert(!expected_len || ssl->s3->previous_client_finished_len);
876 assert(!expected_len || ssl->s3->previous_server_finished_len);
888 if (CBS_len(&renegotiated_connection) != expected_len) {
/external/v8/test/cctest/
H A Dtest-api.cc8546 Local<v8::Number> expected_len = Local<v8::Number>::Cast( local
8549 CHECK_EQ(static_cast<int>(expected_len->Value()), length);
14609 size_t expected_len = strlen(expected); local
14616 if (tail_len > expected_len + 2 &&
14617 tail[expected_len] == ' ' &&
14618 tail[expected_len + 1] == ':' &&
14619 tail[expected_len + 2] &&
14620 !strncmp(tail, expected, expected_len)) {
14624 if (tail_len != expected_len)
14627 return strncmp(tail, expected, expected_len)
[all...]

Completed in 1084 milliseconds