Searched refs:isOdd (Results 1 – 8 of 8) sorted by relevance
/external/guava/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/ |
D | PredicatesTest.java | 79 private static IsOdd isOdd() { in isOdd() method in PredicatesTest 94 .addEqualityGroup(isOdd()) in testAlwaysTrue_equality() 110 .addEqualityGroup(isOdd()) in testAlwaysFalse_equality() 122 assertEvalsLikeOdd(Predicates.not(Predicates.not(isOdd()))); in testNot_apply() 127 .addEqualityGroup(Predicates.not(isOdd()), Predicates.not(isOdd())) in testNot_equality() 129 .addEqualityGroup(isOdd()) in testNot_equality() 179 assertEvalsLikeOdd(Predicates.and(isOdd())); in testAnd_applyOneArg() 189 .addEqualityGroup(Predicates.and(isOdd())) in testAnd_equalityOneArg() 196 assertEvalsLikeOdd(Predicates.and(isOdd(), TRUE)); in testAnd_applyBinary() 197 assertEvalsLikeOdd(Predicates.and(TRUE, isOdd())); in testAnd_applyBinary() [all …]
|
/external/guava/guava-tests/test/com/google/common/base/ |
D | PredicatesTest.java | 84 private static IsOdd isOdd() { in isOdd() method in PredicatesTest 99 .addEqualityGroup(isOdd()) in testAlwaysTrue_equality() 120 .addEqualityGroup(isOdd()) in testAlwaysFalse_equality() 137 assertEvalsLikeOdd(Predicates.not(Predicates.not(isOdd()))); in testNot_apply() 142 .addEqualityGroup(Predicates.not(isOdd()), Predicates.not(isOdd())) in testNot_equality() 144 .addEqualityGroup(isOdd()) in testNot_equality() 176 checkSerialization(Predicates.not(isOdd())); in testNot_serialization() 205 assertEvalsLikeOdd(Predicates.and(isOdd())); in testAnd_applyOneArg() 215 .addEqualityGroup(Predicates.and(isOdd())) in testAnd_equalityOneArg() 224 checkSerialization(Predicates.and(isOdd())); in testAnd_serializationOneArg() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/ |
D | AArch64PBQPRegAlloc.cpp | 44 bool isOdd(unsigned reg) { in isOdd() function 154 return isOdd(reg1) == isOdd(reg2); in haveSameParity()
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64PBQPRegAlloc.cpp | 44 bool isOdd(unsigned reg) { in isOdd() function 154 return isOdd(reg1) == isOdd(reg2); in haveSameParity()
|
/external/icu/icu4c/source/common/ |
D | ubiditransform.cpp | 316 UBool isOdd = ubidi_getLevelAt(pTransform->pBidi, i) & 1; in action_mirror() local 318 U16_APPEND_UNSAFE(pTransform->dest, j, isOdd ? u_charMirror(c) : c); in action_mirror()
|
/external/python/cpython2/Lib/test/ |
D | test_itertools.py | 33 def isOdd(x): function 1364 self.assertEqual(list(ifilterfalse(isEven, g(s))), filter(isOdd, g(s))) 1430 if not tgt and isOdd(elem): continue 1432 self.assertEqual(list(dropwhile(isOdd, g(s))), tgt) 1433 self.assertRaises(TypeError, dropwhile, isOdd, X(s)) 1434 self.assertRaises(TypeError, list, dropwhile(isOdd, N(s))) 1435 self.assertRaises(ZeroDivisionError, list, dropwhile(isOdd, E(s)))
|
/external/python/cpython3/Lib/test/ |
D | test_itertools.py | 37 def isOdd(x): function 1901 [x for x in g(s) if isOdd(x)]) 1970 if not tgt and isOdd(elem): continue 1972 self.assertEqual(list(dropwhile(isOdd, g(s))), tgt) 1973 self.assertRaises(TypeError, dropwhile, isOdd, X(s)) 1974 self.assertRaises(TypeError, dropwhile, isOdd, N(s)) 1975 self.assertRaises(ZeroDivisionError, list, dropwhile(isOdd, E(s)))
|
/external/clang/lib/AST/ |
D | Expr.cpp | 3407 bool isOdd = Comp == "odd"; in getEncodedElementAccess() local 3418 else if (isOdd) in getEncodedElementAccess()
|