/dports/mail/elm/elm2.5.8/src/ |
H A D | addr_util.c | 146 int to_len; local 152 to_len = 0; 214 if (to_len > 0) { 216 to_len += 2; 231 if (to_len > 0) { 233 to_len += 2; 245 ++to_len; 280 if (to_len > 0) { 282 to_len += 2; 299 if (to_len > 0) { [all …]
|
/dports/security/john/john-1.9.0-jumbo-1/src/ |
H A D | base64_convert.c | 315 ++to_len; in actual_base64_to_base64_conv() 360 --to_len; in actual_hex_to_base64_conv() 373 if (to_len < 4) { in actual_hex_to_base64_conv() 375 cpo += to_len; in actual_hex_to_base64_conv() 397 --to_len; in actual_base64_to_hex_conv() 410 cpo += to_len; in actual_base64_to_hex_conv() 444 cpo += to_len; in actual_base64_to_raw_conv() 455 to_len -= 3; in actual_base64_to_raw_conv() 466 --to_len; in actual_raw_to_base64_conv() 476 cpo += to_len; in actual_raw_to_base64_conv() [all …]
|
/dports/math/libpgmath/flang-d07daf3/runtime/flang/ |
H A D | ftncharsup.c | 80 if (to_len <= 0) { in Ftn_str_copy() 90 va_start(ap, to_len); in Ftn_str_copy() 122 if (idx2 >= to_len) in Ftn_str_copy() 159 if (idx2 >= to_len) in Ftn_str_copy() 174 if (to_len <= 0) { in Ftn_str_cpy1() 186 to_end = to + to_len; in Ftn_str_cpy1() 315 if (to_len <= 0) { in Ftn_str_copy_klen() 325 va_start(ap, to_len); in Ftn_str_copy_klen() 357 if (idx2 >= to_len) in Ftn_str_copy_klen() 409 if (to_len <= 0) { in Ftn_str_cpy1_klen() [all …]
|
H A D | ftnncharsup.c | 51 Ftn_nstr_copy(int n, WCHAR *to, int to_len, ...) in Ftn_nstr_copy() argument 58 va_start(ap, to_len); in Ftn_nstr_copy() 64 if (j == to_len) in Ftn_nstr_copy() 72 while (j < to_len) in Ftn_nstr_copy() 188 Ftn_nstr_copy_klen(int n, WCHAR *to, _LONGLONG_T to_len, ...) in Ftn_nstr_copy_klen() argument 195 va_start(ap, to_len); in Ftn_nstr_copy_klen() 201 if (j == to_len) in Ftn_nstr_copy_klen() 209 while (j < to_len) in Ftn_nstr_copy_klen()
|
/dports/databases/py-sqlite3/Python-3.8.12/Objects/stringlib/ |
H A D | transmogrify.h | 318 if (to_len > 1) { in stringlib_replace_interleave() 321 result_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() 590 result_s += to_len; in stringlib_replace_single_character() 597 result_s += to_len; in stringlib_replace_single_character() 659 result_s += to_len; in stringlib_replace_substring() 692 if (to_len == 0) { in stringlib_replace() 709 if (to_len == 0) { in stringlib_replace() [all …]
|
/dports/databases/py-gdbm/Python-3.8.12/Objects/stringlib/ |
H A D | transmogrify.h | 318 if (to_len > 1) { in stringlib_replace_interleave() 321 result_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() 590 result_s += to_len; in stringlib_replace_single_character() 597 result_s += to_len; in stringlib_replace_single_character() 659 result_s += to_len; in stringlib_replace_substring() 692 if (to_len == 0) { in stringlib_replace() 709 if (to_len == 0) { in stringlib_replace() [all …]
|
/dports/lang/python-tools/Python-3.8.12/Objects/stringlib/ |
H A D | transmogrify.h | 318 if (to_len > 1) { in stringlib_replace_interleave() 321 result_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() 590 result_s += to_len; in stringlib_replace_single_character() 597 result_s += to_len; in stringlib_replace_single_character() 659 result_s += to_len; in stringlib_replace_substring() 692 if (to_len == 0) { in stringlib_replace() 709 if (to_len == 0) { in stringlib_replace() [all …]
|
/dports/lang/python311/Python-3.11.0a3/Objects/stringlib/ |
H A D | transmogrify.h | 318 if (to_len > 1) { in stringlib_replace_interleave() 321 result_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() 590 result_s += to_len; in stringlib_replace_single_character() 597 result_s += to_len; in stringlib_replace_single_character() 659 result_s += to_len; in stringlib_replace_substring() 696 if (to_len == 0) { in stringlib_replace() 706 if (to_len == 0) { in stringlib_replace() [all …]
|
/dports/lang/python310/Python-3.10.1/Objects/stringlib/ |
H A D | transmogrify.h | 318 if (to_len > 1) { in stringlib_replace_interleave() 321 result_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() 590 result_s += to_len; in stringlib_replace_single_character() 597 result_s += to_len; in stringlib_replace_single_character() 659 result_s += to_len; in stringlib_replace_substring() 696 if (to_len == 0) { in stringlib_replace() 706 if (to_len == 0) { in stringlib_replace() [all …]
|
/dports/lang/python38/Python-3.8.12/Objects/stringlib/ |
H A D | transmogrify.h | 318 if (to_len > 1) { in stringlib_replace_interleave() 321 result_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() 590 result_s += to_len; in stringlib_replace_single_character() 597 result_s += to_len; in stringlib_replace_single_character() 659 result_s += to_len; in stringlib_replace_substring() 692 if (to_len == 0) { in stringlib_replace() 709 if (to_len == 0) { in stringlib_replace() [all …]
|
/dports/lang/python39/Python-3.9.9/Objects/stringlib/ |
H A D | transmogrify.h | 318 if (to_len > 1) { in stringlib_replace_interleave() 321 result_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() 590 result_s += to_len; in stringlib_replace_single_character() 597 result_s += to_len; in stringlib_replace_single_character() 659 result_s += to_len; in stringlib_replace_substring() 696 if (to_len == 0) { in stringlib_replace() 706 if (to_len == 0) { in stringlib_replace() [all …]
|
/dports/x11-toolkits/py-tkinter/Python-3.8.12/Objects/stringlib/ |
H A D | transmogrify.h | 318 if (to_len > 1) { in stringlib_replace_interleave() 321 result_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() 590 result_s += to_len; in stringlib_replace_single_character() 597 result_s += to_len; in stringlib_replace_single_character() 659 result_s += to_len; in stringlib_replace_substring() 692 if (to_len == 0) { in stringlib_replace() 709 if (to_len == 0) { in stringlib_replace() [all …]
|
/dports/lang/python37/Python-3.7.12/Objects/stringlib/ |
H A D | transmogrify.h | 276 if (to_len > 1) { in stringlib_replace_interleave() 279 result_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() 548 result_s += to_len; in stringlib_replace_single_character() 555 result_s += to_len; in stringlib_replace_single_character() 617 result_s += to_len; in stringlib_replace_substring() 650 if (to_len == 0) { in stringlib_replace() 667 if (to_len == 0) { in stringlib_replace() [all …]
|
/dports/x11/libX11/libX11-1.7.2/src/ |
H A D | imConv.c | 193 int to_len = BUF_SIZE; in _XimLookupMBText() local 202 &from, &from_len, &to, &to_len, in _XimLookupMBText() 208 from_len = BUF_SIZE - to_len; in _XimLookupMBText() 209 to_len = nbytes; in _XimLookupMBText() 216 count = nbytes - to_len; in _XimLookupMBText() 262 int to_len = BUF_SIZE; in _XimLookupWCText() local 277 from_len = BUF_SIZE - to_len; in _XimLookupWCText() 278 to_len = nbytes; in _XimLookupWCText() 286 count = nbytes - to_len; in _XimLookupWCText() 336 int to_len = nbytes; in _XimLookupUTF8Text() local [all …]
|
/dports/databases/xtrabackup8/percona-xtrabackup-8.0.14/storage/innobase/xtrabackup/src/ |
H A D | xbcrypt_common.cc | 203 size_t from_len, uchar *to, size_t *to_len, in xb_crypt_decrypt() argument 206 *to_len = from_len; in xb_crypt_decrypt() 229 gcry_cipher_decrypt(cipher_handle, to, *to_len, from, from_len); in xb_crypt_decrypt() 240 *to_len -= XB_CRYPT_HASH_LEN; in xb_crypt_decrypt() 245 gcry_md_hash_buffer(XB_CRYPT_HASH, hash, to, *to_len); in xb_crypt_decrypt() 246 if (memcmp(hash, (char *)to + *to_len, XB_CRYPT_HASH_LEN) != 0) { in xb_crypt_decrypt() 254 memcpy(to, from, *to_len); in xb_crypt_decrypt() 256 *to_len -= XB_CRYPT_HASH_LEN; in xb_crypt_decrypt() 264 size_t from_len, uchar *to, size_t *to_len, in xb_crypt_encrypt() argument 275 *to_len = from_len; in xb_crypt_encrypt() [all …]
|
/dports/databases/xtrabackup/percona-xtrabackup-2.4.21/storage/innobase/xtrabackup/src/ |
H A D | xbcrypt_common.c | 233 size_t from_len, uchar *to, size_t *to_len, in xb_crypt_decrypt() argument 236 *to_len = from_len; in xb_crypt_decrypt() 278 *to_len -= XB_CRYPT_HASH_LEN; in xb_crypt_decrypt() 285 *to_len); in xb_crypt_decrypt() 286 if (memcmp(hash, (char *) to + *to_len, in xb_crypt_decrypt() 296 memcpy(to, from, *to_len); in xb_crypt_decrypt() 298 *to_len -= XB_CRYPT_HASH_LEN; in xb_crypt_decrypt() 307 size_t from_len, uchar *to, size_t *to_len, uchar *iv) in xb_crypt_encrypt() argument 320 *to_len = from_len; in xb_crypt_encrypt() 345 *to_len + XB_CRYPT_HASH_LEN, in xb_crypt_encrypt() [all …]
|
/dports/lang/mono/mono-5.10.1.57/external/boringssl/crypto/rsa/ |
H A D | padding.c | 78 if (to_len < RSA_PKCS1_PADDING_SIZE) { in RSA_padding_add_PKCS1_type_1() 94 j = to_len - 3 - from_len; in RSA_padding_add_PKCS1_type_1() 145 if (j > to_len) { in RSA_padding_check_PKCS1_type_1() 158 if (to_len < RSA_PKCS1_PADDING_SIZE) { in RSA_padding_add_PKCS1_type_2() 174 j = to_len - 3 - from_len; in RSA_padding_add_PKCS1_type_2() 245 if (msg_len > to_len) { in RSA_padding_check_PKCS1_type_2() 263 if (from_len > to_len) { in RSA_padding_add_none() 268 if (from_len < to_len) { in RSA_padding_add_none() 339 if (to_len < 2 * mdlen + 2) { in RSA_padding_add_PKCS1_OAEP_mgf1() 344 emlen = to_len - 1; in RSA_padding_add_PKCS1_OAEP_mgf1() [all …]
|
H A D | internal.h | 98 int RSA_padding_add_PKCS1_type_1(uint8_t *to, unsigned to_len, 100 int RSA_padding_check_PKCS1_type_1(uint8_t *to, unsigned to_len, 102 int RSA_padding_add_PKCS1_type_2(uint8_t *to, unsigned to_len, 104 int RSA_padding_check_PKCS1_type_2(uint8_t *to, unsigned to_len, 106 int RSA_padding_add_PKCS1_OAEP_mgf1(uint8_t *to, unsigned to_len, 110 int RSA_padding_check_PKCS1_OAEP_mgf1(uint8_t *to, unsigned to_len, 114 int RSA_padding_add_none(uint8_t *to, unsigned to_len, const uint8_t *from,
|
/dports/news/trn4/trn-4.0-test77/ |
H A D | edit_dist.c | 63 edit_distn(from, from_len, to, to_len) in edit_distn() argument 67 register int to_len; 87 if (to == NULL || !to_len) 89 return to_len * insert_cost; 91 if (to == NULL || !to_len) 111 if (from_len > to_len && from_len > STRLENTHRESHOLD) { 112 swap_int(from_len, to_len); 219 for (row = 1; row < to_len; row++) { 241 if (row < to_len - 1)
|
/dports/misc/xdelta3/xdelta-3.1.0/xdelta3/examples/ |
H A D | speed_test.c | 6 const uint8_t *to_buf, const size_t to_len, in bench_speed() argument 10 int ret = xd3_encode_memory(to_buf, to_len, from_buf, from_len, in bench_speed() 23 size_t from_len = 0, to_len, delta_alloc, delta_size = 0; in main() local 41 (ret = read_whole_file(to, &to_buf, &to_len))) { in main() 46 delta_alloc = to_len * 11 / 10; in main() 53 to_buf, to_len, delta_buf, delta_alloc, flags); in main()
|
/dports/sysutils/fwup/fwup-1.9.0/src/3rdparty/xdelta3/examples/ |
H A D | speed_test.c | 20 const uint8_t *to_buf, const size_t to_len, in bench_speed() argument 24 int ret = xd3_encode_memory(to_buf, to_len, from_buf, from_len, in bench_speed() 37 size_t from_len = 0, to_len, delta_alloc, delta_size = 0; in main() local 55 (ret = read_whole_file(to, &to_buf, &to_len))) { in main() 60 delta_alloc = to_len * 11 / 10; in main() 67 to_buf, to_len, delta_buf, delta_alloc, flags); in main()
|
/dports/news/trn/trn-3.6/ |
H A D | edit_dist.c | 87 edit_distn(from, from_len, to, to_len) in edit_distn() argument 89 register int from_len, to_len; 109 if (to == NULL || !to_len) 112 return to_len * insert_cost; 113 else if (to == NULL || !to_len) 133 if (from_len > to_len && from_len > STRLENTHRESHOLD) { 134 swap_int(from_len, to_len); 241 for (row = 1; row < to_len; row++) { 263 if (row < to_len - 1)
|
/dports/security/pev/pev/lib/libfuzzy/ |
H A D | edit_dist.c | 75 edit_distn(const char *from, int from_len, const char *to, int to_len) 95 if (to == NULL || !to_len) 98 return to_len * insert_cost; 99 else if (to == NULL || !to_len) 119 if (from_len > to_len && from_len > STRLENTHRESHOLD) { 120 swap_int(from_len, to_len); 227 for (row = 1; row < to_len; row++) { 249 if (row < to_len - 1)
|
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/hotspot/src/share/vm/utilities/ |
H A D | stringUtils.cpp | 31 size_t to_len = strlen(to); in replace_no_expand() local 32 assert(from_len >= to_len, "must not expand input"); in replace_no_expand() 36 memmove(dst, to, to_len); // does not copy trailing 0 of <to> in replace_no_expand() 37 dst += to_len; // skip over the replacement. in replace_no_expand()
|
/dports/java/openjdk8-jre/jdk8u-jdk8u312-b07.1/hotspot/src/share/vm/utilities/ |
H A D | stringUtils.cpp | 31 size_t to_len = strlen(to); in replace_no_expand() local 32 assert(from_len >= to_len, "must not expand input"); in replace_no_expand() 36 memmove(dst, to, to_len); // does not copy trailing 0 of <to> in replace_no_expand() 37 dst += to_len; // skip over the replacement. in replace_no_expand()
|