HomeSort by relevance Sort by last modified time
    Searched refs:str2octs (Results 1 - 5 of 5) sorted by null

  /external/chromium-trace/catapult/third_party/gsutil/third_party/pyasn1/pyasn1/compat/
octets.py 9 str2octs = lambda x: x variable
18 str2octs = lambda x: x.encode() variable
  /external/chromium-trace/catapult/third_party/gsutil/third_party/pyasn1/test/codec/cer/
test_decoder.py 3 from pyasn1.compat.octets import ints2octs, str2octs, null namespace
25 ) == (str2octs('Quick brown fox'), null)
29 ) == (str2octs('Q'*1001), null)
  /external/chromium-trace/catapult/third_party/gsutil/third_party/pyasn1/test/type/
test_univ.py 2 from pyasn1.compat.octets import str2octs, ints2octs namespace
110 assert univ.OctetString(str2octs('abcd')) == str2octs('abcd'), '__init__() fails'
120 assert univ.OctetString('q')[0] == str2octs('q')[0],'__getitem__() fails'
122 assert univ.OctetString('abcd').asOctets() == str2octs('abcd'), 'testAsOctets() fails'
135 assert univ.OctetString('') + 'q' == str2octs('q'), '__add__() fails'
137 assert 'b' + univ.OctetString('q') == str2octs('bq'), '__radd__() fails'
139 assert univ.OctetString('a') * 2 == str2octs('aa'), '__mul__() fails'
141 assert 2 * univ.OctetString('b') == str2octs('bb'), '__rmul__() fails'
258 assert self.s1[0] == str2octs('abc'), 'set by idx fails
    [all...]
  /external/chromium-trace/catapult/third_party/gsutil/third_party/pyasn1/test/codec/ber/
test_decoder.py 3 from pyasn1.compat.octets import ints2octs, str2octs, null namespace
107 ) == (str2octs('Quick brown fox'), null)
111 ) == (str2octs('Quick brown fox'), null)
115 ) == (str2octs('Quick brown fox'), null)
119 ) == (str2octs('Quick brown fox'), null)
  /external/chromium-trace/catapult/third_party/gsutil/third_party/pyasn1/pyasn1/codec/ber/
encoder.py 4 from pyasn1.compat.octets import int2oct, oct2int, ints2octs, null, str2octs namespace
209 return str2octs('\x03%dE%s%d' % (m, e == 0 and '+' or '', e)), 0

Completed in 479 milliseconds