Home
last modified time | relevance | path

Searched refs:truth (Results 1 – 18 of 18) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_operator.py341 self.assertRaises(TypeError, operator.truth)
342 self.assertRaises(SyntaxError, operator.truth, C())
343 self.assertTrue(operator.truth(5))
344 self.assertTrue(operator.truth([0]))
345 self.assertFalse(operator.truth(0))
346 self.assertFalse(operator.truth([]))
Dtest_iter.py336 def __init__(self, truth): argument
337 self.truth = truth
339 return self.truth
Dtest_bool.py280 self.assertIs(operator.truth(0), False)
281 self.assertIs(operator.truth(1), True)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
Doperator.c89 spami(truth , PyObject_IsTrue) in spami()
246 spam1o(truth,
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/
DddInvert.decTest29 -- Sanity check (truth table)
Dinvert.decTest28 -- Sanity check (truth table), and examples from decArith
DdqInvert.decTest29 -- Sanity check (truth table)
DddOr.decTest29 -- Sanity check (truth table)
DddXor.decTest29 -- Sanity check (truth table)
DddAnd.decTest29 -- Sanity check (truth table)
Dor.decTest28 -- Sanity check (truth table)
Dand.decTest28 -- Sanity check (truth table)
Dxor.decTest28 -- Sanity check (truth table)
DdqAnd.decTest29 -- Sanity check (truth table)
DdqXor.decTest29 -- Sanity check (truth table)
DdqOr.decTest29 -- Sanity check (truth table)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/
Doperator.c89 spami(truth , PyObject_IsTrue) in spami()
372 spam1o(truth,
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dxmlrpclib.py307 self.value = operator.truth(value)
345 return _truefalse[operator.truth(value)]