Searched refs:arrayLength (Results 1 – 6 of 6) sorted by relevance
/libcore/benchmarks/src/benchmarks/ |
D | SystemArrayCopyBenchmark.java | 25 int arrayLength; field in SystemArrayCopyBenchmark 30 final int len = arrayLength; in timeSystemCharArrayCopy() 39 final int len = arrayLength; in timeSystemByteArrayCopy() 48 final int len = arrayLength; in timeSystemShortArrayCopy() 57 final int len = arrayLength; in timeSystemIntArrayCopy() 66 final int len = arrayLength; in timeSystemLongArrayCopy() 75 final int len = arrayLength; in timeSystemFloatArrayCopy() 84 final int len = arrayLength; in timeSystemDoubleArrayCopy() 93 final int len = arrayLength; in timeSystemBooleanArrayCopy()
|
D | DeepArrayOpsBenchmark.java | 27 @Param({"1", "4", "16", "256", "2048"}) int arrayLength; field in DeepArrayOpsBenchmark 36 array = new Object[arrayLength * 13]; in setUp() 37 array2 = new Object[arrayLength * 13]; in setUp() 38 for (int i = 0; i < arrayLength; i += 13) { in setUp()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | ThreadTest.java | 306 int arrayLength = 10; in test_enumerate$Ljava_lang_Thread() local 307 Thread[] tarray = new Thread[arrayLength]; in test_enumerate$Ljava_lang_Thread()
|
/libcore/luni/src/main/java/java/util/ |
D | Arrays.java | 1717 public static void checkOffsetAndCount(int arrayLength, int offset, int count) { in checkOffsetAndCount() argument 1718 if ((offset | count) < 0 || offset > arrayLength || arrayLength - offset < count) { in checkOffsetAndCount() 1719 throw new ArrayIndexOutOfBoundsException(arrayLength, offset, in checkOffsetAndCount()
|
/libcore/libart/src/main/java/java/lang/ |
D | String.java | 507 …private StringIndexOutOfBoundsException failedBoundsCheck(int arrayLength, int offset, int count) { in failedBoundsCheck() argument 508 throw new StringIndexOutOfBoundsException(arrayLength, offset, count); in failedBoundsCheck()
|
/libcore/luni/src/main/native/ |
D | libcore_io_Posix.cpp | 1065 size_t arrayLength = env->GetArrayLength(javaStructs); in Posix_poll() local 1066 UniquePtr<struct pollfd[]> fds(new struct pollfd[arrayLength]); in Posix_poll() 1067 memset(fds.get(), 0, sizeof(struct pollfd) * arrayLength); in Posix_poll() 1069 for (size_t i = 0; i < arrayLength; ++i) { in Posix_poll()
|