OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:BitString
(Results
1 - 3
of
3
) sorted by null
/art/libartbase/base/
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/pyasn1/type/
univ.py
25
__all__ = ['Integer', 'Boolean', '
BitString
', 'OctetString', 'Null',
358
class
BitString
(base.AbstractSimpleAsn1Item):
396
class Rights(
BitString
):
527
bitString
= self._value
529
bitString
<<= len(self._value)
530
bitString
|= self._value
532
return self.clone(
bitString
)
698
elif isinstance(value,
BitString
):
706
'Bad
BitString
initializer type \'%s\'' % (value,)
[
all
...]
/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
...]
Completed in 2144 milliseconds