Home
last modified time | relevance | path

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

/external/cronet/buildtools/third_party/libc++/trunk/test/std/algorithms/
Drobust_against_adl_on_new.pass.cpp19 static bool isEven(const A& a) { return a.i % 2 == 0; } in isEven() function
29 std::partition(a, a+4, A::isEven); in main()
32 std::stable_partition(a, a+4, A::isEven); in main()
/external/cronet/third_party/icu/source/i18n/
Dnumber_roundingutils.h46 getRoundingDirection(bool isEven, bool isNegative, Section section, RoundingMode roundingMode, in getRoundingDirection() argument
97 return isEven; in getRoundingDirection()
110 return !isEven; in getRoundingDirection()
Dnumber_decimalquantity.cpp885 bool isEven = nickel in roundToMagnitude() local
891 bool roundDown = roundingutils::getRoundingDirection(isEven, in roundToMagnitude()
/external/icu/icu4c/source/i18n/
Dnumber_roundingutils.h46 getRoundingDirection(bool isEven, bool isNegative, Section section, RoundingMode roundingMode, in getRoundingDirection() argument
97 return isEven; in getRoundingDirection()
110 return !isEven; in getRoundingDirection()
Dnumber_decimalquantity.cpp885 bool isEven = nickel in roundToMagnitude() local
891 bool roundDown = roundingutils::getRoundingDirection(isEven, in roundToMagnitude()
/external/icu/libicu/cts_headers/
Dnumber_roundingutils.h46 getRoundingDirection(bool isEven, bool isNegative, Section section, RoundingMode roundingMode, in getRoundingDirection() argument
97 return isEven; in getRoundingDirection()
110 return !isEven; in getRoundingDirection()
/external/python/cpython2/Lib/test/
Dtest_itertools.py29 def isEven(x): function
541 self.assertEqual(list(ifilter(isEven, range(6))), [0,2,4])
544 self.assertEqual(take(4, ifilter(isEven, count())), [0,2,4,6])
548 self.assertRaises(TypeError, ifilter, isEven, 3)
552 self.assertEqual(list(ifilterfalse(isEven, range(6))), [1,3,5])
555 self.assertEqual(take(4, ifilterfalse(isEven, count())), [1,3,5,7])
559 self.assertRaises(TypeError, ifilterfalse, isEven, 3)
1356 self.assertEqual(list(ifilter(isEven, g(s))), filter(isEven, g(s)))
1357 self.assertRaises(TypeError, ifilter, isEven, X(s))
1358 self.assertRaises(TypeError, list, ifilter(isEven, N(s)))
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DRoundingUtils.java60 boolean isEven, in getRoundingDirection() argument
107 return isEven; in getRoundingDirection()
DDecimalQuantity_AbstractBCD.java915 boolean isEven = nickel in roundToMagnitude()
921 boolean roundDown = RoundingUtils.getRoundingDirection(isEven, in roundToMagnitude()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DRoundingUtils.java58 boolean isEven, in getRoundingDirection() argument
105 return isEven; in getRoundingDirection()
DDecimalQuantity_AbstractBCD.java913 boolean isEven = nickel in roundToMagnitude()
919 boolean roundDown = RoundingUtils.getRoundingDirection(isEven, in roundToMagnitude()
/external/python/cpython3/Lib/test/
Dtest_itertools.py36 def isEven(x): function
839 self.assertEqual(list(filter(isEven, range(6))), [0,2,4])
842 self.assertEqual(take(4, filter(isEven, count())), [0,2,4,6])
846 self.assertRaises(TypeError, filter, isEven, 3)
852 c = filter(isEven, range(6))
854 c = filter(isEven, range(6))
857 c = filter(isEven, range(6))
862 c = filter(isEven, range(6))
866 self.assertEqual(list(filterfalse(isEven, range(6))), [1,3,5])
869 self.assertEqual(take(4, filterfalse(isEven, count())), [1,3,5,7])
[all …]
/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/
Dtessellator.cpp381 bool isEven(const float& input) in isEven() function
624 int edgeEven = isEven(outsideTessFactor[edge]); in QuadProcessTessFactors()
630 (isEven(insideTessFactor[axis]) || (FLOAT_ONE == insideTessFactor[axis]) ) in QuadProcessTessFactors()
1132 int edgeEven = isEven(outsideTessFactor[edge]); in TriProcessTessFactors()
1135 …processedTessFactors.insideTessFactorParity = (isEven(insideTessFactor) || (FLOAT_ONE == insideTes… in TriProcessTessFactors()
1474 …processedTessFactors.lineDetailParity = isEven(TessFactor_U_LineDetail) ? TESSELLATOR_PARITY_EVEN … in IsoLineProcessTessFactors()
1491 …processedTessFactors.lineDensityParity = isEven(TessFactor_V_LineDensity) ? TESSELLATOR_PARITY_EVE… in IsoLineProcessTessFactors()
2290 (isEven(insideTessFactor[U]) || (FLOAT_ONE == insideTessFactor[U]) ) in QuadHLSLProcessTessFactors()
2320 …insideTessFactorParity[V] = isEven(insideTessFactor[U]) ? TESSELLATOR_PARITY_EVEN : TESSELLATOR_PA… in QuadHLSLProcessTessFactors()
2358 (isEven(insideTessFactor[axis]) || (FLOAT_ONE == insideTessFactor[axis]) ) in QuadHLSLProcessTessFactors()
[all …]
/external/mesa3d/src/gallium/auxiliary/tessellator/
Dtessellator.cpp395 bool isEven(const float& input) in isEven() function
638 int edgeEven = isEven(outsideTessFactor[edge]); in QuadProcessTessFactors()
644 (isEven(insideTessFactor[axis]) || (FLOAT_ONE == insideTessFactor[axis]) ) in QuadProcessTessFactors()
1146 int edgeEven = isEven(outsideTessFactor[edge]); in TriProcessTessFactors()
1149 …processedTessFactors.insideTessFactorParity = (isEven(insideTessFactor) || (FLOAT_ONE == insideTes… in TriProcessTessFactors()
1488 …processedTessFactors.lineDetailParity = isEven(TessFactor_U_LineDetail) ? TESSELLATOR_PARITY_EVEN … in IsoLineProcessTessFactors()
1505 …processedTessFactors.lineDensityParity = isEven(TessFactor_V_LineDensity) ? TESSELLATOR_PARITY_EVE… in IsoLineProcessTessFactors()
2304 (isEven(insideTessFactor[U]) || (FLOAT_ONE == insideTessFactor[U]) ) in QuadHLSLProcessTessFactors()
2334 …insideTessFactorParity[V] = isEven(insideTessFactor[U]) ? TESSELLATOR_PARITY_EVEN : TESSELLATOR_PA… in QuadHLSLProcessTessFactors()
2372 (isEven(insideTessFactor[axis]) || (FLOAT_ONE == insideTessFactor[axis]) ) in QuadHLSLProcessTessFactors()
[all …]
/external/guava/android/guava-tests/test/com/google/common/collect/
DIteratorsTest.java318 final Predicate<Integer> isEven = in testFilterUsingIteratorTester() local
329 return Iterators.filter(list.iterator(), isEven); in testFilterUsingIteratorTester()
/external/guava/guava-tests/test/com/google/common/collect/
DIteratorsTest.java318 final Predicate<Integer> isEven = in testFilterUsingIteratorTester() local
329 return Iterators.filter(list.iterator(), isEven); in testFilterUsingIteratorTester()
/external/clang/lib/AST/
DExpr.cpp3406 bool isEven = Comp == "even"; in getEncodedElementAccess() local
3416 else if (isEven) in getEncodedElementAccess()
/external/ow2-asm/tools/retrofitter/src/main/resources/
Djdk1.5.0.12.txt.gz