Home
last modified time | relevance | path

Searched refs:unused_bits (Results 1 – 7 of 7) sorted by relevance

/third_party/mbedtls/tests/suites/
Dtest_suite_asn1parse.data40 Prefixes of BIT STRING, unused_bits=0, payload_length=0
43 Prefixes of BIT STRING, unused_bits=0, payload_length=1
46 Prefixes of BIT STRING, unused_bits=1, payload_length=1
379 BIT STRING: octets=0, unused_bits=0
382 BIT STRING: octets=0, unused_bits=7
385 BIT STRING: octets=0, unused_bits=8
388 BIT STRING: octets=1, unused_bits=0
391 BIT STRING: octets=1, unused_bits=7
394 BIT STRING: octets=1, unused_bits=8
397 BIT STRING: octets=2, unused_bits=0
[all …]
Dtest_suite_asn1parse.function561 TEST_EQUAL( bs.unused_bits, expected_unused_bits );
/third_party/mbedtls/library/
Dasn1write.c306 size_t unused_bits, byte_len; in mbedtls_asn1_write_named_bitstring() local
312 unused_bits = ( byte_len * 8 ) - bits; in mbedtls_asn1_write_named_bitstring()
322 cur_byte_shifted = *cur_byte >> unused_bits; in mbedtls_asn1_write_named_bitstring()
349 size_t unused_bits, byte_len; in mbedtls_asn1_write_bitstring() local
352 unused_bits = ( byte_len * 8 ) - bits; in mbedtls_asn1_write_bitstring()
363 *--( *p ) = buf[byte_len] & ~( ( 0x1 << unused_bits ) - 1 ); in mbedtls_asn1_write_bitstring()
369 *--( *p ) = (unsigned char)unused_bits; in mbedtls_asn1_write_bitstring()
Dasn1parse.c229 bs->unused_bits = **p; in mbedtls_asn1_get_bitstring()
230 if( bs->unused_bits > 7 ) in mbedtls_asn1_get_bitstring()
/third_party/node/deps/brotli/c/dec/
Dbit_reader.h225 uint32_t unused_bits = unused_bytes << 3; in BrotliBitReaderUnload() local
228 if (unused_bits == sizeof(br->val_) << 3) { in BrotliBitReaderUnload()
231 br->val_ <<= unused_bits; in BrotliBitReaderUnload()
233 br->bit_pos_ += unused_bits; in BrotliBitReaderUnload()
/third_party/skia/third_party/externals/brotli/c/dec/
Dbit_reader.h225 uint32_t unused_bits = unused_bytes << 3; in BrotliBitReaderUnload() local
228 if (unused_bits == sizeof(br->val_) << 3) { in BrotliBitReaderUnload()
231 br->val_ <<= unused_bits; in BrotliBitReaderUnload()
233 br->bit_pos_ += unused_bits; in BrotliBitReaderUnload()
/third_party/mbedtls/include/mbedtls/
Dasn1.h167 unsigned char unused_bits; /**< Number of unused bits at the end of the string */ member