Home
last modified time | relevance | path

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

1234

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DCalendarCache.java18 makeArrays(arraySize); in CalendarCache()
28 arraySize = newSize; in makeArrays()
29 threshold = (int)(arraySize * 0.75); in makeArrays()
64 index = (index + delta) % arraySize; in findIndex()
71 int oldSize = arraySize; in rehash()
76 arraySize = primes[++pIndex]; in rehash()
78 arraySize = arraySize * 2 + 1; in rehash()
82 makeArrays(arraySize); in rehash()
98 int h = (int)((key * 15821 + 1) % arraySize); in hash()
100 h += arraySize; in hash()
[all …]
/external/icu/android_icu4j/src/main/java/android/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/tpm2/
DBits.c26 unsigned int arraySize // IN: size in bytes of 'bArray' in BitIsSet() argument
29 pAssert(arraySize > (bitNum >> 3)); in BitIsSet()
42 unsigned int arraySize // IN: size in bytes of 'bArray' in BitSet() argument
45 pAssert(arraySize > bitNum/8); in BitSet()
58 unsigned int arraySize // IN: size in bytes of 'bArray' in BitClear() argument
61 pAssert(arraySize > bitNum/8); in BitClear()
DBits_fp.h12 unsigned int arraySize // IN: size in bytes of 'bArray'
22 unsigned int arraySize // IN: size in bytes of 'bArray'
33 unsigned int arraySize // IN: size in bytes of 'bArray'
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineImageViewTests.cpp199 const int arraySize = getArraySize(m_imageViewType); in createInstance() local
224 …nstance(context, renderSize, m_imageViewType, m_imageFormat, imageSize, arraySize, m_componentMapp… in createInstance()
344 const deUint32 arraySize = ImageViewTest::getArraySize(viewType); in createSubresourceRangeTests() local
368 { "lod_base_mip_level", 0.0f, { imageAspectFlags, 2u, numLevels - 2u, 0u, arraySize } }, in createSubresourceRangeTests()
369 { "lod_mip_levels", 4.0f, { imageAspectFlags, 0u, 3u, 0u, arraySize } }, in createSubresourceRangeTests()
375 { "base_array_layer", 0.0f, { imageAspectFlags, 0u, numLevels, 1u, arraySize - 1u } }, in createSubresourceRangeTests()
402 { "lod_base_mip_level", 0.0f, { imageAspectFlags, 2u, numLevels - 2u, 0u, arraySize } }, in createSubresourceRangeTests()
403 { "lod_mip_levels", 4.0f, { imageAspectFlags, 0u, 3u, 0u, arraySize } }, in createSubresourceRangeTests()
409 { "base_array_layer", 0.0f, { imageAspectFlags, 0u, numLevels, 6u, arraySize - 6u } }, in createSubresourceRangeTests()
417 …p_level_base_array_layer", 0.0f, { imageAspectFlags, 2u, numLevels - 2u, 6u, arraySize - 6u } }, in createSubresourceRangeTests()
[all …]
DvktPipelineImageUtil.hpp147 TestTexture1DArray (const tcu::TextureFormat& format, int width, int arraySize);
148 TestTexture1DArray (const tcu::CompressedTexFormat& format, int width, int arraySize);
180 … TestTexture2DArray (const tcu::TextureFormat& format, int width, int height, int arraySize);
181 … TestTexture2DArray (const tcu::CompressedTexFormat& format, int width, int height, int arraySize);
230 TestTextureCubeArray (const tcu::TextureFormat& format, int size, int arraySize);
231 TestTextureCubeArray (const tcu::CompressedTexFormat& format, int size, int arraySize);
DvktPipelineImageUtil.cpp826 TestTexture1DArray::TestTexture1DArray (const tcu::TextureFormat& format, int width, int arraySize) in TestTexture1DArray() argument
827 : TestTexture (format, width, 1, arraySize) in TestTexture1DArray()
828 , m_texture (format, width, arraySize) in TestTexture1DArray()
834 …xture1DArray::TestTexture1DArray (const tcu::CompressedTexFormat& format, int width, int arraySize) in TestTexture1DArray() argument
835 : TestTexture (format, width, 1, arraySize) in TestTexture1DArray()
836 , m_texture (tcu::getUncompressedFormat(format), width, arraySize) in TestTexture1DArray()
935 …DArray::TestTexture2DArray (const tcu::TextureFormat& format, int width, int height, int arraySize) in TestTexture2DArray() argument
936 : TestTexture (format, width, height, arraySize) in TestTexture2DArray()
937 , m_texture (format, width, height, arraySize) in TestTexture2DArray()
943 …::TestTexture2DArray (const tcu::CompressedTexFormat& format, int width, int height, int arraySize) in TestTexture2DArray() argument
[all …]
/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/skia/tests/
DSerializationTest.cpp85 static void Write(SkWriteBuffer& writer, unsigned char* data, uint32_t arraySize) { in Write()
86 writer.writeByteArray(data, arraySize); in Write()
88 static bool Read(SkValidatingReadBuffer& reader, unsigned char* data, uint32_t arraySize) { in Read()
89 return reader.readByteArray(data, arraySize); in Read()
94 static void Write(SkWriteBuffer& writer, SkColor* data, uint32_t arraySize) { in Write()
95 writer.writeColorArray(data, arraySize); in Write()
97 static bool Read(SkValidatingReadBuffer& reader, SkColor* data, uint32_t arraySize) { in Read()
98 return reader.readColorArray(data, arraySize); in Read()
103 static void Write(SkWriteBuffer& writer, int32_t* data, uint32_t arraySize) { in Write()
104 writer.writeIntArray(data, arraySize); in Write()
[all …]
DFloatingPointTextureTest.cpp28 T min, T max, T epsilon, T maxInt, int arraySize, GrPixelConfig config) { in runFPTest() argument
30 controlPixelData.setCount(arraySize); in runFPTest()
31 readBuffer.setCount(arraySize); in runFPTest()
33 for (int i = 0; i < arraySize; i += 4) { in runFPTest()
/external/icu/icu4c/source/samples/cal/
Duprint.c35 int32_t arraySize; in uprint() local
44 arraySize = BUF_SIZE; in uprint()
58 ucnv_fromUnicode(converter, &myTarget, myTarget + arraySize, in uprint()
67 arraySize = BUF_SIZE; in uprint()
/external/icu/icu4c/source/samples/date/
Duprint.c36 int32_t arraySize; in uprint() local
45 arraySize = BUF_SIZE; in uprint()
59 ucnv_fromUnicode(converter, &myTarget, myTarget + arraySize, in uprint()
68 arraySize = BUF_SIZE; in uprint()
/external/javassist/src/main/javassist/compiler/ast/
DNewExpr.java34 public NewExpr(int type, ASTList arraySize, ArrayInit init) { in NewExpr() argument
35 super(null, new ASTList(arraySize)); in NewExpr()
43 ASTList arraySize, ArrayInit init) { in makeObjectArray() argument
44 NewExpr e = new NewExpr(className, arraySize); in makeObjectArray()
/external/icu/icu4c/source/test/letest/
Dxmlreader.cpp36 static le_uint32 *getHexArray(const UnicodeString &numbers, int32_t &arraySize) in getHexArray() argument
40 arraySize = 1; in getHexArray()
42 arraySize += 1; in getHexArray()
45 le_uint32 *array = NEW_ARRAY(le_uint32, arraySize); in getHexArray()
82 static float *getFloatArray(const UnicodeString &numbers, int32_t &arraySize) in getFloatArray() argument
86 arraySize = 1; in getFloatArray()
88 arraySize += 1; in getFloatArray()
91 float *array = NEW_ARRAY(float, arraySize); in getFloatArray()
/external/icu/icu4c/source/test/perf/leperf/
Dxmlreader.cpp36 static le_uint32 *getHexArray(const UnicodeString &numbers, int32_t &arraySize) in getHexArray() argument
40 arraySize = 1; in getHexArray()
42 arraySize += 1; in getHexArray()
45 le_uint32 *array = NEW_ARRAY(le_uint32, arraySize); in getHexArray()
82 static float *getFloatArray(const UnicodeString &numbers, int32_t &arraySize) in getFloatArray() argument
86 arraySize = 1; in getFloatArray()
88 arraySize += 1; in getFloatArray()
91 float *array = NEW_ARRAY(float, arraySize); in getFloatArray()
/external/vulkan-validation-layers/layers/
Dimage.h57 uint32_t arraySize; member
64 : mipLevels(0), arraySize(0), format(VK_FORMAT_UNDEFINED), samples(VK_SAMPLE_COUNT_1_BIT), in _IMAGE_STATE()
67 …: mipLevels(pCreateInfo->mipLevels), arraySize(pCreateInfo->arrayLayers), format(pCreateInfo->form… in _IMAGE_STATE()
/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()
DPhasedObjectManager.java40 public PhasedObjectManager(int arraySize) { in PhasedObjectManager() argument
41 super(arraySize); in PhasedObjectManager()
/external/deqp/modules/gles31/functional/
Des31fSSBOLayoutCase.cpp120 void BufferBlock::setArraySize (int arraySize) in setArraySize() argument
122 DE_ASSERT(arraySize >= 0); in setArraySize()
123 m_lastUnsizedArraySizes.resize(arraySize == 0 ? 1 : arraySize, 0); in setArraySize()
124 m_arraySize = arraySize; in setArraySize()
162 , arraySize (-1) in BufferVarLayoutEntry()
175 int arraySize; member
185 DE_ASSERT(entry.arraySize != 0 || entry.topLevelArraySize != 0); in isUnsizedArray()
186 return entry.arraySize == 0 || entry.topLevelArraySize == 0; in isUnsizedArray()
194 << ", arraySize = " << entry.arraySize in operator <<()
487 entry.arraySize = 1; in computeReferenceLayout()
[all …]
/external/icu/icu4c/source/common/
Dunistr_cnv.cpp370 int32_t arraySize; in doCodepageCreate() local
373 arraySize = US_STACKBUF_SIZE; in doCodepageCreate()
376 arraySize = dataLength + (dataLength >> 2); in doCodepageCreate()
382 if(!cloneArrayIfNeeded(arraySize, arraySize, doCopyArray)) { in doCodepageCreate()
406 arraySize = (int32_t)(length() + 2 * (mySourceEnd - mySource)); in doCodepageCreate()
/external/icu/icu4c/source/extra/uconv/
Duwmsg.c44 int32_t arraySize; in uprint() local
52 arraySize = BUF_SIZE; in uprint()
66 ucnv_fromUnicode(converter, &myTarget, myTarget + arraySize, in uprint()
75 arraySize = BUF_SIZE; in uprint()
/external/deqp/external/vulkancts/modules/vulkan/ssbo/
DvktSSBOLayoutCase.cpp118 void BufferBlock::setArraySize (int arraySize) in setArraySize() argument
120 DE_ASSERT(arraySize >= 0); in setArraySize()
121 m_lastUnsizedArraySizes.resize(arraySize == 0 ? 1 : arraySize, 0); in setArraySize()
122 m_arraySize = arraySize; in setArraySize()
144 DE_ASSERT(entry.arraySize != 0 || entry.topLevelArraySize != 0); in isUnsizedArray()
145 return entry.arraySize == 0 || entry.topLevelArraySize == 0; in isUnsizedArray()
153 << ", arraySize = " << entry.arraySize in operator <<()
402 entry.arraySize = 1; in computeReferenceLayout()
447 entry.arraySize = type.getArraySize(); in computeReferenceLayout()
471 entry.arraySize = type.getArraySize(); in computeReferenceLayout()
[all …]
DvktSSBOLayoutCase.hpp88 void setArraySize (int arraySize);
136 , arraySize (-1) in BufferVarLayoutEntry()
149 int arraySize; member
/external/protobuf/java/src/main/java/com/google/protobuf/
DSmallSortedMap.java99 SmallSortedMap<FieldDescriptorType, Object> newFieldMap(int arraySize) { in newFieldMap() argument
100 return new SmallSortedMap<FieldDescriptorType, Object>(arraySize) { in newFieldMap()
133 int arraySize) {
134 return new SmallSortedMap<K, V>(arraySize);
153 private SmallSortedMap(int arraySize) {
154 this.maxArraySize = arraySize;

1234