Searched refs:ret_len (Results 1 – 9 of 9) sorted by relevance
/external/libmtp/src/ |
D | unicode.c | 138 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/ |
D | os_unix.c | 177 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()
|
D | os_internal.c | 126 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/ |
D | btif_sock_util.c | 132 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/ |
D | os_internal.c | 138 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()
|
D | os_unix.c | 213 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/ |
D | ec_mult.c | 193 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/ |
D | ap.c | 729 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/ |
D | btm_sec.c | 1826 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()
|