/hal_espressif-2.7.6/examples/bluetooth/esp_hid_device/main/ |
D | esp_hid_gap.c | 138 …p_bd_addr_t bda, esp_bt_cod_t *cod, esp_bt_uuid_t *uuid, uint8_t *name, uint8_t name_len, int rssi) in add_bt_scan_result() argument 143 if (r->name == NULL && name && name_len) { in add_bt_scan_result() 144 char *name_s = (char *)malloc(name_len + 1); in add_bt_scan_result() 149 memcpy(name_s, name, name_len); in add_bt_scan_result() 150 name_s[name_len] = 0; in add_bt_scan_result() 174 if (name_len && name) { in add_bt_scan_result() 175 char *name_s = (char *)malloc(name_len + 1); in add_bt_scan_result() 181 memcpy(name_s, name, name_len); in add_bt_scan_result() 182 name_s[name_len] = 0; in add_bt_scan_result() 190 …bda, esp_ble_addr_type_t addr_type, uint16_t appearance, uint8_t *name, uint8_t name_len, int rssi) in add_ble_scan_result() argument [all …]
|
/hal_espressif-2.7.6/examples/bluetooth/esp_hid_host/main/ |
D | esp_hid_gap.c | 138 …p_bd_addr_t bda, esp_bt_cod_t *cod, esp_bt_uuid_t *uuid, uint8_t *name, uint8_t name_len, int rssi) in add_bt_scan_result() argument 143 if (r->name == NULL && name && name_len) { in add_bt_scan_result() 144 char *name_s = (char *)malloc(name_len + 1); in add_bt_scan_result() 149 memcpy(name_s, name, name_len); in add_bt_scan_result() 150 name_s[name_len] = 0; in add_bt_scan_result() 174 if (name_len && name) { in add_bt_scan_result() 175 char *name_s = (char *)malloc(name_len + 1); in add_bt_scan_result() 181 memcpy(name_s, name, name_len); in add_bt_scan_result() 182 name_s[name_len] = 0; in add_bt_scan_result() 190 …bda, esp_ble_addr_type_t addr_type, uint16_t appearance, uint8_t *name, uint8_t name_len, int rssi) in add_ble_scan_result() argument [all …]
|
/hal_espressif-2.7.6/components/mbedtls/esp_crt_bundle/ |
D | esp_crt_bundle.c | 115 size_t name_len = 0; in esp_crt_verify_callback() local 125 name_len = s_crt_bundle.crts[middle][0] << 8 | s_crt_bundle.crts[middle][1]; in esp_crt_verify_callback() 128 int cmp_res = memcmp(child->issuer_raw.p, crt_name, name_len ); in esp_crt_verify_callback() 143 … esp_crt_check_signature(child, s_crt_bundle.crts[middle] + CRT_HEADER_OFFSET + name_len, key_len); in esp_crt_verify_callback() 176 size_t name_len = cur_crt[0] << 8 | cur_crt[1]; in esp_crt_bundle_init() local 178 cur_crt = cur_crt + CRT_HEADER_OFFSET + name_len + key_len; in esp_crt_bundle_init()
|
D | gen_crt_bundle.py | 144 name_len = len(sub_name_der) 146 len_data = struct.pack('>HH', name_len, key_len)
|
/hal_espressif-2.7.6/examples/bluetooth/hci/controller_vhci_ble_adv/main/ |
D | app_bt.c | 87 uint8_t name_len = (uint8_t)strlen(adv_name); in hci_cmd_send_ble_set_adv_data() local 91 adv_data[3] = name_len + 1; in hci_cmd_send_ble_set_adv_data() 92 for (int i = 0; i < name_len; i++) { in hci_cmd_send_ble_set_adv_data() 95 adv_data_len = 5 + name_len; in hci_cmd_send_ble_set_adv_data()
|
/hal_espressif-2.7.6/examples/bluetooth/hci/ble_adv_scan_combined/main/ |
D | app_bt.c | 23 uint8_t name_len; member 175 uint8_t name_len = (uint8_t)strlen(adv_name); in hci_cmd_send_ble_set_adv_data() local 179 adv_data[3] = name_len + 1; in hci_cmd_send_ble_set_adv_data() 180 for (int i = 0; i < name_len; i++) { in hci_cmd_send_ble_set_adv_data() 183 adv_data_len = 5 + name_len; in hci_cmd_send_ble_set_adv_data() 205 scanned_packet->name_len = curr_len - 1; in get_local_name() 344 for (int k = 0; k < scanned_name->name_len; k += 1 ) { in hci_evt_process()
|
/hal_espressif-2.7.6/components/espcoredump/src/ |
D | core_dump_elf.c | 207 uint32_t name_len = strlen(name) + 1; // get name length including terminator in elf_write_note() local 212 ELF_CHECK_ERR((name_len <= ELF_NOTE_NAME_MAX_SIZE), 0, in elf_write_note() 213 "Segment note name is too long %d.", name_len); in elf_write_note() 216 ALIGN(4, name_len); in elf_write_note() 217 uint32_t note_size = name_len + data_len + sizeof(elf_note); in elf_write_note() 222 memcpy((void*)name_buffer, (void*)name, name_len); in elf_write_note() 223 note_hdr.n_namesz = name_len; in elf_write_note() 231 err = self->write_cfg->write(self->write_cfg->priv, (void*)name_buffer, name_len); in elf_write_note()
|
/hal_espressif-2.7.6/components/coap/port/ |
D | coap_mbedtls.c | 232 const unsigned char *name, size_t name_len ) in psk_server_callback() argument 244 (int)name_len, name); in psk_server_callback() 256 lidentity.length = name_len; in psk_server_callback() 274 name_len, in psk_server_callback() 700 const unsigned char *uname, size_t name_len) in pki_sni_callback() argument 712 if (name_len == strlen(m_context->pki_sni_entry_list[i].sni) && in pki_sni_callback() 713 memcmp(uname, m_context->pki_sni_entry_list[i].sni, name_len) == 0) { in pki_sni_callback() 724 name = mbedtls_malloc(name_len+1); in pki_sni_callback() 725 memcpy(name, uname, name_len); in pki_sni_callback() 726 name[name_len] = '\000'; in pki_sni_callback() [all …]
|
/hal_espressif-2.7.6/examples/bluetooth/nimble/blecent/main/ |
D | misc.c | 147 assert(fields->name_len < sizeof s - 1); in print_adv_fields() 148 memcpy(s, fields->name, fields->name_len); in print_adv_fields() 149 s[fields->name_len] = '\0'; in print_adv_fields()
|
/hal_espressif-2.7.6/components/bt/host/bluedroid/btc/profile/std/hid/ |
D | hidh_api.c | 83 UINT16 name_len; in hidh_get_str_attr() local 86 if ((name_len = SDP_DISC_ATTR_LEN(p_attr->attr_len_type)) < max_len ) { in hidh_get_str_attr() 87 memcpy( str, (char *) p_attr->attr_value.v.array, name_len ); in hidh_get_str_attr() 88 str[name_len] = '\0'; in hidh_get_str_attr()
|
/hal_espressif-2.7.6/components/bt/esp_ble_mesh/mesh_core/ |
D | proxy_server.c | 1108 size_t name_len = strlen(name); in gatt_proxy_adv_create() local 1112 if (name_len > sd_space) { in gatt_proxy_adv_create() 1117 proxy_sd->data_len = name_len; in gatt_proxy_adv_create() 1310 size_t name_len = strlen(name); in gatt_prov_adv_create() local 1332 if (sd_space > 2 && name_len > 0) { in gatt_prov_adv_create() 1335 if (sd_space < name_len) { in gatt_prov_adv_create() 1340 prov_sd[prov_sd_len].data_len = name_len; in gatt_prov_adv_create()
|
/hal_espressif-2.7.6/components/esp_hid/src/ |
D | ble_hidd.c | 272 size_t name_len = strlen(dev->config.manufacturer_name); in create_info_db() local 274 …, (uint8_t *)&s_device_info_manufacturer_uuid, ESP_GATT_PERM_READ, name_len, name_len, (uint8_t *)… in create_info_db() 278 size_t name_len = strlen(dev->config.serial_number); in create_info_db() local 280 …++, (uint8_t *)&s_device_info_serial_num_uuid, ESP_GATT_PERM_READ, name_len, name_len, (uint8_t *)… in create_info_db()
|
/hal_espressif-2.7.6/components/bt/host/bluedroid/api/include/api/ |
D | esp_blufi_api.h | 231 int name_len; /*!< Username length */ member
|
/hal_espressif-2.7.6/examples/bluetooth/nimble/blehr/main/ |
D | main.c | 110 fields.name_len = strlen(device_name); in blehr_advertise()
|
/hal_espressif-2.7.6/components/wpa_supplicant/src/ap/ |
D | ap_config.h | 153 u8 name_len;
|
/hal_espressif-2.7.6/examples/bluetooth/nimble/bleprph/main/ |
D | main.c | 104 fields.name_len = strlen(name); in bleprph_advertise()
|
/hal_espressif-2.7.6/components/bt/host/bluedroid/btc/profile/esp/blufi/ |
D | blufi_protocol.c | 204 param.username.name_len = len; in btc_blufi_protocol_handler()
|
D | blufi_prf.c | 755 dst->username.name = osi_malloc(src->username.name_len); in btc_blufi_cb_deep_copy() 759 memcpy(dst->username.name, src->username.name, src->username.name_len); in btc_blufi_cb_deep_copy()
|
/hal_espressif-2.7.6/examples/bluetooth/nimble/bleprph_wifi_coex/main/ |
D | main.c | 349 fields.name_len = strlen(name); in bleprph_advertise()
|
/hal_espressif-2.7.6/components/mdns/ |
D | mdns.c | 2570 int name_len = _mdns_txt_item_name_get_len(data+i, partLen); in _mdns_result_txt_create() local 2571 if (name_len < 0) {//invalid item (no name) in _mdns_result_txt_create() 2575 char * key = (char *)malloc(name_len + 1); in _mdns_result_txt_create() 2583 memcpy(key, data + i, name_len); in _mdns_result_txt_create() 2584 key[name_len] = 0; in _mdns_result_txt_create() 2585 i += name_len + 1; in _mdns_result_txt_create() 2588 int value_len = partLen - name_len - 1; in _mdns_result_txt_create()
|
/hal_espressif-2.7.6/components/protocomm/src/transports/ |
D | protocomm_nimble.c | 508 resp_data.name_len = strlen(ble_svc_gap_device_name()); in simple_ble_start()
|
/hal_espressif-2.7.6/components/wpa_supplicant/src/common/ |
D | dpp.c | 1817 size_t len, name_len; in dpp_build_conf_req_helper() local 1832 name_len = os_strlen(dpp_name); in dpp_build_conf_req_helper() 1834 len = 100 + name_len * 6 + 1 + int_array_len(opclasses) * 4; in dpp_build_conf_req_helper() 1842 if (json_add_string_escape(json, "name", dpp_name, name_len) < 0) { in dpp_build_conf_req_helper()
|
/hal_espressif-2.7.6/components/bt/host/bluedroid/stack/include/stack/ |
D | btm_api.h | 3698 BT_OCTET16 r, UINT8 name_len);
|
/hal_espressif-2.7.6/components/bt/host/bluedroid/stack/btm/ |
D | btm_sec.c | 1736 BT_OCTET16 r, UINT8 name_len) in BTM_BuildOobData() argument 1785 name_size = name_len; in BTM_BuildOobData()
|