Searched refs:logical_and (Results 1 - 2 of 2) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
H A Dtest_decimal.py150 nameAdapter = {'and':'logical_and',
1616 self.assertEqual(Decimal(10101).logical_and(1001),
1617 Decimal(10101).logical_and(Decimal(1001)))
1965 d = c.logical_and(Decimal(1), Decimal(1))
1966 self.assertEqual(c.logical_and(1, 1), d)
1967 self.assertEqual(c.logical_and(Decimal(1), 1), d)
1968 self.assertEqual(c.logical_and(1, Decimal(1)), d)
1969 self.assertRaises(TypeError, c.logical_and, '1', 1)
1970 self.assertRaises(TypeError, c.logical_and, 1, '1')
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
H A Ddecimal.py3248 def logical_and(self, other, context=None): member in class:Decimal
4534 def logical_and(self, a, b): member in class:Context
4539 >>> ExtendedContext.logical_and(Decimal('0'), Decimal('0'))
4541 >>> ExtendedContext.logical_and(Decimal('0'), Decimal('1'))
4543 >>> ExtendedContext.logical_and(Decimal('1'), Decimal('0'))
4545 >>> ExtendedContext.logical_and(Decimal('1'), Decimal('1'))
4547 >>> ExtendedContext.logical_and(Decimal('1100'), Decimal('1010'))
4549 >>> ExtendedContext.logical_and(Decimal('1111'), Decimal('10'))
4551 >>> ExtendedContext.logical_and(110, 1101)
4553 >>> ExtendedContext.logical_and(Decima
[all...]

Completed in 24 milliseconds