/external/autotest/client/site_tests/firmware_TouchMTB/geometry/ |
D | elements.py | 32 def __bool__(self): member in Point 70 __nonzero__ = __bool__ 84 def __bool__(self): member in Circle 118 __nonzero__ = __bool__
|
/external/python/cpython3/Lib/test/ |
D | test_bool.py | 299 def __bool__(self): member in BoolTest.test_convert_to_bool.Foo 304 def __bool__(self): member in BoolTest.test_convert_to_bool.Bar 309 def __bool__(self): member in BoolTest.test_convert_to_bool.Baz 315 def __bool__(self): member in BoolTest.test_convert_to_bool.Spam 345 __bool__ = None variable in BoolTest.test_blocked.A 351 __bool__ = None variable in BoolTest.test_blocked.B
|
D | test_property.py | 142 def __bool__(self): member in PropertyTests.test_property___isabstractmethod__descriptor.NotBool 144 __len__ = __bool__
|
D | test_dynamicclassattribute.py | 160 def __bool__(self): member in PropertyTests.test_property___isabstractmethod__descriptor.NotBool 162 __len__ = __bool__
|
D | test_richcmp.py | 53 def __bool__(self): member in Vector 214 def __bool__(self): member in MiscTest.test_not.Bad
|
D | test_abc.py | 197 def __bool__(self): member in TestABC.test_descriptors_with_abstractmethod.NotBool 199 __len__ = __bool__
|
D | test_class.py | 470 __bool__ = __int__ variable in ClassTests.testBadTypeReturned.BadTypeClass
|
/external/python/cpython3/Doc/library/ |
D | timeit.rst | 307 $ python -m timeit 'try:' ' str.__bool__' 'except AttributeError:' ' pass' 309 $ python -m timeit 'if hasattr(str, "__bool__"): pass' 312 $ python -m timeit 'try:' ' int.__bool__' 'except AttributeError:' ' pass' 314 $ python -m timeit 'if hasattr(int, "__bool__"): pass' 323 ... str.__bool__ 329 >>> s = "if hasattr(str, '__bool__'): pass" 336 ... int.__bool__ 342 >>> s = "if hasattr(int, '__bool__'): pass"
|
/external/mesa3d/src/gallium/drivers/swr/rasterizer/scripts/mako/ |
D | runtime.py | 190 return self.__bool__() 192 def __bool__(self): member in CallerStack 225 return self.__bool__() 227 def __bool__(self): member in Undefined
|
/external/tensorflow/tensorflow/contrib/graph_editor/ |
D | util.py | 78 def __bool__(self): member in ListView 82 __nonzero__ = __bool__
|
D | subgraph.py | 518 def __bool__(self): member in SubGraphView 523 __nonzero__ = __bool__
|
/external/tensorflow/tensorflow/python/framework/ |
D | tensor_shape.py | 490 def __bool__(self): member in TensorShape 495 __nonzero__ = __bool__
|
D | ops.py | 593 def __bool__(self): member in Tensor 817 def __bool__(self): member in _EagerTensorBase 827 return self.__bool__() 2018 def __bool__(self): member in Operation._InputList 2022 __nonzero__ = __bool__
|
/external/python/cpython3/Lib/ |
D | numbers.py | 49 def __bool__(self): member in Complex
|
D | enum.py | 259 def __bool__(self): member in EnumMeta 727 def __bool__(self): member in Flag
|
D | fractions.py | 626 def __bool__(a): member in Fraction
|
D | cgi.py | 659 def __bool__(self): member in FieldStorage
|
/external/libmojo/third_party/jinja2/ |
D | lexer.py | 308 def __bool__(self): member in TokenStream 310 __nonzero__ = __bool__ # py2
|
D | runtime.py | 575 __ne__ = __bool__ = __hash__ = \
|
/external/tensorflow/tensorflow/python/training/ |
D | server_lib.py | 305 __bool__ = __nonzero__ variable in ClusterSpec
|
/external/tensorflow/tensorflow/python/ops/ |
D | resource_variable_ops.py | 542 return self.__bool__() 544 def __bool__(self): member in ResourceVariable
|
/external/python/cpython2/Doc/library/ |
D | timeit.rst | 300 >>> s = "if hasattr(str, '__bool__'): pass" 313 >>> s = "if hasattr(int, '__bool__'): pass"
|
/external/python/cpython3/Lib/test/test_importlib/ |
D | test_util.py | 208 def __bool__(self): return False member in ModuleForLoaderTests.test_false_module.FalseModule 608 def __bool__(self): raise RuntimeError member in PEP3147Tests.test_cache_from_source_override.Bearish
|
/external/scapy/ |
D | CONTRIBUTING.md | 124 - `__bool__ = __nonzero__` must be used when declaring `__nonzero__` methods
|
/external/python/cpython3/Lib/unittest/test/testmock/ |
D | testmagicmethods.py | 169 m.__bool__ = lambda s: False
|