/external/scapy/scapy/layers/tls/ |
D | session.py | 868 return super(_GenericTLSSessionInheritance, self).__bytes__() 873 def __bytes__(self): member in _GenericTLSSessionInheritance 894 built_packet = super(_GenericTLSSessionInheritance, self).__bytes__() 902 __str__ = __bytes__
|
/external/python/cpython3/Lib/test/ |
D | test_bytes.py | 752 def __bytes__(self): member in BytesTest.test_custom.A 758 def __bytes__(self): member in BytesTest.test_custom.A 762 def __bytes__(self): member in BytesTest.test_custom.A 769 def __bytes__(self): member in BytesTest.test_custom.A 775 def __bytes__(self): member in BytesTest.test_custom.A 892 __bytes__ = None variable in BytesTest.test_bytes_blocking.IterationBlocked 901 __bytes__ = None variable in BytesTest.test_bytes_blocking.IntBlocked 910 __bytes__ = None variable in BytesTest.test_bytes_blocking.BytesSubclassBlocked 915 __bytes__ = None variable in BytesTest.test_bytes_blocking.BufferBlocked
|
D | test_class.py | 469 __bytes__ = __int__ variable in ClassTests.testBadTypeReturned.BadTypeClass
|
D | test_format.py | 312 def __bytes__(self): member in FormatTest.test_bytes_and_bytearray_format.FakeBytes
|
D | test_weakref.py | 261 def __bytes__(self): member in ReferencesTestCase.test_proxy_unicode.C
|
D | test_typing.py | 522 def __bytes__(self): member in ProtocolTests.test_supports_bytes.B
|
/external/scapy/scapy/ |
D | compat.py | 72 return x.__bytes__()
|
D | volatile.py | 88 def __bytes__(self): member in VolatileValue 268 def __bytes__(self): member in RandTermString 653 def __bytes__(self): member in RandSingString
|
D | packet.py | 40 def __bytes__(self): member in RawVal 337 def __bytes__(self): member in Packet 368 return len(self.__bytes__()) 1263 def __bytes__(self): member in NoPayload
|
D | utils.py | 604 def __bytes__(self): member in EnumElement
|
/external/python/cpython3/Lib/wsgiref/ |
D | headers.py | 141 def __bytes__(self): member in Headers
|
/external/scapy/scapy/asn1/ |
D | asn1.py | 205 def __bytes__(self): member in ASN1_Object 338 def __bytes__(self): member in ASN1_BIT_STRING
|
/external/scapy/scapy/contrib/ |
D | http2.py | 639 def __bytes__(self): member in HPackStringsInterface 2142 def __bytes__(self): member in HPackHdrEntry
|
/external/python/cpython3/Objects/ |
D | weakrefobject.c | 601 WRAP_METHOD(proxy_bytes, __bytes__)
|
D | bytesobject.c | 535 _Py_IDENTIFIER(__bytes__); in format_obj() 2527 _Py_IDENTIFIER(__bytes__); in bytes_new()
|
D | object.c | 12 _Py_IDENTIFIER(__bytes__);
|
/external/python/cpython3/Lib/email/ |
D | message.py | 161 def __bytes__(self): member in Message
|
/external/python/cpython3/Doc/library/ |
D | email.generator.rst | 128 :meth:`~email.message.EmailMessage.__bytes__`), which simplify the generation of
|
D | email.message.rst | 125 .. method:: __bytes__()
|
D | email.compat32-message.rst | 142 .. method:: __bytes__()
|
/external/python/cpython3/Lib/ |
D | pathlib.py | 711 def __bytes__(self): member in PurePath
|
D | typing.py | 1759 def __bytes__(self) -> bytes: member in SupportsBytes
|
/external/scapy/doc/scapy/ |
D | build_dissect.rst | 529 ``Packet.__str__()`` (or ``Packet.__bytes__()`` under Python
|
/external/python/cpython3/Misc/ |
D | NEWS | 2377 - Issue #25766: Special method __bytes__() now works in str subclasses. 2395 __bytes__, __trunc__, and __float__ returning instances of subclasses of 4308 - Issue #25766: Special method __bytes__() now works in str subclasses. 4323 __bytes__, __trunc__, and __float__ returning instances of subclasses of
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.5.rst | 387 TypeError: %b requires bytes, or an object that implements __bytes__, not 'str'
|