Home
last modified time | relevance | path

Searched refs:checkPositive (Results 1 – 25 of 25) sorted by relevance

/external/guava/android/guava-tests/test/com/google/common/math/
DMathPreconditionsTest.java36 MathPreconditions.checkPositive("int", 0); in testCheckPositive_zeroInt()
43 MathPreconditions.checkPositive("int", Integer.MAX_VALUE); in testCheckPositive_maxInt()
48 MathPreconditions.checkPositive("int", Integer.MIN_VALUE); in testCheckPositive_minInt()
55 MathPreconditions.checkPositive("int", 1); in testCheckPositive_positiveInt()
60 MathPreconditions.checkPositive("int", -1); in testCheckPositive_negativeInt()
68 MathPreconditions.checkPositive("long", 0L); in testCheckPositive_zeroLong()
75 MathPreconditions.checkPositive("long", Long.MAX_VALUE); in testCheckPositive_maxLong()
80 MathPreconditions.checkPositive("long", Long.MIN_VALUE); in testCheckPositive_minLong()
87 MathPreconditions.checkPositive("long", 1); in testCheckPositive_positiveLong()
92 MathPreconditions.checkPositive("long", -1L); in testCheckPositive_negativeLong()
[all …]
/external/guava/guava-tests/test/com/google/common/math/
DMathPreconditionsTest.java36 MathPreconditions.checkPositive("int", 0); in testCheckPositive_zeroInt()
43 MathPreconditions.checkPositive("int", Integer.MAX_VALUE); in testCheckPositive_maxInt()
48 MathPreconditions.checkPositive("int", Integer.MIN_VALUE); in testCheckPositive_minInt()
55 MathPreconditions.checkPositive("int", 1); in testCheckPositive_positiveInt()
60 MathPreconditions.checkPositive("int", -1); in testCheckPositive_negativeInt()
68 MathPreconditions.checkPositive("long", 0L); in testCheckPositive_zeroLong()
75 MathPreconditions.checkPositive("long", Long.MAX_VALUE); in testCheckPositive_maxLong()
80 MathPreconditions.checkPositive("long", Long.MIN_VALUE); in testCheckPositive_minLong()
87 MathPreconditions.checkPositive("long", 1); in testCheckPositive_positiveLong()
92 MathPreconditions.checkPositive("long", -1L); in testCheckPositive_negativeLong()
[all …]
/external/guava/guava/src/com/google/common/math/
DMathPreconditions.java31 static int checkPositive(@Nullable String role, int x) { in checkPositive() method in MathPreconditions
38 static long checkPositive(@Nullable String role, long x) { in checkPositive() method in MathPreconditions
45 static BigInteger checkPositive(@Nullable String role, BigInteger x) { in checkPositive() method in MathPreconditions
DIntMath.java21 import static com.google.common.math.MathPreconditions.checkPositive;
67 checkPositive("x", x); in ceilingPowerOfTwo()
83 checkPositive("x", x); in floorPowerOfTwo()
119 checkPositive("x", x); in log2()
160 checkPositive("x", x); in log10()
DLongMath.java21 import static com.google.common.math.MathPreconditions.checkPositive;
68 checkPositive("x", x); in ceilingPowerOfTwo()
84 checkPositive("x", x); in floorPowerOfTwo()
122 checkPositive("x", x); in log2()
164 checkPositive("x", x); in log10()
DBigIntegerMath.java20 import static com.google.common.math.MathPreconditions.checkPositive;
92 checkPositive("x", checkNotNull(x)); in log2()
151 checkPositive("x", x); in log10()
/external/guava/android/guava/src/com/google/common/math/
DMathPreconditions.java31 static int checkPositive(@NullableDecl String role, int x) { in checkPositive() method in MathPreconditions
38 static long checkPositive(@NullableDecl String role, long x) { in checkPositive() method in MathPreconditions
45 static BigInteger checkPositive(@NullableDecl String role, BigInteger x) { in checkPositive() method in MathPreconditions
DIntMath.java21 import static com.google.common.math.MathPreconditions.checkPositive;
67 checkPositive("x", x); in ceilingPowerOfTwo()
83 checkPositive("x", x); in floorPowerOfTwo()
119 checkPositive("x", x); in log2()
160 checkPositive("x", x); in log10()
DLongMath.java21 import static com.google.common.math.MathPreconditions.checkPositive;
68 checkPositive("x", x); in ceilingPowerOfTwo()
84 checkPositive("x", x); in floorPowerOfTwo()
122 checkPositive("x", x); in log2()
164 checkPositive("x", x); in log10()
DBigIntegerMath.java20 import static com.google.common.math.MathPreconditions.checkPositive;
92 checkPositive("x", checkNotNull(x)); in log2()
151 checkPositive("x", x); in log10()
/external/guava/guava/src/com/google/common/graph/
DAbstractDirectedNetworkConnections.java22 import static com.google.common.graph.Graphs.checkPositive;
126 checkPositive(++selfLoopCount);
DStandardMutableValueGraph.java24 import static com.google.common.graph.Graphs.checkPositive;
104 checkPositive(++edgeCount); in putEdgeValue()
DDirectedGraphConnections.java25 import static com.google.common.graph.Graphs.checkPositive;
515 checkPositive(++predecessorCount);
542 checkPositive(++successorCount);
DGraphs.java611 static int checkPositive(int value) {
617 static long checkPositive(long value) {
/external/guava/android/guava/src/com/google/common/graph/
DAbstractDirectedNetworkConnections.java22 import static com.google.common.graph.Graphs.checkPositive;
126 checkPositive(++selfLoopCount);
DStandardMutableValueGraph.java24 import static com.google.common.graph.Graphs.checkPositive;
104 checkPositive(++edgeCount); in putEdgeValue()
DDirectedGraphConnections.java25 import static com.google.common.graph.Graphs.checkPositive;
515 checkPositive(++predecessorCount);
542 checkPositive(++successorCount);
DGraphs.java595 static int checkPositive(int value) {
601 static long checkPositive(long value) {
/external/guava/guava/src/com/google/common/collect/
DCollectPreconditions.java52 static void checkPositive(int value, String name) { in checkPositive() method in CollectPreconditions
DConcurrentHashMultiset.java208 CollectPreconditions.checkPositive(occurrences, "occurences"); in add()
274 CollectPreconditions.checkPositive(occurrences, "occurences"); in remove()
315 CollectPreconditions.checkPositive(occurrences, "occurences"); in removeExactly()
/external/guava/android/guava/src/com/google/common/collect/
DCollectPreconditions.java52 static void checkPositive(int value, String name) { in checkPositive() method in CollectPreconditions
DConcurrentHashMultiset.java208 CollectPreconditions.checkPositive(occurrences, "occurences"); in add()
274 CollectPreconditions.checkPositive(occurrences, "occurences"); in remove()
315 CollectPreconditions.checkPositive(occurrences, "occurences"); in removeExactly()
DObjectCountHashMap.java20 import static com.google.common.collect.CollectPreconditions.checkPositive;
275 checkPositive(value, "count"); in put()
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/inference/
DChiSquareTestImpl.java76 checkPositive(expected); in chiSquare()
370 private void checkPositive(double[] in) throws IllegalArgumentException { in checkPositive() method in ChiSquareTestImpl
/external/protobuf/java/util/src/main/java/com/google/protobuf/util/
DDurations.java169 public static Duration checkPositive(Duration duration) { in checkPositive() method in Durations