Home
last modified time | relevance | path

Searched refs:arrayLength (Results 1 – 25 of 72) sorted by relevance

123

/external/proguard/src/proguard/evaluation/value/
DArrayReferenceValue.java34 protected final IntegerValue arrayLength; field in ArrayReferenceValue
42 IntegerValue arrayLength) in ArrayReferenceValue() argument
46 this.arrayLength = arrayLength; in ArrayReferenceValue()
52 public IntegerValue arrayLength(ValueFactory valueFactory) in arrayLength() method in ArrayReferenceValue
54 return arrayLength; in arrayLength()
98 … this.arrayLength.generalize(other.arrayLength)) : in generalize()
105 if (this.arrayLength.equal(other.arrayLength) == NEVER) in equal()
150 this.arrayLength.equals(((ArrayReferenceValue)object).arrayLength); in equals()
157 arrayLength.hashCode(); in hashCode()
163 return super.toString() + '['+arrayLength+']'; in toString()
DDetailedArrayReferenceValue.java46 IntegerValue arrayLength, in DetailedArrayReferenceValue() argument
50 super(type, referencedClass, arrayLength, valuefactory, id); in DetailedArrayReferenceValue()
53 if (arrayLength.isParticular() && in DetailedArrayReferenceValue()
54 arrayLength.value() <= MAXIMUM_STORED_ARRAY_LENGTH) in DetailedArrayReferenceValue()
64 this.values = new Value[arrayLength.value()]; in DetailedArrayReferenceValue()
DDetailedValueFactory.java38 IntegerValue arrayLength) in createArrayReferenceValue() argument
44 arrayLength, in createArrayReferenceValue()
DIdentifiedValueFactory.java82 IntegerValue arrayLength) in createArrayReferenceValue() argument
88 arrayLength, in createArrayReferenceValue()
DIdentifiedArrayReferenceValue.java42 IntegerValue arrayLength, in IdentifiedArrayReferenceValue() argument
46 super(type, referencedClass, arrayLength); in IdentifiedArrayReferenceValue()
DParticularValueFactory.java103 IntegerValue arrayLength) in createArrayReferenceValue() argument
109 arrayLength); in createArrayReferenceValue()
/external/protobuf/javanano/src/main/java/com/google/protobuf/nano/
DExtension.java287 int arrayLength = Array.getLength(array); in writeRepeatedData() local
288 for (int i = 0; i < arrayLength; i++) { in writeRepeatedData()
307 int arrayLength = Array.getLength(array); in computeRepeatedSerializedSize() local
308 for (int i = 0; i < arrayLength; i++) { in computeRepeatedSerializedSize()
472 int arrayLength = Array.getLength(array); in writeRepeatedData() local
480 for (int i = 0; i < arrayLength; i++) { in writeRepeatedData()
485 for (int i = 0; i < arrayLength; i++) { in writeRepeatedData()
490 for (int i = 0; i < arrayLength; i++) { in writeRepeatedData()
495 for (int i = 0; i < arrayLength; i++) { in writeRepeatedData()
500 for (int i = 0; i < arrayLength; i++) { in writeRepeatedData()
[all …]
DWireFormatNano.java113 int arrayLength = 1; in getRepeatedFieldArrayLength() local
118 arrayLength++; in getRepeatedFieldArrayLength()
121 return arrayLength; in getRepeatedFieldArrayLength()
/external/conscrypt/common/src/main/java/org/conscrypt/
DArrayUtils.java29 static void checkOffsetAndCount(int arrayLength, int offset, int count) { in checkOffsetAndCount() argument
30 if ((offset | count) < 0 || offset > arrayLength || arrayLength - offset < count) { in checkOffsetAndCount()
31 throw new ArrayIndexOutOfBoundsException("length=" + arrayLength + "; regionStart=" in checkOffsetAndCount()
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DArrayUtils.java30 static void checkOffsetAndCount(int arrayLength, int offset, int count) { in checkOffsetAndCount() argument
31 if ((offset | count) < 0 || offset > arrayLength || arrayLength - offset < count) { in checkOffsetAndCount()
32 throw new ArrayIndexOutOfBoundsException("length=" + arrayLength + "; regionStart=" in checkOffsetAndCount()
/external/parameter-framework/upstream/parameter/
DParameterBlockType.cpp57 size_t arrayLength = getArrayLength(); in populate() local
59 if (arrayLength) { in populate()
62 for (size_t child = 0; child < arrayLength; child++) { in populate()
DComponentInstance.cpp123 size_t arrayLength = getArrayLength(); in populate() local
125 if (arrayLength != 0) { in populate()
128 for (size_t child = 0; child < arrayLength; child++) { in populate()
DElementHandle.cpp364 bool ElementHandle::checkSetValidity(size_t arrayLength, string &error) const in checkSetValidity() argument
367 if (not checkGetValidity(arrayLength != 0, error)) { in checkSetValidity()
377 if (arrayLength && (arrayLength != getArrayLength())) { in checkSetValidity()
381 to_string(getArrayLength()) + ", got: " + to_string(arrayLength); in checkSetValidity()
DArrayParameter.cpp191 size_t arrayLength = getArrayLength(); in setDefaultValues() local
193 for (valueIndex = 0; valueIndex < arrayLength; valueIndex++) { in setDefaultValues()
295 size_t arrayLength = getArrayLength(); in getValues() local
301 for (size_t valueIndex = 0; valueIndex < arrayLength; valueIndex++) { in getValues()
/external/oj-libjdwp/src/share/back/
DArrayReferenceImpl.c35 jsize arrayLength; in length() local
42 arrayLength = JNI_FUNC_PTR(env,GetArrayLength)(env, array); in length()
43 (void)outStream_writeInt(out, arrayLength); in length()
232 jint arrayLength; in getValues() local
250 arrayLength = JNI_FUNC_PTR(env,GetArrayLength)(env, array); in getValues()
253 length = arrayLength - index; in getValues()
256 if ((index < 0) || (index > arrayLength - 1)) { in getValues()
261 if ((length < 0) || (length + index > arrayLength)) { in getValues()
480 int arrayLength; in setValues() local
498 arrayLength = JNI_FUNC_PTR(env,GetArrayLength)(env, array); in setValues()
[all …]
/external/deqp/external/openglcts/modules/common/
DglcShaderLibraryCase.hpp85 int arrayLength; // Number of elements in array (currently always 1). member
91 int arrayLength; // Combined array length of each value (lengths must be same, or one). member
95 arrayLength = 0; in ValueBlock()
DglcShaderLibrary.cpp847 result.arrayLength = 0; in parseValue()
852 result.arrayLength++; in parseValue()
870 result.arrayLength = 1; in parseValue()
897 int arrayLength = 1; in parseValueBlock() local
901 if (val.arrayLength > 1) in parseValueBlock()
903 DE_ASSERT(arrayLength == 1 || arrayLength == val.arrayLength); in parseValueBlock()
904 arrayLength = val.arrayLength; in parseValueBlock()
907 valueBlock.arrayLength = arrayLength; in parseValueBlock()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/jdwp/
DTypesLengths.java104 private static int arrayLength; field in TypesLengths
165 return arrayLength; in getTypeLength()
254 arrayLength = typeLength; in setTypeLength()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ArrayType/
DNewInstanceTest.java128 int arrayLength = reply.getNextValueAsInt(); in testNewInstance001() local
129 logWriter.println("ArrayReference.Length: arrayLength=" + arrayLength); in testNewInstance001()
131 10, arrayLength); in testNewInstance001()
/external/icu/android_icu4j/libcore_bridge/src/java/com/android/i18n/timezone/internal/
DNioBufferIterator.java138 private static void checkArrayBounds(int arrayOffset, int arrayLength, int count) { in checkArrayBounds() argument
146 if (targetPos < 0 || targetPos > arrayLength) { in checkArrayBounds()
148 "Write outside range: arrayLength=" + arrayLength + ", arrayOffset=" in checkArrayBounds()
/external/icu/icu4c/source/samples/cal/
Dcal.c53 int32_t arrayLength,
59 int32_t arrayLength);
293 int32_t arrayLength, in get_symbols() argument
306 if(count != arrayLength + lowestIndex) { in get_symbols()
310 for(i = 0; i < arrayLength; i++) { in get_symbols()
311 int32_t idx = (i + firstIndex) % arrayLength; in get_symbols()
323 int32_t arrayLength) in free_symbols() argument
327 for(i = 0; i < arrayLength; i++) { in free_symbols()
/external/deqp/modules/gles3/functional/
Des3fFragmentOutputTests.cpp99 , arrayLength (0) in FragmentOutput()
107 , arrayLength (arrayLength_) in FragmentOutput()
114 int arrayLength; //!< 0 if not an array. member
182 bool isArray = output.arrayLength > 0; in createProgram()
191 for (int elemNdx = 0; elemNdx < output.arrayLength; elemNdx++) in createProgram()
197 … out " << outputPrec << " " << typeName << " out" << outNdx << "[" << output.arrayLength << "];\n"; in createProgram()
217 bool isArray = output.arrayLength > 0; in createProgram()
221 for (int elemNdx = 0; elemNdx < output.arrayLength; elemNdx++) in createProgram()
335 numVecs += (i->arrayLength > 0 ? i->arrayLength : 1); in getNumInputVectors()
631 int numVecs = output.arrayLength > 0 ? output.arrayLength : 1; in iterate()
[all …]
/external/grpc-grpc-java/okhttp/third_party/okhttp/main/java/io/grpc/okhttp/internal/
DUtil.java55 public static void checkOffsetAndCount(long arrayLength, long offset, long count) { in checkOffsetAndCount() argument
56 if ((offset | count) < 0 || offset > arrayLength || arrayLength - offset < count) { in checkOffsetAndCount()
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiGetMemoryCommitment.cpp388 const int arrayLength = 10; in iterate() local
390 VkDeviceSize allocSize[arrayLength]; in iterate()
396 for (int i = 0; i < arrayLength; ++i) in iterate()
403 for (int i = 0; i < arrayLength; ++i) in iterate()
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/
DUtil.java57 public static void checkOffsetAndCount(long arrayLength, long offset, long count) { in checkOffsetAndCount() argument
58 if ((offset | count) < 0 || offset > arrayLength || arrayLength - offset < count) { in checkOffsetAndCount()

123