Home
last modified time | relevance | path

Searched refs:expected_len (Results 1 – 8 of 8) sorted by relevance

/external/boringssl/src/ssl/
Dt1_reneg.c200 int expected_len = in ssl_parse_serverhello_renegotiate_ext() local
206 assert(!expected_len || s->s3->previous_client_finished_len); in ssl_parse_serverhello_renegotiate_ext()
207 assert(!expected_len || s->s3->previous_server_finished_len); in ssl_parse_serverhello_renegotiate_ext()
219 if (CBS_len(&renegotiated_connection) != expected_len) { in ssl_parse_serverhello_renegotiate_ext()
/external/boringssl/src/crypto/base64/
Dbase64_test.cc64 size_t expected_len = strlen(t->decoded); in TestDecode() local
88 if (expected_len % 3 != 0) { in TestDecode()
89 ret -= 3 - (expected_len % 3); in TestDecode()
/external/v8/test/cctest/
Dtest-ostreams.cc45 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()
Dtest-api.cc8143 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/boringssl/src/crypto/test/
Dfile_test.cc251 bool FileTest::ExpectBytesEqual(const uint8_t *expected, size_t expected_len, in ExpectBytesEqual() argument
253 if (expected_len == actual_len && in ExpectBytesEqual()
254 memcmp(expected, actual, expected_len) == 0) { in ExpectBytesEqual()
258 std::string expected_hex = EncodeHex(expected, expected_len); in ExpectBytesEqual()
Dfile_test.h120 bool ExpectBytesEqual(const uint8_t *expected, size_t expected_len,
/external/boringssl/src/crypto/bio/
Dbio_test.cc333 size_t expected_len, size_t max_len) { in ReadASN1() argument
349 (out_len != expected_len || memcmp(data, out, expected_len) != 0)) { in ReadASN1()
/external/android-clat/
Dclatd_test.cpp487 const uint8_t *expected, size_t expected_len, const char *msg) { in check_translated_packet() argument
491 EXPECT_EQ(expected_len, translated_len) << msg << ": Translated packet length incorrect\n"; in check_translated_packet()
899 size_t expected_len, const char *msg) { in check_translate_checksum_neutral() argument
903 EXPECT_EQ(expected_len, translated_len) << msg << ": Translated packet length incorrect\n"; in check_translate_checksum_neutral()