HomeSort by relevance Sort by last modified time
    Searched refs:BitString (Results 1 - 25 of 38) 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'.
211 << ", bitstring: " << iod.bitstring_
246 BitString::StorageType GetEncodedPathToRootForSource() const
252 BitString::StorageType GetEncodedPathToRootForTarget() const
258 BitString::StorageType GetEncodedPathToRootMask() const
307 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
300 // Retrieve the path to root bitstring as a plain uintN_t value that is amenable to
306 static BitString::StorageType GetEncodedPathToRootForSource(ClassPtr klass)
313 // Retrieve the path to root bitstring as a plain uintN_t value that is amenable to
319 static BitString::StorageType GetEncodedPathToRootForTarget(ClassPtr klass)
327 // Retrieve the path to root bitstring mask as a plain uintN_t value that is amenable to
333 static BitString::StorageType GetEncodedPathToRootMask(ClassPtr klass)
361 // 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...]
  /external/python/pyasn1-modules/pyasn1_modules/
rfc2314.py 35 class Signature(univ.BitString):
rfc2511.py 70 namedtype.OptionalNamedType('encSymmKey', univ.BitString().subtype(
76 namedtype.NamedType('encValue', univ.BitString())
134 univ.BitString().subtype(implicitTag=tag.Tag(tag.tagClassContext, tag.tagFormatSimple, 0))),
138 univ.BitString().subtype(implicitTag=tag.Tag(tag.tagClassContext, tag.tagFormatSimple, 2)))
154 namedtype.NamedType('value', univ.BitString())
179 namedtype.NamedType('signature', univ.BitString())
rfc4211.py 67 namedtype.NamedType('value', univ.BitString())
100 namedtype.NamedType('signature', univ.BitString())
133 namedtype.OptionalNamedType('encSymmKey', univ.BitString().subtype(
139 namedtype.NamedType('encValue', univ.BitString())
212 univ.BitString().subtype(implicitTag=tag.Tag(tag.tagClassContext, tag.tagFormatSimple, 0))),
216 univ.BitString().subtype(implicitTag=tag.Tag(tag.tagClassContext, tag.tagFormatSimple, 2))),
rfc2560.py 158 namedtype.NamedType('signature', univ.BitString()),
202 namedtype.NamedType('signature', univ.BitString()),
rfc3279.py 76 namedtype.NamedType('seed', univ.BitString()),
170 namedtype.OptionalNamedType('seed', univ.BitString())
rfc3281.py 47 namedtype.NamedType('objectDigest', univ.BitString())
109 class ClassList(univ.BitString):
260 namedtype.NamedType('signatureValue', univ.BitString())
rfc2315.py 157 class Signature(univ.BitString):
206 namedtype.NamedType('signature', univ.BitString())
rfc4210.py 215 class PKIFailureInfo(univ.BitString):
458 namedtype.NamedType('hashVal', univ.BitString())
511 class PKIProtection(univ.BitString):
rfc2459.py 316 namedtype.NamedType('seed', univ.BitString()),
802 class ReasonFlags(univ.BitString):
    [all...]
  /external/python/pyasn1/pyasn1/codec/der/
decoder.py 25 {univ.BitString.tagSet: BitStringDecoder(),
  /external/python/pyasn1/tests/codec/native/
test_decoder.py 51 assert decoder.decode('11111111', asn1Spec=univ.BitString()) == univ.BitString(hexValue='ff')
test_encoder.py 55 self.b = univ.BitString((1, 0, 1, 0, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 1))
  /external/python/pyasn1/pyasn1/codec/cer/
decoder.py 45 univ.BitString.tagSet: BitStringDecoder(),
  /external/python/pyasn1/pyasn1/codec/native/
decoder.py 25 return asn1Spec.clone(univ.BitString.fromBinaryString(pyObject))
68 univ.BitString.tagSet: BitStringDecoder(),
99 univ.BitString.typeId: BitStringDecoder(),
encoder.py 107 univ.BitString.tagSet: BitStringEncoder(),
  /external/python/pyasn1/tests/type/
test_univ.py 385 self.b = univ.BitString(
391 class BinDefault(univ.BitString):
394 assert BinDefault() == univ.BitString(binValue='1010100110001010')
398 class HexDefault(univ.BitString):
401 assert HexDefault() == univ.BitString(hexValue='A98A')
418 assert 'BitString' in repr(self.b.clone('Urgent,Active'))
421 assert univ.BitString().tagSet == tag.TagSet(
436 assert list(reversed(univ.BitString([0, 0, 1]))) == list(univ.BitString([1, 0, 0]))
453 class BitString(univ.BitString)
    [all...]
  /external/python/pyasn1/tests/codec/der/
test_encoder.py 39 univ.BitString((1,))
44 univ.BitString((1,) * 80000)

Completed in 870 milliseconds

1 2