Home
last modified time | relevance | path

Searched refs:__bytes__ (Results 1 – 25 of 29) sorted by relevance

12

/external/scapy/scapy/layers/tls/
Dsession.py868 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/
Dtest_bytes.py752 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
Dtest_class.py469 __bytes__ = __int__ variable in ClassTests.testBadTypeReturned.BadTypeClass
Dtest_format.py312 def __bytes__(self): member in FormatTest.test_bytes_and_bytearray_format.FakeBytes
Dtest_weakref.py261 def __bytes__(self): member in ReferencesTestCase.test_proxy_unicode.C
Dtest_typing.py522 def __bytes__(self): member in ProtocolTests.test_supports_bytes.B
/external/scapy/scapy/
Dcompat.py72 return x.__bytes__()
Dvolatile.py88 def __bytes__(self): member in VolatileValue
268 def __bytes__(self): member in RandTermString
653 def __bytes__(self): member in RandSingString
Dpacket.py40 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
Dutils.py604 def __bytes__(self): member in EnumElement
/external/python/cpython3/Lib/wsgiref/
Dheaders.py141 def __bytes__(self): member in Headers
/external/scapy/scapy/asn1/
Dasn1.py205 def __bytes__(self): member in ASN1_Object
338 def __bytes__(self): member in ASN1_BIT_STRING
/external/scapy/scapy/contrib/
Dhttp2.py639 def __bytes__(self): member in HPackStringsInterface
2142 def __bytes__(self): member in HPackHdrEntry
/external/python/cpython3/Objects/
Dweakrefobject.c601 WRAP_METHOD(proxy_bytes, __bytes__)
Dbytesobject.c535 _Py_IDENTIFIER(__bytes__); in format_obj()
2527 _Py_IDENTIFIER(__bytes__); in bytes_new()
Dobject.c12 _Py_IDENTIFIER(__bytes__);
/external/python/cpython3/Lib/email/
Dmessage.py161 def __bytes__(self): member in Message
/external/python/cpython3/Doc/library/
Demail.generator.rst128 :meth:`~email.message.EmailMessage.__bytes__`), which simplify the generation of
Demail.message.rst125 .. method:: __bytes__()
Demail.compat32-message.rst142 .. method:: __bytes__()
/external/python/cpython3/Lib/
Dpathlib.py711 def __bytes__(self): member in PurePath
Dtyping.py1759 def __bytes__(self) -> bytes: member in SupportsBytes
/external/scapy/doc/scapy/
Dbuild_dissect.rst529 ``Packet.__str__()`` (or ``Packet.__bytes__()`` under Python
/external/python/cpython3/Misc/
DNEWS2377 - 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/
D3.5.rst387 TypeError: %b requires bytes, or an object that implements __bytes__, not 'str'

12