/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_common/ |
D | mesh_buf.c | 11 int net_buf_id(struct net_buf *buf) in net_buf_id() 21 struct net_buf *buf = NULL; in pool_get_uninit() local 36 void *net_buf_simple_add(struct net_buf_simple *buf, size_t len) in net_buf_simple_add() 48 void *net_buf_simple_add_mem(struct net_buf_simple *buf, const void *mem, in net_buf_simple_add_mem() 56 uint8_t *net_buf_simple_add_u8(struct net_buf_simple *buf, uint8_t val) in net_buf_simple_add_u8() 68 void net_buf_simple_add_le16(struct net_buf_simple *buf, uint16_t val) in net_buf_simple_add_le16() 75 void net_buf_simple_add_be16(struct net_buf_simple *buf, uint16_t val) in net_buf_simple_add_be16() 82 void net_buf_simple_add_le24(struct net_buf_simple *buf, uint32_t val) in net_buf_simple_add_le24() 89 void net_buf_simple_add_be24(struct net_buf_simple *buf, uint32_t val) in net_buf_simple_add_be24() 96 void net_buf_simple_add_le32(struct net_buf_simple *buf, uint32_t val) in net_buf_simple_add_le32() [all …]
|
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_common/include/ |
D | mesh_buf.h | 145 static inline void net_buf_simple_init(struct net_buf_simple *buf, in net_buf_simple_init() 175 static inline void net_buf_simple_reset(struct net_buf_simple *buf) in net_buf_simple_reset() 655 static inline uint8_t *net_buf_simple_tail(struct net_buf_simple *buf) in net_buf_simple_tail() 704 static inline void net_buf_simple_save(struct net_buf_simple *buf, in net_buf_simple_save() 720 static inline void net_buf_simple_restore(struct net_buf_simple *buf, in net_buf_simple_restore() 999 #define net_buf_reserve(buf, reserve) net_buf_simple_reserve(&(buf)->b, reserve) argument 1058 static inline void *net_buf_user_data(struct net_buf *buf) in net_buf_user_data() 1075 #define net_buf_add(buf, len) net_buf_simple_add(&(buf)->b, len) argument 1090 #define net_buf_add_mem(buf, mem, len) net_buf_simple_add_mem(&(buf)->b, mem, len) argument 1104 #define net_buf_add_u8(buf, val) net_buf_simple_add_u8(&(buf)->b, val) argument [all …]
|
/hal_espressif-latest/components/wpa_supplicant/include/utils/ |
D | wpabuf.h | 29 u8 *buf; /* pointer to the head of the buffer */ member 53 static inline size_t wpabuf_size(const struct wpabuf *buf) in wpabuf_size() 63 static inline size_t wpabuf_len(const struct wpabuf *buf) in wpabuf_len() 73 static inline size_t wpabuf_tailroom(const struct wpabuf *buf) in wpabuf_tailroom() 83 static inline const void * wpabuf_head(const struct wpabuf *buf) in wpabuf_head() 88 static inline const u8 * wpabuf_head_u8(const struct wpabuf *buf) in wpabuf_head_u8() 98 static inline void * wpabuf_mhead(struct wpabuf *buf) in wpabuf_mhead() 103 static inline u8 * wpabuf_mhead_u8(struct wpabuf *buf) in wpabuf_mhead_u8() 108 static inline void wpabuf_put_u8(struct wpabuf *buf, u8 data) in wpabuf_put_u8() 114 static inline void wpabuf_put_le16(struct wpabuf *buf, u16 data) in wpabuf_put_le16() [all …]
|
/hal_espressif-latest/components/wpa_supplicant/src/utils/ |
D | wpabuf.c | 29 static struct wpabuf_trace * wpabuf_get_trace(const struct wpabuf *buf) in wpabuf_get_trace() 37 static void wpabuf_overflow(const struct wpabuf *buf, size_t len) in wpabuf_overflow() 54 struct wpabuf *buf = *_buf; in wpabuf_resize() local 122 struct wpabuf *buf; in wpabuf_alloc() local 143 struct wpabuf *buf; in wpabuf_alloc_ext_data() local 165 struct wpabuf *buf = wpabuf_alloc(len); in wpabuf_alloc_copy() local 174 struct wpabuf *buf = wpabuf_alloc(wpabuf_len(src)); in wpabuf_dup() local 185 void wpabuf_free(struct wpabuf *buf) in wpabuf_free() 210 void wpabuf_clear_free(struct wpabuf *buf) in wpabuf_clear_free() 219 void * wpabuf_put(struct wpabuf *buf, size_t len) in wpabuf_put() [all …]
|
D | wpa_debug.c | 14 _wpa_snprintf_hex(char *buf, size_t buf_size, const u8 *data, size_t len, in _wpa_snprintf_hex() 43 int wpa_snprintf_hex_uppercase(char *buf, size_t buf_size, const u8 *data, size_t len) in wpa_snprintf_hex_uppercase() 48 int wpa_snprintf_hex(char *buf, size_t buf_size, const u8 *data, size_t len) in wpa_snprintf_hex() 82 void wpa_hexdump(int level, const char *title, const u8 *buf, size_t len) in wpa_hexdump() 109 void wpa_hexdump_key(int level, const char *title, const u8 *buf, size_t len) in wpa_hexdump_key()
|
/hal_espressif-latest/components/wpa_supplicant/src/tls/ |
D | asn1.c | 171 int asn1_get_next(const u8 *buf, size_t len, struct asn1_hdr *hdr) in asn1_get_next() 290 int asn1_parse_oid(const u8 *buf, size_t len, struct asn1_oid *oid) in asn1_parse_oid() 334 int asn1_get_oid(const u8 *buf, size_t len, struct asn1_oid *oid, in asn1_get_oid() 351 void asn1_oid_to_str(const struct asn1_oid *oid, char *buf, size_t len) in asn1_oid_to_str() 391 unsigned long asn1_bit_string_to_long(const u8 *buf, size_t len) in asn1_bit_string_to_long() 433 int asn1_get_integer(const u8 *buf, size_t len, int *integer, const u8 **next) in asn1_get_integer() 466 int asn1_get_sequence(const u8 *buf, size_t len, struct asn1_hdr *hdr, in asn1_get_sequence() 480 int asn1_get_alg_id(const u8 *buf, size_t len, struct asn1_oid *oid, in asn1_get_alg_id() 504 void asn1_put_integer(struct wpabuf *buf, int val) in asn1_put_integer() 519 static void asn1_put_len(struct wpabuf *buf, size_t len) in asn1_put_len() [all …]
|
D | tlsv1_cred.c | 46 const u8 *buf, size_t len) in tlsv1_add_cert_der() 90 static const u8 * search_tag(const char *tag, const u8 *buf, size_t len) in search_tag() 108 const u8 *buf, size_t len) in tlsv1_add_cert() 165 u8 *buf; in tlsv1_set_cert_chain() local 416 const u8 *buf, size_t len) in pkcs12_keybag() 424 const u8 *buf, size_t len, in pkcs12_pkcs8_keybag() 444 const u8 *buf, size_t len) in pkcs12_certbag() 607 const u8 *buf, size_t len, const char *passwd) in pkcs12_safebag() 679 const u8 *buf, size_t len, in pkcs12_safecontents() 743 char buf[80]; in pkcs12_parse_content_enc_data() local [all …]
|
D | x509v3.c | 181 int x509_parse_algorithm_identifier(const u8 *buf, size_t len, in x509_parse_algorithm_identifier() 216 static int x509_parse_public_key(const u8 *buf, size_t len, in x509_parse_public_key() 285 int x509_parse_name(const u8 *buf, size_t len, struct x509_name *name, in x509_parse_name() 492 void x509_name_string(struct x509_name *name, char *buf, size_t len) in x509_name_string() 537 char buf[2] = {0}; in parse_uint2() local 556 char buf[2] = {0}; in parse_uint4() local 573 int x509_parse_time(const u8 *buf, size_t len, u8 asn1_tag, os_time_t *val) in x509_parse_time() 690 static int x509_parse_validity(const u8 *buf, size_t len, in x509_parse_validity() 962 char buf[80]; in x509_parse_alt_name_rid() local 1182 char buf[80]; in x509_parse_ext_certificate_policies() local [all …]
|
/hal_espressif-latest/components/esp_hw_support/include/ |
D | esp_crc.h | 25 static inline uint32_t esp_crc32_le(uint32_t crc, uint8_t const *buf, uint32_t len) in esp_crc32_le() 38 static inline uint32_t esp_crc32_be(uint32_t crc, uint8_t const *buf, uint32_t len) in esp_crc32_be() 51 static inline uint16_t esp_crc16_le(uint16_t crc, uint8_t const *buf, uint32_t len) in esp_crc16_le() 64 static inline uint16_t esp_crc16_be(uint16_t crc, uint8_t const *buf, uint32_t len) in esp_crc16_be() 77 static inline uint8_t esp_crc8_le(uint8_t crc, uint8_t const *buf, uint32_t len) in esp_crc8_le() 90 static inline uint8_t esp_crc8_be(uint8_t crc, uint8_t const *buf, uint32_t len) in esp_crc8_be()
|
/hal_espressif-latest/components/bt/host/bluedroid/bta/hf_client/ |
D | bta_hf_client_at.c | 113 static void bta_hf_client_queue_at(tBTA_HF_CLIENT_AT_CMD cmd, const char *buf, UINT16 buf_len) in bta_hf_client_queue_at() 175 static void bta_hf_client_send_at(tBTA_HF_CLIENT_AT_CMD cmd, char *buf, UINT16 buf_len) in bta_hf_client_send_at() 579 #define AT_CHECK_EVENT(buf, event) \ argument 586 #define AT_CHECK_RN(buf) \ argument 594 #define AT_SKIP_REST(buf) while(*buf != '\r') buf++; argument 1259 char *buf = bta_hf_client_cb.scb.at_cb.buf; in bta_hf_client_at_parse_start() local 1327 void bta_hf_client_at_parse(char *buf, unsigned int len) in bta_hf_client_at_parse() 1389 char *buf = osi_malloc(BTA_HF_CLIENT_AT_MAX_LEN); in bta_hf_client_send_at_brsf() local 1407 char *buf; in bta_hf_client_send_at_bac() local 1422 char * buf = osi_malloc(BTA_HF_CLIENT_AT_MAX_LEN); in bta_hf_client_send_at_bcs() local [all …]
|
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_core/ |
D | cfg_srv.c | 43 static int comp_add_elem(struct net_buf_simple *buf, struct bt_mesh_elem *elem, in comp_add_elem() 74 static int comp_get_page_0(struct net_buf_simple *buf) in comp_get_page_0() 118 struct net_buf_simple *buf) in dev_comp_data_get() 157 struct net_buf_simple *buf, bool *vnd) in get_model() 458 struct net_buf_simple *buf) in app_key_add() 493 struct net_buf_simple *buf) in app_key_update() 556 struct net_buf_simple *buf) in app_key_del() 614 struct net_buf_simple *buf) in app_key_get() 673 struct net_buf_simple *buf) in beacon_get() 691 struct net_buf_simple *buf) in beacon_set() [all …]
|
D | friend.c | 31 #define FRIEND_ADV(buf) CONTAINER_OF(BLE_MESH_ADV(buf), struct friend_adv, adv) argument 132 struct net_buf *buf = NULL; in purge_buffers() local 258 int bt_mesh_friend_clear(struct bt_mesh_net_rx *rx, struct net_buf_simple *buf) in bt_mesh_friend_clear() 342 struct net_buf *buf = NULL; in create_friend_pdu() local 379 struct net_buf *buf, in unseg_app_sdu_unpack() 418 struct net_buf *buf, in unseg_app_sdu_decrypt() 434 struct net_buf *buf, in unseg_app_sdu_encrypt() 450 struct net_buf *buf) in unseg_app_sdu_prepare() 485 static int encrypt_friend_pdu(struct bt_mesh_friend *frnd, struct net_buf *buf, in encrypt_friend_pdu() 598 struct net_buf *buf = NULL; in enqueue_sub_cfm() local [all …]
|
D | cfg_cli.c | 134 struct net_buf_simple buf = {0}; in cfg_client_recv_status() local 253 struct net_buf_simple *buf) in comp_data_status() 275 struct net_buf_simple *buf) in state_status_u8() 290 struct net_buf_simple *buf) in beacon_status() 297 struct net_buf_simple *buf) in ttl_status() 304 struct net_buf_simple *buf) in friend_status() 311 struct net_buf_simple *buf) in gatt_proxy_status() 318 struct net_buf_simple *buf) in relay_status() 334 struct net_buf_simple *buf) in net_key_status() 350 struct net_buf_simple *buf) in app_key_status() [all …]
|
D | health_srv.c | 125 struct net_buf_simple *buf) in health_fault_get() 148 struct net_buf_simple *buf) in health_fault_clear() 179 struct net_buf_simple *buf) in health_fault_test() 242 struct net_buf_simple *buf) in attention_get() 251 struct net_buf_simple *buf) in health_set_attention() 264 struct net_buf_simple *buf) in attention_set() 290 struct net_buf_simple *buf) in health_period_get() 299 struct net_buf_simple *buf) in health_set_period() 316 struct net_buf_simple *buf) in health_period_set()
|
D | prov.c | 142 struct net_buf_simple *buf; member 153 struct net_buf *buf[3]; member 279 struct net_buf *buf = link.tx.buf[i]; in free_segments() local 323 struct net_buf *buf = NULL; in adv_buf_create() local 348 struct net_buf *buf = NULL; in gen_prov_ack_send() local 384 struct net_buf *buf = link.tx.buf[i]; in send_reliable() local 400 struct net_buf *buf = NULL; in bearer_ctl_send() local 446 struct net_buf *start = NULL, *buf = NULL; in prov_send_adv() local 546 static inline int prov_send(struct net_buf_simple *buf) in prov_send() 560 static void prov_buf_init(struct net_buf_simple *buf, uint8_t type) in prov_buf_init() [all …]
|
D | adv.c | 98 struct net_buf *buf; member 144 static inline int adv_send(struct net_buf *buf) in adv_send() 245 struct net_buf **buf = NULL; in adv_thread() local 348 struct net_buf *buf = NULL; in bt_mesh_adv_create_from_pool() local 384 struct net_buf *buf = &pool->__bufs[i]; in bt_mesh_unref_buf_from_pool() local 399 void bt_mesh_adv_buf_ref_debug(const char *func, struct net_buf *buf, in bt_mesh_adv_buf_ref_debug() 425 struct net_buf *buf = NULL; in bt_mesh_unref_buf() local 461 void bt_mesh_adv_send(struct net_buf *buf, const struct bt_mesh_send_cb *cb, in bt_mesh_adv_send() 563 void bt_mesh_relay_adv_send(struct net_buf *buf, const struct bt_mesh_send_cb *cb, in bt_mesh_relay_adv_send() 726 static void bt_mesh_ble_adv_send(struct net_buf *buf, const struct bt_mesh_send_cb *cb, in bt_mesh_ble_adv_send() [all …]
|
/hal_espressif-latest/components/esp_rom/linux/ |
D | esp_rom_crc.c | 166 uint32_t esp_rom_crc32_le(uint32_t crc, uint8_t const * buf,uint32_t len) in esp_rom_crc32_le() 176 uint32_t esp_rom_crc32_be(uint32_t crc, uint8_t const * buf,uint32_t len) in esp_rom_crc32_be() 186 uint16_t esp_rom_crc16_le(uint16_t crc, uint8_t const * buf, uint32_t len) in esp_rom_crc16_le() 197 uint16_t esp_rom_crc16_be(uint16_t crc, uint8_t const * buf,uint32_t len) in esp_rom_crc16_be() 207 uint8_t esp_rom_crc8_le(uint8_t crc, uint8_t const * buf, uint32_t len) in esp_rom_crc8_le() 218 uint8_t esp_rom_crc8_be(uint8_t crc, uint8_t const * buf,uint32_t len) in esp_rom_crc8_be()
|
/hal_espressif-latest/components/esp_rom/patches/ |
D | esp_rom_crc.c | 92 uint8_t esp_rom_crc8_be(uint8_t crc, uint8_t const *buf, uint32_t len) in esp_rom_crc8_be() 102 uint16_t esp_rom_crc16_be(uint16_t crc, uint8_t const *buf, uint32_t len) in esp_rom_crc16_be() 112 uint32_t esp_rom_crc32_be(uint32_t crc, uint8_t const *buf, uint32_t len) in esp_rom_crc32_be() 200 uint8_t esp_rom_crc8_le(uint8_t crc, uint8_t const *buf, uint32_t len) in esp_rom_crc8_le() 210 uint16_t esp_rom_crc16_le(uint16_t crc, uint8_t const *buf, uint32_t len) in esp_rom_crc16_le() 220 uint32_t esp_rom_crc32_le(uint32_t crc, uint8_t const *buf, uint32_t len) in esp_rom_crc32_le()
|
/hal_espressif-latest/components/wpa_supplicant/src/common/ |
D | rrm.c | 143 struct wpabuf *buf; in wpas_rrm_send_neighbor_rep_request() local 269 static int wpas_rrm_report_elem(struct wpabuf **buf, u8 token, u8 mode, u8 type, in wpas_rrm_report_elem() 358 struct wpabuf *buf) in wpas_rrm_send_msr_report() 412 struct wpa_bss *bss, u8 *buf, in wpas_beacon_rep_add_frame_body() 501 u8 *buf, *pos; in wpas_add_beacon_rep_elem() local 608 struct wpabuf **buf) in wpas_beacon_rep_no_results() 617 struct wpabuf **buf) in wpas_beacon_rep_table() 637 struct wpabuf *buf = NULL; in wpas_rrm_refuse_request() local 792 size_t len, struct wpabuf **buf) in wpas_rm_handle_beacon_req() 895 struct wpabuf **buf) in wpas_rrm_handle_msr_req_element() [all …]
|
/hal_espressif-latest/components/mbedtls/port/dynamic/ |
D | esp_mbedtls_dynamic_impl.c | 23 static void esp_mbedtls_set_buf_state(unsigned char *buf, esp_mbedtls_ssl_buf_states state) in esp_mbedtls_set_buf_state() 29 static esp_mbedtls_ssl_buf_states esp_mbedtls_get_buf_state(unsigned char *buf) in esp_mbedtls_get_buf_state() 35 void esp_mbedtls_free_buf(unsigned char *buf) in esp_mbedtls_free_buf() 42 static void esp_mbedtls_init_ssl_buf(struct esp_mbedtls_ssl_buf *buf, unsigned int len) in esp_mbedtls_init_ssl_buf() 71 static void init_tx_buffer(mbedtls_ssl_context *ssl, unsigned char *buf) in init_tx_buffer() 107 static void init_rx_buffer(mbedtls_ssl_context *ssl, unsigned char *buf) in init_rx_buffer() 293 unsigned char buf[CACHE_BUFFER_SIZE]; in esp_mbedtls_free_tx_buffer() local 407 unsigned char buf[16]; in esp_mbedtls_free_rx_buffer() local
|
/hal_espressif-latest/components/bt/common/osi/ |
D | buffer.c | 47 buffer_t *buffer_new_ref(const buffer_t *buf) in buffer_new_ref() 53 buffer_t *buffer_new_slice(const buffer_t *buf, size_t slice_size) in buffer_new_slice() 92 void *buffer_ptr(const buffer_t *buf) in buffer_ptr() 98 size_t buffer_length(const buffer_t *buf) in buffer_length()
|
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_models/server/ |
D | generic_server.c | 96 struct net_buf_simple *buf) in gen_onoff_get() 129 struct net_buf_simple *buf) in gen_onoff_set() 277 struct net_buf_simple *buf) in gen_level_get() 310 struct net_buf_simple *buf) in gen_level_set() 406 struct net_buf_simple *buf) in gen_delta_set() 527 struct net_buf_simple *buf) in gen_move_set() 692 struct net_buf_simple *buf) in gen_def_trans_time_get() 714 struct net_buf_simple *buf) in gen_def_trans_time_set() 815 struct net_buf_simple *buf) in gen_onpowerup_get() 871 struct net_buf_simple *buf) in gen_onpowerup_set() [all …]
|
D | lighting_server.c | 145 struct net_buf_simple *buf) in light_lightness_get() 222 struct net_buf_simple *buf) in light_lightness_set() 334 struct net_buf_simple *buf) in light_lightness_linear_set() 430 struct net_buf_simple *buf) in light_lightness_default_set() 472 struct net_buf_simple *buf) in light_lightness_range_set() 646 struct net_buf_simple *buf) in light_ctl_get() 752 struct net_buf_simple *buf) in light_ctl_set() 871 struct net_buf_simple *buf) in light_ctl_default_set() 935 struct net_buf_simple *buf) in light_ctl_temp_range_set() 1001 struct net_buf_simple *buf) in light_ctl_temp_set() [all …]
|
/hal_espressif-latest/components/esp_hw_support/port/esp32s3/ |
D | mspi_timing_config.c | 202 void mspi_timing_config_flash_read_data(uint8_t *buf, uint32_t addr, uint32_t len) in mspi_timing_config_flash_read_data() 215 static void s_psram_write_data(uint8_t *buf, uint32_t addr, uint32_t len) in s_psram_write_data() 238 static void s_psram_read_data(uint8_t *buf, uint32_t addr, uint32_t len) in s_psram_read_data() 262 static void s_psram_execution(uint8_t *buf, uint32_t addr, uint32_t len, bool is_read) in s_psram_execution() 277 void mspi_timing_config_psram_write_data(uint8_t *buf, uint32_t addr, uint32_t len) in mspi_timing_config_psram_write_data() 282 void mspi_timing_config_psram_read_data(uint8_t *buf, uint32_t addr, uint32_t len) in mspi_timing_config_psram_read_data()
|
/hal_espressif-latest/components/wpa_supplicant/src/eap_peer/ |
D | eap_fast_common.c | 19 void eap_fast_put_tlv_hdr(struct wpabuf *buf, u16 type, u16 len) in eap_fast_put_tlv_hdr() 28 void eap_fast_put_tlv(struct wpabuf *buf, u16 type, const void *data, in eap_fast_put_tlv() 36 void eap_fast_put_tlv_buf(struct wpabuf *buf, u16 type, in eap_fast_put_tlv_buf() 44 struct wpabuf * eap_fast_tlv_eap_payload(struct wpabuf *buf) in eap_fast_tlv_eap_payload()
|