HomeSort by relevance Sort by last modified time
    Searched refs:BitString (Results 1 - 25 of 32) sorted by null

1 2

  /art/runtime/
subtype_check_bits.h 34 * | | Bitstring |
42 * The bitstring takes up to 23 bits; anything exceeding that is truncated:
43 * - Path To Root is a list of chars, encoded as a BitString:
45 * Paths longer than BitString::kCapacity are truncated to fit within the BitString.
52 * BitString capacity, the remaining bits are (unused) and left as 0s.
59 BITSTRUCT_DEFINE_START(SubtypeCheckBits, /*size*/ BitString::BitStructSizeOf() + 1u)
60 BitStructField<BitString, /*lsb*/ 0> bitstring_;
61 BitStructUint</*lsb*/ BitString::BitStructSizeOf(), /*width*/ 1> overflow_;
subtype_check_info_test.cc 24 constexpr size_t BitString::kBitSizeAtPosition[BitString::kCapacity];
25 constexpr size_t BitString::kCapacity;
32 // so they are not in the main BitString class.
33 std::string Stringify(BitString bit_string) {
40 return BitStringChar(val, BitString::MaybeGetBitLengthAtPosition(idx));
47 BitString MakeBitString(std::initializer_list<size_t> values = {}) {
48 CHECK_GE(BitString::kCapacity, values.size());
50 BitString bs{};
68 // Make max bistring, e.g. BitString[4095,15,2047] for {12,4,11
    [all...]
subtype_check_info.h 38 * * PathToRoot - Possibly truncated BitString that encodes path to root
71 * // For a class that has an Initialized bitstring, its superclass needs to have an
72 * // Assigned bitstring since if its super class's bitstring is not Assigned yet,
84 * PathToRoot := Bitstring[0..Safe(Depth))
85 * Next := Bitstring[Depth]
122 * // Initialized State corresponds to exactly 1 bitstring.
146 // Chop off the depth, returning only the bitstring+of state.
152 // Create from the depth and the bitstring+of state.
176 BitString::StorageType source_value = GetEncodedPathToRoot()
    [all...]
subtype_check_bits_and_status.h 70 BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf<BitString::StorageType>())
75 BitStructInt</*lsb*/ 0, /*width*/ BitSizeOf<BitString::StorageType>()> int32_alias_;
subtype_check_test.cc 24 constexpr size_t BitString::kBitSizeAtPosition[BitString::kCapacity];
25 constexpr size_t BitString::kCapacity;
32 // Start the numbering at '1' to match the bitstring numbering.
33 // A bitstring numbering never starts at '0' which just means 'no value'.
209 << ", bitstring: " << iod.bitstring_
244 BitString::StorageType GetEncodedPathToRootForSource() const
250 BitString::StorageType GetEncodedPathToRootForTarget() const
256 BitString::StorageType GetEncodedPathToRootMask() const
305 CreateRootedTree(BitString::kCapacity + 2u, BitString::kCapacity + 2u)
    [all...]
subtype_check.h 27 // Build flag for the bitstring subtype check runtime hooks.
216 * Since the # of characters in our alphabet (BitString) is very limited, we want to avoid
289 // Retrieve the path to root bitstring as a plain uintN_t value that is amenable to
295 static BitString::StorageType GetEncodedPathToRootForSource(ClassPtr klass)
302 // Retrieve the path to root bitstring as a plain uintN_t value that is amenable to
308 static BitString::StorageType GetEncodedPathToRootForTarget(ClassPtr klass)
315 // Retrieve the path to root bitstring mask as a plain uintN_t value that is amenable to
321 static BitString::StorageType GetEncodedPathToRootMask(ClassPtr klass)
348 // Print SubtypeCheck bitstring and overflow to a stream (e.g. for oatdump).
  /art/libartbase/base/
bit_string_test.cc 24 constexpr size_t BitString::kBitSizeAtPosition[BitString::kCapacity];
25 constexpr size_t BitString::kCapacity;
32 // so they are not in the main BitString class.
33 std::string Stringify(BitString bit_string) {
40 return BitStringChar(val, BitString::MaybeGetBitLengthAtPosition(idx));
47 BitString MakeBitString(std::initializer_list<size_t> values = {}) {
48 CHECK_GE(BitString::kCapacity, values.size());
50 BitString bs{};
68 // Make max bitstring, e.g. BitString[4095,15,2047] for {12,4,11
    [all...]
bit_string.h 32 * into a BitString, while restricting the bitlength.
37 * See also BitString below.
55 // (Data could use less bits, but this is the maximum bit capacity at that BitString position).
95 // (Useful to figure out the maximum value for this BitString position.)
115 * BitString
126 * bitlength, as defined by len[pos]. This BitString can be nested inside of a BitStruct
132 * // Padded with trailing 0s to fit (N+1) bitstring chars.
134 * StrLen(Bitstring) := I s.t. (I == 0 OR Char(I-1) != 0)
137 * Bitstring[N] := CharN
138 * Bitstring[I..N) := [CharI, CharI+1, ... CharN-1
    [all...]
  /prebuilts/go/darwin-x86/src/vendor/golang_org/x/crypto/cryptobyte/
asn1_test.go 281 out encoding_asn1.BitString
283 {[]byte{}, false, encoding_asn1.BitString{}},
284 {[]byte{0x00}, true, encoding_asn1.BitString{}},
285 {[]byte{0x07, 0x00}, true, encoding_asn1.BitString{Bytes: []byte{0}, BitLength: 1}},
286 {[]byte{0x07, 0x01}, false, encoding_asn1.BitString{}},
287 {[]byte{0x07, 0x40}, false, encoding_asn1.BitString{}},
288 {[]byte{0x08, 0x00}, false, encoding_asn1.BitString{}},
289 {[]byte{0xff}, false, encoding_asn1.BitString{}},
290 {[]byte{0xfe, 0x00}, false, encoding_asn1.BitString{}},
294 var out encoding_asn1.BitString
    [all...]
  /prebuilts/go/linux-x86/src/vendor/golang_org/x/crypto/cryptobyte/
asn1_test.go 281 out encoding_asn1.BitString
283 {[]byte{}, false, encoding_asn1.BitString{}},
284 {[]byte{0x00}, true, encoding_asn1.BitString{}},
285 {[]byte{0x07, 0x00}, true, encoding_asn1.BitString{Bytes: []byte{0}, BitLength: 1}},
286 {[]byte{0x07, 0x01}, false, encoding_asn1.BitString{}},
287 {[]byte{0x07, 0x40}, false, encoding_asn1.BitString{}},
288 {[]byte{0x08, 0x00}, false, encoding_asn1.BitString{}},
289 {[]byte{0xff}, false, encoding_asn1.BitString{}},
290 {[]byte{0xfe, 0x00}, false, encoding_asn1.BitString{}},
294 var out encoding_asn1.BitString
    [all...]
  /prebuilts/go/darwin-x86/src/crypto/x509/
sec1.go 28 PublicKey asn1.BitString `asn1:"optional,explicit,tag:1"`
57 PublicKey: asn1.BitString{Bytes: elliptic.Marshal(key.Curve, key.X, key.Y)},
x509.go 44 BitString asn1.BitString
115 BitString: asn1.BitString{
131 SignatureValue asn1.BitString
143 UniqueId asn1.BitString `asn1:"optional,tag:1"`
144 SubjectUniqueId asn1.BitString `asn1:"optional,tag:2"`
165 PublicKey asn1.BitString
    [all...]
  /prebuilts/go/darwin-x86/src/encoding/asn1/
marshal_test.go 124 {BitString{[]byte{0x80}, 1}, "03020780"},
125 {BitString{[]byte{0x81, 0xf0}, 12}, "03030481f0"},
asn1.go 155 // BitString is the structure to use when you want an ASN.1 BIT STRING type. A
158 type BitString struct {
165 func (b BitString) At(i int) int {
175 // slice may share memory with the BitString.
176 func (b BitString) RightAlign() []byte {
193 func parseBitString(bytes []byte) (ret BitString, err error) {
626 bitStringType = reflect.TypeOf(BitString{})
1004 // An ASN.1 BIT STRING can be written to a BitString.
asn1_test.go 181 bs := BitString{[]byte{0x82, 0x40}, 16}
219 bs := BitString{test.in, test.inlen}
485 {[]byte{0x03, 0x04, 0x06, 0x6e, 0x5d, 0xc0}, &BitString{[]byte{110, 93, 192}, 18}},
522 SignatureValue BitString
554 PublicKey BitString
663 PublicKey: BitString{
678 SignatureValue: BitString{
    [all...]
marshal.go 231 type bitStringEncoder BitString
428 return bitStringEncoder(value.Interface().(BitString)), nil
  /prebuilts/go/linux-x86/src/crypto/x509/
sec1.go 28 PublicKey asn1.BitString `asn1:"optional,explicit,tag:1"`
57 PublicKey: asn1.BitString{Bytes: elliptic.Marshal(key.Curve, key.X, key.Y)},
x509.go 44 BitString asn1.BitString
115 BitString: asn1.BitString{
131 SignatureValue asn1.BitString
143 UniqueId asn1.BitString `asn1:"optional,tag:1"`
144 SubjectUniqueId asn1.BitString `asn1:"optional,tag:2"`
165 PublicKey asn1.BitString
    [all...]
  /prebuilts/go/linux-x86/src/encoding/asn1/
marshal_test.go 124 {BitString{[]byte{0x80}, 1}, "03020780"},
125 {BitString{[]byte{0x81, 0xf0}, 12}, "03030481f0"},
asn1.go 155 // BitString is the structure to use when you want an ASN.1 BIT STRING type. A
158 type BitString struct {
165 func (b BitString) At(i int) int {
175 // slice may share memory with the BitString.
176 func (b BitString) RightAlign() []byte {
193 func parseBitString(bytes []byte) (ret BitString, err error) {
626 bitStringType = reflect.TypeOf(BitString{})
1004 // An ASN.1 BIT STRING can be written to a BitString.
asn1_test.go 181 bs := BitString{[]byte{0x82, 0x40}, 16}
219 bs := BitString{test.in, test.inlen}
485 {[]byte{0x03, 0x04, 0x06, 0x6e, 0x5d, 0xc0}, &BitString{[]byte{110, 93, 192}, 18}},
522 SignatureValue BitString
554 PublicKey BitString
663 PublicKey: BitString{
678 SignatureValue: BitString{
    [all...]
marshal.go 231 type bitStringEncoder BitString
428 return bitStringEncoder(value.Interface().(BitString)), nil
  /prebuilts/go/darwin-x86/src/crypto/x509/pkix/
pkix.go 247 SignatureValue asn1.BitString
  /prebuilts/go/linux-x86/src/crypto/x509/pkix/
pkix.go 247 SignatureValue asn1.BitString
  /art/runtime/mirror/
class.cc 49 constexpr size_t BitString::kBitSizeAtPosition[BitString::kCapacity];
50 constexpr size_t BitString::kCapacity;
    [all...]

Completed in 492 milliseconds

1 2