/dports/devel/libnsutils/libnsutils-0.1.0/src/ |
H A D | base64.c | 131 size_t input_length, in table_encode() argument 146 for (i = 0, j = 0; i < input_length;) { in table_encode() 185 size_t input_length, in table_encode_alloc() argument 202 input_length, in table_encode_alloc() 221 size_t input_length, in nsu_base64_encode_alloc() argument 227 input_length, in nsu_base64_encode_alloc() 259 size_t input_length, in nsu_base64_encode() argument 284 input_length, in nsu_base64_encode_url() 305 size_t input_length, in base64_decode_alloc() argument 328 while (idx < input_length) { in base64_decode_alloc() [all …]
|
/dports/security/olm/olm-3.2.6/src/ |
H A D | base64.cpp | 51 std::size_t input_length in encode_base64_length() argument 53 return 4 * ((input_length + 2) / 3) + (input_length + 2) % 3 - 2; in encode_base64_length() 73 unsigned remainder = input + input_length - pos; in encode_base64() 96 std::size_t input_length in decode_base64_length() argument 98 if (input_length % 4 == 1) { in decode_base64_length() 101 return 3 * ((input_length + 2) / 4) + (input_length + 2) % 4 - 2; in decode_base64_length() 163 size_t input_length in _olm_encode_base64_length() argument 165 return olm::encode_base64_length(input_length); in _olm_encode_base64_length() 169 uint8_t const * input, size_t input_length, in _olm_encode_base64() argument 177 size_t input_length in _olm_decode_base64_length() argument [all …]
|
/dports/editors/encryptpad/EncryptPad-0.5.0.1/deps/botan/src/lib/modes/mode_pad/ |
H A D | mode_pad.cpp | 83 if(!valid_blocksize(input_length)) in unpad() 84 return input_length; in unpad() 86 CT::poison(input, input_length); in unpad() 108 CT::unpoison(input, input_length); in unpad() 160 return input_length; in unpad() 162 CT::poison(input, input_length); in unpad() 231 return input_length; in unpad() 233 CT::poison(input, input_length); in unpad() 239 size_t i = input_length; in unpad() 307 return input_length; in unpad() [all …]
|
/dports/mail/thunderbird/thunderbird-91.8.0/comm/third_party/botan/src/lib/modes/mode_pad/ |
H A D | mode_pad.cpp | 83 if(!valid_blocksize(input_length)) in unpad() 84 return input_length; in unpad() 86 CT::poison(input, input_length); in unpad() 108 CT::unpoison(input, input_length); in unpad() 160 return input_length; in unpad() 162 CT::poison(input, input_length); in unpad() 231 return input_length; in unpad() 233 CT::poison(input, input_length); in unpad() 239 size_t i = input_length; in unpad() 307 return input_length; in unpad() [all …]
|
/dports/security/botan2/Botan-2.18.2/src/lib/modes/mode_pad/ |
H A D | mode_pad.cpp | 83 if(!valid_blocksize(input_length)) in unpad() 84 return input_length; in unpad() 86 CT::poison(input, input_length); in unpad() 108 CT::unpoison(input, input_length); in unpad() 160 return input_length; in unpad() 162 CT::poison(input, input_length); in unpad() 231 return input_length; in unpad() 233 CT::poison(input, input_length); in unpad() 239 size_t i = input_length; in unpad() 307 return input_length; in unpad() [all …]
|
/dports/security/botan110/Botan-1.10.17/src/codec/hex/ |
H A D | hex.cpp | 16 size_t input_length, in hex_encode() argument 29 for(size_t i = 0; i != input_length; ++i) in hex_encode() 44 size_t input_length, in hex_encode() argument 47 std::string output(2 * input_length, 0); in hex_encode() 49 if(input_length) in hex_encode() 57 size_t input_length, in hex_decode() argument 101 clear_mem(output, input_length / 2); in hex_decode() 103 for(size_t i = 0; i != input_length; ++i) in hex_decode() 130 input_consumed = input_length; in hex_decode() 148 size_t input_length, in hex_decode() argument [all …]
|
/dports/security/olm/olm-3.2.6/tests/ |
H A D | test_base64.cpp | 14 std::size_t input_length = sizeof(input) - 1; in main() local 16 std::size_t output_length = olm::encode_base64_length(input_length); in main() 20 olm::encode_base64(input, input_length, output); in main() 29 std::size_t input_length = sizeof(input) - 1; in main() local 35 output_length = ::_olm_encode_base64(input, input_length, output); in main() 45 std::size_t input_length = sizeof(input) - 1; in main() local 47 std::size_t output_length = olm::decode_base64_length(input_length); in main() 51 olm::decode_base64(input, input_length, output); in main() 60 std::size_t input_length = sizeof(input) - 1; in main() local 66 output_length = ::_olm_decode_base64(input, input_length, output); in main() [all …]
|
/dports/games/freecell-solver/freecell-solver-6.2.0/ |
H A D | fcs_base64.h | 32 *output_length = 4 * ((input_length + 2) / 3); in base64_encode() 34 for (size_t i = 0, j = 0; i < input_length;) in base64_encode() 36 const uint32_t octet_a = i < input_length ? data[i++] : 0; in base64_encode() 37 const uint32_t octet_b = i < input_length ? data[i++] : 0; in base64_encode() 38 const uint32_t octet_c = i < input_length ? data[i++] : 0; in base64_encode() 48 for (size_t i = 0; i < mod_table[input_length % 3]; i++) in base64_encode() 57 if (input_length % 4 != 0) in base64_decode() 60 *output_length = input_length / 4 * 3; in base64_decode() 61 if (data[input_length - 1] == '=') in base64_decode() 63 if (data[input_length - 2] == '=') in base64_decode() [all …]
|
/dports/editors/encryptpad/EncryptPad-0.5.0.1/deps/botan/src/lib/codec/hex/ |
H A D | hex.cpp | 33 size_t input_length, in hex_encode() argument 36 for(size_t i = 0; i != input_length; ++i) in hex_encode() 47 size_t input_length, in hex_encode() argument 50 std::string output(2 * input_length, 0); in hex_encode() 52 if(input_length) in hex_encode() 91 size_t input_length, in hex_decode() argument 98 clear_mem(output, input_length / 2); in hex_decode() 100 for(size_t i = 0; i != input_length; ++i) in hex_decode() 130 input_consumed = input_length; in hex_decode() 148 size_t input_length, in hex_decode() argument [all …]
|
/dports/mail/thunderbird/thunderbird-91.8.0/comm/third_party/botan/src/lib/codec/hex/ |
H A D | hex.cpp | 33 size_t input_length, in hex_encode() argument 36 for(size_t i = 0; i != input_length; ++i) in hex_encode() 47 size_t input_length, in hex_encode() argument 50 std::string output(2 * input_length, 0); in hex_encode() 52 if(input_length) in hex_encode() 91 size_t input_length, in hex_decode() argument 98 clear_mem(output, input_length / 2); in hex_decode() 100 for(size_t i = 0; i != input_length; ++i) in hex_decode() 130 input_consumed = input_length; in hex_decode() 148 size_t input_length, in hex_decode() argument [all …]
|
/dports/security/botan2/Botan-2.18.2/src/lib/codec/hex/ |
H A D | hex.cpp | 33 size_t input_length, in hex_encode() argument 36 for(size_t i = 0; i != input_length; ++i) in hex_encode() 47 size_t input_length, in hex_encode() argument 50 std::string output(2 * input_length, 0); in hex_encode() 52 if(input_length) in hex_encode() 91 size_t input_length, in hex_decode() argument 98 clear_mem(output, input_length / 2); in hex_decode() 100 for(size_t i = 0; i != input_length; ++i) in hex_decode() 130 input_consumed = input_length; in hex_decode() 148 size_t input_length, in hex_decode() argument [all …]
|
/dports/net/mpich2/mpich2-1.5/src/pm/smpd/ |
H A D | smpd_authenticate.c | 85 if (output_length < input_length + 2) in smpd_encrypt_data_plaintext() 94 memcpy(output, input, input_length); in smpd_encrypt_data_plaintext() 95 output[input_length] = '\0'; in smpd_encrypt_data_plaintext() 169 memcpy(buffer, input, input_length); in smpd_encrypt_data() 170 dwLength = input_length; in smpd_encrypt_data() 241 input_length--; in smpd_decrypt_data_plaintext() 242 if (*output_length < input_length) in smpd_decrypt_data_plaintext() 248 memcpy(output, input, input_length); in smpd_decrypt_data_plaintext() 249 *output_length = input_length; in smpd_decrypt_data_plaintext() 316 input_length--; in smpd_decrypt_data() [all …]
|
/dports/editors/encryptpad/EncryptPad-0.5.0.1/deps/botan/src/lib/utils/ |
H A D | codec_base.h | 37 size_t input_length, in base_encode() argument 46 size_t input_remaining = input_length; in base_encode() 88 const size_t output_length = base.encode_max_output(input_length); in base_encode_to_string() 97 input, input_length, in base_encode_to_string() 127 size_t input_length, 140 clear_mem(output, base.decode_max_output(input_length)); 142 for(size_t i = 0; i != input_length; ++i) 155 if(final_inputs && (i == input_length - 1)) 177 while(input_consumed < input_length && 194 if(consumed != input_length) in base_decode_full() [all …]
|
/dports/security/botan2/Botan-2.18.2/src/lib/utils/ |
H A D | codec_base.h | 37 size_t input_length, in base_encode() argument 46 size_t input_remaining = input_length; in base_encode() 88 const size_t output_length = base.encode_max_output(input_length); in base_encode_to_string() 97 input, input_length, in base_encode_to_string() 127 size_t input_length, 140 clear_mem(output, base.decode_max_output(input_length)); 142 for(size_t i = 0; i != input_length; ++i) 155 if(final_inputs && (i == input_length - 1)) 177 while(input_consumed < input_length && 194 if(consumed != input_length) in base_decode_full() [all …]
|
/dports/mail/thunderbird/thunderbird-91.8.0/comm/third_party/botan/src/lib/utils/ |
H A D | codec_base.h | 37 size_t input_length, in base_encode() argument 46 size_t input_remaining = input_length; in base_encode() 88 const size_t output_length = base.encode_max_output(input_length); in base_encode_to_string() 97 input, input_length, in base_encode_to_string() 127 size_t input_length, 140 clear_mem(output, base.decode_max_output(input_length)); 142 for(size_t i = 0; i != input_length; ++i) 155 if(final_inputs && (i == input_length - 1)) 177 while(input_consumed < input_length && 194 if(consumed != input_length) in base_decode_full() [all …]
|
/dports/security/botan110/Botan-1.10.17/src/codec/base64/ |
H A D | base64.cpp | 38 size_t input_length, in base64_encode() argument 44 size_t input_remaining = input_length; in base64_encode() 80 size_t input_length) in base64_encode() argument 102 size_t input_length, in base64_decode() argument 144 clear_mem(output, input_length * 3 / 4); in base64_decode() 146 for(size_t i = 0; i != input_length; ++i) in base64_decode() 173 if(final_inputs && (i == input_length - 1)) in base64_decode() 196 while(input_consumed < input_length && in base64_decode() 209 size_t input_length, in base64_decode() argument 216 if(consumed != input_length) in base64_decode() [all …]
|
/dports/devel/gettext-tools/gettext-0.21/gettext-tools/gnulib-tests/unistr/ |
H A D | test-u8-prev.c | 43 for (i = 0; i < input_length; i++) in check() 46 if (u8_prev (&uc1, ptr + input_length, buf) != ptr) in check() 62 for (i = 0; i < input_length; i++) in check() 65 if (u8_prev (&uc1, ptr + input_length, buf) != ptr) in check() 82 for (i = 0; i < input_length; i++) in check() 85 if (u8_prev (&uc1, ptr + input_length, buf) != ptr) in check() 103 for (i = 0; i < input_length; i++) in check() 136 for (i = 0; i < input_length; i++) in check_invalid() 155 for (i = 0; i < input_length; i++) in check_invalid() 175 for (i = 0; i < input_length; i++) in check_invalid() [all …]
|
/dports/devel/gnulib/gnulib-20140202-stable/tests/unistr/ |
H A D | test-u8-prev.c | 43 for (i = 0; i < input_length; i++) in check() 46 if (u8_prev (&uc1, ptr + input_length, buf) != ptr) in check() 62 for (i = 0; i < input_length; i++) in check() 65 if (u8_prev (&uc1, ptr + input_length, buf) != ptr) in check() 82 for (i = 0; i < input_length; i++) in check() 85 if (u8_prev (&uc1, ptr + input_length, buf) != ptr) in check() 103 for (i = 0; i < input_length; i++) in check() 136 for (i = 0; i < input_length; i++) in check_invalid() 155 for (i = 0; i < input_length; i++) in check_invalid() 175 for (i = 0; i < input_length; i++) in check_invalid() [all …]
|
/dports/devel/gettext-runtime/gettext-0.21/gettext-tools/gnulib-tests/unistr/ |
H A D | test-u8-prev.c | 43 for (i = 0; i < input_length; i++) in check() 46 if (u8_prev (&uc1, ptr + input_length, buf) != ptr) in check() 62 for (i = 0; i < input_length; i++) in check() 65 if (u8_prev (&uc1, ptr + input_length, buf) != ptr) in check() 82 for (i = 0; i < input_length; i++) in check() 85 if (u8_prev (&uc1, ptr + input_length, buf) != ptr) in check() 103 for (i = 0; i < input_length; i++) in check() 136 for (i = 0; i < input_length; i++) in check_invalid() 155 for (i = 0; i < input_length; i++) in check_invalid() 175 for (i = 0; i < input_length; i++) in check_invalid() [all …]
|
/dports/devel/gettext-po-mode/gettext-0.21/gettext-tools/gnulib-tests/unistr/ |
H A D | test-u8-prev.c | 43 for (i = 0; i < input_length; i++) in check() 46 if (u8_prev (&uc1, ptr + input_length, buf) != ptr) in check() 62 for (i = 0; i < input_length; i++) in check() 65 if (u8_prev (&uc1, ptr + input_length, buf) != ptr) in check() 82 for (i = 0; i < input_length; i++) in check() 85 if (u8_prev (&uc1, ptr + input_length, buf) != ptr) in check() 103 for (i = 0; i < input_length; i++) in check() 136 for (i = 0; i < input_length; i++) in check_invalid() 155 for (i = 0; i < input_length; i++) in check_invalid() 175 for (i = 0; i < input_length; i++) in check_invalid() [all …]
|
/dports/devel/libtextstyle/gettext-0.21/gettext-tools/gnulib-tests/unistr/ |
H A D | test-u8-prev.c | 43 for (i = 0; i < input_length; i++) in check() 46 if (u8_prev (&uc1, ptr + input_length, buf) != ptr) in check() 62 for (i = 0; i < input_length; i++) in check() 65 if (u8_prev (&uc1, ptr + input_length, buf) != ptr) in check() 82 for (i = 0; i < input_length; i++) in check() 85 if (u8_prev (&uc1, ptr + input_length, buf) != ptr) in check() 103 for (i = 0; i < input_length; i++) in check() 136 for (i = 0; i < input_length; i++) in check_invalid() 155 for (i = 0; i < input_length; i++) in check_invalid() 175 for (i = 0; i < input_length; i++) in check_invalid() [all …]
|
/dports/devel/libunistring/libunistring-0.9.10/tests/unistr/ |
H A D | test-u8-prev.c | 43 for (i = 0; i < input_length; i++) in check() 46 if (u8_prev (&uc1, ptr + input_length, buf) != ptr) in check() 62 for (i = 0; i < input_length; i++) in check() 65 if (u8_prev (&uc1, ptr + input_length, buf) != ptr) in check() 82 for (i = 0; i < input_length; i++) in check() 85 if (u8_prev (&uc1, ptr + input_length, buf) != ptr) in check() 103 for (i = 0; i < input_length; i++) in check() 136 for (i = 0; i < input_length; i++) in check_invalid() 155 for (i = 0; i < input_length; i++) in check_invalid() 175 for (i = 0; i < input_length; i++) in check_invalid() [all …]
|
/dports/math/py-theano/Theano-1.0.5/theano/gpuarray/tests/ |
H A D | test_ctc.py | 24 t_activation_times = theano.shared(input_length, name="activation_times") 37 cpu_ctc_cost = ctc(activations, labels, input_length) 45 def setup_gpu_op(self, activations, labels, input_length, compute_grad=True): argument 46 gpu_ctc_cost = gpu_ctc(activations, labels, input_length) 55 gpu_train = self.setup_gpu_op(activations, labels, input_length) 65 def compare_gpu_and_cpu_values(self, activations, labels, input_length): argument 66 cpu_train = self.setup_cpu_op(activations, labels, input_length) 69 gpu_train = self.setup_gpu_op(activations, labels, input_length) 79 def check_grads_disabled(self, activations, labels, input_length): argument 83 gpu_ctc_cost = gpu_ctc(activations, labels, input_length) [all …]
|
/dports/security/pkcs11-tools/pkcs11-tools-2.5.0/.gnulib/tests/unistr/ |
H A D | test-u8-prev.c | 43 for (i = 0; i < input_length; i++) in check() 46 if (u8_prev (&uc1, ptr + input_length, buf) != ptr) in check() 62 for (i = 0; i < input_length; i++) in check() 65 if (u8_prev (&uc1, ptr + input_length, buf) != ptr) in check() 82 for (i = 0; i < input_length; i++) in check() 85 if (u8_prev (&uc1, ptr + input_length, buf) != ptr) in check() 103 for (i = 0; i < input_length; i++) in check() 136 for (i = 0; i < input_length; i++) in check_invalid() 155 for (i = 0; i < input_length; i++) in check_invalid() 175 for (i = 0; i < input_length; i++) in check_invalid() [all …]
|
/dports/sysutils/fluent-bit/fluent-bit-1.8.11/lib/tutf8e/test/ |
H A D | test.c | 13 size_t input_length, output_length; 293 input_length = strlen(english); 303 input_length = strlen(finnish); 313 input_length = strlen(czech); 323 input_length = strlen(turkish); 343 input_length = strlen(russian); 353 input_length = strlen(greek); 363 input_length = strlen(hebrew); 383 input_length = strlen(swedish); 393 input_length = strlen(thai); [all …]
|