Lines Matching defs:length
75 /* write length */
84 /* check for forced min length */
87 /* unable to code requested length in requested number of bytes */
99 data = 0x80 | length_bytes_required; /* extended length definition, 1 length byte follows */
128 * @param raw_len raw data length
144 * @param octets_needed encoding length (from snmp_asn1_enc_u32t_cnt())
176 * @param octets_needed encoding length (from snmp_asn1_enc_s32t_cnt())
202 * @param oid_len object identifier array length
247 * Returns octet count for length.
249 * @param length parameter length
253 snmp_asn1_enc_length_cnt(u16_t length, u8_t *octets_needed)
255 if (length < 0x80U) {
257 } else if (length < 0x100U) {
272 * of 0xFFFFFFFF is preceded with 0x00 and the length is 5 octets!!
319 * @param oid_len object identifier array length
370 /* now, decode length */
378 if (length_bytes > pbuf_stream->length) {
381 tlv->length_len = length_bytes + 1; /* this byte + defined number of length bytes following */
393 /* take care for special value used for indefinite length */
400 } else { /* data == 0x80 indefinite length form */
412 * @param len length of the coded integer field
418 * of 0xFFFFFFFF is preceded with 0x00 and the length is 5 octets!!
452 * @param len length of the coded integer field
491 * @param len length of the coded object identifier
493 * @param oid_len return decoded object identifier length
538 /* accepting zero length identifiers e.g. for getnext operation. uncommon but valid */
582 * @param len length of the coded raw data (zero is valid, e.g. empty string!)
584 * @param buf_len returns length of the raw return value
615 * of 0xFFFFFFFFFFFFFFFF is preceded with 0x00 and the length is 9 octets!!
625 /* low u32 does not matter for length determination */
635 * @param len length of the coded integer field
641 * of 0xFFFFFFFFFFFFFFFF is preceded with 0x00 and the length is 9 octets!!
674 * @param octets_needed encoding length (from snmp_asn1_enc_u32t_cnt())