/third_party/icu/icu4j/perf-tests/src/com/ibm/icu/dev/test/perf/ |
D | 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");
|
/third_party/openssl/test/ |
D | hexstr_test.c | 23 size_t expected_len; member 72 || !TEST_mem_eq(buf, len, test->expected, test->expected_len) in test_hexstr_sep_to_from() 94 || !TEST_mem_eq(buf, len, test->expected, test->expected_len) in test_hexstr_to_from() 122 && TEST_mem_eq(buf, len, test->expected, test->expected_len) in test_hexstr_ex_to_from()
|
D | ssl_test.c | 198 size_t expected_len = 0; in check_session_ticket_app_data() local 204 expected_len = strlen(test_ctx->expected_session_ticket_app_data); in check_session_ticket_app_data() 205 if (result_len == 0 && expected_len == 0) in check_session_ticket_app_data()
|
D | asn1_encode_test.c | 521 const unsigned char *expected, size_t expected_len, in do_encode() argument 532 if ((size_t)len != expected_len in do_encode() 533 || memcmp(data, expected, expected_len) != 0) { in do_encode()
|
D | evp_extra_test2.c | 816 const unsigned char *expected, size_t expected_len) in do_check_bn() argument 825 && TEST_int_gt(len = BN_bn2binpad(bn, buffer, expected_len), 0) in do_check_bn() 826 && TEST_mem_eq(expected, expected_len, buffer, len); in do_check_bn()
|
D | evp_test.c | 99 const void *expected, size_t expected_len, in memory_err_compare() argument 105 r = !TEST_mem_ne(expected, expected_len, got, got_len); in memory_err_compare() 107 r = TEST_mem_eq(expected, expected_len, got, got_len); in memory_err_compare()
|
/third_party/python/Lib/test/ |
D | test_range.py | 176 expected_len = b - a 182 self.assertEqual(_range_len(x), expected_len) 188 x[-expected_len-1] 190 x[expected_len] 194 expected_len = b - a 200 self.assertEqual(_range_len(x), expected_len) 206 x[-expected_len-1] 208 x[expected_len] 213 expected_len = 1 + (b - a) // c 219 self.assertEqual(_range_len(x), expected_len) [all …]
|
D | test_set.py | 1196 expected_len = 0 1199 expected_len += 1 1200 self.assertEqual(len(tmp), expected_len) 1215 expected_len = len(self.set) 1218 expected_len -= 1 1219 self.assertEqual(len(self.set), expected_len)
|
D | test_buffer.py | 778 expected_len = prod(shape)*itemsize 781 expected_len = len(lst) 783 expected_len = itemsize 807 self.assertEqual(result.nbytes, expected_len) 952 self.assertEqual(m.nbytes, expected_len)
|
D | test_itertools.py | 1099 expected_len = prod(map(len, args)) 1100 self.assertEqual(len(list(product(*args))), expected_len) 1104 self.assertEqual(len(list(product(*args))), expected_len)
|
/third_party/openssl/providers/fips/ |
D | self_test_kats.c | 41 if (out_len != t->expected_len in self_test_digest() 113 if (ct_len != (int)t->base.expected_len in self_test_cipher() 131 t->base.expected, t->base.expected_len) in self_test_cipher() 229 if (t->expected_len > sizeof(out)) in self_test_kdf() 231 if (EVP_KDF_derive(ctx, out, t->expected_len, params) <= 0) in self_test_kdf() 236 if (memcmp(out, t->expected, t->expected_len) != 0) in self_test_kdf() 421 if (secret_len != t->expected_len in self_test_ka() 422 || memcmp(secret, t->expected, t->expected_len) != 0) in self_test_ka() 596 if (outlen != t->expected_len in self_test_asym_cipher() 597 || memcmp(out, t->expected, t->expected_len) != 0) in self_test_asym_cipher()
|
D | self_test.c | 181 unsigned char *expected, size_t expected_len, in verify_integrity() argument 219 if (expected_len != out_len in verify_integrity()
|
D | self_test_data.inc | 40 size_t expected_len; 66 size_t expected_len; 101 size_t expected_len; 122 size_t expected_len;
|
/third_party/ltp/testcases/cve/ |
D | meltdown.c | 318 int expected_len; in run() local 320 expected_len = pread(spec_fd, expected, sizeof(expected), 0); in run() 321 if (expected_len < 0) in run() 341 size = expected_len; in run()
|
/third_party/node/test/cctest/ |
D | test_inspector_socket.cc | 195 size_t expected_len; member 259 CHECK_GT(expectation->expected_len, 0); in check_data_cb() 260 for (i = 0; i < nread && expectation->pos <= expectation->expected_len; i++) { in check_data_cb() 271 if (expectation->pos == expectation->expected_len) { in check_data_cb() 292 expectation.expected_len = len; in prepare_expects()
|
/third_party/ffmpeg/libavformat/ |
D | rmdec.c | 715 int64_t expected_len; in rm_sync() local 719 expected_len = 20 + n_pkts * 14LL; in rm_sync() 721 if (len == 20 && expected_len <= INT_MAX) in rm_sync() 723 len = expected_len; in rm_sync() 724 else if (len != expected_len) in rm_sync() 727 len, n_pkts, expected_len); in rm_sync()
|
/third_party/ffmpeg/libavcodec/ |
D | exr.c | 680 unsigned long dest_len, expected_len = 0; in pxr24_uncompress() local 687 … expected_len += (td->xsize * td->ysize * 3);/* PRX 24 store float in 24 bit instead of 32 */ in pxr24_uncompress() 689 expected_len += (td->xsize * td->ysize * 2); in pxr24_uncompress() 691 expected_len += (td->xsize * td->ysize * 4); in pxr24_uncompress() 695 dest_len = expected_len; in pxr24_uncompress() 699 } else if (dest_len != expected_len) { in pxr24_uncompress()
|
/third_party/openssl/ssl/statem/ |
D | extensions_clnt.c | 1206 size_t expected_len = s->s3.previous_client_finished_len in tls_parse_stoc_renegotiate() local 1212 if (!ossl_assert(expected_len == 0 in tls_parse_stoc_renegotiate() 1214 || !ossl_assert(expected_len == 0 in tls_parse_stoc_renegotiate() 1233 if (ilen != expected_len) { in tls_parse_stoc_renegotiate()
|
/third_party/python/Lib/ |
D | ipaddress.py | 427 def _check_packed_address(self, address, expected_len): argument 429 if address_len != expected_len: 432 expected_len, self._version))
|
/third_party/openssl/doc/man3/ |
D | OSSL_SELF_TEST_new.pod | 143 if (out_len != t->expected_len
|
/third_party/icu/icu4c/source/test/cintltst/ |
D | cloctst.c | 6264 const int32_t expected_len = (int32_t)uprv_strlen(expected); in TestBug20132() local 6278 if (len != expected_len) { in TestBug20132() 6279 …d length returned by uloc_toLanguageTag for locale id [%s]: %i != %i\n", inloc, len, expected_len); in TestBug20132() 6283 len = uloc_toLanguageTag(inloc, langtag, expected_len, FALSE, &status); in TestBug20132() 6290 if (len != expected_len) { in TestBug20132() 6291 …d length returned by uloc_toLanguageTag for locale id [%s]: %i != %i\n", inloc, len, expected_len); in TestBug20132() 6292 } else if (uprv_strncmp(langtag, expected, expected_len) != 0) { in TestBug20132()
|