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

  /external/bcc/src/python/bcc/
utils.py 75 def __bytes__(self): member in class:ArgString
79 return self.__bytes__()
97 return ArgString(arg).__bytes__()
  /external/python/cpython3/Lib/wsgiref/
headers.py 141 def __bytes__(self): member in class:Headers
  /external/scapy/scapy/
compat.py 71 if hasattr(x, "__bytes__"):
72 return x.__bytes__()
volatile.py 88 def __bytes__(self): member in class:VolatileValue
268 def __bytes__(self): member in class:RandTermString
653 def __bytes__(self): member in class:RandSingString
packet.py 40 def __bytes__(self): member in class:RawVal
337 def __bytes__(self): member in class:Packet
368 return len(self.__bytes__())
1263 def __bytes__(self): member in class:NoPayload
    [all...]
utils.py 604 def __bytes__(self): member in class:EnumElement
    [all...]
  /external/python/pyasn1/pyasn1/type/
char.py 94 def __bytes__(self): member in class:AbstractCharacterString
univ.py 889 def __bytes__(self): function in function:OctetString.__init__
    [all...]
  /external/scapy/scapy/layers/tls/
session.py 873 def __bytes__(self): member in class:_GenericTLSSessionInheritance
    [all...]
  /external/scapy/scapy/asn1/
asn1.py 205 def __bytes__(self): member in class:ASN1_Object
338 def __bytes__(self): member in class:ASN1_BIT_STRING
  /external/python/cpython3/Lib/test/
test_class.py 469 __bytes__ = __int__ variable in class:ClassTests.testBadTypeReturned.BadTypeClass
test_format.py 327 # the Py_buffer protocol, or something that has a __bytes__ method
329 def __bytes__(self): member in class:FormatTest.test_bytes_and_bytearray_format.FakeBytes
378 "or an object that implements __bytes__, not 'str'")
381 "or an object that implements __bytes__, not 'str'")
test_weakref.py 262 def __bytes__(self): member in class:ReferencesTestCase.test_proxy_unicode.C
265 self.assertIn("__bytes__", dir(weakref.proxy(instance)))
    [all...]
test_typing.py 548 # Note: bytes itself doesn't have __bytes__.
550 def __bytes__(self): member in class:ProtocolTests.test_supports_bytes.B
    [all...]
  /external/python/cpython3/Objects/
weakrefobject.c 601 WRAP_METHOD(proxy_bytes, __bytes__)
605 {"__bytes__", (PyCFunction)proxy_bytes, METH_NOARGS},
bytesobject.c 545 _Py_IDENTIFIER(__bytes__);
559 /* does it support __bytes__? */
568 "__bytes__ returned non-bytes (type %.200s)",
589 "or an object that implements __bytes__, not '%.100s'",
    [all...]
object.c 14 _Py_IDENTIFIER(__bytes__); variable
631 "__bytes__ returned non-bytes (type %.200s)",
    [all...]
  /external/python/cpython3/Lib/email/
message.py 163 def __bytes__(self):
161 def __bytes__(self): member in class:Message
    [all...]
  /external/python/cpython2/Objects/
bytesobject.c 539 _Py_IDENTIFIER(__bytes__);
553 /* does it support __bytes__? */
562 "__bytes__ returned non-bytes (type %.200s)",
583 "or an object that implements __bytes__, not '%.100s'",
    [all...]
  /external/scapy/scapy/contrib/
http2.py 639 def __bytes__(self): member in class:HPackStringsInterface
2142 def __bytes__(self): member in class:HPackHdrEntry
    [all...]
  /external/python/six/
test_six.py 922 def __bytes__(self): member in class:test_python_2_unicode_compatible.MyTest
  /external/python/cpython3/Lib/
pathlib.py 712 def __bytes__(self): member in class:PurePath
    [all...]
typing.py 1304 def __bytes__(self) -> bytes: member in class:SupportsBytes
    [all...]

Completed in 662 milliseconds