/external/chromium_org/third_party/webrtc/base/ |
D | sslidentity_unittest.cc | 84 void TestDigest(const std::string &algorithm, size_t expected_len, in TestDigest() argument 98 EXPECT_EQ(expected_len, digest1_len); in TestDigest() 104 EXPECT_EQ(expected_len, digest1b_len); in TestDigest() 105 EXPECT_EQ(0, memcmp(digest1, digest1b, expected_len)); in TestDigest() 112 EXPECT_EQ(expected_len, digest2_len); in TestDigest() 113 EXPECT_NE(0, memcmp(digest1, digest2, expected_len)); in TestDigest() 123 EXPECT_EQ(expected_len, digest3_len); in TestDigest() 124 EXPECT_EQ(0, memcmp(digest3, expected_digest, expected_len)); in TestDigest()
|
D | sslstreamadapterhelper.cc | 80 size_t expected_len; in SetPeerCertificateDigest() local 82 if (!GetDigestLength(digest_alg, &expected_len)) { in SetPeerCertificateDigest() 86 if (expected_len != digest_len) in SetPeerCertificateDigest()
|
D | opensslstreamadapter.cc | 208 size_t expected_len; in SetPeerCertificateDigest() local 210 if (!OpenSSLDigest::GetDigestSize(digest_alg, &expected_len)) { in SetPeerCertificateDigest() 214 if (expected_len != digest_len) in SetPeerCertificateDigest()
|
/external/chromium_org/net/spdy/ |
D | spdy_test_utils.cc | 65 const int expected_len) { in CompareCharArraysWithHexError() argument 66 const int min_len = std::min(actual_len, expected_len); in CompareCharArraysWithHexError() 67 const int max_len = std::max(actual_len, expected_len); in CompareCharArraysWithHexError() 69 bool identical = (actual_len == expected_len); in CompareCharArraysWithHexError() 86 << HexDumpWithMarks(expected, expected_len, marks.get(), max_len) in CompareCharArraysWithHexError()
|
D | spdy_test_utils.h | 29 const int expected_len);
|
D | spdy_framer_test.cc | 628 const int expected_len) { in CompareFrame() argument 632 description, actual, actual_frame.size(), expected, expected_len); in CompareFrame()
|
/external/openssl/ssl/ |
D | t1_reneg.c | 235 int expected_len=s->s3->previous_client_finished_len in ssl_parse_serverhello_renegotiate_ext() local 240 OPENSSL_assert(!expected_len || s->s3->previous_client_finished_len); in ssl_parse_serverhello_renegotiate_ext() 241 OPENSSL_assert(!expected_len || s->s3->previous_server_finished_len); in ssl_parse_serverhello_renegotiate_ext() 262 if(ilen != expected_len) in ssl_parse_serverhello_renegotiate_ext()
|
/external/chromium_org/third_party/boringssl/src/ssl/ |
D | t1_reneg.c | 216 int expected_len=s->s3->previous_client_finished_len in ssl_parse_serverhello_renegotiate_ext() local 222 assert(!expected_len || s->s3->previous_client_finished_len); in ssl_parse_serverhello_renegotiate_ext() 223 assert(!expected_len || s->s3->previous_server_finished_len); in ssl_parse_serverhello_renegotiate_ext() 235 if(CBS_len(&renegotiated_connection) != expected_len) in ssl_parse_serverhello_renegotiate_ext()
|
/external/chromium_org/third_party/boringssl/src/crypto/base64/ |
D | base64_test.c | 67 size_t expected_len = strlen(t->decoded); in test_decode() local 91 if (expected_len % 3 != 0) { in test_decode() 92 ret -= 3 - (expected_len % 3); in test_decode()
|
/external/chromium_org/net/test/ |
D | openssl_helper.cc | 230 unsigned len, expected_len; in main() local 234 expected_len = 3; in main() 237 expected_len = 3; in main() 239 if (len != expected_len || memcmp(data, expected_data, len) != 0) { in main()
|
/external/chromium_org/v8/test/cctest/ |
D | test-ostreams.cc | 45 const size_t expected_len = len * repeat; in TEST() local 46 CHECK(expected_len == oss.size()); in TEST() 48 CHECK_EQ(0, strncmp(expected, oss.data(), expected_len)); in TEST()
|
D | test-api.cc | 8143 Local<v8::Number> expected_len = in Utf16Helper() local 8146 CHECK_EQ(static_cast<int>(expected_len->Value()), length); in Utf16Helper() 8172 Local<v8::Number> expected_len = in WriteUtf8Helper() local 8174 int utf8_length = static_cast<int>(expected_len->Value()); in WriteUtf8Helper() 14264 size_t expected_len = strlen(expected); in FunctionNameIs() local 14271 if (tail_len > expected_len + 2 && in FunctionNameIs() 14272 tail[expected_len] == ' ' && in FunctionNameIs() 14273 tail[expected_len + 1] == ':' && in FunctionNameIs() 14274 tail[expected_len + 2] && in FunctionNameIs() 14275 !strncmp(tail, expected, expected_len)) { in FunctionNameIs() [all …]
|
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/ |
D | js_fs_test.cc | 348 uint32_t expected_len; in VarsAreEqual() local 350 const char* expected_str = var_if->VarToUtf8(expected, &expected_len); in VarsAreEqual() 352 if (expected_len != var_len) in VarsAreEqual() 359 uint32_t expected_len = array_if->GetLength(expected); in VarsAreEqual() local 361 if (expected_len != var_len) in VarsAreEqual() 382 uint32_t expected_len = array_if->GetLength(expected_keys); in VarsAreEqual() local 386 if (expected_len == var_len) { in VarsAreEqual() 414 uint32_t expected_len; in VarsAreEqual() local 415 if (!array_buffer_if->ByteLength(expected, &expected_len)) in VarsAreEqual() 418 if (expected_len != var_len) in VarsAreEqual()
|
/external/chromium_org/net/quic/test_tools/ |
D | quic_test_utils.cc | 496 const int expected_len) { in CompareCharArraysWithHexError() argument 497 EXPECT_EQ(actual_len, expected_len); in CompareCharArraysWithHexError() 498 const int min_len = min(actual_len, expected_len); in CompareCharArraysWithHexError() 499 const int max_len = max(actual_len, expected_len); in CompareCharArraysWithHexError() 501 bool identical = (actual_len == expected_len); in CompareCharArraysWithHexError() 518 << HexDumpWithMarks(expected, expected_len, marks.get(), max_len) in CompareCharArraysWithHexError()
|
D | quic_test_utils.h | 75 const int expected_len);
|
/external/android-clat/ |
D | clatd_test.cpp | 490 const uint8_t *expected, size_t expected_len, const char *msg) { in check_translated_packet() argument 494 EXPECT_EQ(expected_len, translated_len) << msg << ": Translated packet length incorrect\n"; in check_translated_packet() 903 size_t expected_len, const char *msg) { in check_translate_checksum_neutral() argument 907 EXPECT_EQ(expected_len, translated_len) << msg << ": Translated packet length incorrect\n"; in check_translate_checksum_neutral()
|
/external/chromium_org/third_party/libjingle/source/talk/session/media/ |
D | srtpfilter_unittest.cc | 569 int out_len = 0, expected_len = sizeof(kPcmuFrame); in TestUnprotectRtp() local 571 EXPECT_EQ(expected_len, out_len); in TestUnprotectRtp() 575 int out_len = 0, expected_len = sizeof(kRtcpReport); in TestUnprotectRtcp() local 577 EXPECT_EQ(expected_len, out_len); in TestUnprotectRtcp()
|
/external/chromium_org/components/crash/app/ |
D | breakpad_linux.cc | 1065 size_t expected_len) { in IsValidCrashReportId() argument 1066 if (bytes_read != expected_len) in IsValidCrashReportId() 1081 size_t expected_len) { in HandleCrashReportId() argument 1083 if (!IsValidCrashReportId(buf, bytes_read, expected_len)) { in HandleCrashReportId()
|
/external/chromium_org/content/browser/renderer_host/p2p/ |
D | socket_host_tcp.cc | 561 size_t expected_len = GetExpectedPacketSize( in DoSend() local 565 if (data.size() != expected_len) { in DoSend()
|
/external/chromium_org/net/http/ |
D | http_response_headers_unittest.cc | 1214 int64 expected_len; member 1230 EXPECT_EQ(test.expected_len, parsed->GetContentLength()); in TEST_P()
|