Home
last modified time | relevance | path

Searched refs:arraySize (Results 1 – 25 of 129) sorted by relevance

123456

/external/icu/android_icu4j/src/main/java/android/icu/impl/
DCalendarCache.java22 makeArrays(arraySize); in CalendarCache()
32 arraySize = newSize; in makeArrays()
33 threshold = (int)(arraySize * 0.75); in makeArrays()
68 index = (index + delta) % arraySize; in findIndex()
75 int oldSize = arraySize; in rehash()
80 arraySize = primes[++pIndex]; in rehash()
82 arraySize = arraySize * 2 + 1; in rehash()
86 makeArrays(arraySize); in rehash()
102 int h = (int)((key * 15821 + 1) % arraySize); in hash()
104 h += arraySize; in hash()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DCalendarCache.java20 makeArrays(arraySize); in CalendarCache()
30 arraySize = newSize; in makeArrays()
31 threshold = (int)(arraySize * 0.75); in makeArrays()
66 index = (index + delta) % arraySize; in findIndex()
73 int oldSize = arraySize; in rehash()
78 arraySize = primes[++pIndex]; in rehash()
80 arraySize = arraySize * 2 + 1; in rehash()
84 makeArrays(arraySize); in rehash()
100 int h = (int)((key * 15821 + 1) % arraySize); in hash()
102 h += arraySize; in hash()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineImageViewTests.cpp197 const int arraySize = getArraySize(m_imageViewType); in createInstance() local
222 …nstance(context, renderSize, m_imageViewType, m_imageFormat, imageSize, arraySize, m_componentMapp… in createInstance()
342 const deUint32 arraySize = ImageViewTest::getArraySize(viewType); in createSubresourceRangeTests() local
366 { "lod_base_mip_level", 0.0f, { imageAspectFlags, 2u, numLevels - 2u, 0u, arraySize } }, in createSubresourceRangeTests()
367 { "lod_mip_levels", 4.0f, { imageAspectFlags, 0u, 3u, 0u, arraySize } }, in createSubresourceRangeTests()
373 { "base_array_layer", 0.0f, { imageAspectFlags, 0u, numLevels, 1u, arraySize - 1u } }, in createSubresourceRangeTests()
394 …ning_levels", 0.0f, { imageAspectFlags, 1u, VK_REMAINING_MIP_LEVELS, 0u, arraySize } }, in createSubresourceRangeTests()
409 { "lod_base_mip_level", 0.0f, { imageAspectFlags, 2u, numLevels - 2u, 0u, arraySize } }, in createSubresourceRangeTests()
410 { "lod_mip_levels", 4.0f, { imageAspectFlags, 0u, 3u, 0u, arraySize } }, in createSubresourceRangeTests()
416 { "base_array_layer", 0.0f, { imageAspectFlags, 0u, numLevels, 6u, arraySize - 6u } }, in createSubresourceRangeTests()
[all …]
/external/swiftshader/src/OpenGL/compiler/
DTypes.h190 int arraySize, const TLayoutQualifier &layoutQualifier) in TInterfaceBlock() argument
193 mArraySize(arraySize), in TInterfaceBlock()
211 int arraySize() const in arraySize() function
246 …primarySize(s0), secondarySize(s1), array(false), arraySize(0), maxArraySize(0), arrayInformationT… in type()
253 …primarySize(s0), secondarySize(s1), array(a), arraySize(0), maxArraySize(0), arrayInformationType(… in type()
260 …primarySize(1), secondarySize(1), array(false), arraySize(0), maxArraySize(0), arrayInformationTyp… in type()
268 …primarySize(1), secondarySize(1), array(arraySizeIn > 0), arraySize(arraySizeIn), maxArraySize(0),… in TType()
402 return arraySize * samplerRegisterCount(); in totalSamplerRegisterCount()
414 return arraySize * elementRegisterCount(); in totalRegisterCount()
432 bool isUnsizedArray() const { return array && arraySize == 0; } in isUnsizedArray()
[all …]
DOutputASM.h65 int arraySize; member
84 UniformBlock(const std::string& name, unsigned int dataSize, unsigned int arraySize,
89 unsigned int arraySize; member
123 …virtual void getBlockLayoutInfo(const TType &type, unsigned int arraySize, bool isRowMajorMatrix, …
124 …virtual void advanceOffset(const TType &type, unsigned int arraySize, bool isRowMajorMatrix, int a…
138 …void getBlockLayoutInfo(const TType &type, unsigned int arraySize, bool isRowMajorMatrix, int *arr…
139 …void advanceOffset(const TType &type, unsigned int arraySize, bool isRowMajorMatrix, int arrayStri…
147 …Attribute(GLenum type, const std::string &name, int arraySize, int layoutLocation, int registerInd…
151 int arraySize; member
168 return arraySize >= 1; in isArray()
[all …]
/external/deqp/external/openglcts/modules/gles31/
Des31cSeparateShaderObjsTests.cpp1260 …void progUniformi(const glw::Functions& gl, glw::GLuint prog, int arraySize, int* location, int* v… in progUniformi() argument
1271 gl.programUniform1iv(prog, location[4], arraySize, value); in progUniformi()
1272 value += 1 * arraySize; in progUniformi()
1273 gl.programUniform2iv(prog, location[6], arraySize, value); in progUniformi()
1274 value += 2 * arraySize; in progUniformi()
1275 gl.programUniform3iv(prog, location[8], arraySize, value); in progUniformi()
1276 value += 3 * arraySize; in progUniformi()
1277 gl.programUniform4iv(prog, location[10], arraySize, value); in progUniformi()
1281 …void progUniformui(const glw::Functions& gl, glw::GLuint prog, int arraySize, int* location, unsig… in progUniformui() argument
1292 gl.programUniform1uiv(prog, location[4], arraySize, value); in progUniformui()
[all …]
/external/deqp-deps/glslang/Test/
Dvulkan.vert27 layout(constant_id=222) const int arraySize = 4;
31 int a1[arraySize];
32 int a2[arraySize] = a1; // ERROR, can't use in initializer
49 float AofA0[2][arraySize]; // ERROR, only outer dimension
50 float AofA1[arraySize][arraySize]; // ERROR, only outer dimension
51 float AofA2[arraySize][2 + arraySize]; // ERROR, only outer dimension
52 float AofA3[arraySize][2];
56 } bai1[2][arraySize];
60 } bai2[arraySize][2];
Dspv.specConstant.vert3 layout(constant_id = 16) const int arraySize = 5;
4 in vec4 ucol[arraySize];
17 void foo(vec4 p[arraySize]);
22 size = arraySize;
38 void foo(vec4 p[arraySize])
/external/deqp/modules/glshared/
DglsAttributeLocationTests.cpp641 string generateTestName (const AttribType& type, int arraySize) in generateTestName() argument
643 …return type.getName() + (arraySize != Attribute::NOT_ARRAY ? "_array_" + de::toString(arraySize) :… in generateTestName()
671 …onst AttribType& type, const string& name, deInt32 layoutLocation, const Cond& cond, int arraySize) in Attribute() argument
676 , m_arraySize (arraySize) in Attribute()
807 int arraySize) in BindAttributeTest() argument
808 …: TestCase (testCtx, generateTestName(type, arraySize).c_str(), generateTestName(type, arraySize)… in BindAttributeTest()
811 , m_arraySize (arraySize) in BindAttributeTest()
832 int arraySize) in BindMaxAttributesTest() argument
833 …: TestCase (testCtx, generateTestName(type, arraySize).c_str(), generateTestName(type, arraySize in BindMaxAttributesTest()
836 , m_arraySize (arraySize) in BindMaxAttributesTest()
[all …]
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 = AttributeLocationTestUtil::Attribute::NOT_ARRAY);
[all …]
/external/skqp/tests/
DSerializationTest.cpp99 static void Write(SkWriteBuffer& writer, unsigned char* data, uint32_t arraySize) { in Write()
100 writer.writeByteArray(data, arraySize); in Write()
102 static bool Read(SkReadBuffer& reader, unsigned char* data, uint32_t arraySize) { in Read()
103 return reader.readByteArray(data, arraySize); in Read()
108 static void Write(SkWriteBuffer& writer, SkColor* data, uint32_t arraySize) { in Write()
109 writer.writeColorArray(data, arraySize); in Write()
111 static bool Read(SkReadBuffer& reader, SkColor* data, uint32_t arraySize) { in Read()
112 return reader.readColorArray(data, arraySize); in Read()
117 static void Write(SkWriteBuffer& writer, SkColor4f* data, uint32_t arraySize) { in Write()
118 writer.writeColor4fArray(data, arraySize); in Write()
[all …]
DFloatingPointTextureTest.cpp30 int arraySize, GrColorType colorType) { in runFPTest() argument
31 if (0 != arraySize % 4) { in runFPTest()
38 controlPixelData.setCount(arraySize); in runFPTest()
39 readBuffer.setCount(arraySize); in runFPTest()
41 for (int i = 0; i < arraySize; i += 4) { in runFPTest()
/external/skia/tests/
DSerializationTest.cpp99 static void Write(SkWriteBuffer& writer, unsigned char* data, uint32_t arraySize) { in Write()
100 writer.writeByteArray(data, arraySize); in Write()
102 static bool Read(SkReadBuffer& reader, unsigned char* data, uint32_t arraySize) { in Read()
103 return reader.readByteArray(data, arraySize); in Read()
108 static void Write(SkWriteBuffer& writer, SkColor* data, uint32_t arraySize) { in Write()
109 writer.writeColorArray(data, arraySize); in Write()
111 static bool Read(SkReadBuffer& reader, SkColor* data, uint32_t arraySize) { in Read()
112 return reader.readColorArray(data, arraySize); in Read()
117 static void Write(SkWriteBuffer& writer, SkColor4f* data, uint32_t arraySize) { in Write()
118 writer.writeColor4fArray(data, arraySize); in Write()
[all …]
DFloatingPointTextureTest.cpp30 int arraySize, GrColorType colorType) { in runFPTest() argument
31 if (0 != arraySize % 4) { in runFPTest()
38 controlPixelData.setCount(arraySize); in runFPTest()
39 readBuffer.setCount(arraySize); in runFPTest()
41 for (int i = 0; i < arraySize; i += 4) { in runFPTest()
/external/icu/icu4c/source/samples/cal/
Duprint.c39 int32_t arraySize; in uprint() local
48 arraySize = BUF_SIZE; in uprint()
62 ucnv_fromUnicode(converter, &myTarget, myTarget + arraySize, in uprint()
71 arraySize = BUF_SIZE; in uprint()
/external/icu/icu4c/source/samples/date/
Duprint.c40 int32_t arraySize; in uprint() local
49 arraySize = BUF_SIZE; in uprint()
63 ucnv_fromUnicode(converter, &myTarget, myTarget + arraySize, in uprint()
72 arraySize = BUF_SIZE; in uprint()
/external/icu/icu4c/source/test/perf/leperf/
Dxmlreader.cpp42 static le_uint32 *getHexArray(const UnicodeString &numbers, int32_t &arraySize) in getHexArray() argument
46 arraySize = 1; in getHexArray()
48 arraySize += 1; in getHexArray()
51 le_uint32 *array = NEW_ARRAY(le_uint32, arraySize); in getHexArray()
88 static float *getFloatArray(const UnicodeString &numbers, int32_t &arraySize) in getFloatArray() argument
92 arraySize = 1; in getFloatArray()
94 arraySize += 1; in getFloatArray()
97 float *array = NEW_ARRAY(float, arraySize); in getFloatArray()
/external/icu/icu4c/source/test/letest/
Dxmlreader.cpp38 static le_uint32 *getHexArray(const UnicodeString &numbers, int32_t &arraySize) in getHexArray() argument
42 arraySize = 1; in getHexArray()
44 arraySize += 1; in getHexArray()
47 le_uint32 *array = NEW_ARRAY(le_uint32, arraySize); in getHexArray()
84 static float *getFloatArray(const UnicodeString &numbers, int32_t &arraySize) in getFloatArray() argument
88 arraySize = 1; in getFloatArray()
90 arraySize += 1; in getFloatArray()
93 float *array = NEW_ARRAY(float, arraySize); in getFloatArray()
/external/deqp/modules/gles3/scripts/
Dgen-large-constant-arrays.py101 for arraySize in ARRAY_SIZES:
102 indexes = random.sample(range(arraySize-1), 10)
103 array = genArray(dataType, arraySize)
106 caseName = "%s_%s" % (dataType, arraySize)
/external/skqp/include/private/
DSkArenaAlloc.h177 uint32_t arraySize = ToU32(count * sizeof(T)); in commonArrayAlloc() local
181 objStart = this->allocObject(arraySize, alignment); in commonArrayAlloc()
182 fCursor = objStart + arraySize; in commonArrayAlloc()
185 AssertRelease(arraySize <= std::numeric_limits<uint32_t>::max() - overhead); in commonArrayAlloc()
186 uint32_t totalSize = arraySize + overhead; in commonArrayAlloc()
193 fCursor = objStart + arraySize; in commonArrayAlloc()
/external/skia/include/private/
DSkArenaAlloc.h177 uint32_t arraySize = ToU32(count * sizeof(T)); in commonArrayAlloc() local
181 objStart = this->allocObject(arraySize, alignment); in commonArrayAlloc()
182 fCursor = objStart + arraySize; in commonArrayAlloc()
185 AssertRelease(arraySize <= std::numeric_limits<uint32_t>::max() - overhead); in commonArrayAlloc()
186 uint32_t totalSize = arraySize + overhead; in commonArrayAlloc()
193 fCursor = objStart + arraySize; in commonArrayAlloc()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_resource.c87 uint32 arraySize; in svga_can_create_resource() local
95 arraySize = 1; in svga_can_create_resource()
109 arraySize = res->array_size; in svga_can_create_resource()
113 arraySize, numMipLevels); in svga_can_create_resource()
/external/deqp-deps/glslang/Test/baseResults/
Dspv.specConstant.vert.out13 Name 9 "arraySize"
33 Decorate 9(arraySize) SpecId 16
49 9(arraySize): 8(int) SpecConstant 5
50 10: TypeArray 7(fvec4) 9(arraySize)
87 Store 28(size) 9(arraySize)
/external/icu/icu4c/source/common/
Dunistr_cnv.cpp372 int32_t arraySize; in doCodepageCreate() local
375 arraySize = US_STACKBUF_SIZE; in doCodepageCreate()
378 arraySize = dataLength + (dataLength >> 2); in doCodepageCreate()
384 if(!cloneArrayIfNeeded(arraySize, arraySize, doCopyArray)) { in doCodepageCreate()
408 arraySize = (int32_t)(length() + 2 * (mySourceEnd - mySource)); in doCodepageCreate()
/external/replicaisland/src/com/replica/replicaisland/
DObjectManager.java40 public ObjectManager(int arraySize) { in ObjectManager() argument
42 mObjects = new FixedSizeArray<BaseObject>(arraySize); in ObjectManager()
43 mPendingAdditions = new FixedSizeArray<BaseObject>(arraySize); in ObjectManager()
44 mPendingRemovals = new FixedSizeArray<BaseObject>(arraySize); in ObjectManager()

123456