/third_party/lwip/src/apps/snmp/ |
D | snmp_mib2_interfaces.c | 162 u16_t value_len; in interfaces_Table_get_value() local 167 value_len = sizeof(*value_s32); in interfaces_Table_get_value() 170 value_len = sizeof(netif->name); in interfaces_Table_get_value() 171 MEMCPY(value, netif->name, value_len); in interfaces_Table_get_value() 175 value_len = sizeof(*value_s32); in interfaces_Table_get_value() 179 value_len = sizeof(*value_s32); in interfaces_Table_get_value() 183 value_len = sizeof(*value_u32); in interfaces_Table_get_value() 186 value_len = sizeof(netif->hwaddr); in interfaces_Table_get_value() 187 MEMCPY(value, &netif->hwaddr, value_len); in interfaces_Table_get_value() 195 value_len = sizeof(*value_s32); in interfaces_Table_get_value() [all …]
|
D | snmp_msg.c | 309 vb.value_len = sizeof(u32_t); in snmp_receive() 436 vb->value_len = 0; in snmp_process_varbind() 456 vb->value_len = (u16_t)len; /* cast is OK because we checked >= 0 above */ in snmp_process_varbind() 459 …LWIP_ASSERT("SNMP_MAX_VALUE_SIZE is configured too low", (vb->value_len & ~SNMP_GET_VALUE_RAW_DATA… in snmp_process_varbind() 495 if ((vb.type == SNMP_ASN1_TYPE_NULL) && (vb.value_len == 0)) { in snmp_process_get_request() 531 if ((vb.type == SNMP_ASN1_TYPE_NULL) && (vb.value_len == 0)) { in snmp_process_getnext_request() 593 …f ((err != SNMP_VB_ENUMERATOR_ERR_OK) || (vb.type != SNMP_ASN1_TYPE_NULL) || (vb.value_len != 0)) { in snmp_process_getbulk_request() 677 request->error_status = node_instance.set_test(&node_instance, vb.value_len, vb.value); in snmp_process_set_request() 708 if (node_instance.set_value(&node_instance, vb.value_len, vb.value) != SNMP_ERR_NOERROR) { in snmp_process_set_request() 782 IF_PARSE_ASSERT((tlv.type == SNMP_ASN1_TYPE_SEQUENCE) && (tlv.value_len == pbuf_stream.length)); in snmp_parse_inbound_frame() [all …]
|
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() 251 …*column, const u32_t *row_oid, u8_t row_oid_len, union snmp_variant_value *value, u32_t *value_len) in ip_AddrTable_get_cell_value() argument 268 return ip_AddrTable_get_cell_value_core(netif, column, value, value_len); in ip_AddrTable_get_cell_value() 277 …onst u32_t *column, struct snmp_obj_id *row_oid, union snmp_variant_value *value, u32_t *value_len) in ip_AddrTable_get_next_cell_instance_and_value() argument 299 …return ip_AddrTable_get_cell_value_core((struct netif *)state.reference, column, value, value_len); in ip_AddrTable_get_next_cell_instance_and_value() 317 …*netif, u8_t default_route, const u32_t *column, union snmp_variant_value *value, u32_t *value_len) in ip_RouteTable_get_cell_value_core() argument 386 *value_len = snmp_zero_dot_zero.len * sizeof(u32_t); in ip_RouteTable_get_cell_value_core() 396 …*column, const u32_t *row_oid, u8_t row_oid_len, union snmp_variant_value *value, u32_t *value_len) in ip_RouteTable_get_cell_value() argument 412 return ip_RouteTable_get_cell_value_core(netif_default, 1, column, value, value_len); in ip_RouteTable_get_cell_value() [all …]
|
D | snmp_mib2_udp.c | 118 …*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 125 LWIP_UNUSED_ARG(value_len); in udp_endpointTable_get_cell_value() 165 …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 175 LWIP_UNUSED_ARG(value_len); in udp_endpointTable_get_next_cell_instance_and_value() 226 …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 228 LWIP_UNUSED_ARG(value_len); in udp_Table_get_cell_value_core() 247 …*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 268 return udp_Table_get_cell_value_core(pcb, column, value, value_len); in udp_Table_get_cell_value() 279 …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 308 … 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()
|
D | snmp_mib2_tcp.c | 165 …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 167 LWIP_UNUSED_ARG(value_len); in tcp_ConnTable_get_cell_value_core() 203 …*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 236 return tcp_ConnTable_get_cell_value_core(pcb, column, value, value_len); in tcp_ConnTable_get_cell_value() 242 return tcp_ConnTable_get_cell_value_core(pcb, column, value, value_len); in tcp_ConnTable_get_cell_value() 256 …onst u32_t *column, struct snmp_obj_id *row_oid, union snmp_variant_value *value, u32_t *value_len) in tcp_ConnTable_get_next_cell_instance_and_value() argument 300 …urn tcp_ConnTable_get_cell_value_core((struct tcp_pcb *)state.reference, column, value, value_len); in tcp_ConnTable_get_next_cell_instance_and_value() 330 …*column, const u32_t *row_oid, u8_t row_oid_len, union snmp_variant_value *value, u32_t *value_len) in tcp_ConnectionTable_get_cell_value() argument 339 LWIP_UNUSED_ARG(value_len); in tcp_ConnectionTable_get_cell_value() 374 …onst u32_t *column, struct snmp_obj_id *row_oid, union snmp_variant_value *value, u32_t *value_len) in tcp_ConnectionTable_get_next_cell_instance_and_value() argument [all …]
|
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() 375 tlv->value_len = data; in snmp_asn1_dec_tlv() 382 tlv->value_len = 0; in snmp_asn1_dec_tlv() 386 if (tlv->value_len > 0xFF) { in snmp_asn1_dec_tlv() 390 tlv->value_len <<= 8; in snmp_asn1_dec_tlv() 391 tlv->value_len |= data; in snmp_asn1_dec_tlv() 394 if (tlv->value_len == 0xFFFF) { in snmp_asn1_dec_tlv()
|
D | snmp_traps.c | 403 snmp_asn1_enc_s32t_cnt(trap->snmp_version, &tlv.value_len); in snmp_trap_header_enc() 405 BUILD_EXEC( snmp_asn1_enc_s32t(pbuf_stream, tlv.value_len, trap->snmp_version) ); in snmp_trap_header_enc() 418 snmp_asn1_enc_oid_cnt(trap->enterprise->id, trap->enterprise->len, &tlv.value_len); in snmp_trap_header_enc() 439 snmp_asn1_enc_s32t_cnt(trap->gen_trap, &tlv.value_len); in snmp_trap_header_enc() 441 BUILD_EXEC( snmp_asn1_enc_s32t(pbuf_stream, tlv.value_len, trap->gen_trap) ); in snmp_trap_header_enc() 445 snmp_asn1_enc_s32t_cnt(trap->spc_trap, &tlv.value_len); in snmp_trap_header_enc() 447 BUILD_EXEC( snmp_asn1_enc_s32t(pbuf_stream, tlv.value_len, trap->spc_trap) ); in snmp_trap_header_enc() 451 snmp_asn1_enc_s32t_cnt(trap->ts, &tlv.value_len); in snmp_trap_header_enc() 453 BUILD_EXEC( snmp_asn1_enc_s32t(pbuf_stream, tlv.value_len, trap->ts) ); in snmp_trap_header_enc()
|
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… 207 snmp_scalar_array_set_test(struct snmp_node_instance *instance, u16_t value_len, void *value) in snmp_scalar_array_set_test() argument 214 result = array_node->set_test(array_node_def, value_len, value); in snmp_scalar_array_set_test() 220 snmp_scalar_array_set_value(struct snmp_node_instance *instance, u16_t value_len, void *value) in snmp_scalar_array_set_value() argument 227 result = array_node->set_value(array_node_def, value_len, value); in snmp_scalar_array_set_value()
|
D | snmp_asn1.h | 78 u16_t value_len; /* encoded length of the value */ member 81 #define SNMP_ASN1_TLV_LENGTH(tlv) ((tlv).type_len + (tlv).length_len + (tlv).value_len) 82 … = (type_); (tlv).type_len = 0; (tlv).length_len = (length_len_); (tlv).value_len = (value_len_); …
|
/third_party/skia/third_party/externals/freetype/src/type1/ |
D | t1driver.c | 193 FT_ULong value_len = value_len_ < 0 ? 0 : (FT_ULong)value_len_; in t1_ps_get_font_value() local 203 if ( value && value_len >= retval ) in t1_ps_get_font_value() 215 if ( value && value_len >= retval ) in t1_ps_get_font_value() 245 if ( value && value_len >= retval ) in t1_ps_get_font_value() 269 if ( value && value_len >= retval ) in t1_ps_get_font_value() 277 if ( value && value_len >= retval ) in t1_ps_get_font_value() 284 if ( value && value_len >= retval ) in t1_ps_get_font_value() 290 if ( value && value_len >= retval ) in t1_ps_get_font_value() 298 if ( value && value_len >= retval ) in t1_ps_get_font_value() 310 if ( value && value_len >= retval ) in t1_ps_get_font_value() [all …]
|
/third_party/freetype/src/type1/ |
D | t1driver.c | 193 FT_ULong value_len = value_len_ < 0 ? 0 : (FT_ULong)value_len_; in t1_ps_get_font_value() local 203 if ( value && value_len >= retval ) in t1_ps_get_font_value() 215 if ( value && value_len >= retval ) in t1_ps_get_font_value() 245 if ( value && value_len >= retval ) in t1_ps_get_font_value() 269 if ( value && value_len >= retval ) in t1_ps_get_font_value() 277 if ( value && value_len >= retval ) in t1_ps_get_font_value() 284 if ( value && value_len >= retval ) in t1_ps_get_font_value() 290 if ( value && value_len >= retval ) in t1_ps_get_font_value() 298 if ( value && value_len >= retval ) in t1_ps_get_font_value() 310 if ( value && value_len >= retval ) in t1_ps_get_font_value() [all …]
|
/third_party/flutter/skia/third_party/externals/freetype/src/type1/ |
D | t1driver.c | 194 FT_ULong value_len = value_len_ < 0 ? 0 : (FT_ULong)value_len_; in t1_ps_get_font_value() local 204 if ( value && value_len >= retval ) in t1_ps_get_font_value() 216 if ( value && value_len >= retval ) in t1_ps_get_font_value() 246 if ( value && value_len >= retval ) in t1_ps_get_font_value() 270 if ( value && value_len >= retval ) in t1_ps_get_font_value() 278 if ( value && value_len >= retval ) in t1_ps_get_font_value() 285 if ( value && value_len >= retval ) in t1_ps_get_font_value() 291 if ( value && value_len >= retval ) in t1_ps_get_font_value() 299 if ( value && value_len >= retval ) in t1_ps_get_font_value() 311 if ( value && value_len >= retval ) in t1_ps_get_font_value() [all …]
|
/third_party/pulseaudio/src/pulsecore/ |
D | modargs.c | 121 size_t key_len = 0, value_len = 0; in parse() local 151 value_len = 0; in parse() 155 value_len = 0; in parse() 167 value_len = 1; in parse() 171 value_len = 1; in parse() 179 pa_xstrndup(value, value_len), in parse() 186 value_len++; in parse() 188 value_len++; in parse() 193 value_len++; in parse() 200 pa_xstrndup(value, value_len), in parse() [all …]
|
/third_party/toybox/toys/pending/ |
D | getfattr.c | 71 ssize_t value_len; local 74 while ((value_len = getter(file, key, NULL, 0))) { 75 if (value_len == -1) perror_msg("getxattr failed"); 76 value = xzalloc(value_len+1); 77 if (getter(file, key, value, value_len) == value_len) break;
|
/third_party/pulseaudio/src/pulse/ |
D | proplist.c | 466 size_t key_len = 0, value_len = 0; in pa_proplist_from_string() local 515 value_len = 0; in pa_proplist_from_string() 520 value_len = 0; in pa_proplist_from_string() 524 value_len = 0; in pa_proplist_from_string() 528 value_len = 1; in pa_proplist_from_string() 534 if (proplist_setn(pl, key, key_len, value, value_len) < 0) in pa_proplist_from_string() 542 value_len++; in pa_proplist_from_string() 551 v = pa_unescape(pa_xstrndup(value, value_len)); in pa_proplist_from_string() 562 value_len++; in pa_proplist_from_string() 564 value_len++; in pa_proplist_from_string() [all …]
|
/third_party/e2fsprogs/lib/ext2fs/ |
D | ext_attr.c | 300 unsigned int value_len; member 655 value_size = ((x->value_len + EXT2_EXT_ATTR_PAD - 1) / in write_xattrs_to_buffer() 662 e->e_value_size = x->value_len; in write_xattrs_to_buffer() 939 x->value_len = entry->e_value_size; in read_xattrs_from_buffer() 1099 size_t value_len, void *data), in ext2fs_xattrs_iterate() argument 1108 ret = func(x->name, x->value, x->value_len, data); in ext2fs_xattrs_iterate() 1121 void **value, size_t *value_len) in ext2fs_xattr_get() argument 1135 err = convert_disk_buffer_to_posix_acl(x->value, x->value_len, in ext2fs_xattr_get() 1136 value, value_len); in ext2fs_xattr_get() 1139 err = ext2fs_get_mem(x->value_len, &val); in ext2fs_xattr_get() [all …]
|
/third_party/gettext/gettext-runtime/intl/ |
D | localealias.c | 321 size_t value_len; in read_alias_file() local 328 value_len = strlen (value) + 1; in read_alias_file() 330 if (string_space_act + alias_len + value_len > string_space_max) in read_alias_file() 334 + (alias_len + value_len > 1024 in read_alias_file() 335 ? alias_len + value_len : 1024)); in read_alias_file() 362 value, value_len); in read_alias_file() 363 string_space_act += value_len; in read_alias_file()
|
/third_party/e2fsprogs/debugfs/ |
D | xattrs.c | 68 static void print_xattr(FILE *f, char *name, char *value, size_t value_len, in print_xattr() argument 72 fprintf(f, " (%zu)", value_len); in print_xattr() 75 value_len = 0; in print_xattr() 76 if (value_len != 0 && in print_xattr() 77 (!(print_flags & PRINT_XATTR_STATFMT) || (value_len < 40))) { in print_xattr() 79 print_xattr_string(f, value, value_len, print_flags); in print_xattr() 84 static int dump_attr(char *name, char *value, size_t value_len, void *data) in dump_attr() argument 89 print_xattr(out, name, value, value_len, PRINT_XATTR_STATFMT); in dump_attr()
|
/third_party/curl/lib/vquic/ |
D | quiche.c | 448 uint8_t *value, size_t value_len, in cb_each_header() argument 457 (int) value_len, value); in cb_each_header() 465 (int)name_len, name, (int) value_len, value); in cb_each_header() 674 nva[0].value_len = (size_t)(end - hdbuf); in http_request() 691 nva[1].value_len = (size_t)(end - hdbuf); in http_request() 699 nva[2].value_len = strlen((char *)nva[2].value); in http_request() 750 nva[i].value_len = sizeof("trailers") - 1; in http_request() 754 nva[i].value_len = (size_t)(end - hdbuf); in http_request() 758 nva[i].value_len = (size_t)(end - hdbuf); in http_request() 779 acc += nva[i].name_len + nva[i].value_len; in http_request() [all …]
|
/third_party/libsnd/src/ |
D | sd2.c | 82 int value_len ; member 219 { if (str_rsrc [k].value_len == 0) in sd2_write_rsrc_fork() 220 { str_rsrc [k].value_len = strlen (str_rsrc [k].value) ; in sd2_write_rsrc_fork() 221 str_rsrc [k].value [0] = str_rsrc [k].value_len - 1 ; in sd2_write_rsrc_fork() 236 rsrc.data_length += str_rsrc [k].value_len + 4 ; in sd2_write_rsrc_fork() 286 psf_binheader_writef (psf, "Eo4", BHWo (data_offset), BHW4 (str_rsrc [k].value_len)) ; in sd2_write_rsrc_fork() 288 …ef (psf, "Eob", BHWo (data_offset + 4), BHWv (str_rsrc [k].value), BHWz (str_rsrc [k].value_len)) ; in sd2_write_rsrc_fork() 289 data_offset += 4 + str_rsrc [k].value_len ; in sd2_write_rsrc_fork()
|
/third_party/grpc/src/core/ext/transport/chttp2/transport/ |
D | hpack_table.cc | 234 size_t value_len = GRPC_SLICE_LENGTH(GRPC_MDVALUE(elem)); in grpc_chttp2_get_size_in_hpack_table() local 237 ? value_len + 1 in grpc_chttp2_get_size_in_hpack_table() 238 : get_base64_encoded_size(value_len)); in grpc_chttp2_get_size_in_hpack_table() 240 return overhead_and_key + value_len; in grpc_chttp2_get_size_in_hpack_table()
|
/third_party/ffmpeg/libavcodec/ |
D | libvpxenc.c | 389 static void vp8_ts_parse_int_array(int *dest, char *value, size_t value_len, int max_entries) in vp8_ts_parse_int_array() argument 402 static void vp8_ts_parse_int64_array(int64_t *dest, char *value, size_t value_len, int max_entries) in vp8_ts_parse_int64_array() argument 522 size_t value_len = strlen(value); in vpx_ts_param_parse() local 525 if (!value_len) in vpx_ts_param_parse() 532 vp8_ts_parse_int_array(enccfg->ts_target_bitrate, value, value_len, VPX_TS_MAX_LAYERS); in vpx_ts_param_parse() 535 … vp8_ts_parse_int_array(enccfg->layer_target_bitrate, value, value_len, VPX_TS_MAX_LAYERS); in vpx_ts_param_parse() 538 vp8_ts_parse_int_array(enccfg->ts_rate_decimator, value, value_len, VPX_TS_MAX_LAYERS); in vpx_ts_param_parse() 542 vp8_ts_parse_int_array(enccfg->ts_layer_id, value, value_len, VPX_TS_MAX_PERIODICITY); in vpx_ts_param_parse() 566 size_t value_len = strlen(value); in vpx_ref_frame_config_set_value() local 568 if (!value_len) in vpx_ref_frame_config_set_value() [all …]
|
/third_party/eudev/src/shared/ |
D | strbuf.c | 151 off = node->value_off + node->value_len - len; in strbuf_add_string() 152 … if (depth == len || (node->value_len >= len && memcmp(str->buf + off, s, len) == 0)) { in strbuf_add_string() 183 node_child->value_len = len; in strbuf_add_string()
|
/third_party/skia/third_party/externals/freetype/src/base/ |
D | fttype1.c | 107 FT_Long value_len ) in FT_Get_PS_Font_Value() argument 119 value, value_len ); in FT_Get_PS_Font_Value()
|
/third_party/flutter/skia/third_party/externals/freetype/src/base/ |
D | fttype1.c | 108 FT_Long value_len ) in FT_Get_PS_Font_Value() argument 120 value, value_len ); in FT_Get_PS_Font_Value()
|