Home
last modified time | relevance | path

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

12

/external/bcc/src/python/bcc/
Dutils.py75 def __bytes__(self): member in ArgString
79 return self.__bytes__()
97 return ArgString(arg).__bytes__()
/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/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/wsgiref/
Dheaders.py141 def __bytes__(self): member in Headers
/external/python/cpython3/Lib/test/
Dtest_bytes.py864 def __bytes__(self): member in BytesTest.test_custom.A
870 def __bytes__(self): member in BytesTest.test_custom.A
874 def __bytes__(self): member in BytesTest.test_custom.A
881 def __bytes__(self): member in BytesTest.test_custom.A
887 def __bytes__(self): member in BytesTest.test_custom.A
1010 __bytes__ = None variable in BytesTest.test_bytes_blocking.IterationBlocked
1019 __bytes__ = None variable in BytesTest.test_bytes_blocking.IntBlocked
1028 __bytes__ = None variable in BytesTest.test_bytes_blocking.BytesSubclassBlocked
1033 __bytes__ = None variable in BytesTest.test_bytes_blocking.BufferBlocked
Dtest_format.py329 def __bytes__(self): member in FormatTest.test_bytes_and_bytearray_format.FakeBytes
Dtest_class.py469 __bytes__ = __int__ variable in ClassTests.testBadTypeReturned.BadTypeClass
Dtest_weakref.py262 def __bytes__(self): member in ReferencesTestCase.test_proxy_unicode.C
/external/scapy/scapy/asn1/
Dasn1.py205 def __bytes__(self): member in ASN1_Object
338 def __bytes__(self): member in ASN1_BIT_STRING
/external/python/pyasn1/pyasn1/type/
Dchar.py94 def __bytes__(self): member in AbstractCharacterString
Duniv.py889 def __bytes__(self): member in OctetString
/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.c545 _Py_IDENTIFIER(__bytes__); in format_obj()
2537 _Py_IDENTIFIER(__bytes__); in bytes_new()
Dobject.c14 _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
/external/python/six/
Dtest_six.py922 def __bytes__(self): member in test_python_2_unicode_compatible.MyTest
/external/python/cpython2/Objects/
Dbytesobject.c539 _Py_IDENTIFIER(__bytes__); in format_obj()
2542 _Py_IDENTIFIER(__bytes__); in bytes_new()
/external/python/cpython3/Lib/
Dtyping.py1304 def __bytes__(self) -> bytes: member in SupportsBytes
Dpathlib.py712 def __bytes__(self): member in PurePath
/external/python/cpython3/Misc/NEWS.d/
D3.5.2rc1.rst274 Special method __bytes__() now works in str subclasses.
321 Fixed crash on converting objects with special methods __bytes__, __trunc__,

12