/external/guava/src/com/google/common/primitives/ |
D | UnsignedBytes.java | 21 import static com.google.common.base.Preconditions.checkArgument; 48 checkArgument(value >> 8 == 0, "out of range: %s", value); in checkedCast() 94 checkArgument(array.length > 0); in min() 114 checkArgument(array.length > 0); in max()
|
D | SignedBytes.java | 23 import static com.google.common.base.Preconditions.checkArgument; 49 checkArgument(result == value, "Out of range: %s", value); in checkedCast() 93 checkArgument(array.length > 0); in min() 112 checkArgument(array.length > 0); in max()
|
D | Chars.java | 31 import static com.google.common.base.Preconditions.checkArgument; 74 checkArgument(result == value, "Out of range: %s", value); in checkedCast() 214 checkArgument(array.length > 0); in min() 233 checkArgument(array.length > 0); in max() 298 checkArgument(bytes.length >= BYTES, in fromByteArray() 321 checkArgument(minLength >= 0, "Invalid minLength: %s", minLength); in ensureCapacity() 322 checkArgument(padding >= 0, "Invalid padding: %s", padding); in ensureCapacity()
|
D | Shorts.java | 31 import static com.google.common.base.Preconditions.checkArgument; 74 checkArgument(result == value, "Out of range: %s", value); in checkedCast() 214 checkArgument(array.length > 0); in min() 233 checkArgument(array.length > 0); in max() 298 checkArgument(bytes.length >= BYTES, in fromByteArray() 321 checkArgument(minLength >= 0, "Invalid minLength: %s", minLength); in ensureCapacity() 322 checkArgument(padding >= 0, "Invalid padding: %s", padding); in ensureCapacity()
|
D | Ints.java | 31 import static com.google.common.base.Preconditions.checkArgument; 74 checkArgument(result == value, "Out of range: %s", value); in checkedCast() 214 checkArgument(array.length > 0); in min() 233 checkArgument(array.length > 0); in max() 304 checkArgument(bytes.length >= BYTES, in fromByteArray() 330 checkArgument(minLength >= 0, "Invalid minLength: %s", minLength); in ensureCapacity() 331 checkArgument(padding >= 0, "Invalid padding: %s", padding); in ensureCapacity()
|
D | Longs.java | 31 import static com.google.common.base.Preconditions.checkArgument; 182 checkArgument(array.length > 0); in min() 201 checkArgument(array.length > 0); in max() 277 checkArgument(bytes.length >= BYTES, in fromByteArray() 307 checkArgument(minLength >= 0, "Invalid minLength: %s", minLength); in ensureCapacity() 308 checkArgument(padding >= 0, "Invalid padding: %s", padding); in ensureCapacity()
|
D | Doubles.java | 30 import static com.google.common.base.Preconditions.checkArgument; 187 checkArgument(array.length > 0); in min() 205 checkArgument(array.length > 0); in max() 254 checkArgument(minLength >= 0, "Invalid minLength: %s", minLength); in ensureCapacity() 255 checkArgument(padding >= 0, "Invalid padding: %s", padding); in ensureCapacity()
|
D | Floats.java | 30 import static com.google.common.base.Preconditions.checkArgument; 184 checkArgument(array.length > 0); in min() 202 checkArgument(array.length > 0); in max() 251 checkArgument(minLength >= 0, "Invalid minLength: %s", minLength); in ensureCapacity() 252 checkArgument(padding >= 0, "Invalid padding: %s", padding); in ensureCapacity()
|
D | Bytes.java | 20 import static com.google.common.base.Preconditions.checkArgument; 195 checkArgument(minLength >= 0, "Invalid minLength: %s", minLength); in ensureCapacity() 196 checkArgument(padding >= 0, "Invalid padding: %s", padding); in ensureCapacity()
|
D | Booleans.java | 31 import static com.google.common.base.Preconditions.checkArgument; 218 checkArgument(minLength >= 0, "Invalid minLength: %s", minLength); in ensureCapacity() 219 checkArgument(padding >= 0, "Invalid padding: %s", padding); in ensureCapacity()
|
/external/guava/src/com/google/common/util/concurrent/ |
D | SimpleTimeLimiter.java | 19 import static com.google.common.base.Preconditions.checkArgument; 87 checkArgument(timeoutDuration > 0, "bad timeout: " + timeoutDuration); in newProxy() 88 checkArgument(interfaceType.isInterface(), in newProxy() 119 checkArgument(timeoutDuration > 0, "bad timeout: " + timeoutDuration); in callWithTimeout()
|
/external/guava/src/com/google/common/collect/ |
D | ConcurrentHashMultiset.java | 20 import static com.google.common.base.Preconditions.checkArgument; 104 checkArgument(countMap.isEmpty()); in ConcurrentHashMultiset() 185 checkArgument(occurrences > 0, "Invalid occurrences: %s", occurrences); in add() 194 checkArgument(occurrences <= Integer.MAX_VALUE - current, in add() 220 checkArgument(occurrences > 0, "Invalid occurrences: %s", occurrences); in remove() 278 checkArgument(occurrences > 0, "Invalid occurrences: %s", occurrences); in removeExactly()
|
D | AbstractBiMap.java | 21 import static com.google.common.base.Preconditions.checkArgument; 74 checkArgument(forward.isEmpty()); in setDelegates() 75 checkArgument(backward.isEmpty()); in setDelegates() 76 checkArgument(forward != backward); in setDelegates() 109 checkArgument(!containsValue(value), "value already present: %s", value); in putInBothMaps() 314 checkArgument(!containsValue(value),
|
D | EnumBiMap.java | 19 import static com.google.common.base.Preconditions.checkArgument; 82 checkArgument(!map.isEmpty()); in inferKeyType() 90 checkArgument(!map.isEmpty()); in inferValueType()
|
D | Hashing.java | 20 import static com.google.common.base.Preconditions.checkArgument; 55 checkArgument(setSize < MAX_TABLE_SIZE, "collection too large"); in chooseTableSize()
|
D | EnumMultiset.java | 20 import static com.google.common.base.Preconditions.checkArgument; 52 checkArgument(iterator.hasNext(), in create()
|
D | AbstractMapBasedMultiset.java | 20 import static com.google.common.base.Preconditions.checkArgument; 244 checkArgument( 254 checkArgument(newCount <= Integer.MAX_VALUE, 266 checkArgument(
|
D | Multisets.java | 21 import static com.google.common.base.Preconditions.checkArgument; 156 checkArgument(n >= 0); in immutableEntry() 213 checkArgument(occurrences > 0); 469 checkArgument(count >= 0, "%s cannot be negative: %s", name, count);
|
D | Collections2.java | 32 import static com.google.common.base.Preconditions.checkArgument; 143 checkArgument(predicate.apply(element)); in add() 149 checkArgument(predicate.apply(element)); in addAll()
|
D | ArrayListMultimap.java | 31 import static com.google.common.base.Preconditions.checkArgument; 108 checkArgument(expectedValuesPerKey >= 0); in ArrayListMultimap()
|
D | Lists.java | 38 import static com.google.common.base.Preconditions.checkArgument; 90 checkArgument(arraySize >= 0); in computeArrayListCapacity() 467 checkArgument(size > 0);
|
/external/guava/src/com/google/common/io/ |
D | Resources.java | 19 import static com.google.common.base.Preconditions.checkArgument; 147 checkArgument(url != null, "resource %s not found.", resourceName); 159 checkArgument(url != null, "resource %s relative to %s not found.",
|
D | Files.java | 185 Preconditions.checkArgument(file.length() <= Integer.MAX_VALUE); 445 Preconditions.checkArgument(!from.equals(to), 474 Preconditions.checkArgument(directory.isDirectory(),
|
/external/guava/src/com/google/common/base/ |
D | Splitter.java | 19 import static com.google.common.base.Preconditions.checkArgument; 157 checkArgument(separator.length() != 0, 202 checkArgument(!separatorPattern.matcher("").matches(), 252 checkArgument(length > 0, "The length may not be less than 1");
|
D | Preconditions.java | 69 public static void checkArgument(boolean expression) { in checkArgument() method in Preconditions 84 public static void checkArgument(boolean expression, Object errorMessage) { in checkArgument() method in Preconditions 109 public static void checkArgument(boolean expression, in checkArgument() method in Preconditions
|