/external/python/cpython3/Objects/stringlib/ |
D | transmogrify.h | 238 const char *to_s, Py_ssize_t to_len, in stringlib_replace_interleave() argument 262 if (to_len > (PY_SSIZE_T_MAX - self_len) / count) { in stringlib_replace_interleave() 267 result_len = count * to_len + self_len; in stringlib_replace_interleave() 276 if (to_len > 1) { in stringlib_replace_interleave() 278 memcpy(result_s, to_s, to_len); in stringlib_replace_interleave() 279 result_s += to_len; in stringlib_replace_interleave() 284 memcpy(result_s, to_s, to_len); in stringlib_replace_interleave() 285 result_s += to_len; in stringlib_replace_interleave() 290 result_s += to_len; in stringlib_replace_interleave() 295 result_s += to_len; in stringlib_replace_interleave() [all …]
|
/external/boringssl/src/crypto/fipsmodule/rsa/ |
D | padding.c | 75 int RSA_padding_add_PKCS1_type_1(uint8_t *to, size_t to_len, in RSA_padding_add_PKCS1_type_1() argument 78 if (to_len < RSA_PKCS1_PADDING_SIZE) { in RSA_padding_add_PKCS1_type_1() 83 if (from_len > to_len - RSA_PKCS1_PADDING_SIZE) { in RSA_padding_add_PKCS1_type_1() 90 OPENSSL_memset(to + 2, 0xff, to_len - 3 - from_len); in RSA_padding_add_PKCS1_type_1() 91 to[to_len - from_len - 1] = 0; in RSA_padding_add_PKCS1_type_1() 92 OPENSSL_memcpy(to + to_len - from_len, from, from_len); in RSA_padding_add_PKCS1_type_1() 164 int RSA_padding_add_PKCS1_type_2(uint8_t *to, size_t to_len, in RSA_padding_add_PKCS1_type_2() argument 167 if (to_len < RSA_PKCS1_PADDING_SIZE) { in RSA_padding_add_PKCS1_type_2() 172 if (from_len > to_len - RSA_PKCS1_PADDING_SIZE) { in RSA_padding_add_PKCS1_type_2() 180 size_t padding_len = to_len - 3 - from_len; in RSA_padding_add_PKCS1_type_2() [all …]
|
D | internal.h | 92 int RSA_padding_add_PKCS1_type_1(uint8_t *to, size_t to_len, 97 int RSA_padding_add_PKCS1_type_2(uint8_t *to, size_t to_len, 107 int RSA_padding_add_none(uint8_t *to, size_t to_len, const uint8_t *from,
|
/external/python/cpython2/Objects/ |
D | bytearrayobject.c | 1569 const char *to_s, Py_ssize_t to_len, in replace_interleave() argument 1586 product = count * to_len; in replace_interleave() 1587 if (product / to_len != count) { in replace_interleave() 1609 Py_MEMCPY(result_s, to_s, to_len); in replace_interleave() 1610 result_s += to_len; in replace_interleave() 1615 Py_MEMCPY(result_s, to_s, to_len); in replace_interleave() 1616 result_s += to_len; in replace_interleave() 1770 const char *to_s, Py_ssize_t to_len, in replace_substring_in_place() argument 1821 const char *to_s, Py_ssize_t to_len, in replace_single_character() argument 1841 product = count * (to_len-1); in replace_single_character() [all …]
|
D | stringobject.c | 2356 const char *to_s, Py_ssize_t to_len, in replace_interleave() argument 2373 product = count * to_len; in replace_interleave() 2374 if (product / to_len != count) { in replace_interleave() 2396 Py_MEMCPY(result_s, to_s, to_len); in replace_interleave() 2397 result_s += to_len; in replace_interleave() 2402 Py_MEMCPY(result_s, to_s, to_len); in replace_interleave() 2403 result_s += to_len; in replace_interleave() 2556 const char *to_s, Py_ssize_t to_len, in replace_substring_in_place() argument 2607 const char *to_s, Py_ssize_t to_len, in replace_single_character() argument 2627 product = count * (to_len-1); in replace_single_character() [all …]
|
/external/boringssl/src/decrepit/rsa/ |
D | rsa_decrepit.c | 98 int RSA_padding_add_PKCS1_OAEP(uint8_t *to, size_t to_len, in RSA_padding_add_PKCS1_OAEP() argument 101 return RSA_padding_add_PKCS1_OAEP_mgf1(to, to_len, from, from_len, param, in RSA_padding_add_PKCS1_OAEP()
|
/external/boringssl/src/include/openssl/ |
D | rsa.h | 414 uint8_t *to, size_t to_len, const uint8_t *from, size_t from_len, 577 OPENSSL_EXPORT int RSA_padding_add_PKCS1_OAEP(uint8_t *to, size_t to_len,
|