Searched refs:arraySize (Results 1 - 25 of 58) sorted by relevance

123

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
H A DCalendarCache.java18 makeArrays(arraySize);
28 arraySize = newSize;
29 threshold = (int)(arraySize * 0.75);
64 index = (index + delta) % arraySize;
71 int oldSize = arraySize;
76 arraySize = primes[++pIndex];
78 arraySize = arraySize * 2 + 1;
82 makeArrays(arraySize);
98 int h = (int)((key * 15821 + 1) % arraySize);
116 private int arraySize = primes[pIndex]; field in class:CalendarCache
[all...]
/external/icu/icu4c/source/samples/cal/
H A Duprint.c35 int32_t arraySize; local
44 arraySize = BUF_SIZE;
58 ucnv_fromUnicode(converter, &myTarget, myTarget + arraySize,
67 arraySize = BUF_SIZE;
/external/icu/icu4c/source/samples/date/
H A Duprint.c36 int32_t arraySize; local
45 arraySize = BUF_SIZE;
59 ucnv_fromUnicode(converter, &myTarget, myTarget + arraySize,
68 arraySize = BUF_SIZE;
/external/javassist/src/main/javassist/compiler/ast/
H A DNewExpr.java34 public NewExpr(int type, ASTList arraySize, ArrayInit init) { argument
35 super(null, new ASTList(arraySize));
43 ASTList arraySize, ArrayInit init) {
44 NewExpr e = new NewExpr(className, arraySize);
42 makeObjectArray(ASTList className, ASTList arraySize, ArrayInit init) argument
/external/replicaisland/src/com/replica/replicaisland/
H A DObjectManager.java40 public ObjectManager(int arraySize) { argument
42 mObjects = new FixedSizeArray<BaseObject>(arraySize);
43 mPendingAdditions = new FixedSizeArray<BaseObject>(arraySize);
44 mPendingRemovals = new FixedSizeArray<BaseObject>(arraySize);
H A DPhasedObjectManager.java40 public PhasedObjectManager(int arraySize) { argument
41 super(arraySize);
/external/deqp/modules/glshared/
H A DglsAttributeLocationTests.cpp641 string generateTestName (const AttribType& type, int arraySize) argument
643 return type.getName() + (arraySize != Attribute::NOT_ARRAY ? "_array_" + de::toString(arraySize) : "");
671 Attribute::Attribute (const AttribType& type, const string& name, deInt32 layoutLocation, const Cond& cond, int arraySize) argument
676 , m_arraySize (arraySize)
807 int arraySize)
808 : TestCase (testCtx, generateTestName(type, arraySize).c_str(), generateTestName(type, arraySize).c_str())
811 , m_arraySize (arraySize)
832 int arraySize)
804 BindAttributeTest(tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const AttribType& type, int arraySize) argument
829 BindMaxAttributesTest(tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const AttribType& type, int arraySize) argument
863 BindAliasingAttributeTest(tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const AttribType& type, int offset, int arraySize) argument
893 BindMaxAliasingAttributeTest(tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const AttribType& type, int arraySize) argument
930 BindHoleAttributeTest(tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const AttribType& type, int arraySize) argument
970 BindInactiveAliasingAttributeTest(tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const AttribType& type, int arraySize) argument
1071 LocationAttributeTest(tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const AttribType& type, int arraySize) argument
1094 LocationMaxAttributesTest(tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const AttribType& type, int arraySize) argument
1126 LocationHoleAttributeTest(tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const AttribType& type, int arraySize) argument
1162 MixedAttributeTest(tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const AttribType& type, int arraySize) argument
1187 MixedMaxAttributesTest(tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const AttribType& type, int arraySize) argument
1227 MixedHoleAttributeTest(tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const AttribType& type, int arraySize) argument
1300 BindRelinkHoleAttributeTest(tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const AttribType& type, int arraySize) argument
1343 MixedRelinkHoleAttributeTest(tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const AttribType& type, int arraySize) argument
[all...]
H A DglsAttributeLocationTests.hpp100 int arraySize = NOT_ARRAY);
140 int arraySize = AttributeLocationTestUtil::Attribute::NOT_ARRAY);
159 int arraySize = AttributeLocationTestUtil::Attribute::NOT_ARRAY);
178 int arraySize = AttributeLocationTestUtil::Attribute::NOT_ARRAY);
197 int arraySize = AttributeLocationTestUtil::Attribute::NOT_ARRAY);
215 int arraySize = AttributeLocationTestUtil::Attribute::NOT_ARRAY);
233 int arraySize = AttributeLocationTestUtil::Attribute::NOT_ARRAY);
305 int arraySize = AttributeLocationTestUtil::Attribute::NOT_ARRAY);
323 int arraySize = AttributeLocationTestUtil::Attribute::NOT_ARRAY);
341 int arraySize
[all...]
H A DglsUniformBlockCase.hpp77 VarType (const VarType& elementType, int arraySize);
195 void setArraySize (int arraySize) { m_arraySize = arraySize; } argument
/external/icu/icu4c/source/test/letest/
H A Dxmlreader.cpp36 static le_uint32 *getHexArray(const UnicodeString &numbers, int32_t &arraySize) argument
40 arraySize = 1;
42 arraySize += 1;
45 le_uint32 *array = NEW_ARRAY(le_uint32, arraySize);
82 static float *getFloatArray(const UnicodeString &numbers, int32_t &arraySize) argument
86 arraySize = 1;
88 arraySize += 1;
91 float *array = NEW_ARRAY(float, arraySize);
/external/icu/icu4c/source/test/perf/leperf/
H A Dxmlreader.cpp36 static le_uint32 *getHexArray(const UnicodeString &numbers, int32_t &arraySize) argument
40 arraySize = 1;
42 arraySize += 1;
45 le_uint32 *array = NEW_ARRAY(le_uint32, arraySize);
82 static float *getFloatArray(const UnicodeString &numbers, int32_t &arraySize) argument
86 arraySize = 1;
88 arraySize += 1;
91 float *array = NEW_ARRAY(float, arraySize);
/external/skia/tests/
H A DSerializationTest.cpp82 static void Write(SkWriteBuffer& writer, unsigned char* data, uint32_t arraySize) { argument
83 writer.writeByteArray(data, arraySize);
85 static bool Read(SkValidatingReadBuffer& reader, unsigned char* data, uint32_t arraySize) { argument
86 return reader.readByteArray(data, arraySize);
91 static void Write(SkWriteBuffer& writer, SkColor* data, uint32_t arraySize) { argument
92 writer.writeColorArray(data, arraySize);
94 static bool Read(SkValidatingReadBuffer& reader, SkColor* data, uint32_t arraySize) { argument
95 return reader.readColorArray(data, arraySize);
100 static void Write(SkWriteBuffer& writer, int32_t* data, uint32_t arraySize) { argument
101 writer.writeIntArray(data, arraySize);
103 Read(SkValidatingReadBuffer& reader, int32_t* data, uint32_t arraySize) argument
109 Write(SkWriteBuffer& writer, SkPoint* data, uint32_t arraySize) argument
112 Read(SkValidatingReadBuffer& reader, SkPoint* data, uint32_t arraySize) argument
118 Write(SkWriteBuffer& writer, SkScalar* data, uint32_t arraySize) argument
121 Read(SkValidatingReadBuffer& reader, SkScalar* data, uint32_t arraySize) argument
[all...]
/external/icu/icu4c/source/extra/uconv/
H A Duwmsg.c44 int32_t arraySize; local
52 arraySize = BUF_SIZE;
66 ucnv_fromUnicode(converter, &myTarget, myTarget + arraySize,
75 arraySize = BUF_SIZE;
/external/icu/icu4c/source/samples/legacy/
H A Dlegacy.cpp39 void printArray(const char* const comment, const UChar UArray[][5], int32_t arraySize) { argument
42 for(i = 0; i<arraySize; i++) {
/external/icu/icu4c/source/common/
H A Dunistr_cnv.cpp370 int32_t arraySize; local
373 arraySize = US_STACKBUF_SIZE;
376 arraySize = dataLength + (dataLength >> 2);
382 if(!cloneArrayIfNeeded(arraySize, arraySize, doCopyArray)) {
406 arraySize = (int32_t)(length() + 2 * (mySourceEnd - mySource));
/external/protobuf/java/src/main/java/com/google/protobuf/
H A DSmallSortedMap.java94 * @param arraySize The size of the entry array containing the
99 SmallSortedMap<FieldDescriptorType, Object> newFieldMap(int arraySize) { argument
100 return new SmallSortedMap<FieldDescriptorType, Object>(arraySize) {
129 * @param arraySize The size of the entry array containing the
133 int arraySize) {
134 return new SmallSortedMap<K, V>(arraySize);
149 * @code arraySize Size of the array in which the lexicographically smallest
153 private SmallSortedMap(int arraySize) { argument
154 this.maxArraySize = arraySize;
132 newInstanceForTest( int arraySize) argument
/external/deqp/framework/opengl/
H A DgluProgramInterfaceQuery.hpp64 deUint32 arraySize; //!< GL_ARRAY_SIZE member in struct:glu::InterfaceVariableInfo
77 , arraySize (0)
H A DgluVarType.cpp49 VarType::VarType (const VarType& elementType, int arraySize) argument
52 DE_ASSERT(arraySize >= 0 || arraySize == UNSIZED_ARRAY);
53 m_data.array.size = arraySize;
H A DgluProgramInterfaceQuery.cpp92 info.arraySize = getProgramResourceUint(gl, program, programInterface, index, GL_ARRAY_SIZE);
/external/deqp/modules/gles31/functional/
H A Des31fSSBOLayoutCase.cpp120 void BufferBlock::setArraySize (int arraySize) argument
122 DE_ASSERT(arraySize >= 0);
123 m_lastUnsizedArraySizes.resize(arraySize == 0 ? 1 : arraySize, 0);
124 m_arraySize = arraySize;
162 , arraySize (-1)
175 int arraySize; member in struct:deqp::gles31::bb::BufferVarLayoutEntry
185 DE_ASSERT(entry.arraySize != 0 || entry.topLevelArraySize != 0);
186 return entry.arraySize == 0 || entry.topLevelArraySize == 0;
194 << ", arraySize
735 const int arraySize = entry.arraySize == 0 ? unsizedArraySize : entry.arraySize; local
1133 const int arraySize = curType.getArraySize() == VarType::UNSIZED_ARRAY ? block.getLastUnsizedArraySize(instanceNdx) : curType.getArraySize(); local
1217 const int arraySize = curType.getArraySize() == VarType::UNSIZED_ARRAY ? block.getLastUnsizedArraySize(instanceNdx) : curType.getArraySize(); local
1576 const int arraySize = curType.getArraySize() == VarType::UNSIZED_ARRAY ? block.getLastUnsizedArraySize(instanceNdx) : curType.getArraySize(); local
[all...]
H A Des31fSSBOLayoutCase.hpp98 void setArraySize (int arraySize);
/external/jmonkeyengine/engine/src/core/com/jme3/light/
H A DLightList.java325 int arraySize = Math.max(DEFAULT_SIZE, listSize);
326 list = new Light[arraySize];
327 distToOwner = new float[arraySize];
/external/skia/gm/
H A Ddftext.cpp114 size_t arraySize = SK_ARRAY_COUNT(textSizes); variable
115 for (size_t i = 0; i < arraySize; ++i) {
118 SkScalar scaleFactor = SkScalarInvert(scales[arraySize - i - 1]);
/external/guava/guava/src/com/google/common/collect/
H A DLists.java108 @VisibleForTesting static int computeArrayListCapacity(int arraySize) { argument
109 checkNonnegative(arraySize, "arraySize");
112 return Ints.saturatedCast(5L + arraySize + (arraySize / 10));
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
H A DLists.java106 @VisibleForTesting static int computeArrayListCapacity(int arraySize) { argument
107 checkNonnegative(arraySize, "arraySize");
110 return Ints.saturatedCast(5L + arraySize + (arraySize / 10));

Completed in 2261 milliseconds

123