Home
last modified time | relevance | path

Searched refs:__nonzero__ (Results 1 – 25 of 72) sorted by relevance

123

/external/autotest/client/site_tests/firmware_TouchMTB/geometry/
Delements.py70 __nonzero__ = __bool__ variable in Point
118 __nonzero__ = __bool__ variable in Circle
/external/libchrome/third_party/jinja2/
Druntime.py669 def __nonzero__(self): member in Undefined
671 __bool__ = __nonzero__
740 def __nonzero__(self): member in make_logging_undefined.LoggingUndefined
741 rv = base.__nonzero__(self)
806 __iter__ = __str__ = __len__ = __nonzero__ = __eq__ = \
/external/python/cpython2/Doc/library/
Dtimeit.rst278 $ python -m timeit 'try:' ' str.__nonzero__' 'except AttributeError:' ' pass'
280 $ python -m timeit 'if hasattr(str, "__nonzero__"): pass'
283 $ python -m timeit 'try:' ' int.__nonzero__' 'except AttributeError:' ' pass'
285 $ python -m timeit 'if hasattr(int, "__nonzero__"): pass'
294 ... str.__nonzero__
307 ... int.__nonzero__
/external/fonttools/Lib/fontTools/ttLib/tables/
D_f_p_g_m.py44 __nonzero__ = __bool__ variable in table__f_p_g_m
DttProgram.py516 __nonzero__ = __bool__ variable in Program
/external/python/apitools/apitools/base/py/
Dstream_slice.py38 def __nonzero__(self): member in StreamSlice
/external/tensorflow/tensorflow/python/training/
Dserver_lib.py314 def __nonzero__(self): member in ClusterSpec
318 __bool__ = __nonzero__
/external/python/cpython2/Lib/json/tests/
Dtest_speedups.py5 def __nonzero__(self): member in BadBool
/external/python/pyasn1/pyasn1/type/
Dbase.py286 def __nonzero__(self): member in AbstractSimpleAsn1Item
505 def __nonzero__(self): member in AbstractConstructedAsn1Item
Dconstraint.py66 def __nonzero__(self): member in AbstractConstraint
Dnamedtype.py213 def __nonzero__(self): member in NamedTypes
/external/tensorflow/tensorflow/python/ops/ragged/
Dragged_operators.py78 ragged_tensor.RaggedTensor.__nonzero__ = _dummy_bool
/external/python/cpython2/Lib/test/
Dtest_bool.py349 def __nonzero__(self): member in BoolTest.test_convert_to_bool.Foo
354 def __nonzero__(self): member in BoolTest.test_convert_to_bool.Bar
359 def __nonzero__(self): member in BoolTest.test_convert_to_bool.Baz
Dtest_richcmp.py53 def __nonzero__(self): member in Vector
216 def __nonzero__(self): member in MiscTest.test_not.Bad
/external/python/cpython2/Lib/
Dnumbers.py52 def __nonzero__(self): member in Complex
Dfractions.py588 def __nonzero__(a): member in Fraction
/external/scapy/
DCONTRIBUTING.md124 - `__bool__ = __nonzero__` must be used when declaring `__nonzero__` methods
/external/fonttools/Lib/fontTools/misc/
Dtransform.py342 __nonzero__ = __bool__ variable in Transform
DarrayTools.py205 __nonzero__ = __bool__ variable in Vector
/external/python/cpython2/Demo/classes/
DComplex.py168 def __nonzero__(self): member in Complex
/external/scapy/scapy/tools/
DUTscapy.py196 def __nonzero__(self): member in UnitTest
198 __bool__ = __nonzero__
/external/scapy/scapy/
Dpacket.py364 def __nonzero__(self): member in Packet
366 __bool__ = __nonzero__
1265 def __nonzero__(self): member in NoPayload
1267 __bool__ = __nonzero__
/external/tensorflow/tensorflow/contrib/graph_editor/
Dsubgraph.py523 __nonzero__ = __bool__ variable in SubGraphView
Dutil.py87 __nonzero__ = __bool__ variable in ListView
/external/tensorflow/tensorflow/python/framework/
Dtensor_shape.py802 __nonzero__ = __bool__ variable in TensorShape

123