/external/guava/android/guava-tests/test/com/google/common/math/ |
D | MathPreconditionsTest.java | 36 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/ |
D | MathPreconditionsTest.java | 36 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/ |
D | MathPreconditions.java | 31 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
|
D | IntMath.java | 21 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()
|
D | LongMath.java | 21 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()
|
D | BigIntegerMath.java | 20 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/ |
D | MathPreconditions.java | 31 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
|
D | IntMath.java | 21 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()
|
D | LongMath.java | 21 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()
|
D | BigIntegerMath.java | 20 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/ |
D | AbstractDirectedNetworkConnections.java | 22 import static com.google.common.graph.Graphs.checkPositive; 126 checkPositive(++selfLoopCount);
|
D | StandardMutableValueGraph.java | 24 import static com.google.common.graph.Graphs.checkPositive; 104 checkPositive(++edgeCount); in putEdgeValue()
|
D | DirectedGraphConnections.java | 25 import static com.google.common.graph.Graphs.checkPositive; 515 checkPositive(++predecessorCount); 542 checkPositive(++successorCount);
|
D | Graphs.java | 611 static int checkPositive(int value) { 617 static long checkPositive(long value) {
|
/external/guava/android/guava/src/com/google/common/graph/ |
D | AbstractDirectedNetworkConnections.java | 22 import static com.google.common.graph.Graphs.checkPositive; 126 checkPositive(++selfLoopCount);
|
D | StandardMutableValueGraph.java | 24 import static com.google.common.graph.Graphs.checkPositive; 104 checkPositive(++edgeCount); in putEdgeValue()
|
D | DirectedGraphConnections.java | 25 import static com.google.common.graph.Graphs.checkPositive; 515 checkPositive(++predecessorCount); 542 checkPositive(++successorCount);
|
D | Graphs.java | 595 static int checkPositive(int value) { 601 static long checkPositive(long value) {
|
/external/guava/guava/src/com/google/common/collect/ |
D | CollectPreconditions.java | 52 static void checkPositive(int value, String name) { in checkPositive() method in CollectPreconditions
|
D | ConcurrentHashMultiset.java | 208 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/ |
D | CollectPreconditions.java | 52 static void checkPositive(int value, String name) { in checkPositive() method in CollectPreconditions
|
D | ConcurrentHashMultiset.java | 208 CollectPreconditions.checkPositive(occurrences, "occurences"); in add() 274 CollectPreconditions.checkPositive(occurrences, "occurences"); in remove() 315 CollectPreconditions.checkPositive(occurrences, "occurences"); in removeExactly()
|
D | ObjectCountHashMap.java | 20 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/ |
D | ChiSquareTestImpl.java | 76 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/ |
D | Durations.java | 169 public static Duration checkPositive(Duration duration) { in checkPositive() method in Durations
|