/AliOS-Things-master/components/lwip/lwip2.0.0/apps/snmp/ |
A D | snmp_mib2_interfaces.c | 168 u16_t value_len; in interfaces_Table_get_value() local 174 value_len = sizeof(*value_s32); in interfaces_Table_get_value() 182 value_len = sizeof(*value_s32); in interfaces_Table_get_value() 186 value_len = sizeof(*value_s32); in interfaces_Table_get_value() 190 value_len = sizeof(*value_u32); in interfaces_Table_get_value() 202 value_len = sizeof(*value_s32); in interfaces_Table_get_value() 214 value_len = sizeof(*value_s32); in interfaces_Table_get_value() 218 value_len = sizeof(*value_u32); in interfaces_Table_get_value() 222 value_len = sizeof(*value_u32); in interfaces_Table_get_value() 226 value_len = sizeof(*value_u32); in interfaces_Table_get_value() [all …]
|
A D | snmp_msg.c | 281 vb->value_len = 0; in snmp_process_varbind() 624 parent_tlv_value_len = tlv.value_len; in snmp_parse_inbound_frame() 765 &u16_value, tlv.value_len)); in snmp_parse_inbound_frame() 876 parent_tlv_value_len = tlv.value_len; in snmp_parse_inbound_frame() 1193 if (varbind->value_len == 0) { in snmp_varbind_length() 1219 if (varbind->value_len != 0) { in snmp_varbind_length() 1597 varbind_len = tlv.value_len; in snmp_vb_enumerator_get_next() 1616 varbind->value_len = sizeof(s32_t*); in snmp_vb_enumerator_get_next() 1633 varbind->value_len = 0; in snmp_vb_enumerator_get_next() 1645 if (tlv.value_len == 4) { in snmp_vb_enumerator_get_next() [all …]
|
A D | snmp_mib2_ip.c | 210 …e_core(struct netif *netif, const u32_t* column, union snmp_variant_value* value, u32_t* value_len) in ip_AddrTable_get_cell_value_core() argument 212 LWIP_UNUSED_ARG(value_len); in ip_AddrTable_get_cell_value_core() 269 return ip_AddrTable_get_cell_value_core(netif, column, value, value_len); in ip_AddrTable_get_cell_value() 305 … return ip_AddrTable_get_cell_value_core((struct netif*)state.reference, column, value, value_len); in ip_AddrTable_get_next_cell_instance_and_value() 392 *value_len = snmp_zero_dot_zero.len * sizeof(u32_t); in ip_RouteTable_get_cell_value_core() 418 return ip_RouteTable_get_cell_value_core(netif_default, 1, column, value, value_len); in ip_RouteTable_get_cell_value() 429 return ip_RouteTable_get_cell_value_core(netif, 0, column, value, value_len); in ip_RouteTable_get_cell_value() 477 …cell_value_core((struct netif*)state.reference, ip4_addr_isany_val(dst), column, value, value_len); in ip_RouteTable_get_next_cell_instance_and_value() 512 *value_len = sizeof(*ethaddr); in ip_NetToMediaTable_get_cell_value_core() 552 return ip_NetToMediaTable_get_cell_value_core(i, column, value, value_len); in ip_NetToMediaTable_get_cell_value() [all …]
|
A D | snmp_mib2_udp.c | 110 … column, const u32_t* row_oid, u8_t row_oid_len, union snmp_variant_value* value, u32_t* value_len) in udp_endpointTable_get_cell_value() argument 117 LWIP_UNUSED_ARG(value_len); in udp_endpointTable_get_cell_value() 157 …onst u32_t* column, struct snmp_obj_id* row_oid, union snmp_variant_value* value, u32_t* value_len) in udp_endpointTable_get_next_cell_instance_and_value() argument 167 LWIP_UNUSED_ARG(value_len); in udp_endpointTable_get_next_cell_instance_and_value() 218 …e_core(struct udp_pcb *pcb, const u32_t* column, union snmp_variant_value* value, u32_t* value_len) in udp_Table_get_cell_value_core() argument 220 LWIP_UNUSED_ARG(value_len); in udp_Table_get_cell_value_core() 239 … column, const u32_t* row_oid, u8_t row_oid_len, union snmp_variant_value* value, u32_t* value_len) in udp_Table_get_cell_value() argument 260 return udp_Table_get_cell_value_core(pcb, column, value, value_len); in udp_Table_get_cell_value() 271 …onst u32_t* column, struct snmp_obj_id* row_oid, union snmp_variant_value* value, u32_t* value_len) in udp_Table_get_next_cell_instance_and_value() argument 300 … return udp_Table_get_cell_value_core((struct udp_pcb*)state.reference, column, value, value_len); in udp_Table_get_next_cell_instance_and_value()
|
A D | snmp_mib2_tcp.c | 158 …e_core(struct tcp_pcb *pcb, const u32_t* column, union snmp_variant_value* value, u32_t* value_len) in tcp_ConnTable_get_cell_value_core() argument 160 LWIP_UNUSED_ARG(value_len); in tcp_ConnTable_get_cell_value_core() 196 … column, const u32_t* row_oid, u8_t row_oid_len, union snmp_variant_value* value, u32_t* value_len) in tcp_ConnTable_get_cell_value() argument 229 return tcp_ConnTable_get_cell_value_core(pcb, column, value, value_len); in tcp_ConnTable_get_cell_value() 235 return tcp_ConnTable_get_cell_value_core(pcb, column, value, value_len); in tcp_ConnTable_get_cell_value() 293 …turn tcp_ConnTable_get_cell_value_core((struct tcp_pcb*)state.reference, column, value, value_len); in tcp_ConnTable_get_next_cell_instance_and_value() 332 LWIP_UNUSED_ARG(value_len); in tcp_ConnectionTable_get_cell_value() 377 LWIP_UNUSED_ARG(value_len); in tcp_ConnectionTable_get_next_cell_instance_and_value() 432 … column, const u32_t* row_oid, u8_t row_oid_len, union snmp_variant_value* value, u32_t* value_len) in tcp_ListenerTable_get_cell_value() argument 439 LWIP_UNUSED_ARG(value_len); in tcp_ListenerTable_get_cell_value() [all …]
|
A D | snmp_asn1.c | 76 if (tlv->value_len <= 127) { in snmp_ans1_enc_tlv() 78 } else if (tlv->value_len <= 255) { in snmp_ans1_enc_tlv() 106 data = (u8_t)(tlv->value_len >> 8); in snmp_ans1_enc_tlv() 118 data = (u8_t)(tlv->value_len & 0xFF); in snmp_ans1_enc_tlv() 442 tlv->value_len = data; in snmp_asn1_dec_tlv() 446 tlv->value_len = 0; in snmp_asn1_dec_tlv() 450 if (tlv->value_len > 0xFF) { in snmp_asn1_dec_tlv() 454 tlv->value_len <<= 8; in snmp_asn1_dec_tlv() 455 tlv->value_len |= data; in snmp_asn1_dec_tlv() 458 if (tlv->value_len == 0xFFFF) { in snmp_asn1_dec_tlv()
|
A D | snmp_traps.c | 392 snmp_asn1_enc_s32t_cnt(trap->snmp_version, &tlv.value_len); in snmp_trap_header_enc() 394 snmp_asn1_enc_s32t(pbuf_stream, tlv.value_len, trap->snmp_version); in snmp_trap_header_enc() 407 snmp_asn1_enc_oid_cnt(trap->enterprise->id, trap->enterprise->len, &tlv.value_len); in snmp_trap_header_enc() 428 snmp_asn1_enc_s32t_cnt(trap->gen_trap, &tlv.value_len); in snmp_trap_header_enc() 430 snmp_asn1_enc_s32t(pbuf_stream, tlv.value_len, trap->gen_trap); in snmp_trap_header_enc() 434 snmp_asn1_enc_s32t_cnt(trap->spc_trap, &tlv.value_len); in snmp_trap_header_enc() 436 snmp_asn1_enc_s32t(pbuf_stream, tlv.value_len, trap->spc_trap); in snmp_trap_header_enc() 440 snmp_asn1_enc_s32t_cnt(trap->ts, &tlv.value_len); in snmp_trap_header_enc() 442 snmp_asn1_enc_s32t(pbuf_stream, tlv.value_len, trap->ts); in snmp_trap_header_enc()
|
A D | snmp_scalar.c | 46 static snmp_err_t snmp_scalar_array_set_test(struct snmp_node_instance* instance, u16_t value_len,… 47 static snmp_err_t snmp_scalar_array_set_value(struct snmp_node_instance* instance, u16_t value_len… 203 snmp_scalar_array_set_test(struct snmp_node_instance* instance, u16_t value_len, void* value) in snmp_scalar_array_set_test() argument 208 return array_node->set_test(array_node_def, value_len, value); in snmp_scalar_array_set_test() 212 snmp_scalar_array_set_value(struct snmp_node_instance* instance, u16_t value_len, void* value) in snmp_scalar_array_set_value() argument 217 return array_node->set_value(array_node_def, value_len, value); in snmp_scalar_array_set_value()
|
A D | snmp_asn1.h | 76 u16_t value_len; /* encoded length of the value */ member 79 #define SNMP_ASN1_TLV_LENGTH(tlv) ((tlv).type_len + (tlv).length_len + (tlv).value_len) 80 … = (type_); (tlv).type_len = 0; (tlv).length_len = (length_len_); (tlv).value_len = (value_len_); …
|
/AliOS-Things-master/components/freetype/src/type1/ |
A D | t1driver.c | 190 if ( value && value_len >= retval ) in t1_ps_get_font_value() 256 if ( value && value_len >= retval ) in t1_ps_get_font_value() 262 if ( value && value_len >= retval ) in t1_ps_get_font_value() 268 if ( value && value_len >= retval ) in t1_ps_get_font_value() 274 if ( value && value_len >= retval ) in t1_ps_get_font_value() 305 if ( value && value_len >= retval ) in t1_ps_get_font_value() 325 if ( value && value_len >= retval ) in t1_ps_get_font_value() 343 if ( value && value_len >= retval ) in t1_ps_get_font_value() 349 if ( value && value_len >= retval ) in t1_ps_get_font_value() 355 if ( value && value_len >= retval ) in t1_ps_get_font_value() [all …]
|
/AliOS-Things-master/components/amp/engine/duktape_engine/addons/utils/kv/ |
A D | module_kv.c | 23 int32_t value_len = 0; in native_kv_setStorage() local 34 value_len = strlen(value); in native_kv_setStorage() 36 ret = aos_kv_set(key, value, value_len, 1); in native_kv_setStorage() 58 int32_t value_len = KV_BUFFER_MAX_LEN; in native_kv_getStorage() local 75 ret = aos_kv_get(key, value, &value_len); in native_kv_getStorage() 82 duk_push_lstring(ctx, value, value_len); in native_kv_getStorage() 102 int32_t value_len = 0; in native_kv_removeStorage() local
|
/AliOS-Things-master/components/amp/engine/quickjs_engine/addons/utils/kv/ |
A D | module_kv.c | 21 int32_t value_len = 0; in native_kv_setStorage() local 37 value_len = strlen(value); in native_kv_setStorage() 39 ret = aos_kv_set(key, value, value_len, 1); in native_kv_setStorage() 58 int32_t value_len = KV_BUFFER_MAX_LEN; in native_kv_getStorage() local 75 ret = aos_kv_get(key, value, &value_len); in native_kv_getStorage() 81 obj = JS_NewStringLen(ctx, value, value_len); in native_kv_getStorage()
|
/AliOS-Things-master/components/py_engine/modules/kv/ |
A D | modkv.c | 23 int32_t value_len = 0; in obj_setStorageSync() local 32 value_len = strlen(value); in obj_setStorageSync() 34 ret = aos_kv_set(key, value, value_len, 1); in obj_setStorageSync() 48 int32_t value_len = KV_BUFFER_MAX_LEN; in obj_getStorageSync() local 64 ret = aos_kv_get(key, value, &value_len); in obj_getStorageSync()
|
/AliOS-Things-master/components/linkkit/infra/ |
A D | infra_json_parser.c | 308 int value_len = -1; in LITE_json_value_of() local 346 src_iter_len = value_len; in LITE_json_value_of() 354 key_len, &value_len, 0); in LITE_json_value_of() 359 ret = jparser_malloc((value_len + 1) * sizeof(char)); in LITE_json_value_of() 365 HAL_Snprintf(ret, value_len + 1, "%s", value); in LITE_json_value_of() 826 int value_len; in _LITE_json_value_of_ext() local 835 value_len = src_iter_len; in _LITE_json_value_of_ext() 863 value, value_len, arr_pre, in _LITE_json_value_of_ext() 870 src_iter_len = value_len; in _LITE_json_value_of_ext() 898 &value_len); in _LITE_json_value_of_ext() [all …]
|
/AliOS-Things-master/hardware/chip/haas1000/drivers/services/ble_stack/hl/inc/ |
A D | l2cc_pdu.h | 725 uint16_t value_len; member 747 uint16_t value_len; member 769 uint16_t value_len; member 810 uint16_t value_len; member 830 uint16_t value_len; member 843 uint16_t value_len; member 861 uint16_t value_len; member 876 uint16_t value_len; member 906 uint16_t value_len; member 919 uint16_t value_len; member
|
/AliOS-Things-master/components/linkkit/dev_model/ |
A D | dm_shadow.c | 14 _IN_ void *value, _IN_ int value_len); 16 _IN_ void *value, _IN_ int value_len, 39 _IN_ void *value, _IN_ int value_len); 41 _IN_ void *value, _IN_ int value_len); 45 _IN_ void *value, _IN_ int value_len); 47 _IN_ void *value, _IN_ int value_len); 49 _IN_ void *value, _IN_ int value_len); 1242 data_value, value, value_len, index); in _dm_shw_data_array_set() 1253 data_value, value, value_len); in _dm_shw_data_set() 1258 _IN_ int value_len) in dm_shw_set_property_value() argument [all …]
|
/AliOS-Things-master/components/py_engine/engine/extmod/ |
A D | modbluetooth.h | 336 int mp_bluetooth_gatts_read(uint16_t value_handle, uint8_t **value, size_t *value_len); 338 int mp_bluetooth_gatts_write(uint16_t value_handle, const uint8_t *value, size_t value_len, bool se… 342 …s_notify_send(uint16_t conn_handle, uint16_t value_handle, const uint8_t *value, size_t value_len); 390 …t16_t conn_handle, uint16_t value_handle, const uint8_t *value, size_t *value_len, unsigned int mo… 425 …type, uint8_t index, const uint8_t *key, size_t key_len, const uint8_t **value, size_t *value_len); 426 …t_secret(uint8_t type, const uint8_t *key, size_t key_len, const uint8_t *value, size_t value_len); 507 … mp_bluetooth_gatts_db_read(mp_gatts_db_t db, uint16_t handle, uint8_t **value, size_t *value_len); 508 …luetooth_gatts_db_write(mp_gatts_db_t db, uint16_t handle, const uint8_t *value, size_t value_len);
|
/AliOS-Things-master/hardware/chip/haas1000/drivers/services/ble_stack/hl/src/gatt/attc/ |
A D | attc.h | 34 #define ATTC_ALLOCATE_ATT_REQ(conidx, opcode, pdu_type, value_len)\ argument 35 L2CC_ATT_PDU_ALLOC_DYN(conidx, opcode, KE_BUILD_ID(TASK_GATTC, conidx), pdu_type, value_len)
|
/AliOS-Things-master/hardware/chip/haas1000/drivers/platform/hal/ |
A D | hal_btpcm.h | 32 int hal_btpcm_send(enum HAL_BTPCM_ID_T id, uint8_t *value, uint32_t value_len); 33 uint8_t hal_btpcm_recv(enum HAL_BTPCM_ID_T id, uint8_t *value, uint32_t value_len);
|
A D | hal_spdif.h | 30 int hal_spdif_send(enum HAL_SPDIF_ID_T id, uint8_t *value, uint32_t value_len); 31 uint8_t hal_spdif_recv(enum HAL_SPDIF_ID_T id, uint8_t *value, uint32_t value_len);
|
A D | hal_i2s.h | 37 int hal_i2s_send(enum HAL_I2S_ID_T id, const uint8_t *value, uint32_t value_len); 38 uint8_t hal_i2s_recv(enum HAL_I2S_ID_T id, uint8_t *value, uint32_t value_len);
|
A D | hal_i2c.h | 160 …end(enum HAL_I2C_ID_T id, uint32_t device_addr, uint8_t *buf, uint32_t reg_len, uint32_t value_len, 162 …ecv(enum HAL_I2C_ID_T id, uint32_t device_addr, uint8_t *buf, uint32_t reg_len, uint32_t value_len, 196 … hal_gpio_i2c_send(uint32_t device_addr, const uint8_t *buf, uint32_t reg_len, uint32_t value_len); 197 uint32_t hal_gpio_i2c_recv(uint32_t device_addr, uint8_t *buf, uint32_t reg_len, uint32_t value_len…
|
/AliOS-Things-master/components/linksdk/components/shadow/ |
A D | aiot_shadow_api.c | 84 uint32_t value_len = 0; in _shadow_recv_message_handler() local 117 … SHADOW_JSON_KEY_TIMESTAMP, strlen(SHADOW_JSON_KEY_TIMESTAMP), &value, &value_len) < 0) || in _shadow_recv_message_handler() 118 (res = core_str2uint64(value, value_len, ×tamp) < 0) || in _shadow_recv_message_handler() 145 … SHADOW_JSON_KEY_STATE, strlen(SHADOW_JSON_KEY_STATE), &value, &value_len) < 0) { in _shadow_recv_message_handler() 148 … SHADOW_JSON_KEY_STATUS, strlen(SHADOW_JSON_KEY_STATUS), &value, &value_len) < 0) || in _shadow_recv_message_handler() 149 (value_len >= sizeof(status))) { in _shadow_recv_message_handler() 154 memcpy(status, value, value_len); in _shadow_recv_message_handler()
|
/AliOS-Things-master/components/freetype/src/base/ |
A D | fttype1.c | 101 FT_Long value_len ) in FT_Get_PS_Font_Value() argument 113 value, value_len ); in FT_Get_PS_Font_Value()
|
/AliOS-Things-master/components/http/src/ |
A D | http_client.c | 638 int key_len, value_len; in httpclient_response_parse() local 681 value_len = crlf_ptr - colon_ptr - strlen(": "); in httpclient_response_parse() 685 http_debug("Read header : %.*s: %.*s", key_len, key_ptr, value_len, value_ptr); in httpclient_response_parse() 690 if (0 == strncasecmp(value_ptr, "Chunked", value_len)) { in httpclient_response_parse() 697 if ( HTTPCLIENT_MAX_URL_LEN < value_len + 1 ) { in httpclient_response_parse() 698 http_err("url is too large (%d >= %d)", value_len + 1, HTTPCLIENT_MAX_URL_LEN); in httpclient_response_parse() 707 memcpy(client_data->redirect_url, value_ptr, value_len); in httpclient_response_parse() 900 int key_len, value_len; in httpclient_get_response_header_value() local 910 value_len = crlf_ptr - colon_ptr - strlen(": "); in httpclient_get_response_header_value() 914 http_debug("Response header: %.*s: %.*s", key_len, key_ptr, value_len, value_ptr); in httpclient_get_response_header_value() [all …]
|