Lines Matching refs:input_len
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()
24 int dm_utils_copy(_IN_ void *input, _IN_ int input_len, _OU_ void **output, in dm_utils_copy() argument
36 memcpy(*output, input, input_len); in dm_utils_copy()
41 int dm_utils_strarr_index(_IN_ char *input, _IN_ int input_len, in dm_utils_strarr_index() argument
51 if (input == NULL || input_len <= 1 || array_index == NULL) { in dm_utils_strarr_index()
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()
204 int dm_utils_hex_to_str(_IN_ unsigned char *input, _IN_ int input_len, in dm_utils_hex_to_str() argument
210 if (input == NULL || input_len <= 0 || output == NULL || *output != NULL) { in dm_utils_hex_to_str()
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()
242 int dm_utils_str_to_hex(_IN_ char *input, _IN_ int input_len, in dm_utils_str_to_hex() argument
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()
260 for (index = 0; index < input_len; index += 2) { in dm_utils_str_to_hex()
279 int dm_utils_memtok(_IN_ char *input, _IN_ int input_len, _IN_ char delimiter, in dm_utils_memtok() argument
285 if (input == NULL || input_len <= 0 || offset == NULL) { in dm_utils_memtok()
289 for (item_index = 0; item_index < input_len; item_index++) { in dm_utils_memtok()
290 if (input[item_index] == delimiter && (item_index + 1) < input_len) { in dm_utils_memtok()
302 int dm_utils_replace_char(_IN_ char *input, _IN_ int input_len, _IN_ char src, in dm_utils_replace_char() argument
307 if (input == NULL || input_len <= 0) { in dm_utils_replace_char()
311 for (index = 0; index < input_len; index++) { in dm_utils_replace_char()