/external/tflite-support/tensorflow_lite_support/java/src/java/org/tensorflow/lite/support/common/ |
D | SupportPreconditions.java | 118 public static int checkElementIndex(int index, int size) { in checkElementIndex() method in SupportPreconditions 119 return checkElementIndex(index, size, "index"); in checkElementIndex() 133 public static int checkElementIndex(int index, int size, @Nullable String desc) { in checkElementIndex() method in SupportPreconditions
|
/external/guava/android/guava-tests/test/com/google/common/base/ |
D | PreconditionsTest.java | 236 assertEquals(0, Preconditions.checkElementIndex(0, 1)); in testCheckElementIndex_ok() 237 assertEquals(0, Preconditions.checkElementIndex(0, 2)); in testCheckElementIndex_ok() 238 assertEquals(1, Preconditions.checkElementIndex(1, 2)); in testCheckElementIndex_ok() 243 Preconditions.checkElementIndex(1, -1); in testCheckElementIndex_badSize() 253 Preconditions.checkElementIndex(-1, 1); in testCheckElementIndex_negative() 262 Preconditions.checkElementIndex(1, 1); in testCheckElementIndex_tooHigh() 271 Preconditions.checkElementIndex(-1, 1, "foo"); in testCheckElementIndex_withDesc_negative() 280 Preconditions.checkElementIndex(1, 1, "foo"); in testCheckElementIndex_withDesc_tooHigh()
|
/external/guava/guava-tests/test/com/google/common/base/ |
D | PreconditionsTest.java | 236 assertEquals(0, Preconditions.checkElementIndex(0, 1)); in testCheckElementIndex_ok() 237 assertEquals(0, Preconditions.checkElementIndex(0, 2)); in testCheckElementIndex_ok() 238 assertEquals(1, Preconditions.checkElementIndex(1, 2)); in testCheckElementIndex_ok() 243 Preconditions.checkElementIndex(1, -1); in testCheckElementIndex_badSize() 253 Preconditions.checkElementIndex(-1, 1); in testCheckElementIndex_negative() 262 Preconditions.checkElementIndex(1, 1); in testCheckElementIndex_tooHigh() 271 Preconditions.checkElementIndex(-1, 1, "foo"); in testCheckElementIndex_withDesc_negative() 280 Preconditions.checkElementIndex(1, 1, "foo"); in testCheckElementIndex_withDesc_tooHigh()
|
/external/guava/android/guava/src/com/google/common/collect/ |
D | RegularImmutableList.java | 19 import static com.google.common.base.Preconditions.checkElementIndex; 77 checkElementIndex(index, size); in get()
|
D | CartesianList.java | 17 import static com.google.common.base.Preconditions.checkElementIndex; 115 checkElementIndex(index, size()); in get() 125 checkElementIndex(axis, size()); in get()
|
D | ObjectCountHashMap.java | 19 import static com.google.common.base.Preconditions.checkElementIndex; 184 checkElementIndex(index, size); in getKey() 189 checkElementIndex(index, size); in getValue() 194 checkElementIndex(index, size); in setValue() 199 checkElementIndex(index, size); in getEntry()
|
D | ArrayTable.java | 20 import static com.google.common.base.Preconditions.checkElementIndex; 208 checkElementIndex(index, size()); in getEntry() 305 checkElementIndex(rowIndex, rowList.size()); 306 checkElementIndex(columnIndex, columnList.size()); 326 checkElementIndex(rowIndex, rowList.size()); 327 checkElementIndex(columnIndex, columnList.size());
|
D | Lists.java | 20 import static com.google.common.base.Preconditions.checkElementIndex; 330 checkElementIndex(index, size()); in get() 364 checkElementIndex(index, size()); in get() 664 checkElementIndex(index, size()); 742 checkElementIndex(index, size()); // for GWT 761 checkElementIndex(index, size()); // for GWT 807 checkElementIndex(index, size);
|
D | RegularImmutableMap.java | 19 import static com.google.common.base.Preconditions.checkElementIndex; 297 checkElementIndex(index, size); in createAsList() 360 checkElementIndex(index, size);
|
D | RegularContiguousSet.java | 18 import static com.google.common.base.Preconditions.checkElementIndex; 133 checkElementIndex(i, size());
|
/external/guava/guava/src/com/google/common/collect/ |
D | CartesianList.java | 17 import static com.google.common.base.Preconditions.checkElementIndex; 115 checkElementIndex(index, size()); in get() 125 checkElementIndex(axis, size()); in get()
|
D | ArrayTable.java | 20 import static com.google.common.base.Preconditions.checkElementIndex; 207 checkElementIndex(index, size()); in getEntry() 309 checkElementIndex(rowIndex, rowList.size()); 310 checkElementIndex(columnIndex, columnList.size()); 330 checkElementIndex(rowIndex, rowList.size()); 331 checkElementIndex(columnIndex, columnList.size());
|
D | Lists.java | 20 import static com.google.common.base.Preconditions.checkElementIndex; 331 checkElementIndex(index, size()); in get() 365 checkElementIndex(index, size()); in get() 677 checkElementIndex(index, size()); 755 checkElementIndex(index, size()); // for GWT 774 checkElementIndex(index, size()); // for GWT 820 checkElementIndex(index, size);
|
D | SingletonImmutableList.java | 43 Preconditions.checkElementIndex(index, 1); in get()
|
D | RegularContiguousSet.java | 18 import static com.google.common.base.Preconditions.checkElementIndex; 133 checkElementIndex(i, size());
|
/external/dagger2/java/dagger/internal/codegen/base/ |
D | Formatter.java | 19 import static com.google.common.base.Preconditions.checkElementIndex; 85 checkElementIndex(index, size); in formatArgumentInList()
|
/external/guava/android/guava/src/com/google/common/primitives/ |
D | Bytes.java | 18 import static com.google.common.base.Preconditions.checkElementIndex; 268 checkElementIndex(index, size()); in get() 304 checkElementIndex(index, size()); in set()
|
D | Booleans.java | 18 import static com.google.common.base.Preconditions.checkElementIndex; 406 checkElementIndex(index, size()); in get() 443 checkElementIndex(index, size()); in set()
|
D | Chars.java | 18 import static com.google.common.base.Preconditions.checkElementIndex; 538 checkElementIndex(index, size()); in get() 575 checkElementIndex(index, size()); in set()
|
D | Shorts.java | 18 import static com.google.common.base.Preconditions.checkElementIndex; 590 checkElementIndex(index, size()); in get() 626 checkElementIndex(index, size()); in set()
|
D | Floats.java | 18 import static com.google.common.base.Preconditions.checkElementIndex; 545 checkElementIndex(index, size()); in get() 581 checkElementIndex(index, size()); in set()
|
/external/guava/guava/src/com/google/common/primitives/ |
D | Bytes.java | 18 import static com.google.common.base.Preconditions.checkElementIndex; 268 checkElementIndex(index, size()); in get() 304 checkElementIndex(index, size()); in set()
|
D | Booleans.java | 18 import static com.google.common.base.Preconditions.checkElementIndex; 406 checkElementIndex(index, size()); in get() 443 checkElementIndex(index, size()); in set()
|
D | Chars.java | 18 import static com.google.common.base.Preconditions.checkElementIndex; 538 checkElementIndex(index, size()); in get() 575 checkElementIndex(index, size()); in set()
|
/external/cldr/tools/java/org/unicode/cldr/api/ |
D | CldrPath.java | 6 import static com.google.common.base.Preconditions.checkElementIndex; 325 checkElementIndex(n, getAttributeCount()); in getLocalAttributeName() 336 checkElementIndex(n, getAttributeCount()); in getLocalAttributeValue()
|