/external/conscrypt/src/main/java/org/conscrypt/util/ |
Arrays.java | 28 * doesn't exceed {@code arrayLength}. 32 public static final void checkOffsetAndCount(int arrayLength, int offset, int count) { 33 if ((offset | count) < 0 || offset > arrayLength || arrayLength - offset < count) { 34 throw new ArrayIndexOutOfBoundsException("length=" + arrayLength + "; regionStart="
|
/libcore/benchmarks/src/benchmarks/ |
SystemArrayCopyBenchmark.java | 25 int arrayLength; 30 final int len = arrayLength; 39 final int len = arrayLength; 48 final int len = arrayLength; 57 final int len = arrayLength; 66 final int len = arrayLength; 75 final int len = arrayLength; 84 final int len = arrayLength; 93 final int len = arrayLength;
|
DeepArrayOpsBenchmark.java | 27 @Param({"1", "4", "16", "256", "2048"}) int arrayLength; 36 array = new Object[arrayLength * 13]; 37 array2 = new Object[arrayLength * 13]; 38 for (int i = 0; i < arrayLength; i += 13) {
|
/external/okhttp/okio/src/main/java/okio/ |
Util.java | 27 public static void checkOffsetAndCount(long arrayLength, long offset, long count) { 28 if ((offset | count) < 0 || offset > arrayLength || arrayLength - offset < count) {
|
/external/protobuf/java/src/main/java/com/google/protobuf/nano/ |
WireFormatNano.java | 113 int arrayLength = 1; 122 arrayLength++; 125 return arrayLength;
|
Extension.java | 268 int arrayLength = Array.getLength(array); 269 for (int i = 0; i < arrayLength; i++) { 288 int arrayLength = Array.getLength(array); 289 for (int i = 0; i < arrayLength; i++) { 488 int arrayLength = Array.getLength(array); 496 for (int i = 0; i < arrayLength; i++) { 501 for (int i = 0; i < arrayLength; i++) { 506 for (int i = 0; i < arrayLength; i++) { 511 for (int i = 0; i < arrayLength; i++) { 516 for (int i = 0; i < arrayLength; i++) [all...] |
/frameworks/base/telephony/java/android/telephony/ |
IccOpenLogicalChannelResponse.java | 66 int arrayLength = in.readInt(); 67 if (arrayLength > 0) { 68 mSelectResponse = new byte[arrayLength];
|
/external/proguard/src/proguard/evaluation/value/ |
ValueFactory.java | 170 IntegerValue arrayLength) 174 arrayLength, 186 IntegerValue arrayLength,
|
/frameworks/base/core/java/android/content/pm/ |
LimitedLengthInputStream.java | 73 final int arrayLength = buffer.length; 74 Arrays.checkOffsetAndCount(arrayLength, offset, byteCount);
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/jdwp/ |
TypesLengths.java | 104 private static int arrayLength; 165 return arrayLength; 254 arrayLength = typeLength;
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ArrayType/ |
NewInstanceTest.java | 127 int arrayLength = reply.getNextValueAsInt(); 128 logWriter.println("ArrayReference.Length: arrayLength=" + arrayLength); 130 10, arrayLength);
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/asn1/der/ |
BerInputStreamTest.java | 109 int arrayLength = 17000; 112 byte[] encoding = new byte[arrayLength + 4]; 117 encoding[2] = (byte) (arrayLength >> 8); 118 encoding[3] = (byte) (arrayLength & 0xFF);
|
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/ |
MarshalQueryableArray.java | 129 int arrayLength = Array.getLength(value); 133 return elementSize * arrayLength; 137 for (int i = 0; i < arrayLength; ++i) {
|
/packages/inputmethods/LatinIME/native/jni/src/utils/ |
jni_data_utils.h | 38 const jsize arrayLength = env->GetArrayLength(array); 39 outVector->resize(arrayLength); 40 env->GetIntArrayRegion(array, 0 /* start */, arrayLength, outVector->data());
|
/cts/suite/cts/deviceTests/simplecpu/src/com/android/cts/simplecpu/ |
SimpleCpuTest.java | 94 * @param arrayLength 96 private void doTestSort(int numberRepeat, int arrayLength) { 100 result[i] = CpuNative.runSort(arrayLength, numberRepeatInEachCall);
|
/external/icu/icu4c/source/samples/cal/ |
cal.c | 49 int32_t arrayLength, 55 int32_t arrayLength); 289 int32_t arrayLength, 302 if(count != arrayLength + lowestIndex) { 306 for(i = 0; i < arrayLength; i++) { 307 int32_t idx = (i + firstIndex) % arrayLength; 319 int32_t arrayLength) 323 for(i = 0; i < arrayLength; i++) {
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/ |
Util.java | 79 public static void checkOffsetAndCount(long arrayLength, long offset, long count) { 80 if ((offset | count) < 0 || offset > arrayLength || arrayLength - offset < count) {
|
/external/deqp/modules/gles3/functional/ |
es3fFragmentOutputTests.cpp | 99 , arrayLength (0) 107 , arrayLength (arrayLength_) 114 int arrayLength; //!< 0 if not an array. 182 bool isArray = output.arrayLength > 0; 190 for (int elemNdx = 0; elemNdx < output.arrayLength; elemNdx++) 196 frag << "layout(location = " << output.location << ") out " << precName << " " << typeName << " out" << outNdx << "[" << output.arrayLength << "];\n"; 216 bool isArray = output.arrayLength > 0; 220 for (int elemNdx = 0; elemNdx < output.arrayLength; elemNdx++) 334 numVecs += (i->arrayLength > 0 ? i->arrayLength : 1) [all...] |
/external/deqp/modules/glshared/ |
glsShaderConstExprTests.cpp | 87 shaderOutput[0].arrayLength = 1; 92 shaderOutput[0].values[0].arrayLength = 1;
|
glsShaderLibraryCase.hpp | 90 int arrayLength; // Number of elements in array (currently always 1). 91 std::vector<Element> elements; // Scalar values (length dataType.scalarSize * arrayLength). 98 int arrayLength; // Combined array length of each value (lengths must be same, or one).
|
glsRandomUniformBlockCase.cpp | 192 const int arrayLength = rnd.getInt(1, m_maxArrayLength); 194 return VarType(elementType, arrayLength);
|
/frameworks/base/obex/javax/obex/ |
ObexHelper.java | [all...] |
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/sdk/ |
RemoteObject.js | 66 arrayLength: function() 549 arrayLength: function() 968 arrayLength: function()
|
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/ |
CameraTestUtils.java | 727 int arrayLength = Array.getLength(array); 728 if (arrayLength == 0) { 733 final T[] result = (T[]) Array.newInstance(wrapperClass, arrayLength); 734 for (int i = 0; i < arrayLength; i++) { [all...] |
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/components/ |
ObjectPropertiesSection.js | 73 if (this.object.arrayLength() > WebInspector.ObjectPropertiesSection._arrayLoadThreshold) { 75 WebInspector.ArrayGroupingTreeElement._populateArray(this.propertiesTreeOutline, this.object, 0, this.object.arrayLength() - 1); 486 if (value.arrayLength() > WebInspector.ObjectPropertiesSection._arrayLoadThreshold) { 488 WebInspector.ArrayGroupingTreeElement._populateArray(treeElement, value, 0, value.arrayLength() - 1); [all...] |