Searched refs:unused_bits (Results 1 – 8 of 8) sorted by relevance
/third_party/mbedtls/tests/suites/ |
D | test_suite_asn1parse.data | 40 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 …]
|
D | test_suite_asn1write.function | 445 TEST_EQUAL(read.unused_bits, 8 * byte_length - value_bits);
|
D | test_suite_asn1parse.function | 540 TEST_EQUAL(bs.unused_bits, expected_unused_bits);
|
/third_party/mbedtls/library/ |
D | asn1write.c | 313 size_t unused_bits, byte_len; in mbedtls_asn1_write_named_bitstring() local 319 unused_bits = (byte_len * 8) - bits; in mbedtls_asn1_write_named_bitstring() 328 cur_byte_shifted = *cur_byte >> unused_bits; in mbedtls_asn1_write_named_bitstring() 357 size_t unused_bits, byte_len; in mbedtls_asn1_write_bitstring() local 360 unused_bits = (byte_len * 8) - bits; in mbedtls_asn1_write_bitstring() 371 *--(*p) = buf[byte_len] & ~((0x1 << unused_bits) - 1); in mbedtls_asn1_write_bitstring() 377 *--(*p) = (unsigned char) unused_bits; in mbedtls_asn1_write_bitstring()
|
D | asn1parse.c | 237 bs->unused_bits = **p; in mbedtls_asn1_get_bitstring() 238 if (bs->unused_bits > 7) { in mbedtls_asn1_get_bitstring()
|
/third_party/node/deps/brotli/c/dec/ |
D | bit_reader.h | 225 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/ |
D | bit_reader.h | 225 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/ |
D | asn1.h | 166 unsigned char unused_bits; /**< Number of unused bits at the end of the string */ member
|