/external/boringssl/src/crypto/base64/ |
H A D | base64_test.cc | 64 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 D | sslstreamadapterhelper.cc | 94 size_t expected_len; local 96 if (!GetDigestLength(digest_alg, &expected_len)) { 100 if (expected_len != digest_len)
|
H A D | sslidentity_unittest.cc | 116 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 D | opensslstreamadapter.cc | 341 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 D | bio_test.cc | 333 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 D | file_test.cc | 250 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 D | ResourceBundlePerf.java | 249 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 D | srtpfilter_unittest.cc | 599 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 D | clatd_test.cpp | 487 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 D | dbus-object-tree.c | 1472 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 D | t1_lib.c | 871 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 D | test-api.cc | 8546 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...] |