HomeSort by relevance Sort by last modified time
    Searched refs:arraySize (Results 1 - 25 of 165) sorted by null

1 2 3 4 5 6 7

  /external/chromium_org/third_party/WebKit/Source/wtf/
BitArray.h 34 template<unsigned arraySize>
44 ASSERT_WITH_SECURITY_IMPLICATION(index < arraySize);
50 ASSERT_WITH_SECURITY_IMPLICATION(index < arraySize);
56 ASSERT_WITH_SECURITY_IMPLICATION(index < arraySize);
61 unsigned char m_data[arraySize / 8 + 1];
ArrayBufferView.h 88 static inline void calculateOffsetAndLength(int start, int end, unsigned arraySize,
187 void ArrayBufferView::calculateOffsetAndLength(int start, int end, unsigned arraySize,
191 start += arraySize;
195 end += arraySize;
198 if (static_cast<unsigned>(end) > arraySize)
199 end = arraySize;
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
ArraysTest.java 46 final static int arraySize = 100;
75 for (int counter = 0; counter < arraySize; counter++) {
90 for (int counter = 0; counter < arraySize; counter++) {
109 for (byte counter = 0; counter < arraySize; counter++)
116 Arrays.binarySearch(intArray, (byte) arraySize) == -(arraySize + 1));
117 for (byte counter = 0; counter < arraySize; counter++)
119 for (byte counter = 0; counter < arraySize; counter++)
130 for (char counter = 0; counter < arraySize; counter++)
138 Arrays.binarySearch(charArray, (char) (arraySize + 1)) == -(arraySize + 1))
    [all...]
  /external/icu/icu4c/source/samples/cal/
uprint.c 35 int32_t arraySize;
44 arraySize = BUF_SIZE;
58 ucnv_fromUnicode(converter, &myTarget, myTarget + arraySize,
67 arraySize = BUF_SIZE;
  /external/icu/icu4c/source/samples/date/
uprint.c 36 int32_t arraySize;
45 arraySize = BUF_SIZE;
59 ucnv_fromUnicode(converter, &myTarget, myTarget + arraySize,
68 arraySize = BUF_SIZE;
  /external/chromium_org/third_party/angle/src/libGLESv2/
Uniform.cpp 15 LinkedUniform::LinkedUniform(GLenum type, GLenum precision, const std::string &name, unsigned int arraySize,
20 arraySize(arraySize),
48 return arraySize > 0;
53 return arraySize > 0 ? arraySize : 1;
Uniform.h 26 LinkedUniform(GLenum type, GLenum precision, const std::string &name, unsigned int arraySize, const int blockIndex, const BlockMemberInfo &blockInfo);
41 const unsigned int arraySize;
  /external/chromium_org/third_party/angle/src/common/
blocklayout.h 35 void encodeType(GLenum type, unsigned int arraySize, bool isRowMajorMatrix);
48 virtual void getBlockLayoutInfo(GLenum type, unsigned int arraySize, bool isRowMajorMatrix, int *arrayStrideOut, int *matrixStrideOut) = 0;
49 virtual void advanceOffset(GLenum type, unsigned int arraySize, bool isRowMajorMatrix, int arrayStride, int matrixStride) = 0;
66 virtual void getBlockLayoutInfo(GLenum type, unsigned int arraySize, bool isRowMajorMatrix, int *arrayStrideOut, int *matrixStrideOut);
67 virtual void advanceOffset(GLenum type, unsigned int arraySize, bool isRowMajorMatrix, int arrayStride, int matrixStride);
94 virtual void getBlockLayoutInfo(GLenum type, unsigned int arraySize, bool isRowMajorMatrix, int *arrayStrideOut, int *matrixStrideOut);
95 virtual void advanceOffset(GLenum type, unsigned int arraySize, bool isRowMajorMatrix, int arrayStride, int matrixStride);
shadervars.h 45 unsigned int arraySize;
51 arraySize(arraySizeIn)
54 bool isArray() const { return arraySize > 0; }
55 unsigned int elementCount() const { return std::max(1u, arraySize); }
142 unsigned int arraySize;
151 InterfaceBlock(const char *name, unsigned int arraySize, unsigned int registerIndex)
153 arraySize(arraySize),
blocklayout.cpp 32 const unsigned int elementCount = std::max(1u, variable.arraySize);
54 getBlockLayoutInfo(field.type, field.arraySize, field.isRowMajorMatrix, &arrayStride, &matrixStride);
63 advanceOffset(field.type, field.arraySize, field.isRowMajorMatrix, arrayStride, matrixStride);
66 void BlockLayoutEncoder::encodeType(GLenum type, unsigned int arraySize, bool isRowMajorMatrix)
71 getBlockLayoutInfo(type, arraySize, isRowMajorMatrix, &arrayStride, &matrixStride);
80 advanceOffset(type, arraySize, isRowMajorMatrix, arrayStride, matrixStride);
103 void Std140BlockEncoder::getBlockLayoutInfo(GLenum type, unsigned int arraySize, bool isRowMajorMatrix, int *arrayStrideOut, int *matrixStrideOut)
117 if (arraySize > 0)
123 else if (arraySize > 0)
140 void Std140BlockEncoder::advanceOffset(GLenum type, unsigned int arraySize, bool isRowMajorMatrix, int arrayStride, int matrixStride
    [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
CoordinateUtils.java 52 public static int[] newCoordinateArray(final int arraySize) {
53 return new int[ELEMENT_SIZE * arraySize];
56 public static int[] newCoordinateArray(final int arraySize,
58 final int[] result = new int[ELEMENT_SIZE * arraySize];
59 for (int i = 0; i < arraySize; ++i) {
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
PointerTrackerQueue.java 53 final int arraySize = mArraySize;
54 if (arraySize < expandableArray.size()) {
55 expandableArray.set(arraySize, pointer);
59 mArraySize = arraySize + 1;
69 final int arraySize = mArraySize;
71 for (int index = 0; index < arraySize; index++) {
101 final int arraySize = mArraySize;
103 for (newIndex = index = 0; index < arraySize; index++) {
120 for (; index < arraySize; index++) {
153 final int arraySize = mArraySize
    [all...]
  /cts/tests/tests/renderscript/src/android/renderscript/cts/
ElementTest.java 266 for (int arraySize = 1; arraySize <= 3; arraySize++) {
269 eb.add(Element.A_8(mRS), "A_8", arraySize);
270 eb.add(Element.RGBA_4444(mRS), "RGBA_4444", arraySize);
271 eb.add(Element.RGBA_5551(mRS), "RGBA_5551", arraySize);
272 eb.add(Element.RGB_565(mRS), "RGB_565", arraySize);
273 eb.add(Element.RGB_888(mRS), "RGB_888", arraySize);
274 eb.add(Element.RGBA_8888(mRS), "RGBA_8888", arraySize);
275 eb.add(Element.F32(mRS), "F32", arraySize);
    [all...]
  /external/javassist/src/main/javassist/compiler/ast/
NewExpr.java 34 public NewExpr(int type, ASTList arraySize, ArrayInit init) {
35 super(null, new ASTList(arraySize));
43 ASTList arraySize, ArrayInit init) {
44 NewExpr e = new NewExpr(className, arraySize);
  /external/chromium_org/third_party/angle/src/compiler/translator/
Types.h 162 int arraySize, const TLayoutQualifier &layoutQualifier)
165 mArraySize(arraySize),
183 int arraySize() const
224 primarySize(ps), secondarySize(ss), array(false), arraySize(0),
232 primarySize(ps), secondarySize(ss), array(a), arraySize(0),
240 primarySize(1), secondarySize(1), array(false), arraySize(0),
248 primarySize(1), secondarySize(1), array(arraySizeIn > 0), arraySize(arraySizeIn),
329 return arraySize;
334 arraySize = s;
339 arraySize = 0
    [all...]
Types.cpp 18 primarySize(p.primarySize), secondarySize(p.secondarySize), array(p.array), arraySize(p.arraySize),
29 array != other.array || (array && arraySize != other.arraySize) ||
178 snprintf(buf, sizeof(buf), "%d", arraySize);
197 size_t arraySize = getArraySize();
198 if (arraySize > INT_MAX / totalSize)
201 totalSize *= arraySize;
  /external/chromium_org/third_party/skia/tests/
SerializationTest.cpp 79 static void Write(SkWriteBuffer& writer, unsigned char* data, uint32_t arraySize) {
80 writer.writeByteArray(data, arraySize);
82 static bool Read(SkValidatingReadBuffer& reader, unsigned char* data, uint32_t arraySize) {
83 return reader.readByteArray(data, arraySize);
88 static void Write(SkWriteBuffer& writer, SkColor* data, uint32_t arraySize) {
89 writer.writeColorArray(data, arraySize);
91 static bool Read(SkValidatingReadBuffer& reader, SkColor* data, uint32_t arraySize) {
92 return reader.readColorArray(data, arraySize);
97 static void Write(SkWriteBuffer& writer, int32_t* data, uint32_t arraySize) {
98 writer.writeIntArray(data, arraySize);
    [all...]
  /external/skia/tests/
SerializationTest.cpp 79 static void Write(SkWriteBuffer& writer, unsigned char* data, uint32_t arraySize) {
80 writer.writeByteArray(data, arraySize);
82 static bool Read(SkValidatingReadBuffer& reader, unsigned char* data, uint32_t arraySize) {
83 return reader.readByteArray(data, arraySize);
88 static void Write(SkWriteBuffer& writer, SkColor* data, uint32_t arraySize) {
89 writer.writeColorArray(data, arraySize);
91 static bool Read(SkValidatingReadBuffer& reader, SkColor* data, uint32_t arraySize) {
92 return reader.readColorArray(data, arraySize);
97 static void Write(SkWriteBuffer& writer, int32_t* data, uint32_t arraySize) {
98 writer.writeIntArray(data, arraySize);
    [all...]
  /frameworks/base/core/java/android/hardware/camera2/marshal/impl/
MarshalQueryableArray.java 79 int arraySize = remaining / elementSize;
91 arraySize, elementSize, remaining, mClass));
94 array = Array.newInstance(mComponentClass, arraySize);
95 for (int i = 0; i < arraySize; ++i) {
109 int arraySize = arrayList.size();
110 array = copyListToArray(arrayList, Array.newInstance(mComponentClass, arraySize));
  /external/replicaisland/src/com/replica/replicaisland/
ObjectManager.java 40 public ObjectManager(int arraySize) {
42 mObjects = new FixedSizeArray<BaseObject>(arraySize);
43 mPendingAdditions = new FixedSizeArray<BaseObject>(arraySize);
44 mPendingRemovals = new FixedSizeArray<BaseObject>(arraySize);
  /frameworks/rs/driver/
rsdShaderCache.h 63 uint32_t vtxUniformSize(uint32_t a) const {return mCurrent->vtxUniforms[a].arraySize;}
65 uint32_t fragUniformSize(uint32_t a) const {return mCurrent->fragUniforms[a].arraySize;}
78 int32_t arraySize;
96 uint32_t arraySize;
  /packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/pt_common/
dynamic_pt_writing_utils.cpp 41 if (!writePtNodeArraySizeAndAdvancePosition(buffer, 0 /* arraySize */, &writingPos)) {
55 BufferWithExtendableBuffer *const buffer, const size_t arraySize,
60 /*if (arraySize <= MAX_PTNODE_ARRAY_SIZE_TO_USE_SMALL_SIZE_FIELD) {
61 return buffer->writeUintAndAdvancePosition(arraySize, SMALL_PTNODE_ARRAY_SIZE_FIELD_SIZE,
64 if (arraySize <= MAX_PTNODE_ARRAY_SIZE) {
65 uint32_t data = arraySize | LARGE_PTNODE_ARRAY_SIZE_FIELD_SIZE_FLAG;
69 AKLOGI("PtNode array size cannot be written because arraySize is too large: %zd",
70 arraySize);
  /external/deqp/modules/glshared/
glsAttributeLocationTests.cpp 641 string generateTestName (const AttribType& type, int arraySize)
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)
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)
    [all...]
glsAttributeLocationTests.hpp 100 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/chromium_org/third_party/icu/source/test/letest/
xmlreader.cpp 36 static le_uint32 *getHexArray(const UnicodeString &numbers, int32_t &arraySize)
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)
86 arraySize = 1;
88 arraySize += 1;
91 float *array = NEW_ARRAY(float, arraySize);

Completed in 443 milliseconds

1 2 3 4 5 6 7