Home
last modified time | relevance | path

Searched refs:ret_len (Results 1 – 9 of 9) sorted by relevance

/external/libmtp/src/
Dunicode.c138 int ret_len = ucs2_strlen((uint16_t*)unicstr)*sizeof(uint16_t)+2; in utf8_to_utf16() local
139 uint16_t* ret = malloc(ret_len); in utf8_to_utf16()
140 memcpy(ret,unicstr,(size_t)ret_len); in utf8_to_utf16()
/external/wpa_supplicant_8/src/pae/
Dieee802_1x_key.c40 int lab_len, ctx_len, ret_len, buf_len; in aes_kdf_128() local
45 ret_len = ((ret_bits & 0xffff) + 7) / 8; in aes_kdf_128()
48 os_memset(ret, 0, ret_len); in aes_kdf_128()
/external/harfbuzz_ng/util/
Doptions.cc615 unsigned int ret_len; in get_line() local
617 ret_len = line_len; in get_line()
618 line += ret_len; in get_line()
621 ret_len = p - ret; in get_line()
622 line += ret_len + 1; in get_line()
623 line_len -= ret_len + 1; in get_line()
626 *len = ret_len; in get_line()
/external/wpa_supplicant_8/src/utils/
Dos_internal.c151 size_t len = 128, cwd_len, rel_len, ret_len; in os_rel2abs_path() local
174 ret_len = cwd_len + 1 + rel_len + 1; in os_rel2abs_path()
175 ret = os_malloc(ret_len); in os_rel2abs_path()
180 ret[ret_len - 1] = '\0'; in os_rel2abs_path()
Dxml_libxml2.c402 int *ret_len) in xml_node_get_base64_text() argument
413 if (ret_len) in xml_node_get_base64_text()
414 *ret_len = len; in xml_node_get_base64_text()
Dos_unix.c278 size_t len = 128, cwd_len, rel_len, ret_len; in os_rel2abs_path() local
308 ret_len = cwd_len + 1 + rel_len + 1; in os_rel2abs_path()
309 ret = os_malloc(ret_len); in os_rel2abs_path()
314 ret[ret_len - 1] = '\0'; in os_rel2abs_path()
Dxml-utils.h59 int *ret_len);
/external/boringssl/src/crypto/ec/
Dwnaf.c93 static signed char *compute_wNAF(const BIGNUM *scalar, int w, size_t *ret_len) { in compute_wNAF() argument
108 *ret_len = 1; in compute_wNAF()
210 *ret_len = len; in compute_wNAF()
/external/wpa_supplicant_8/wpa_supplicant/
Dap.c912 int ret, ret_len = 0; in wpa_supplicant_ap_wps_pin() local
922 ret_len = os_snprintf(buf, buflen, "%08d", rpin); in wpa_supplicant_ap_wps_pin()
923 if (os_snprintf_error(buflen, ret_len)) in wpa_supplicant_ap_wps_pin()
927 ret_len = os_snprintf(buf, buflen, "%s", pin); in wpa_supplicant_ap_wps_pin()
928 if (os_snprintf_error(buflen, ret_len)) in wpa_supplicant_ap_wps_pin()
936 return ret_len; in wpa_supplicant_ap_wps_pin()