Home
last modified time | relevance | path

Searched refs:hexlen (Results 1 – 6 of 6) sorted by relevance

/external/wpa_supplicant_8/src/ap/
Ddpp_hostapd.c705 size_t hexlen; in hostapd_dpp_gas_resp_cb() local
707 hexlen = 2 * wpabuf_len(auth->c_sign_key) + 1; in hostapd_dpp_gas_resp_cb()
708 hex = os_malloc(hexlen); in hostapd_dpp_gas_resp_cb()
710 wpa_snprintf_hex(hex, hexlen, in hostapd_dpp_gas_resp_cb()
720 size_t hexlen; in hostapd_dpp_gas_resp_cb() local
722 hexlen = 2 * wpabuf_len(auth->net_access_key) + 1; in hostapd_dpp_gas_resp_cb()
723 hex = os_malloc(hexlen); in hostapd_dpp_gas_resp_cb()
725 wpa_snprintf_hex(hex, hexlen, in hostapd_dpp_gas_resp_cb()
/external/wpa_supplicant_8/wpa_supplicant/
Ddpp_supplicant.c997 size_t hexlen; in wpas_dpp_handle_config_obj() local
999 hexlen = 2 * wpabuf_len(auth->c_sign_key) + 1; in wpas_dpp_handle_config_obj()
1000 hex = os_malloc(hexlen); in wpas_dpp_handle_config_obj()
1002 wpa_snprintf_hex(hex, hexlen, in wpas_dpp_handle_config_obj()
1012 size_t hexlen; in wpas_dpp_handle_config_obj() local
1014 hexlen = 2 * wpabuf_len(auth->net_access_key) + 1; in wpas_dpp_handle_config_obj()
1015 hex = os_malloc(hexlen); in wpas_dpp_handle_config_obj()
1017 wpa_snprintf_hex(hex, hexlen, in wpas_dpp_handle_config_obj()
Dwpas_glue.c1172 size_t hexlen; in wpa_supplicant_fils_hlp_rx() local
1174 hexlen = pkt_len * 2 + 1; in wpa_supplicant_fils_hlp_rx()
1175 hex = os_malloc(hexlen); in wpa_supplicant_fils_hlp_rx()
1178 wpa_snprintf_hex(hex, hexlen, pkt, pkt_len); in wpa_supplicant_fils_hlp_rx()
/external/curl/lib/
Dtransfer.c193 int hexlen; in Curl_fillreadbuffer() local
208 hexlen = snprintf(hexbuffer, sizeof(hexbuffer), in Curl_fillreadbuffer()
212 data->req.upload_fromhere -= hexlen; in Curl_fillreadbuffer()
213 nread += hexlen; in Curl_fillreadbuffer()
216 memcpy(data->req.upload_fromhere, hexbuffer, hexlen); in Curl_fillreadbuffer()
241 if((nread - hexlen) == 0) { in Curl_fillreadbuffer()
/external/python/cpython2/Objects/
Dbytearrayobject.c2716 Py_ssize_t hexlen, byteslen, i, j; in bytearray_fromhex() local
2719 if (!PyArg_ParseTuple(args, "s#:fromhex", &hex, &hexlen)) in bytearray_fromhex()
2721 byteslen = hexlen/2; /* This overestimates if there are spaces */ in bytearray_fromhex()
2726 for (i = j = 0; i < hexlen; i += 2) { in bytearray_fromhex()
2730 if (i >= hexlen) in bytearray_fromhex()
/external/python/cpython3/Objects/
Dbytesobject.c2343 Py_ssize_t hexlen, invalid_char; in _PyBytes_FromHex() local
2354 hexlen = PyUnicode_GET_LENGTH(string); in _PyBytes_FromHex()
2362 for (i = 0; i < hexlen; i++) { in _PyBytes_FromHex()
2374 buf = _PyBytesWriter_Alloc(&writer, hexlen / 2); in _PyBytes_FromHex()
2378 end = str + hexlen; in _PyBytes_FromHex()