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_6/wpa_supplicant/src/utils/
Dos_unix.c177 size_t len = 128, cwd_len, rel_len, ret_len; in os_rel2abs_path() local
204 ret_len = cwd_len + 1 + rel_len + 1; in os_rel2abs_path()
205 ret = malloc(ret_len); in os_rel2abs_path()
210 ret[ret_len - 1] = '\0'; in os_rel2abs_path()
Dos_internal.c126 size_t len = 128, cwd_len, rel_len, ret_len; in os_rel2abs_path() local
149 ret_len = cwd_len + 1 + rel_len + 1; in os_rel2abs_path()
150 ret = os_malloc(ret_len); in os_rel2abs_path()
155 ret[ret_len - 1] = '\0'; in os_rel2abs_path()
/external/bluetooth/bluedroid/btif/src/
Dbtif_sock_util.c132 int ret_len = len; in sock_send_fd() local
150 ret_len = -1; in sock_send_fd()
162 return ret_len; in sock_send_fd()
/external/wpa_supplicant_8/src/utils/
Dos_internal.c138 size_t len = 128, cwd_len, rel_len, ret_len; in os_rel2abs_path() local
161 ret_len = cwd_len + 1 + rel_len + 1; in os_rel2abs_path()
162 ret = os_malloc(ret_len); in os_rel2abs_path()
167 ret[ret_len - 1] = '\0'; in os_rel2abs_path()
Dos_unix.c213 size_t len = 128, cwd_len, rel_len, ret_len; in os_rel2abs_path() local
240 ret_len = cwd_len + 1 + rel_len + 1; in os_rel2abs_path()
241 ret = os_malloc(ret_len); in os_rel2abs_path()
246 ret[ret_len - 1] = '\0'; in os_rel2abs_path()
/external/openssl/crypto/ec/
Dec_mult.c193 static signed char *compute_wNAF(const BIGNUM *scalar, int w, size_t *ret_len) in compute_wNAF() argument
211 *ret_len = 1; in compute_wNAF()
322 *ret_len = len; in compute_wNAF()
/external/wpa_supplicant_8/wpa_supplicant/
Dap.c729 int ret, ret_len = 0; in wpa_supplicant_ap_wps_pin() local
736 ret_len = os_snprintf(buf, buflen, "%08d", rpin); in wpa_supplicant_ap_wps_pin()
739 ret_len = os_snprintf(buf, buflen, "%s", pin); in wpa_supplicant_ap_wps_pin()
745 return ret_len; in wpa_supplicant_ap_wps_pin()
/external/bluetooth/bluedroid/stack/btm/
Dbtm_sec.c1826 UINT8 ret_len = 0; in BTM_ReadOobData() local
1836 ret_len = BTM_OOB_BD_ADDR_SIZE; in BTM_ReadOobData()
1850 ret_len = len - 1; in BTM_ReadOobData()
1869 *p_len = ret_len; in BTM_ReadOobData()