Home
last modified time | relevance | path

Searched refs:value_len (Results 1 – 25 of 33) sorted by relevance

12

/device/soc/hisilicon/hi3861v100/sdk_liteos/tools/efuse_tool/
Defuse_cfg_gen.py39 value_len = 0 variable
54 value_len = 4 variable
56 value_len = 8 variable
58 value_len = size // 8 variable
59 result = struct.pack('BBHHH', 0, 8, int(line[2]), size, value_len)
63 for i in range(value_len // 4):
/device/soc/beken/bk7235/liteos_m/bk_sdk_armino/components/easy_flash/
Dbk_ef.c75 int out_len, value_len; in bk_get_buf_env() local
81 value_len = os_strlen(ef_value); in bk_get_buf_env()
82 if (0 == value_len) in bk_get_buf_env()
85 out_buf_len = base64_calc_decode_length((unsigned char *)ef_value, value_len); in bk_get_buf_env()
90 ret = base64_decode((unsigned char *)ef_value, value_len, &out_len, out_ptr); in bk_get_buf_env()
/device/soc/esp/esp32/components/bt/host/bluedroid/btc/core/
Dbtc_config.c202 size_t value_len = strlen(value_str); in btc_config_get_bin() local
203 if ((value_len % 2) != 0 || *length < (value_len / 2)) { in btc_config_get_bin()
207 for (size_t i = 0; i < value_len; ++i) in btc_config_get_bin()
233 size_t value_len = strlen(value_str); in btc_config_get_bin_length() local
234 return ((value_len % 2) != 0) ? 0 : (value_len / 2); in btc_config_get_bin_length()
/device/soc/esp/esp32/components/bt/host/bluedroid/api/
Desp_gattc_api.c490 uint16_t value_len, in esp_ble_gattc_write_char() argument
516 … arg.write_char.value_len = value_len > ESP_GATT_MAX_ATTR_LEN ? ESP_GATT_MAX_ATTR_LEN : value_len; in esp_ble_gattc_write_char()
528 uint16_t value_len, in esp_ble_gattc_write_char_descr() argument
554 … arg.write_descr.value_len = value_len > ESP_GATT_MAX_ATTR_LEN ? ESP_GATT_MAX_ATTR_LEN : value_len; in esp_ble_gattc_write_char_descr()
567 uint16_t value_len, in esp_ble_gattc_prepare_write() argument
593 …arg.prep_write.value_len = value_len > ESP_GATT_MAX_ATTR_LEN ? ESP_GATT_MAX_ATTR_LEN : value_len; … in esp_ble_gattc_prepare_write()
603 uint16_t value_len, in esp_ble_gattc_prepare_write_char_descr() argument
629 …arg.prep_write_descr.value_len = value_len > ESP_GATT_MAX_ATTR_LEN ? ESP_GATT_MAX_ATTR_LEN : value… in esp_ble_gattc_prepare_write_char_descr()
Desp_gatts_api.c258 uint16_t value_len, uint8_t *value, bool need_confirm) in esp_ble_gatts_send_indicate() argument
282 arg.send_ind.value_len = value_len; in esp_ble_gatts_send_indicate()
/device/soc/esp/esp32/components/bt/host/bluedroid/stack/gatt/
Dgatt_cl.c100 cl_req.find_type_value.value_len = p_clcb->uuid.len; in gatt_act_discovery()
103 cl_req.find_type_value.value_len = LEN_UUID_128; in gatt_act_discovery()
715 UINT8 *p = p_data, value_len, handle_len = 2; in gatt_process_read_by_type_rsp() local
729 STREAM_TO_UINT8(value_len, p); in gatt_process_read_by_type_rsp()
731 if ((value_len > (p_tcb->payload_size - 2)) || (value_len > (len - 1)) ) { in gatt_process_read_by_type_rsp()
735 op_code, value_len, (p_tcb->payload_size - 2), (len - 1)); in gatt_process_read_by_type_rsp()
744 value_len -= handle_len; /* substract the handle pairs bytes */ in gatt_process_read_by_type_rsp()
747 while (len >= (handle_len + value_len)) { in gatt_process_read_by_type_rsp()
773 … if (!gatt_parse_uuid_from_cmd(&record_value.group_value.service_type, value_len, &p)) { in gatt_process_read_by_type_rsp()
790 if (value_len == 6) { in gatt_process_read_by_type_rsp()
[all …]
Datt_protocol.c165 UINT16 len = p_value_type->value_len; in attp_build_read_by_type_value_cmd()
179 if (p_value_type->value_len + p_buf->len > payload_size ) { in attp_build_read_by_type_value_cmd()
/device/soc/esp/esp32/components/bt/host/bluedroid/api/include/api/
Desp_gattc_api.h144 uint16_t value_len; /*!< Characteristic value length */ member
172 uint16_t value_len; /*!< Notify attribute value */ member
699 uint16_t value_len,
724 uint16_t value_len,
750 uint16_t value_len,
775 uint16_t value_len,
/device/soc/esp/esp32/components/bt/host/bluedroid/btc/profile/std/include/
Dbtc_gattc.h132 uint16_t value_len; member
141 uint16_t value_len; member
152 uint16_t value_len; member
161 uint16_t value_len; member
Dbtc_gatts.h115 uint16_t value_len; member
/device/soc/bestechnic/bes2600/liteos_m/sdk/bsp/platform/hal/
Dhal_i2c.h192 …end(enum HAL_I2C_ID_T id, uint32_t device_addr, uint8_t *buf, uint32_t reg_len, uint32_t value_len,
194 …ecv(enum HAL_I2C_ID_T id, uint32_t device_addr, uint8_t *buf, uint32_t reg_len, uint32_t value_len,
230 …I2C_CONFIG_T *cfg, uint32_t device_addr, const uint8_t *buf, uint32_t reg_len, uint32_t value_len);
231 …_T *cfg, uint32_t device_addr, uint8_t *buf, uint32_t reg_len, uint32_t value_len, uint8_t restart…
/device/soc/goodix/gr551x/sdk_liteos/gr551x_sdk/components/profiles/hids/
Dhids.c436 cfm.length = s_hids_env.hids_init.input_report_array[INDEX_0].value_len; in hids_read_att_cb()
451 cfm.length = s_hids_env.hids_init.input_report_array[INDEX_1].value_len; in hids_read_att_cb()
466 cfm.length = s_hids_env.hids_init.input_report_array[INDEX_2].value_len; in hids_read_att_cb()
481 cfm.length = s_hids_env.hids_init.output_report.value_len; in hids_read_att_cb()
491 cfm.length = s_hids_env.hids_init.feature_report.value_len; in hids_read_att_cb()
710 …p_param->offset + p_param->length) <= s_hids_env.hids_init.input_report_array[INDEX_0].value_len) { in hids_write_att_cb()
722 …p_param->offset + p_param->length) <= s_hids_env.hids_init.input_report_array[INDEX_1].value_len) { in hids_write_att_cb()
734 …p_param->offset + p_param->length) <= s_hids_env.hids_init.input_report_array[INDEX_2].value_len) { in hids_write_att_cb()
746 … if ((p_param->offset + p_param->length) <= s_hids_env.hids_init.output_report.value_len) { in hids_write_att_cb()
758 … if ((p_param->offset + p_param->length) <= s_hids_env.hids_init.feature_report.value_len) { in hids_write_att_cb()
Dhids.h181 uint16_t value_len; /**< Length of characteristic value. */ member
/device/soc/esp/esp32/components/bt/host/bluedroid/btc/profile/std/gatt/
Dbtc_gattc.c42 dst->write_char.value = (uint8_t *)osi_malloc(src->write_char.value_len); in btc_gattc_arg_deep_copy()
44 memcpy(dst->write_char.value, src->write_char.value, src->write_char.value_len); in btc_gattc_arg_deep_copy()
51 dst->write_descr.value = (uint8_t *)osi_malloc(src->write_descr.value_len); in btc_gattc_arg_deep_copy()
53 memcpy(dst->write_descr.value, src->write_descr.value, src->write_descr.value_len); in btc_gattc_arg_deep_copy()
60 dst->prep_write.value = (uint8_t *)osi_malloc(src->prep_write.value_len); in btc_gattc_arg_deep_copy()
62 memcpy(dst->prep_write.value, src->prep_write.value, src->prep_write.value_len); in btc_gattc_arg_deep_copy()
69 dst->prep_write_descr.value = (uint8_t *)osi_malloc(src->prep_write_descr.value_len); in btc_gattc_arg_deep_copy()
71 … memcpy(dst->prep_write_descr.value, src->prep_write_descr.value, src->prep_write_descr.value_len); in btc_gattc_arg_deep_copy()
630 arg->write_char.value_len, in btc_gattc_write_char()
639 descr_val.len = arg->write_descr.value_len; in btc_gattc_write_char_descr()
[all …]
Dbtc_gatt_util.c191 p_dest->read.value_len = p_src->p_value->len; in set_read_value()
197 p_dest->read.value_len = 0; in set_read_value()
/device/soc/esp/esp32/components/bt/host/bluedroid/bta/gatt/
Dbta_gatts_api.c278 UINT16 value_len = 0; in BTA_GATTS_AddCharDescriptor() local
298 value_len = attr_val->attr_len; in BTA_GATTS_AddCharDescriptor()
299 if (value_len != 0){ in BTA_GATTS_AddCharDescriptor()
300 p_buf->attr_val.attr_val = (uint8_t*)osi_malloc(value_len); in BTA_GATTS_AddCharDescriptor()
302 memcpy(p_buf->attr_val.attr_val, attr_val->attr_val, value_len); in BTA_GATTS_AddCharDescriptor()
/device/soc/beken/bk7235/liteos_m/bk_sdk_armino/components/easy_flash/src/
Def_env.c295 size_t key_len = strlen(key), value_len = strlen(value), env_str_len; in write_env() local
299 env_str_len = key_len + value_len + 2; in write_env()
316 memmove(env_cache_bak, value, value_len); in write_env()
317 env_cache_bak += value_len; in write_env()
322 memset(env_cache_bak, 0, env_str_len - (key_len + value_len + 2)); in write_env()
Def_env_wl.c317 size_t ker_len = strlen(key), value_len = strlen(value), env_str_len; in write_env() local
321 env_str_len = ker_len + value_len + 2; in write_env()
336 memcpy(env_cache_bak, value, value_len); in write_env()
337 env_cache_bak += value_len; in write_env()
342 memset(env_cache_bak, 0, env_str_len - (ker_len + value_len + 2)); in write_env()
/device/board/openvalley/niobeu4/liteos_m/hals/drivers/bluetooth_lite/
Dbluetooth_device.c188 if ((value == NULL) || (write_char.value_len <= 0)) { in BleGattcWriteCharacteristic()
193 write_char.handle, write_char.value_len, in BleGattcWriteCharacteristic()
271 write_char.handle, write_char.value_len, in BleGattcWriteCharDescr()
Dbluetooth_device.h119 uint16_t value_len; member
/device/soc/winnermicro/wm800/board/src/bt/blehost/nimble/host/src/
Dble_att_priv.h240 int value_len; member
248 int value_len; member
276 const void *attribute_value, int value_len);
Dble_att_clt.c252 const void *attribute_value, int value_len) in ble_att_clt_tx_find_type_value() argument
264 req = ble_att_cmd_get(BLE_ATT_OP_FIND_TYPE_VALUE_REQ, sizeof(*req) + value_len, in ble_att_clt_tx_find_type_value()
273 memcpy(req->bavq_value, attribute_value, value_len); in ble_att_clt_tx_find_type_value()
380 adata.value_len = data_len - sizeof(*data); in ble_att_clt_rx_read_type()
563 adata->value_len = data_len - BLE_ATT_READ_GROUP_TYPE_ADATA_BASE_SZ; in ble_att_clt_parse_read_group_type_adata()
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/loaderboot/include/
Defuse_opt.h46 hi_u16 value_len; /* Length of value Byte(s), 4-byte-aligned. */ member
/device/soc/esp/esp32/components/bt/common/btc/profile/esp/blufi/
Dblufi_prf.c400 static void btc_blufi_send_custom_data(uint8_t *value, uint32_t value_len) in btc_blufi_send_custom_data() argument
402 if(value == NULL || value_len == 0) { in btc_blufi_send_custom_data()
406 uint8_t *data = osi_malloc(value_len); in btc_blufi_send_custom_data()
412 memcpy(data, value, value_len); in btc_blufi_send_custom_data()
413 btc_blufi_send_encap(type, data, value_len); in btc_blufi_send_custom_data()
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/loaderboot/common/
Defuse_opt.c128 item = (efuse_config_item *)((uintptr_t)item + item->stru_size + item->value_len); in efuse_burn()

12