/hal_espressif-3.4.0/components/bt/host/bluedroid/stack/rfcomm/ |
D | port_api.c | 1225 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-3.4.0/examples/protocols/mqtt/ssl_ds/ |
D | configure_ds.py | 114 max_len = max(supported_key_size[idf_target]) 117 md_in = number_as_bytes(Y, max_len) + \ 118 number_as_bytes(M, max_len) + \ 119 number_as_bytes(rinv, max_len) + \ 124 expected_len = (max_len / 8) * 3 + 8 + 16 131 p = number_as_bytes(Y, max_len) + \ 132 number_as_bytes(M, max_len) + \ 133 number_as_bytes(rinv, max_len) + \ 139 expected_len = (max_len / 8) * 3 + 32 + 8 + 8
|
/hal_espressif-3.4.0/components/wpa_supplicant/src/utils/ |
D | uuid.c | 49 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()
|
D | json.c | 68 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()
|
D | uuid.h | 15 int uuid_bin2str(const u8 *bin, char *str, size_t max_len);
|
/hal_espressif-3.4.0/components/bt/host/bluedroid/stack/gap/ |
D | gap_conn.c | 299 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-3.4.0/examples/bluetooth/nimble/bleprph/main/ |
D | gatt_svr.c | 89 gatt_svr_chr_write(struct os_mbuf *om, uint16_t min_len, uint16_t max_len, in gatt_svr_chr_write() argument 96 if (om_len < min_len || om_len > max_len) { in gatt_svr_chr_write() 100 rc = ble_hs_mbuf_to_flat(om, dst, max_len, len); in gatt_svr_chr_write()
|
/hal_espressif-3.4.0/examples/bluetooth/nimble/bleprph_wifi_coex/main/ |
D | gatt_svr.c | 90 gatt_svr_chr_write(struct os_mbuf *om, uint16_t min_len, uint16_t max_len, in gatt_svr_chr_write() argument 97 if (om_len < min_len || om_len > max_len) { in gatt_svr_chr_write() 101 rc = ble_hs_mbuf_to_flat(om, dst, max_len, len); in gatt_svr_chr_write()
|
/hal_espressif-3.4.0/examples/bluetooth/nimble/ble_spp/spp_server/main/ |
D | gatt_svr.c | 86 gatt_svr_chr_write(struct os_mbuf *om, uint16_t min_len, uint16_t max_len, in gatt_svr_chr_write() argument 93 if (om_len < min_len || om_len > max_len) { in gatt_svr_chr_write() 97 rc = ble_hs_mbuf_to_flat(om, dst, max_len, len); in gatt_svr_chr_write()
|
/hal_espressif-3.4.0/components/spi_flash/ |
D | memspi_host_driver.c | 227 uint32_t max_len = MIN(end_bound - align_addr, SPI_FLASH_HAL_MAX_WRITE_BYTES); in memspi_host_write_data_slicer() local 229 return MIN(max_len, len); in memspi_host_write_data_slicer() 249 uint32_t max_len = SPI_FLASH_HAL_MAX_READ_BYTES; in memspi_host_read_data_slicer() local 251 return MIN(max_len, len); in memspi_host_read_data_slicer()
|
/hal_espressif-3.4.0/examples/bluetooth/nimble/throughput_app/bleprph_throughput/main/ |
D | gatt_svr.c | 97 struct os_mbuf *om, uint16_t min_len, uint16_t max_len, in gatt_svr_chr_write() argument 104 if (om_len < min_len || om_len > max_len) { in gatt_svr_chr_write() 108 rc = ble_hs_mbuf_to_flat(om, dst, max_len, len); in gatt_svr_chr_write()
|
/hal_espressif-3.4.0/components/esptool_py/esptool/flasher_stub/ |
D | slip.c | 80 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-3.4.0/examples/peripherals/spi_slave_hd/segment_mode/seg_slave/main/ |
D | app_main.c | 145 static bool get_tx_data(uint8_t *data, uint32_t max_len, uint32_t *out_len) in get_tx_data() argument 148 *out_len = (rand() % (max_len - min_len + 1)) + min_len; in get_tx_data() 149 if (*out_len < (max_len - min_len) / 2) { in get_tx_data()
|
/hal_espressif-3.4.0/examples/network/network_tests/main/ |
D | stdinout.c | 161 ssize_t netsuite_io_get_packet(char *packet, size_t max_len) in netsuite_io_get_packet() argument 174 if (size > max_len) { in netsuite_io_get_packet()
|
D | stdinout.h | 27 ssize_t netsuite_io_get_packet(char *packet, size_t max_len);
|
/hal_espressif-3.4.0/examples/system/ota/advanced_https_ota/main/ble_helper/ |
D | nimble_gatts.c | 68 gatt_svr_chr_write(struct os_mbuf *om, uint16_t min_len, uint16_t max_len, in gatt_svr_chr_write() argument 75 if (om_len < min_len || om_len > max_len) { in gatt_svr_chr_write() 79 rc = ble_hs_mbuf_to_flat(om, dst, max_len, len); in gatt_svr_chr_write()
|
/hal_espressif-3.4.0/components/esp_hid/include/ |
D | esp_hidh.h | 206 …ture_get(esp_hidh_dev_t *dev, size_t map_index, size_t report_id, size_t max_len, uint8_t *data, s… 237 size_t max_len);
|
/hal_espressif-3.4.0/components/bt/host/bluedroid/stack/include/stack/ |
D | gap_api.h | 174 UINT16 max_len, UINT16 *p_len); 233 UINT16 max_len, UINT16 *p_len);
|
D | port_api.h | 580 extern int PORT_ReadData (UINT16 handle, char *p_data, UINT16 max_len, 611 extern int PORT_WriteData (UINT16 handle, char *p_data, UINT16 max_len,
|
/hal_espressif-3.4.0/components/wpa_supplicant/src/crypto/ |
D | ms_funcs.c | 113 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()
|
/hal_espressif-3.4.0/components/bt/host/bluedroid/stack/hid/ |
D | hidh_api.c | 82 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-3.4.0/components/esptool_py/esptool/flasher_stub/include/ |
D | slip.h | 38 uint32_t SLIP_recv(void *pkt, uint32_t max_len);
|
/hal_espressif-3.4.0/components/esp_rom/include/ |
D | esp_rom_uart.h | 89 int esp_rom_uart_rx_string(uint8_t *str, uint8_t max_len);
|
/hal_espressif-3.4.0/components/esp_http_server/src/ |
D | httpd_ws.c | 245 esp_err_t httpd_ws_recv_frame(httpd_req_t *req, httpd_ws_frame_t *frame, size_t max_len) in httpd_ws_recv_frame() argument 325 if (frame->len > max_len) { in httpd_ws_recv_frame() 326 if (max_len == 0) { in httpd_ws_recv_frame()
|
/hal_espressif-3.4.0/components/wpa_supplicant/src/eap_peer/ |
D | eap_fast_pac.h | 44 size_t max_len);
|