/external/python/cpython2/Lib/test/ |
D | test_class.py | 96 def __int__(self, *args): member in AllTests 496 def __int__(self): member in ClassTests.testBadTypeReturned.BadTypeClass 498 __float__ = __int__ 499 __long__ = __int__ 500 __str__ = __int__ 501 __repr__ = __int__ 502 __oct__ = __int__ 503 __hex__ = __int__ 512 def __int__(self): member in ClassTests.testMixIntsAndLongs.IntLongMixClass
|
D | test_int.py | 413 def __int__(self): member in IntTestCases.test_intconversion.Foo0 417 def __int__(self): member in IntTestCases.test_intconversion.Foo1 421 def __int__(self): member in IntTestCases.test_intconversion.Foo2 425 def __int__(self): member in IntTestCases.test_intconversion.Foo3 429 def __int__(self): member in IntTestCases.test_intconversion.Foo4 433 def __int__(self): member in IntTestCases.test_intconversion.Foo5 447 def __int__(self): member in IntTestCases.test_intconversion.IntOverridesTrunc 460 def __int__(self): member in IntTestCases.test_intconversion.Integral
|
D | test_struct.py | 281 def __int__(self): member in StructTest.test_integers.IntTester.run.NotAnIntNS 288 def __int__(self): member in StructTest.test_integers.IntTester.run.NotAnIntOS 310 def __int__(self): member in StructTest.test_integers.IntTester.run.BadIndex
|
D | test_cmath.py | 170 def __int__(self): return 2 member in CMathTests.test_user_object.MyInt 174 def __int__(self): return 2 member in CMathTests.test_user_object.MyIntOS
|
/external/python/cpython3/Lib/test/ |
D | test_class.py | 463 def __int__(self): member in ClassTests.testBadTypeReturned.BadTypeClass 465 __float__ = __int__ 466 __complex__ = __int__ 467 __str__ = __int__ 468 __repr__ = __int__ 469 __bytes__ = __int__ 470 __bool__ = __int__ 471 __index__ = __int__
|
D | test_int.py | 354 def __int__(self): member in IntTestCases.test_intconversion.Foo0 363 def __int__(self): member in IntTestCases.test_intconversion.IntOverridesTrunc 382 def __int__(self): member in IntTestCases.test_intconversion.Integral 410 def __int__(self): member in IntTestCases.test_intconversion.BadInt 422 def __int__(self): member in IntTestCases.test_int_subclass_with_int.MyInt 426 def __int__(self): member in IntTestCases.test_int_subclass_with_int.BadInt 437 def __int__(self): member in IntTestCases.test_int_returns_int_subclass.BadInt 441 def __int__(self): member in IntTestCases.test_int_returns_int_subclass.BadInt2
|
D | test_getargs2.py | 57 def __int__(self): member in Int 61 def __int__(self): member in IntSubclass 65 def __int__(self): member in BadInt 69 def __int__(self): member in BadInt2 73 def __int__(self): member in BadInt3
|
D | test_cmath.py | 224 def __int__(self): return 2 member in CMathTests.test_user_object.MyInt 227 def __int__(self): return 2 member in CMathTests.test_user_object.MyIntOS
|
/external/libnl/python/netlink/ |
D | util.py | 158 def __int__(self): member in Rate 171 def __int__(self): member in Size
|
/external/python/cpython3/Doc/c-api/ |
D | long.rst | 134 instance of :c:type:`PyLongObject`, first call its :meth:`__int__` method 146 instance of :c:type:`PyLongObject`, first call its :meth:`__int__` method 163 instance of :c:type:`PyLongObject`, first call its :meth:`__int__` method 175 instance of :c:type:`PyLongObject`, first call its :meth:`__int__` method 256 is not an instance of :c:type:`PyLongObject`, first call its :meth:`__int__` 268 is not an instance of :c:type:`PyLongObject`, first call its :meth:`__int__`
|
/external/grpc-grpc/src/python/grpcio/grpc/experimental/ |
D | session_cache.py | 44 def __int__(self): member in SSLSessionCache
|
/external/grpc-grpc/src/python/grpcio_tests/tests/unit/ |
D | _channel_args_test.py | 24 def __int__(self): member in TestPointerWrapper
|
/external/grpc-grpc/src/python/grpcio/grpc/_cython/_cygrpc/ |
D | arguments.pyx.pxi | 72 elif hasattr(value, '__int__'): 73 # Pointer objects must override __int__() to return
|
/external/python/cpython3/Lib/unittest/test/testmock/ |
D | testmagicmethods.py | 308 mock.__int__ = Mock(return_value=iter([])) 333 mock.__int__ = Mock(return_value=iter([])) 406 self.assertIsInstance(foo.__int__, Foo)
|
D | testmock.py | 1034 call.foo.bar().baz().__int__().call_list()) 1036 call.baz().__int__().call_list()) 1038 call().__int__().call_list()) 1545 mock.__int__.return_value =4 1610 m.__int__ = Mock(return_value=3) 1615 self.assertEqual(m.mock_calls, [call.__int__(), call.__float__()])
|
/external/python/cpython2/Demo/metaclasses/ |
D | Enum.py | 106 def __int__(self): member in EnumInstance
|
/external/python/mock/mock/tests/ |
D | testmagicmethods.py | 371 mock.__int__ = Mock(return_value=iter([])) 396 mock.__int__ = Mock(return_value=iter([])) 468 self.assertIsInstance(foo.__int__, Foo)
|
D | testmock.py | 946 call.foo.bar().baz().__int__().call_list()) 948 call.baz().__int__().call_list()) 950 call().__int__().call_list()) 1390 mock.__int__.return_value =4 1455 m.__int__ = Mock(return_value=3) 1460 self.assertEqual(m.mock_calls, [call.__int__(), call.__float__()])
|
/external/toolchain-utils/deprecated/ |
D | summarize_results.py | 23 def __int__(self): member in DejaGNUSummarizer
|
/external/python/cpython3/Lib/ |
D | numbers.py | 300 def __int__(self): member in Integral
|
/external/libchrome/third_party/markupsafe/ |
D | __init__.py | 221 __int__ = lambda s: int(s.obj) member in _MarkupEscapeHelper
|
/external/python/cpython2/Misc/NEWS.d/ |
D | 2.7b1.rst | 600 goes on to try the __int__ method, as described below. 611 __int__ method to convert to an integer before packing. It also produces a 613 inconsistent: __int__ was used for some integer codes but not for others,
|
/external/python/cpython2/Doc/library/ |
D | struct.rst | 227 :exc:`TypeError`, then the :meth:`__int__` method is tried. However, the use 228 of :meth:`__int__` is deprecated, and will raise :exc:`DeprecationWarning`. 235 :meth:`__int__` method to convert, and :exc:`DeprecationWarning` was
|
/external/python/cpython2/Demo/classes/ |
D | Complex.py | 145 def __int__(self): member in Complex
|
/external/python/cpython2/Lib/ctypes/test/ |
D | test_numbers.py | 125 def __int__(self): member in NumberTestCase.test_integers.IntLike
|