Home
last modified time | relevance | path

Searched refs:result_len (Results 1 – 25 of 31) sorted by relevance

12

/external/boringssl/src/crypto/pkcs7/
Dpkcs7_test.cc478 size_t result_len, result2_len; in TestCertRepase() local
487 ASSERT_TRUE(CBB_finish(cbb.get(), &result_data, &result_len)); in TestCertRepase()
490 CBS_init(&pkcs7, result_data, result_len); in TestCertRepase()
506 EXPECT_EQ(Bytes(result_data, result_len), Bytes(result2_data, result2_len)); in TestCertRepase()
515 size_t result_len, result2_len; in TestCRLReparse() local
524 ASSERT_TRUE(CBB_finish(cbb.get(), &result_data, &result_len)); in TestCRLReparse()
527 CBS_init(&pkcs7, result_data, result_len); in TestCRLReparse()
543 EXPECT_EQ(Bytes(result_data, result_len), Bytes(result2_data, result2_len)); in TestCRLReparse()
/external/wpa_supplicant_8/src/crypto/
Dcrypto_internal-modexp.c19 u8 *result, size_t *result_len) in crypto_mod_exp() argument
41 ret = bignum_get_unsigned_bin(bn_result, result, result_len); in crypto_mod_exp()
Dcrypto_gnutls.c157 u8 *result, size_t *result_len) in crypto_mod_exp() argument
174 if (gcry_mpi_print(GCRYMPI_FMT_USG, result, *result_len, result_len, in crypto_mod_exp()
Dcrypto_libtomcrypt.c699 u8 *result, size_t *result_len) in crypto_mod_exp() argument
714 *result_len = mp_unsigned_bin_size(r); in crypto_mod_exp()
/external/python/cpython2/Objects/
Dbytearrayobject.c1573 Py_ssize_t self_len, result_len; in replace_interleave() local
1592 result_len = product + self_len; in replace_interleave()
1593 if (result_len < 0) { in replace_interleave()
1600 PyByteArray_FromStringAndSize(NULL, result_len)) ) in replace_interleave()
1633 Py_ssize_t self_len, result_len; in replace_delete_single_character() local
1645 result_len = self_len - count; /* from_len == 1 */ in replace_delete_single_character()
1646 assert(result_len>=0); in replace_delete_single_character()
1649 PyByteArray_FromStringAndSize(NULL, result_len)) == NULL) in replace_delete_single_character()
1677 Py_ssize_t self_len, result_len; in replace_delete_substring() local
1693 result_len = self_len - (count * from_len); in replace_delete_substring()
[all …]
Dstringobject.c2360 Py_ssize_t self_len, result_len; in replace_interleave() local
2379 result_len = product + self_len; in replace_interleave()
2380 if (result_len < 0) { in replace_interleave()
2387 PyString_FromStringAndSize(NULL, result_len)) ) in replace_interleave()
2420 Py_ssize_t self_len, result_len; in replace_delete_single_character() local
2432 result_len = self_len - count; /* from_len == 1 */ in replace_delete_single_character()
2433 assert(result_len>=0); in replace_delete_single_character()
2436 PyString_FromStringAndSize(NULL, result_len)) == NULL) in replace_delete_single_character()
2463 Py_ssize_t self_len, result_len; in replace_delete_substring() local
2479 result_len = self_len - (count * from_len); in replace_delete_substring()
[all …]
/external/boringssl/src/crypto/fipsmodule/
Dbcm.c311 unsigned result_len; in BORINGSSL_bcm_power_on_self_test() local
313 result, &result_len) || in BORINGSSL_bcm_power_on_self_test()
314 result_len != sizeof(result)) { in BORINGSSL_bcm_power_on_self_test()
/external/selinux/libsepol/src/
Dcontext.h35 char **result, size_t * result_len);
Dcontext.c91 char **result, size_t * result_len) in context_to_string() argument
132 *result_len = scontext_len; in context_to_string()
/external/webrtc/webrtc/p2p/base/
Ddtlstransportchannel.h153 size_t result_len) override { in ExportKeyingMaterial() argument
157 result, result_len) in ExportKeyingMaterial()
Dtransportchannel.h140 size_t result_len) = 0;
Dfaketransportcontroller.h277 size_t result_len) override { in ExportKeyingMaterial() argument
279 memset(result, 0xff, result_len); in ExportKeyingMaterial()
/external/iw/
Dutil.c51 int parse_hex_mask(char *hexmask, unsigned char **result, size_t *result_len, in parse_hex_mask() argument
60 *result_len = 0; in parse_hex_mask()
100 (*result_len)++; in parse_hex_mask()
Diw.h136 int parse_hex_mask(char *hexmask, unsigned char **result, size_t *result_len,
/external/icu/icu4c/source/common/
Dcaniter.cpp344 UnicodeString* CanonicalIterator::getEquivalents(const UnicodeString &segment, int32_t &result_len,… in getEquivalents() argument
420 result_len = 0; in getEquivalents()
424 finalResult[result_len++] = *((UnicodeString *)(ne->value.pointer)); in getEquivalents()
/external/webrtc/webrtc/base/
Dsslstreamadapter.cc66 size_t result_len) { in ExportKeyingMaterial() argument
Dsslstreamadapter.h181 size_t result_len);
Dopensslstreamadapter.h101 size_t result_len) override;
Dsslstreamadapter_unittest.cc497 size_t result_len) { in ExportKeyingMaterial() argument
502 result, result_len); in ExportKeyingMaterial()
507 result, result_len); in ExportKeyingMaterial()
/external/rmi4utils/rmihidtool/
Dmain.cpp82 int find_token(char * input, char * result, size_t result_len, char ** endpp) in find_token() argument
103 if (static_cast<ssize_t>(result_len) < end - start + 1) in find_token()
/external/icu/icu4c/source/common/unicode/
Dcaniter.h187 …UnicodeString *getEquivalents(const UnicodeString &segment, int32_t &result_len, UErrorCode &statu…
/external/boringssl/src/ssl/
Dssl_test.cc3578 uint8_t result_len; in TEST() local
3582 SSL_select_next_proto(&result, &result_len, in TEST()
3585 EXPECT_EQ(Bytes("a"), Bytes(result, result_len)); in TEST()
3588 SSL_select_next_proto(&result, &result_len, in TEST()
3591 EXPECT_EQ(Bytes("bb"), Bytes(result, result_len)); in TEST()
3594 SSL_select_next_proto(&result, &result_len, in TEST()
3597 EXPECT_EQ(Bytes("ccc"), Bytes(result, result_len)); in TEST()
3601 SSL_select_next_proto(&result, &result_len, in TEST()
3604 EXPECT_EQ(Bytes("a"), Bytes(result, result_len)); in TEST()
3608 SSL_select_next_proto(&result, &result_len, in TEST()
[all …]
/external/dhcpcd-6.8.2/
Dipv6.c542 short result_len) // desired prefix length in ipv6_userprefix() argument
547 result_len < 0 || result_len > 120) in ipv6_userprefix()
554 if (result_len < prefix_len || user_number > INT_MAX || in ipv6_userprefix()
555 ffs((int)user_number) > result_len - prefix_len) in ipv6_userprefix()
562 if (result_len >= 64) { in ipv6_userprefix()
563 user_high = user_number << (result_len - 64); in ipv6_userprefix()
566 user_high = user_number >> (64 - result_len); in ipv6_userprefix()
567 user_low = user_number << result_len; in ipv6_userprefix()
Dipv6.h226 uint64_t user_number, struct in6_addr *result, short result_len);
/external/v8/src/runtime/
Druntime-regexp.cc427 int result_len; in StringReplaceGlobalAtomRegExpWithString() local
430 result_len = kMaxInt; // Provoke exception. in StringReplaceGlobalAtomRegExpWithString()
432 result_len = static_cast<int>(result_len_64); in StringReplaceGlobalAtomRegExpWithString()
434 if (result_len == 0) { in StringReplaceGlobalAtomRegExpWithString()
443 maybe_res = isolate->factory()->NewRawOneByteString(result_len); in StringReplaceGlobalAtomRegExpWithString()
445 maybe_res = isolate->factory()->NewRawTwoByteString(result_len); in StringReplaceGlobalAtomRegExpWithString()

12