/external/webrtc/webrtc/base/ |
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); [all...] |
sslstreamadapterhelper.cc | 94 size_t expected_len; local 96 if (!GetDigestLength(digest_alg, &expected_len)) { 100 if (expected_len != digest_len)
|
opensslstreamadapter.cc | 341 size_t expected_len; local 343 if (!OpenSSLDigest::GetDigestSize(digest_alg, &expected_len)) { 347 if (expected_len != digest_len) [all...] |
/external/icu/icu4j/perf-tests/src/com/ibm/icu/dev/test/perf/ |
ResourceBundlePerf.java | 251 int expected_len; 252 GetBinaryIcu(String key, int expected_len) { 254 this.expected_len = expected_len; 259 if(got.remaining() != expected_len) throw new Error("not the expected len"); 269 int expected_len; 270 GetBinaryJava(String key, int expected_len) { 272 this.expected_len = expected_len; 276 if(got.remaining() != expected_len) throw new Error("not the expected len") [all...] |
/external/pdfium/fpdfsdk/ |
fpdftext_embeddertest.cpp | 335 static const size_t expected_len = sizeof(expected_url); local 348 EXPECT_EQ(static_cast<int>(expected_len - 1), 349 FPDFLink_GetURL(pagelink, 0, fixed_buffer, expected_len - 1)); 351 check_unsigned_shorts(expected_url, fixed_buffer, expected_len - 1)); 352 EXPECT_EQ(0xbdbd, fixed_buffer[expected_len - 1]); 356 EXPECT_EQ(static_cast<int>(expected_len), 357 FPDFLink_GetURL(pagelink, 0, fixed_buffer, expected_len)); 358 EXPECT_TRUE(check_unsigned_shorts(expected_url, fixed_buffer, expected_len)); 359 EXPECT_EQ(0u, fixed_buffer[expected_len - 1]); 360 EXPECT_EQ(0xbdbd, fixed_buffer[expected_len]); 442 const size_t expected_len = strlen(kExpectedUrls[i]) + 1; local [all...] |
/external/boringssl/src/crypto/obj/ |
obj_test.cc | 83 int expected_len = static_cast<int>(strlen(expected)); local 86 if (len != expected_len) { 89 expected, len, expected_len); 96 if (len != expected_len) { 99 expected, len, expected_len); 113 if (len != expected_len) { 116 expected, len, expected_len);
|
/external/ltp/testcases/cve/ |
meltdown.c | 328 int expected_len; local 330 expected_len = pread(spec_fd, expected, sizeof(expected), 0); 331 if (expected_len < 0) 351 size = expected_len;
|
/external/python/cpython3/Lib/test/ |
test_range.py | 162 expected_len = b - a 168 self.assertEqual(_range_len(x), expected_len) 174 x[-expected_len-1] 176 x[expected_len] 180 expected_len = b - a 186 self.assertEqual(_range_len(x), expected_len) 192 x[-expected_len-1] 194 x[expected_len] 199 expected_len = 1 + (b - a) // c 205 self.assertEqual(_range_len(x), expected_len) [all...] |
/external/boringssl/src/crypto/base64/ |
base64_test.cc | 183 size_t expected_len = strlen(t.decoded); local 184 if (expected_len % 3 != 0) { 185 ret -= 3 - (expected_len % 3);
|
/external/linux-kselftest/tools/testing/selftests/net/ |
psock_snd.c | 274 static void do_rx(int fd, int expected_len, char *expected) 281 if (ret != expected_len) 282 error(1, 0, "recv: %u != %u", ret, expected_len);
|
/external/boringssl/src/crypto/test/ |
file_test.cc | 322 bool FileTest::ExpectBytesEqual(const uint8_t *expected, size_t expected_len, 324 if (expected_len == actual_len && 325 OPENSSL_memcmp(expected, actual, expected_len) == 0) { 329 std::string expected_hex = EncodeHex(expected, expected_len);
|
file_test.h | 169 bool ExpectBytesEqual(const uint8_t *expected, size_t expected_len,
|
/bionic/libc/bionic/ |
system_property_set.cpp | 100 bool CheckSendRecvResult(int result, int expected_len) { 103 } else if (result != expected_len) {
|
/external/boringssl/src/crypto/bio/ |
bio_test.cc | 164 // expected_len, if |should_succeed| is true, is the expected length of the 166 size_t expected_len; member in struct:ASN1TestParam 219 EXPECT_EQ(Bytes(input.data(), param.expected_len), Bytes(out, out_len));
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_sets.py | 364 expected_len = 0
367 expected_len += 1
368 self.assertEqual(len(tmp), expected_len)
383 expected_len = len(self.set)
386 expected_len -= 1
387 self.assertEqual(len(self.set), expected_len)
|
test_set.py | [all...] |
/external/python/cpython2/Lib/test/ |
test_sets.py | 363 expected_len = 0 366 expected_len += 1 367 self.assertEqual(len(tmp), expected_len) 382 expected_len = len(self.set) 385 expected_len -= 1 386 self.assertEqual(len(self.set), expected_len)
|
test_set.py | [all...] |
/external/nos/host/android/hals/keymaster/test/ |
import_wrapped_key_test.cpp | 265 const uint8_t *expected, size_t expected_len, 267 if (expected_len != got_len) { 268 *listener << label << ": expected len: " << expected_len 273 for (size_t i = 0; i < expected_len; i++) {
|
/external/autotest/client/site_tests/firmware_TouchMTB/tests/ |
mtb_unittest.py | 155 for tid, expected_len in expected_numbers.items(): 156 self.assertEqual(len(finger_paths[tid].tid_packets), expected_len)
|
/bionic/tests/ |
wchar_test.cpp | 438 T expected_value, ptrdiff_t expected_len) { 441 ASSERT_EQ(expected_len, p - str) << str; 802 T expected_value, ptrdiff_t expected_len) { 805 ASSERT_EQ(expected_len, p - str);
|
/external/android-clat/ |
clatd_test.cpp | 494 size_t expected_len, const char *msg) { 498 EXPECT_EQ(expected_len, translated_len) << msg << ": Translated packet length incorrect\n"; [all...] |
/external/boringssl/src/crypto/fipsmodule/self_check/ |
self_check.c | 45 size_t expected_len, const char *name) { 46 if (OPENSSL_memcmp(actual, expected, expected_len) != 0) { 48 hexdump(expected, expected_len); 50 hexdump(actual, expected_len);
|
/external/webrtc/talk/session/media/ |
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); [all...] |
/external/tensorflow/tensorflow/contrib/learn/python/learn/estimators/ |
dnn_test.py | 346 def _assertBinaryPredictions(self, expected_len, predictions): 347 self.assertEqual(expected_len, len(predictions)) 352 self, expected_len, n_classes, predictions): 353 self.assertEqual(expected_len, len(predictions)) [all...] |