Home
last modified time | relevance | path

Searched refs:max_len (Results 1 – 24 of 24) sorted by relevance

/hal_espressif-latest/components/wpa_supplicant/src/utils/
Duuid.c49 int uuid_bin2str(const u8 *bin, char *str, size_t max_len) in uuid_bin2str() argument
52 len = snprintf(str, max_len, "%02x%02x%02x%02x-%02x%02x-%02x%02x-" in uuid_bin2str()
58 if (len < 0 || (size_t) len >= max_len) in uuid_bin2str()
Djson.c68 size_t max_len, buf_len; in json_parse_string() local
73 max_len = end - pos + 1; in json_parse_string()
74 buf_len = max_len > 10 ? 10 : max_len; in json_parse_string()
82 if (buf_len < max_len && s_end - spos < 3) { in json_parse_string()
88 if (buf_len > max_len) in json_parse_string()
89 buf_len = max_len; in json_parse_string()
Duuid.h15 int uuid_bin2str(const u8 *bin, char *str, size_t max_len);
/hal_espressif-latest/components/bt/host/bluedroid/stack/rfcomm/
Dport_api.c1225 int PORT_ReadData (UINT16 handle, char *p_data, UINT16 max_len, UINT16 *p_len) in PORT_ReadData() argument
1231 RFCOMM_TRACE_API ("PORT_ReadData() handle:%d max_len:%d", handle, max_len); in PORT_ReadData()
1257 while (max_len) in PORT_ReadData()
1264 if (p_buf->len > max_len) { in PORT_ReadData()
1265 memcpy (p_data, (UINT8 *)(p_buf + 1) + p_buf->offset, max_len); in PORT_ReadData()
1266 p_buf->offset += max_len; in PORT_ReadData()
1267 p_buf->len -= max_len; in PORT_ReadData()
1269 *p_len += max_len; in PORT_ReadData()
1273 p_port->rx.queue_size -= max_len; in PORT_ReadData()
1282 max_len -= p_buf->len; in PORT_ReadData()
[all …]
/hal_espressif-latest/tools/esptool_py/flasher_stub/
Dslip.c80 uint32_t SLIP_recv(void *pkt, uint32_t max_len) { in SLIP_recv() argument
88 if(r >= 0 && len < max_len) { in SLIP_recv()
/hal_espressif-latest/components/spi_flash/
Dmemspi_host_driver.c224 uint32_t max_len = MIN(end_bound - align_addr, SPI_FLASH_HAL_MAX_WRITE_BYTES); in memspi_host_write_data_slicer() local
226 return MIN(max_len, len); in memspi_host_write_data_slicer()
246 uint32_t max_len = SPI_FLASH_HAL_MAX_READ_BYTES; in memspi_host_read_data_slicer() local
248 return MIN(max_len, len); in memspi_host_read_data_slicer()
/hal_espressif-latest/components/bt/host/bluedroid/stack/gap/
Dgap_conn.c299 UINT16 GAP_ConnReadData (UINT16 gap_handle, UINT8 *p_data, UINT16 max_len, UINT16 *p_len) in GAP_ConnReadData() argument
316 while (max_len) { in GAP_ConnReadData()
322 copy_len = (p_buf->len > max_len)?max_len:p_buf->len; in GAP_ConnReadData()
323 max_len -= copy_len; in GAP_ConnReadData()
497 UINT16 GAP_ConnWriteData (UINT16 gap_handle, UINT8 *p_data, UINT16 max_len, UINT16 *p_len) in GAP_ConnWriteData() argument
512 while (max_len) { in GAP_ConnWriteData()
524 p_buf->len = (p_ccb->rem_mtu_size < max_len) ? p_ccb->rem_mtu_size : max_len; in GAP_ConnWriteData()
530 max_len -= p_buf->len; in GAP_ConnWriteData()
/hal_espressif-latest/tools/esptool_py/flasher_stub/include/
Dslip.h38 uint32_t SLIP_recv(void *pkt, uint32_t max_len);
/hal_espressif-latest/components/esp_rom/include/
Desp_rom_uart.h81 int esp_rom_uart_rx_string(uint8_t *str, uint8_t max_len);
/hal_espressif-latest/components/bt/host/bluedroid/stack/include/stack/
Dgap_api.h174 UINT16 max_len, UINT16 *p_len);
233 UINT16 max_len, UINT16 *p_len);
Dport_api.h588 extern int PORT_ReadData (UINT16 handle, char *p_data, UINT16 max_len,
619 extern int PORT_WriteData (UINT16 handle, char *p_data, UINT16 max_len,
Dhcimsgs.h844 UINT16 conn_latency, UINT16 conn_timeout, UINT16 min_len, UINT16 max_len);
Dbtm_api.h3786 UINT16 BTM_BuildOobData(UINT8 *p_data, UINT16 max_len, BT_OCTET16 c,
/hal_espressif-latest/components/wpa_supplicant/src/crypto/
Dms_funcs.c113 size_t len, max_len; in nt_password_hash() local
115 max_len = sizeof(buf); in nt_password_hash()
116 if (utf8_to_ucs2(password, password_len, buf, max_len, &len) < 0) in nt_password_hash()
Dtls.h665 int tls_get_tls_unique(struct tls_connection *conn, u8 *buf, size_t max_len);
/hal_espressif-latest/components/wpa_supplicant/src/eap_peer/
Deap_fast_pac.h44 size_t max_len);
Deap_fast_pac.c675 size_t max_len) in eap_fast_pac_list_truncate() argument
686 if (count > max_len) in eap_fast_pac_list_truncate()
692 if (count <= max_len || prev == NULL) in eap_fast_pac_list_truncate()
/hal_espressif-latest/components/bt/host/bluedroid/stack/hid/
Dhidh_api.c82 void hidh_get_str_attr( tSDP_DISC_REC *p_rec, UINT16 attr_id, UINT16 max_len, char *str ) in hidh_get_str_attr() argument
88 if ((name_len = SDP_DISC_ATTR_LEN(p_attr->attr_len_type)) < max_len ) { in hidh_get_str_attr()
92 memcpy( str, (char *) p_attr->attr_value.v.array, max_len - 1 ); in hidh_get_str_attr()
93 str[max_len - 1] = '\0'; in hidh_get_str_attr()
/hal_espressif-latest/components/bt/host/bluedroid/stack/btm/
Dbtm_sec.c1742 UINT16 BTM_BuildOobData(UINT8 *p_data, UINT16 max_len, BT_OCTET16 c, in BTM_BuildOobData() argument
1752 if (p_data && max_len >= BTM_OOB_MANDATORY_SIZE) { in BTM_BuildOobData()
1758 max_len -= len; in BTM_BuildOobData()
1764 if (max_len >= delta) { in BTM_BuildOobData()
1769 max_len -= delta; in BTM_BuildOobData()
1774 if (max_len >= delta) { in BTM_BuildOobData()
1779 max_len -= delta; in BTM_BuildOobData()
1784 if (max_len >= delta) { in BTM_BuildOobData()
1789 max_len -= delta; in BTM_BuildOobData()
1798 if (max_len >= delta) { in BTM_BuildOobData()
[all …]
/hal_espressif-latest/components/wpa_supplicant/src/common/
Dwnm_sta.c1084 const size_t max_len = 1000; in wnm_send_bss_transition_mgmt_query() local
1086 ret = wpabuf_resize(&buf, max_len); in wnm_send_bss_transition_mgmt_query()
1094 max_len); in wnm_send_bss_transition_mgmt_query()
/hal_espressif-latest/components/bt/host/bluedroid/bta/jv/
Dbta_jv_api.c738 UINT16 max_len, read_len; in BTA_JvL2capReceive() local
755 max_len = (left_over > 0xFFFF) ? 0xFFFF : left_over; in BTA_JvL2capReceive()
756 GAP_ConnReadData ((UINT16)handle, NULL, max_len, &read_len); in BTA_JvL2capReceive()
/hal_espressif-latest/components/bt/host/bluedroid/stack/sdp/
Dsdp_db.c611 INT32 max_len = SDP_MAX_ATTR_LEN - 3; in SDP_AddUuidSequence() local
625 if ((p - p_buff) > max_len) { in SDP_AddUuidSequence()
/hal_espressif-latest/components/wpa_supplicant/src/ap/
Dwpa_auth.h275 size_t max_len, int auth_alg,
/hal_espressif-latest/components/wpa_supplicant/src/eap_server/
Deap_server.c808 int max_len; in SM_STATE() local
900 max_len = end - start; in SM_STATE()
901 if (max_len < in SM_STATE()
942 if (!hash_len && max_len >= 1 + 32 && in SM_STATE()