/external/python/cpython3/Objects/stringlib/ |
D | transmogrify.h | 280 const char *to_s, Py_ssize_t to_len, in stringlib_replace_interleave() argument 304 if (to_len > (PY_SSIZE_T_MAX - self_len) / count) { in stringlib_replace_interleave() 309 result_len = count * to_len + self_len; in stringlib_replace_interleave() 318 if (to_len > 1) { in stringlib_replace_interleave() 320 memcpy(result_s, to_s, to_len); in stringlib_replace_interleave() 321 result_s += to_len; in stringlib_replace_interleave() 326 memcpy(result_s, to_s, to_len); in stringlib_replace_interleave() 327 result_s += to_len; in stringlib_replace_interleave() 332 result_s += to_len; in stringlib_replace_interleave() 337 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 | 1590 const char *to_s, Py_ssize_t to_len, in replace_interleave() argument 1613 if (to_len > (PY_SSIZE_T_MAX - self_len) / count) { in replace_interleave() 1618 result_len = count * to_len + self_len; in replace_interleave() 1629 Py_MEMCPY(result_s, to_s, to_len); in replace_interleave() 1630 result_s += to_len; in replace_interleave() 1635 Py_MEMCPY(result_s, to_s, to_len); in replace_interleave() 1636 result_s += to_len; in replace_interleave() 1790 const char *to_s, Py_ssize_t to_len, in replace_substring_in_place() argument 1841 const char *to_s, Py_ssize_t to_len, in replace_single_character() argument 1862 if (to_len - 1 > (PY_SSIZE_T_MAX - self_len) / count) { in replace_single_character() [all …]
|
D | stringobject.c | 2362 const char *to_s, Py_ssize_t to_len, in replace_interleave() argument 2385 if (to_len > (PY_SSIZE_T_MAX - self_len) / count) { in replace_interleave() 2390 result_len = count * to_len + self_len; in replace_interleave() 2401 Py_MEMCPY(result_s, to_s, to_len); in replace_interleave() 2402 result_s += to_len; in replace_interleave() 2407 Py_MEMCPY(result_s, to_s, to_len); in replace_interleave() 2408 result_s += to_len; in replace_interleave() 2561 const char *to_s, Py_ssize_t to_len, in replace_substring_in_place() argument 2612 const char *to_s, Py_ssize_t to_len, in replace_single_character() argument 2633 if (to_len - 1 > (PY_SSIZE_T_MAX - self_len) / count) { 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 | 448 uint8_t *to, size_t to_len, const uint8_t *from, size_t from_len, 611 OPENSSL_EXPORT int RSA_padding_add_PKCS1_OAEP(uint8_t *to, size_t to_len,
|