/AliOS-Things-master/components/uvoice/common/ |
A D | base64.c | 40 int uvoice_base64_encode(const uint8_t *input, uint32_t input_len, uint8_t *output, uint32_t *outpu… in uvoice_base64_encode() argument 43 uint32_t o_len = 4 * ((input_len + 2) / 3); in uvoice_base64_encode() 54 for (i = 0, j = 0; i < input_len;) in uvoice_base64_encode() 56 unsigned int octet_a = i < input_len ? input[i++] : 0; in uvoice_base64_encode() 57 unsigned int octet_b = i < input_len ? input[i++] : 0; in uvoice_base64_encode() 58 unsigned int octet_c = i < input_len ? input[i++] : 0; in uvoice_base64_encode() 68 for (i = 0; i < mod_table[input_len % 3]; i++) in uvoice_base64_encode() 79 uint32_t o_len = input_len / 4 * 3; in uvoice_basex64_decode() 86 if (input[input_len - 1] == '=') in uvoice_basex64_decode() 90 if (input[input_len - 2] == '=') in uvoice_basex64_decode() [all …]
|
/AliOS-Things-master/components/linkkit/dev_model/ |
A D | dm_utils.c | 7 int dm_utils_copy_direct(_IN_ void *input, _IN_ int input_len, in dm_utils_copy_direct() argument 19 memcpy(*output, input, input_len); in dm_utils_copy_direct() 36 memcpy(*output, input, input_len); in dm_utils_copy() 55 for (index = 0; index < input_len; index++) { in dm_utils_strarr_index() 88 ((bracket_suf - input + 1) == input_len)) { in dm_utils_strarr_index() 214 output_len = input_len * 2; in dm_utils_hex_to_str() 221 for (index = 0; index < input_len; index++) { in dm_utils_hex_to_str() 248 if (input == NULL || input_len <= 0 || input_len % 2 != 0 || in dm_utils_str_to_hex() 253 *output_len = input_len / 2; in dm_utils_str_to_hex() 307 if (input == NULL || input_len <= 0) { in dm_utils_replace_char() [all …]
|
A D | dm_utils.h | 12 int dm_utils_copy_direct(void *input, int input_len, void **output, 15 int dm_utils_copy(void *input, int input_len, void **output, int output_len); 31 int dm_utils_strarr_index(char *input, int input_len, int *partial_input_len, 38 int dm_utils_hex_to_str(unsigned char *input, int input_len, char **output); 39 int dm_utils_str_to_hex(char *input, int input_len, unsigned char **output, 41 int dm_utils_memtok(char *input, int input_len, char delimiter, int index, 43 int dm_utils_replace_char(char *input, int input_len, char src, char dest);
|
A D | dm_log_report.c | 201 void send_permance_info(char *input, int input_len, char *comments, in send_permance_info() argument 213 if (NULL == input || input_len <= 0) { in send_permance_info() 218 HAL_Snprintf(data, sizeof(data), format, input_len, input, comments, in send_permance_info()
|
A D | iotx_log_report.h | 3 void send_permance_info(char *input, int input_len, char *comments,
|
/AliOS-Things-master/components/linksdk/core/utils/ |
A D | core_string.c | 8 for (index = 0; index < input_len; index++) { in core_str2uint() 24 for (index = 0; index < input_len; index++) { in core_str2uint64() 116 for (i = 0; i < input_len; i++) { in core_hex2str() 128 if (input_len % 2 != 0) { in core_str2hex() 132 for (idx = 0; idx < input_len; idx += 2) { in core_str2hex() 207 for (idx = 0; idx < input_len; idx++) { in core_json_value() 208 if (idx + key_len >= input_len) { in core_json_value() 216 if ((idx + 2 >= input_len) || in core_json_value() 223 for (; idx < input_len; idx++) { in core_json_value() 234 for (; idx < input_len; idx++) { in core_json_value() [all …]
|
A D | core_string.h | 22 int32_t core_str2uint(char *input, uint8_t input_len, uint32_t *output); 23 int32_t core_str2uint64(char *input, uint8_t input_len, uint64_t *output); 27 int32_t core_hex2str(uint8_t *input, uint32_t input_len, char *output, uint8_t lowercase); 28 int32_t core_str2hex(char *input, uint32_t input_len, uint8_t *output); 32 int32_t core_json_value(const char *input, uint32_t input_len, const char *key, uint32_t key_len, c…
|
/AliOS-Things-master/components/linkkit/infra/ |
A D | infra_string.c | 16 void infra_hex2str(uint8_t *input, uint16_t input_len, char *output) in infra_hex2str() argument 21 for (i = 0; i < input_len; i++) { in infra_hex2str() 99 void LITE_hexstr_convert(char *input, int input_len, unsigned char *output, in LITE_hexstr_convert() argument 105 if (input_len % 2 != 0) { in LITE_hexstr_convert() 109 while (i < input_len / 2 && i < output_len) { in LITE_hexstr_convert() 172 int32_t infra_json_value(const char *input, uint32_t input_len, const char *key, in infra_json_value() argument 177 for (idx = 0; idx < input_len; idx++) { in infra_json_value() 178 if (idx + key_len >= input_len) { in infra_json_value() 184 if ((idx + 4 >= input_len) || (input[idx + 1] != ':')) { in infra_json_value() 189 for (; idx < input_len; idx++) { in infra_json_value()
|
/AliOS-Things-master/components/kv/src/ |
A D | kv_secure.c | 52 int32_t kv_secure_encrypt(uint8_t *input, uint8_t *output, uint32_t input_len) in kv_secure_encrypt() argument 64 if (_ofb_encrypt_wrap(ofb_key, ofb_iv, input, output, input_len) != KV_OK) { in kv_secure_encrypt() 71 int32_t kv_secure_decrypt(uint8_t *input, uint8_t *output, uint32_t input_len) in kv_secure_decrypt() argument 83 if (_ofb_encrypt_wrap(ofb_key, ofb_iv, input, output, input_len) != KV_OK) { in kv_secure_decrypt() 92 int32_t kv_secure_encrypt(uint8_t *input, uint8_t *output, uint32_t input_len) in kv_secure_encrypt() argument 97 int32_t kv_secure_decrypt(uint8_t *input, uint8_t *output, uint32_t input_len) in kv_secure_decrypt() argument
|
/AliOS-Things-master/components/mbedtls/library/ |
A D | pkcs11.c | 135 size_t input_len, output_len; in mbedtls_pkcs11_decrypt() local 143 output_len = input_len = ctx->len; in mbedtls_pkcs11_decrypt() 145 if( input_len < 16 || input_len > output_max_len ) in mbedtls_pkcs11_decrypt() 150 input_len, NULL, &output_len ) != CKR_OK ) in mbedtls_pkcs11_decrypt() 159 input_len, output, &output_len ) != CKR_OK ) in mbedtls_pkcs11_decrypt()
|
A D | cipher.c | 614 padding_len = input[input_len - 1]; in get_pkcs_padding() 615 *data_len = input_len - padding_len; in get_pkcs_padding() 618 bad |= padding_len > input_len; in get_pkcs_padding() 623 pad_idx = input_len - padding_len; in get_pkcs_padding() 624 for( i = 0; i < input_len; i++ ) in get_pkcs_padding() 657 for( i = input_len; i > 0; i-- ) in get_one_and_zeros_padding() 694 padding_len = input[input_len - 1]; in get_zeros_and_len_padding() 698 bad |= padding_len > input_len; in get_zeros_and_len_padding() 702 pad_idx = input_len - padding_len; in get_zeros_and_len_padding() 733 for( i = input_len; i > 0; i-- ) in get_zeros_padding() [all …]
|
/AliOS-Things-master/components/linkkit/include/linkkit/infra/ |
A D | infra_string.h | 7 void infra_hex2str(uint8_t *input, uint16_t input_len, char *output); 11 void LITE_hexstr_convert(char *input, int input_len, unsigned char *output, 16 int32_t infra_json_value(const char *input, uint32_t input_len, const char *key,
|
/AliOS-Things-master/components/kv/internal/ |
A D | kv_adapt.h | 166 int32_t kv_secure_encrypt(uint8_t *input, uint8_t *output, uint32_t input_len); 177 int32_t kv_secure_decrypt(uint8_t *input, uint8_t *output, uint32_t input_len);
|
/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/ |
A D | pngwutil.c | 479 png_alloc_size_t input_len) in png_text_compress_init() argument 482 comp->input_len = input_len; in png_text_compress_init() 516 png_alloc_size_t input_len = comp->input_len; /* may be zero! */ in png_text_compress() local 531 if (avail_in > input_len) in png_text_compress() 532 avail_in = (uInt)input_len; in png_text_compress() 534 input_len -= avail_in; in png_text_compress() 932 png_alloc_size_t input_len, int flush) in png_compress_IDAT() argument 975 if (avail > input_len) in png_compress_IDAT() 979 input_len -= avail; in png_compress_IDAT() 984 input_len += png_ptr->zstream.avail_in; in png_compress_IDAT() [all …]
|
/AliOS-Things-master/components/uvoice/audio/process/ |
A D | proc_resample.c | 71 int uvoice_resampler_process(void *resampler, uint8_t *input, int input_len, in uvoice_resampler_process() argument 89 *output_len = input_len; in uvoice_resampler_process() 97 *output_len = input_len; in uvoice_resampler_process() 103 input_samples = (input_len / inst->sample_bytes) / channels; in uvoice_resampler_process()
|
/AliOS-Things-master/components/uvoice/internal/ |
A D | uvoice_resampler.h | 9 int uvoice_resampler_process(void *resampler, uint8_t *input, int input_len, uint8_t **output, int …
|
/AliOS-Things-master/components/freetype/include/ |
A D | ftgzip.h | 138 FT_ULong input_len );
|
/AliOS-Things-master/components/ota/hal/ |
A D | ota_hal_os.h | 35 int ota_base64_decode(const unsigned char *input, unsigned int input_len, unsigned char *output, un…
|
/AliOS-Things-master/components/freetype/src/gzip/ |
A D | ftgzip.c | 697 FT_ULong input_len ) in FT_Gzip_Uncompress() argument 706 stream.avail_in = (uInt)input_len; in FT_Gzip_Uncompress() 764 FT_ULong input_len ) in FT_Gzip_Uncompress() argument 770 FT_UNUSED( input_len ); in FT_Gzip_Uncompress()
|
/AliOS-Things-master/components/linkkit/dev_sign/ |
A D | dev_sign_mqtt.c | 47 static void _hex2str(uint8_t *input, uint16_t input_len, char *output) in _hex2str() argument 52 for (i = 0; i < input_len; i++) { in _hex2str()
|
/AliOS-Things-master/components/linksdk/components/task/ |
A D | aiot_task_api.c | 78 …k_parse_json(aiot_sysdep_portfile_t *sysdep, const void *input, uint32_t input_len, char *key_word, in _task_parse_json() argument 85 …res = core_json_value((const char *)input, input_len, key_word, strlen(key_word), &value, &value_l… in _task_parse_json() 327 …ic uint32_t _task_parse_get_list_reply(task_handle_t *task_handle, void *input, uint32_t input_len, in _task_parse_get_list_reply() argument 332 int32_t num = _task_parse_get_list_reply_array(input, input_len, json_array); in _task_parse_get_list_reply()
|
/AliOS-Things-master/components/mbedtls/programs/ssl/ |
A D | ssl_server2.c | 981 size_t input_len; member 990 size_t input_len ) in ssl_async_start() argument 1030 if( input_len > SSL_ASYNC_INPUT_MAX_SIZE ) in ssl_async_start() 1039 memcpy( ctx->input, input, input_len ); in ssl_async_start() 1040 ctx->input_len = input_len; in ssl_async_start() 1064 size_t input_len ) in ssl_async_decrypt() argument 1068 input, input_len ) ); in ssl_async_decrypt() 1095 ctx->input, ctx->input_len, in ssl_async_resume() 1102 ctx->input, ctx->input_len, in ssl_async_resume()
|
/AliOS-Things-master/components/mqtt/example/ |
A D | aiot_mqtt_sign.c | 23 static void _hex2str(unsigned char *input, unsigned int input_len, char *output) in _hex2str() argument 28 for (i = 0; i < input_len; i++) { in _hex2str()
|
/AliOS-Things-master/components/linkkit/wrappers/os/ |
A D | HAL_TLS_mbedtls.c | 136 static void utils_str2uint(char *input, uint8_t input_len, uint32_t *output) in utils_str2uint() argument 141 for (index = 0; index < input_len; index++) { in utils_str2uint()
|
/AliOS-Things-master/components/linkkit/dev_model/server/ |
A D | dm_server.c | 150 extern void send_permance_info(char *input, int input_len, in dm_server_thing_service_property_set()
|