Home
last modified time | relevance | path

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

1234567891011

/third_party/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 …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/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 …]
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/
DTypes.h190 int arraySize, const TLayoutQualifier &layoutQualifier) in POOL_ALLOCATOR_NEW_DELETE()
193 mArraySize(arraySize), in POOL_ALLOCATOR_NEW_DELETE()
211 int arraySize() const in arraySize() function
246 …primarySize(s0), secondarySize(s1), array(false), arraySize(0), maxArraySize(0), arrayInformationT… in POOL_ALLOCATOR_NEW_DELETE()
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 …]
/third_party/vk-gl-cts/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 …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineImageViewTests.cpp116 const int arraySize = getArraySize(imageViewType); in getImageSamplingInstanceParams() local
141 …return ImageSamplingInstanceParams(renderSize, imageViewType, imageFormat, imageSize, arraySize, c… in getImageSamplingInstanceParams()
363 const deUint32 arraySize = ImageViewTest::getArraySize(viewType); in createSubresourceRangeTests() local
387 { "lod_base_mip_level", 0.0f, { imageAspectFlags, 2u, numLevels - 2u, 0u, arraySize } }, in createSubresourceRangeTests()
388 { "lod_mip_levels", 4.0f, { imageAspectFlags, 0u, 3u, 0u, arraySize } }, in createSubresourceRangeTests()
394 { "base_array_layer", 0.0f, { imageAspectFlags, 0u, numLevels, 1u, arraySize - 1u } }, in createSubresourceRangeTests()
415 …ning_levels", 0.0f, { imageAspectFlags, 1u, VK_REMAINING_MIP_LEVELS, 0u, arraySize } }, in createSubresourceRangeTests()
430 { "lod_base_mip_level", 0.0f, { imageAspectFlags, 2u, numLevels - 2u, 0u, arraySize } }, in createSubresourceRangeTests()
431 { "lod_mip_levels", 4.0f, { imageAspectFlags, 0u, 3u, 0u, arraySize } }, in createSubresourceRangeTests()
437 { "base_array_layer", 0.0f, { imageAspectFlags, 0u, numLevels, 6u, arraySize - 6u } }, in createSubresourceRangeTests()
[all …]
/third_party/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];
50 float AofA1[arraySize][arraySize];
51 float AofA2[arraySize][2 + arraySize];
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])
/third_party/vk-gl-cts/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 …]
/third_party/skia/src/sksl/ir/
DSkSLVariable.cpp33 std::unique_ptr<Expression> arraySize, Variable::Storage storage) { in Convert() argument
39 return Make(context, line, modifiers, baseType, name, isArray, std::move(arraySize), storage); in Convert()
44 std::unique_ptr<Expression> arraySize, Variable::Storage storage) { in Make() argument
48 SkASSERT(arraySize); in Make()
49 arraySizeValue = type->convertArraySize(context, std::move(arraySize)); in Make()
90 int arraySize = 0; in MakeScratchVariable() local
92 arraySize = type->columns(); in MakeScratchVariable()
96 result.fVarDecl = VarDeclaration::Make(context, var.get(), type, arraySize, in MakeScratchVariable()
DSkSLInterfaceBlock.h35 skstd::string_view instanceName, int arraySize, in InterfaceBlock() argument
41 , fArraySize(arraySize) in InterfaceBlock()
60 int arraySize() const { in arraySize() function
66 this->instanceName(), this->arraySize(), in clone()
82 if (this->arraySize() > 0) { in description()
83 result.appendf("[%d]", this->arraySize()); in description()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DUniformBufferTest.cpp2069 const GLuint arraySize = getArraySize(); in TEST_P() local
2070 const GLuint floatCount = arraySize * kVectorPerMat * kFloatPerVector; in TEST_P()
2073 setArrayValues(floatData, 0, arraySize, 16, 0, 4, 4, 0.0f, 0.0f, 1.0f, 1.0f); in TEST_P()
2078 setArrayValues(floatData, 0, arraySize, 16, 0, 4, 4, 0.0f, 1.0f, 0.0f, 1.0f); in TEST_P()
2083 setArrayValues(floatData, arraySize / 4, arraySize / 2, 16, 0, 4, 4, 1.0f, 0.0f, 0.0f, 1.0f); in TEST_P()
2121 const GLuint arraySize = getArraySize(); in TEST_P() local
2122 const GLuint floatCount = arraySize * kVectorPerMat * kFloatPerVector; in TEST_P()
2125 setArrayValues(floatData, 0, arraySize, 16, 0, 4, 4, 0.0f, 0.0f, 1.0f, 1.0f); in TEST_P()
2130 setArrayValues(floatData, 0, arraySize, 16, 0, 4, 4, 0.0f, 1.0f, 0.0f, 1.0f); in TEST_P()
2135 setArrayValues(floatData, arraySize / 4, arraySize / 2, 16, 0, 4, 4, 1.0f, 0.0f, 0.0f, 1.0f); in TEST_P()
[all …]
/third_party/icu/tools/multi/proj/chello/
Duprint.cpp38 int32_t arraySize; in uprint() local
47 arraySize = BUF_SIZE; in uprint()
61 ucnv_fromUnicode(converter, &myTarget, myTarget + arraySize, in uprint()
70 arraySize = BUF_SIZE; in uprint()
/third_party/skia/third_party/externals/icu/source/samples/date/
Duprint.c41 int32_t arraySize; in uprint() local
50 arraySize = BUF_SIZE; in uprint()
64 ucnv_fromUnicode(converter, &myTarget, myTarget + arraySize, in uprint()
73 arraySize = BUF_SIZE; in uprint()
/third_party/icu/icu4c/source/samples/date/
Duprint.c41 int32_t arraySize; in uprint() local
50 arraySize = BUF_SIZE; in uprint()
64 ucnv_fromUnicode(converter, &myTarget, myTarget + arraySize, in uprint()
73 arraySize = BUF_SIZE; in uprint()
/third_party/skia/third_party/externals/icu/source/samples/cal/
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()
/third_party/icu/icu4c/source/samples/cal/
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()
/third_party/flutter/skia/third_party/externals/icu/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()
/third_party/flutter/skia/third_party/externals/icu/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()
/third_party/flutter/skia/tests/
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()
DSerializationTest.cpp98 static void Write(SkWriteBuffer& writer, unsigned char* data, uint32_t arraySize) { in Write()
99 writer.writeByteArray(data, arraySize); in Write()
101 static bool Read(SkReadBuffer& reader, unsigned char* data, uint32_t arraySize) { in Read()
102 return reader.readByteArray(data, arraySize); in Read()
107 static void Write(SkWriteBuffer& writer, SkColor* data, uint32_t arraySize) { in Write()
108 writer.writeColorArray(data, arraySize); in Write()
110 static bool Read(SkReadBuffer& reader, SkColor* data, uint32_t arraySize) { in Read()
111 return reader.readColorArray(data, arraySize); in Read()
116 static void Write(SkWriteBuffer& writer, SkColor4f* data, uint32_t arraySize) { in Write()
117 writer.writeColor4fArray(data, arraySize); in Write()
[all …]
/third_party/skia/tests/
DFloatingPointTextureTest.cpp33 int arraySize, GrColorType colorType) { in runFPTest() argument
34 if (0 != arraySize % 4) { in runFPTest()
41 controlPixelData.setCount(arraySize); in runFPTest()
42 readBuffer.setCount(arraySize); in runFPTest()
44 for (int i = 0; i < arraySize; i += 4) { in runFPTest()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/binding_model/
DvktBindingDescriptorCopyTests.cpp97 …Descriptor (VkDescriptorType descriptorType, deUint32 arraySize = 1u, deUint32 writeStart = 0u,…
133 …BufferDescriptor (VkDescriptorType type, deUint32 arraySize, deUint32 writeStart, deUint32 elemen…
156 …InlineUniformBlockDescriptor (deUint32 arraySize, deUint32 writeStart, deUint32 elementsToWrite, …
193 …UniformBufferDescriptor (deUint32 arraySize = 1u, deUint32 writeStart = 0u, deUint32 elementsToWr…
205 …DynamicUniformBufferDescriptor (deUint32 arraySize, deUint32 writeStart, deUint32 elementsToWrite,…
221 …StorageBufferDescriptor (deUint32 arraySize = 1u, deUint32 writeStart = 0u, deUint32 elementsToWr…
233 …DynamicStorageBufferDescriptor (deUint32 arraySize, deUint32 writeStart, deUint32 elementsToWrite,…
249 …UniformTexelBufferDescriptor (deUint32 arraySize = 1, deUint32 writeStart = 0, deUint32 elementsTo…
262 …StorageTexelBufferDescriptor (deUint32 arraySize = 1u, deUint32 writeStart = 0u, deUint32 elements…
276 …ImageDescriptor (VkDescriptorType type, deUint32 arraySize, deUint32 writeStart, deUint32 elemen…
[all …]
/third_party/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()
/third_party/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()

1234567891011