Home
last modified time | relevance | path

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

/external/curl/lib/
Dtransfer.c300 int hexlen = 0; in Curl_fillreadbuffer() local
320 hexlen = msnprintf(hexbuffer, sizeof(hexbuffer), in Curl_fillreadbuffer()
324 data->req.upload_fromhere -= hexlen; in Curl_fillreadbuffer()
325 nread += hexlen; in Curl_fillreadbuffer()
328 memcpy(data->req.upload_fromhere, hexbuffer, hexlen); in Curl_fillreadbuffer()
333 if((nread-hexlen) == 0 && in Curl_fillreadbuffer()
357 length = hexlen; in Curl_fillreadbuffer()
381 if((nread - hexlen) == 0 && in Curl_fillreadbuffer()
/external/wpa_supplicant_8/src/ap/
Ddpp_hostapd.c634 size_t hexlen; in hostapd_dpp_handle_config_obj() local
636 hexlen = 2 * wpabuf_len(auth->c_sign_key) + 1; in hostapd_dpp_handle_config_obj()
637 hex = os_malloc(hexlen); in hostapd_dpp_handle_config_obj()
639 wpa_snprintf_hex(hex, hexlen, in hostapd_dpp_handle_config_obj()
649 size_t hexlen; in hostapd_dpp_handle_config_obj() local
651 hexlen = 2 * wpabuf_len(auth->net_access_key) + 1; in hostapd_dpp_handle_config_obj()
652 hex = os_malloc(hexlen); in hostapd_dpp_handle_config_obj()
654 wpa_snprintf_hex(hex, hexlen, in hostapd_dpp_handle_config_obj()
/external/wpa_supplicant_8/wpa_supplicant/
Ddpp_supplicant.c941 size_t hexlen; in wpas_dpp_handle_config_obj() local
943 hexlen = 2 * wpabuf_len(auth->c_sign_key) + 1; in wpas_dpp_handle_config_obj()
944 hex = os_malloc(hexlen); in wpas_dpp_handle_config_obj()
946 wpa_snprintf_hex(hex, hexlen, in wpas_dpp_handle_config_obj()
956 size_t hexlen; in wpas_dpp_handle_config_obj() local
958 hexlen = 2 * wpabuf_len(auth->net_access_key) + 1; in wpas_dpp_handle_config_obj()
959 hex = os_malloc(hexlen); in wpas_dpp_handle_config_obj()
961 wpa_snprintf_hex(hex, hexlen, in wpas_dpp_handle_config_obj()
Dwpas_glue.c1174 size_t hexlen; in wpa_supplicant_fils_hlp_rx() local
1176 hexlen = pkt_len * 2 + 1; in wpa_supplicant_fils_hlp_rx()
1177 hex = os_malloc(hexlen); in wpa_supplicant_fils_hlp_rx()
1180 wpa_snprintf_hex(hex, hexlen, pkt, pkt_len); in wpa_supplicant_fils_hlp_rx()
/external/python/cpython2/Objects/
Dbytearrayobject.c2728 Py_ssize_t hexlen, byteslen, i, j; in bytearray_fromhex() local
2731 if (!PyArg_ParseTuple(args, "s#:fromhex", &hex, &hexlen)) in bytearray_fromhex()
2733 byteslen = hexlen/2; /* This overestimates if there are spaces */ in bytearray_fromhex()
2738 for (i = j = 0; i < hexlen; i += 2) { in bytearray_fromhex()
2742 if (i >= hexlen) in bytearray_fromhex()
Dbytesobject.c2358 Py_ssize_t hexlen, invalid_char; in _PyBytes_FromHex() local
2369 hexlen = PyUnicode_GET_LENGTH(string); in _PyBytes_FromHex()
2377 for (i = 0; i < hexlen; i++) { in _PyBytes_FromHex()
2389 buf = _PyBytesWriter_Alloc(&writer, hexlen / 2); in _PyBytes_FromHex()
2393 end = str + hexlen; in _PyBytes_FromHex()
/external/python/cpython3/Objects/
Dbytesobject.c2351 Py_ssize_t hexlen, invalid_char; in _PyBytes_FromHex() local
2362 hexlen = PyUnicode_GET_LENGTH(string); in _PyBytes_FromHex()
2370 for (i = 0; i < hexlen; i++) { in _PyBytes_FromHex()
2382 buf = _PyBytesWriter_Alloc(&writer, hexlen / 2); in _PyBytes_FromHex()
2386 end = str + hexlen; in _PyBytes_FromHex()