Home
last modified time | relevance | path

Searched refs:isOdd (Results 1 – 11 of 11) sorted by relevance

/external/guava/guava-tests/test/com/google/common/base/
DPredicatesTest.java88 private static IsOdd isOdd() { in isOdd() method in PredicatesTest
103 .addEqualityGroup(isOdd()) in testAlwaysTrue_equality()
124 .addEqualityGroup(isOdd()) in testAlwaysFalse_equality()
141 assertEvalsLikeOdd(Predicates.not(Predicates.not(isOdd()))); in testNot_apply()
146 .addEqualityGroup(Predicates.not(isOdd()), Predicates.not(isOdd())) in testNot_equality()
148 .addEqualityGroup(isOdd()) in testNot_equality()
180 checkSerialization(Predicates.not(isOdd())); in testNot_serialization()
209 assertEvalsLikeOdd(Predicates.and(isOdd())); in testAnd_applyOneArg()
218 .addEqualityGroup(Predicates.and(isOdd())) in testAnd_equalityOneArg()
227 checkSerialization(Predicates.and(isOdd())); in testAnd_serializationOneArg()
[all …]
/external/guava/android/guava-tests/test/com/google/common/base/
DPredicatesTest.java88 private static IsOdd isOdd() { in isOdd() method in PredicatesTest
103 .addEqualityGroup(isOdd()) in testAlwaysTrue_equality()
124 .addEqualityGroup(isOdd()) in testAlwaysFalse_equality()
141 assertEvalsLikeOdd(Predicates.not(Predicates.not(isOdd()))); in testNot_apply()
146 .addEqualityGroup(Predicates.not(isOdd()), Predicates.not(isOdd())) in testNot_equality()
148 .addEqualityGroup(isOdd()) in testNot_equality()
180 checkSerialization(Predicates.not(isOdd())); in testNot_serialization()
209 assertEvalsLikeOdd(Predicates.and(isOdd())); in testAnd_applyOneArg()
218 .addEqualityGroup(Predicates.and(isOdd())) in testAnd_equalityOneArg()
227 checkSerialization(Predicates.and(isOdd())); in testAnd_serializationOneArg()
[all …]
/external/llvm-project/flang/include/flang/Evaluate/
Drounding-bits.h78 Rounding rounding, bool isNegative, bool isOdd) const { in MustRound() argument
82 round = guard_ && (round_ | sticky_ | isOdd); in MustRound()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64PBQPRegAlloc.cpp43 bool isOdd(unsigned reg) { in isOdd() function
153 return isOdd(reg1) == isOdd(reg2); in haveSameParity()
/external/llvm-project/llvm/lib/Target/AArch64/
DAArch64PBQPRegAlloc.cpp43 bool isOdd(unsigned reg) { in isOdd() function
153 return isOdd(reg1) == isOdd(reg2); in haveSameParity()
/external/llvm/lib/Target/AArch64/
DAArch64PBQPRegAlloc.cpp44 bool isOdd(unsigned reg) { in isOdd() function
154 return isOdd(reg1) == isOdd(reg2); in haveSameParity()
/external/icu/icu4c/source/common/
Dubiditransform.cpp316 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/
Dtest_itertools.py33 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/
Dtest_itertools.py38 def isOdd(x): function
1956 [x for x in g(s) if isOdd(x)])
2025 if not tgt and isOdd(elem): continue
2027 self.assertEqual(list(dropwhile(isOdd, g(s))), tgt)
2028 self.assertRaises(TypeError, dropwhile, isOdd, X(s))
2029 self.assertRaises(TypeError, dropwhile, isOdd, N(s))
2030 self.assertRaises(ZeroDivisionError, list, dropwhile(isOdd, E(s)))
/external/clang/lib/AST/
DExpr.cpp3407 bool isOdd = Comp == "odd"; in getEncodedElementAccess() local
3418 else if (isOdd) in getEncodedElementAccess()
/external/llvm-project/clang/lib/AST/
DExpr.cpp3999 bool isOdd = Comp == "odd"; in getEncodedElementAccess() local
4010 else if (isOdd) in getEncodedElementAccess()