Home
last modified time | relevance | path

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

12

/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
DArraysTest.java46 final static int arraySize = 100; field in ArraysTest
68 objArray = new Object[arraySize];
80 for (int counter = 0; counter < arraySize; counter++) { in test_asList$Ljava_lang_Object()
95 for (int counter = 0; counter < arraySize; counter++) { in test_asList$Ljava_lang_Object()
114 for (byte counter = 0; counter < arraySize; counter++) in test_binarySearch$BB()
121 Arrays.binarySearch(intArray, (byte) arraySize) == -(arraySize + 1)); in test_binarySearch$BB()
122 for (byte counter = 0; counter < arraySize; counter++) in test_binarySearch$BB()
124 for (byte counter = 0; counter < arraySize; counter++) in test_binarySearch$BB()
135 for (char counter = 0; counter < arraySize; counter++) in test_binarySearch$CC()
143 Arrays.binarySearch(charArray, (char) (arraySize + 1)) == -(arraySize + 1)); in test_binarySearch$CC()
[all …]
/external/webkit/Source/ThirdParty/ANGLE/src/compiler/
DTypes.h47 int arraySize; variable
59 arraySize = 0;
73 arraySize = s;
87 type(t), precision(p), qualifier(q), size(s), matrix(m), array(a), arraySize(0), in type()
92 …n), qualifier(p.qualifier), size(p.size), matrix(p.matrix), array(p.array), arraySize(p.arraySize), in TType()
101 …Struct), precision(p), qualifier(EvqTemporary), size(1), matrix(false), array(false), arraySize(0), in type()
115 arraySize = copyOf.arraySize; in copyType()
193 int getArraySize() const { return arraySize; } in getArraySize()
194 void setArraySize(int s) { array = true; arraySize = s; } in setArraySize()
197 void clearArrayness() { array = false; arraySize = 0; maxArraySize = 0; } in clearArrayness()
[all …]
DParseHelper.cpp762 if (type.arraySize) in arrayErrorCheck()
763 variable->getType().setArraySize(type.arraySize); in arrayErrorCheck()
793 if (t->getMaxArraySize() > type.arraySize) { in arrayErrorCheck()
797 t->setArraySize(type.arraySize); in arrayErrorCheck()
801 if (type.arraySize) in arrayErrorCheck()
802 variable->getType().setArraySize(type.arraySize); in arrayErrorCheck()
DSymbolTable.cpp53 sprintf(buf, "%d", arraySize); in buildMangledName()
/external/webkit/Source/ThirdParty/ANGLE/src/libGLESv2/
DProgram.cpp29 …num type, const std::string &name, unsigned int arraySize) : type(type), name(name), arraySize(arr… in Uniform() argument
31 int bytes = UniformTypeSize(type) * arraySize; in Uniform()
281 int arraySize = targetUniform->arraySize; in setUniform1fv() local
283 if (arraySize == 1 && count > 1) in setUniform1fv()
286 count = std::min(arraySize - (int)mUniformIndex[location].element, count); in setUniform1fv()
293 int arraySize = targetUniform->arraySize; in setUniform1fv() local
295 if (arraySize == 1 && count > 1) in setUniform1fv()
298 count = std::min(arraySize - (int)mUniformIndex[location].element, count); in setUniform1fv()
338 int arraySize = targetUniform->arraySize; in setUniform2fv() local
340 if (arraySize == 1 && count > 1) in setUniform2fv()
[all …]
DProgram.h30 Uniform(GLenum type, const std::string &name, unsigned int arraySize);
36 const unsigned int arraySize; member
/external/icu4c/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/icu4c/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/icu4c/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()
Dletest.cpp442 le_uint32 *getHexArray(const UnicodeString &numbers, int32_t &arraySize) in getHexArray() argument
446 arraySize = 1; in getHexArray()
448 arraySize += 1; in getHexArray()
451 le_uint32 *array = NEW_ARRAY(le_uint32, arraySize); in getHexArray()
488 float *getFloatArray(const UnicodeString &numbers, int32_t &arraySize) in getFloatArray() argument
492 arraySize = 1; in getFloatArray()
494 arraySize += 1; in getFloatArray()
497 float *array = NEW_ARRAY(float, arraySize); in getFloatArray()
/external/icu4c/common/
Dunistr_cnv.cpp380 int32_t arraySize; in doCodepageCreate() local
383 arraySize = US_STACKBUF_SIZE; in doCodepageCreate()
386 arraySize = dataLength + (dataLength >> 2); in doCodepageCreate()
392 if(!cloneArrayIfNeeded(arraySize, arraySize, doCopyArray)) { in doCodepageCreate()
416 arraySize = (int32_t)(length() + 2 * (mySourceEnd - mySource)); in doCodepageCreate()
/external/webkit/Source/WebCore/html/canvas/
DArrayBufferView.cpp87 void ArrayBufferView::calculateOffsetAndLength(int start, int end, unsigned arraySize, in calculateOffsetAndLength() argument
91 start += arraySize; in calculateOffsetAndLength()
95 end += arraySize; in calculateOffsetAndLength()
DArrayBufferView.h79 static void calculateOffsetAndLength(int start, int end, unsigned arraySize,
/external/icu4c/extra/uconv/
Duwmsg.c46 int32_t arraySize; in uprint() local
54 arraySize = BUF_SIZE; in uprint()
68 ucnv_fromUnicode(converter, &myTarget, myTarget + arraySize, in uprint()
77 arraySize = BUF_SIZE; in uprint()
/external/icu4c/samples/legacy/
Dlegacy.cpp39 void printArray(const char* const comment, const UChar UArray[][5], int32_t arraySize) { in printArray() argument
42 for(i = 0; i<arraySize; i++) { in printArray()
/external/guava/src/com/google/common/collect/
DLists.java89 @VisibleForTesting static int computeArrayListCapacity(int arraySize) { in computeArrayListCapacity() argument
90 checkArgument(arraySize >= 0); in computeArrayListCapacity()
93 return (int) Math.min(5L + arraySize + (arraySize / 10), Integer.MAX_VALUE); in computeArrayListCapacity()
/external/webkit/Source/WebCore/rendering/
DRenderQuote.cpp146 const int arraySize; member
204 returnValue = QuotesData::create(lowerBound->arraySize); in quotesForLanguage()
208 for (int i = 0; i < lowerBound->arraySize; ++i) in quotesForLanguage()
/external/clang/lib/AST/
DExprCXX.cpp49 SourceRange TypeIdParens, Expr *arraySize, in CXXNewExpr() argument
69 AllocateArgsArray(C, arraySize != 0, numPlaceArgs, numConsArgs); in CXXNewExpr()
72 if (arraySize->isInstantiationDependent()) in CXXNewExpr()
75 if (arraySize->containsUnexpandedParameterPack()) in CXXNewExpr()
78 SubExprs[i++] = arraySize; in CXXNewExpr()
/external/icu4c/i18n/
Dplurrule.cpp847 RuleChain::getKeywords(int32_t capacityOfKeywords, UnicodeString* keywords, int32_t& arraySize) con… in getKeywords()
848 if ( arraySize < capacityOfKeywords-1 ) { in getKeywords()
849 keywords[arraySize++]=keyword; in getKeywords()
856 return next->getKeywords(capacityOfKeywords, keywords, arraySize); in getKeywords()
Dplurrule_impl.h195 UErrorCode getKeywords(int32_t maxArraySize, UnicodeString *keywords, int32_t& arraySize) const;
/external/llvm/lib/Target/PTX/
DPTXAsmPrinter.cpp438 uint64_t arraySize = (elementTy->getPrimitiveSizeInBits() >> 3) in EmitVariableDeclaration() local
441 decl += utostr(arraySize); in EmitVariableDeclaration()
/external/icu4c/test/cintltst/
Dcapitst.c1543 int32_t arraySize = sizeof(tests)/sizeof(tests[0]); in TestBounds() local
1546 for(i = 0; i<arraySize; i++) { in TestBounds()
1551 qsort(tests, arraySize, sizeof(struct teststruct), compare_teststruct); in TestBounds()
1553 for(i = 0; i < arraySize-1; i++) { in TestBounds()
1554 for(j = i+1; j < arraySize; j++) { in TestBounds()
1571 lowerRND = (rand()/(RAND_MAX/arraySize)); in TestBounds()
1572 upperRND = lowerRND + (rand()/(RAND_MAX/(arraySize-lowerRND))); in TestBounds()
/external/icu4c/test/intltest/
Dapicoll.cpp1729 int32_t arraySize = sizeof(tests)/sizeof(tests[0]); in TestBounds() local
1731 for(i = 0; i<arraySize; i++) { in TestBounds()
1736 qsort(tests, arraySize, sizeof(struct teststruct), compare_teststruct); in TestBounds()
1738 for(i = 0; i < arraySize-1; i++) { in TestBounds()
1739 for(j = i+1; j < arraySize; j++) { in TestBounds()
/external/chromium/net/base/
Dx509_certificate_nss.cc437 in_param.value.arraySize = num_policy_oids; in PKIXVerifyCert()
513 in_param.value.arraySize = 1; in RetryPKIXVerifyCertWithWorkarounds()

12