Home
last modified time | relevance | path

Searched refs:index (Results 1 – 25 of 5852) sorted by relevance

12345678910>>...235

/external/apache-http/src/org/apache/commons/codec/language/
DDoubleMetaphone.java97 int index = isSilentStart(value) ? 1 : 0; in doubleMetaphone() local
101 while (!result.isComplete() && index <= value.length() - 1) { in doubleMetaphone()
102 switch (value.charAt(index)) { in doubleMetaphone()
109 index = handleAEIOUY(value, result, index); in doubleMetaphone()
113 index = charAt(value, index + 1) == 'B' ? index + 2 : index + 1; in doubleMetaphone()
118 index++; in doubleMetaphone()
121 index = handleC(value, result, index); in doubleMetaphone()
124 index = handleD(value, result, index); in doubleMetaphone()
128 index = charAt(value, index + 1) == 'F' ? index + 2 : index + 1; in doubleMetaphone()
131 index = handleG(value, result, index, slavoGermanic); in doubleMetaphone()
[all …]
/external/proguard/src/proguard/classfile/attribute/visitor/
DMultiAttributeVisitor.java81 for (int index = 0; index < attributeVisitors.length; index++) in visitUnknownAttribute()
83 attributeVisitors[index].visitUnknownAttribute(clazz, unknownAttribute); in visitUnknownAttribute()
90 for (int index = 0; index < attributeVisitors.length; index++) in visitBootstrapMethodsAttribute()
92 … attributeVisitors[index].visitBootstrapMethodsAttribute(clazz, bootstrapMethodsAttribute); in visitBootstrapMethodsAttribute()
99 for (int index = 0; index < attributeVisitors.length; index++) in visitSourceFileAttribute()
101 attributeVisitors[index].visitSourceFileAttribute(clazz, sourceFileAttribute); in visitSourceFileAttribute()
108 for (int index = 0; index < attributeVisitors.length; index++) in visitSourceDirAttribute()
110 attributeVisitors[index].visitSourceDirAttribute(clazz, sourceDirAttribute); in visitSourceDirAttribute()
117 for (int index = 0; index < attributeVisitors.length; index++) in visitInnerClassesAttribute()
119 attributeVisitors[index].visitInnerClassesAttribute(clazz, innerClassesAttribute); in visitInnerClassesAttribute()
[all …]
/external/skia/samplecode/
Dvertexdump.cpp10 void setup_vertexbug(SkPoint verts[], SkPoint texs[], uint16_t index[]);
12 void setup_vertexbug(SkPoint verts[], SkPoint texs[], uint16_t index[]) { in setup_vertexbug() argument
45 index[0] = 0; index[1] = 5; index[2] = 1; in setup_vertexbug()
46 index[3] = 0; index[4] = 4; index[5] = 5; in setup_vertexbug()
48 index[6] = 1; index[7] = 6; index[8] = 2; in setup_vertexbug()
50 index[6] = 6; index[7] = 2; index[8] = 1; in setup_vertexbug()
52 index[9] = 1; index[10] = 5; index[11] = 6; in setup_vertexbug()
53 index[12] = 2; in setup_vertexbug()
54 index[13] = 7; in setup_vertexbug()
55 index[14] = 3; in setup_vertexbug()
[all …]
/external/v8/src/js/
Dharmony-atomics.js42 function AtomicsCompareExchangeJS(sta, index, oldValue, newValue) { argument
44 index = TO_INTEGER(index);
45 if (index < 0 || index >= %_TypedArrayGetLength(sta)) {
50 return %_AtomicsCompareExchange(sta, index, oldValue, newValue);
53 function AtomicsLoadJS(sta, index) { argument
55 index = TO_INTEGER(index);
56 if (index < 0 || index >= %_TypedArrayGetLength(sta)) {
59 return %_AtomicsLoad(sta, index);
62 function AtomicsStoreJS(sta, index, value) { argument
64 index = TO_INTEGER(index);
[all …]
/external/proguard/src/proguard/util/
DArrayUtil.java40 for (int index = 0; index < size; index++) in equal()
42 if (array1[index] != array2[index]) in equal()
61 for (int index = 0; index < size; index++) in equal()
63 if (array1[index] != array2[index]) in equal()
82 for (int index = 0; index < size; index++) in equal()
84 if (array1[index] != array2[index]) in equal()
103 for (int index = 0; index < size; index++) in equal()
105 if (!array1[index].equals(array2[index])) in equal()
155 for (int index = 0; index < size; index++) in hashCode()
157 hashCode ^= array[index]; in hashCode()
[all …]
/external/skia/src/pathops/
DSkIntersections.cpp14 for (int index = 0; index < fUsed; ++index) { in closestTo() local
15 if (!between(rangeStart, fT[0][index], rangeEnd)) { in closestTo()
18 const SkDPoint& iPt = fPt[index]; in closestTo()
22 closest = index; in closestTo()
29 for (int index = 0; index < fUsed; ++index) { in flip() local
30 fT[1][index] = 1 - fT[1][index]; in flip()
40 int index; in insert() local
41 for (index = 0; index < fUsed; ++index) { in insert()
42 double oldOne = fT[0][index]; in insert()
43 double oldTwo = fT[1][index]; in insert()
[all …]
/external/tagsoup/src/org/ccil/cowan/tagsoup/
DAttributesImpl.java113 public String getURI (int index) in getURI() argument
115 if (index >= 0 && index < length) { in getURI()
116 return data[index*5]; in getURI()
131 public String getLocalName (int index) in getLocalName() argument
133 if (index >= 0 && index < length) { in getLocalName()
134 return data[index*5+1]; in getLocalName()
149 public String getQName (int index) in getQName() argument
151 if (index >= 0 && index < length) { in getQName()
152 return data[index*5+2]; in getQName()
167 public String getType (int index) in getType() argument
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DMessagePattern.java386 modified.insert(part.index, (char)part.value); in autoQuoteApostropheDeep()
434 return parts.get(partIndex).index; in getPatternIndex()
444 int index=part.index; in getSubstring() local
445 return msg.substring(index, index+part.length); in getSubstring()
455 return msg.regionMatches(part.index, s, 0, part.length); in partSubstringMatches()
521 index=i; in Part()
539 return index; in getIndex()
557 return index+length; in getLimit()
695 return type.name()+"("+valueString+")@"+index; in toString()
713 index==o.index && in equals()
[all …]
/external/mesa3d/src/mesa/main/
Dapi_arrayelt.c59 GLuint index; member
179 VertexAttrib1NbvNV(GLuint index, const GLbyte *v) in VertexAttrib1NbvNV() argument
181 CALL_VertexAttrib1fNV(GET_DISPATCH(), (index, BYTE_TO_FLOAT(v[0]))); in VertexAttrib1NbvNV()
185 VertexAttrib1bvNV(GLuint index, const GLbyte *v) in VertexAttrib1bvNV() argument
187 CALL_VertexAttrib1fNV(GET_DISPATCH(), (index, (GLfloat)v[0])); in VertexAttrib1bvNV()
191 VertexAttrib2NbvNV(GLuint index, const GLbyte *v) in VertexAttrib2NbvNV() argument
193 CALL_VertexAttrib2fNV(GET_DISPATCH(), (index, BYTE_TO_FLOAT(v[0]), BYTE_TO_FLOAT(v[1]))); in VertexAttrib2NbvNV()
197 VertexAttrib2bvNV(GLuint index, const GLbyte *v) in VertexAttrib2bvNV() argument
199 CALL_VertexAttrib2fNV(GET_DISPATCH(), (index, (GLfloat)v[0], (GLfloat)v[1])); in VertexAttrib2bvNV()
203 VertexAttrib3NbvNV(GLuint index, const GLbyte *v) in VertexAttrib3NbvNV() argument
[all …]
/external/jsilver/src/com/google/clearsilver/jsilver/syntax/parser/
DTokenIndex.java10 int index; field in TokenIndex
15 this.index = 0; in caseTData()
21 this.index = 1; in caseTComment()
27 this.index = 2; in caseTVar()
33 this.index = 3; in caseTLvar()
39 this.index = 4; in caseTEvar()
45 this.index = 5; in caseTUvar()
51 this.index = 6; in caseTSet()
57 this.index = 7; in caseTIf()
63 this.index = 8; in caseTElseIf()
[all …]
/external/messageformat/java/com/ibm/icu/text/
DMessagePattern.java408 modified.insert(part.index, (char)part.value); in autoQuoteApostropheDeep()
460 return parts.get(partIndex).index; in getPatternIndex()
471 int index=part.index; in getSubstring() local
472 return msg.substring(index, index+part.length); in getSubstring()
483 return msg.regionMatches(part.index, s, 0, part.length); in partSubstringMatches()
554 index=i; in Part()
574 return index; in getIndex()
594 return index+length; in getLimit()
751 return type.name()+"("+valueString+")@"+index; in toString()
770 index==o.index && in equals()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DMessagePattern.java409 modified.insert(part.index, (char)part.value); in autoQuoteApostropheDeep()
461 return parts.get(partIndex).index; in getPatternIndex()
472 int index=part.index; in getSubstring() local
473 return msg.substring(index, index+part.length); in getSubstring()
484 return msg.regionMatches(part.index, s, 0, part.length); in partSubstringMatches()
555 index=i; in Part()
575 return index; in getIndex()
595 return index+length; in getLimit()
752 return type.name()+"("+valueString+")@"+index; in toString()
771 index==o.index && in equals()
[all …]
/external/llvm/utils/TableGen/
DX86DisassemblerTables.cpp392 for (unsigned index = 0; index < 256; ++index) { in getDecisionType() local
393 if (decision.instructionIDs[index] != decision.instructionIDs[0]) in getDecisionType()
396 if (((index & 0xc0) == 0xc0) && in getDecisionType()
397 (decision.instructionIDs[index] != decision.instructionIDs[0xc0])) in getDecisionType()
400 if (((index & 0xc0) != 0xc0) && in getDecisionType()
401 (decision.instructionIDs[index] != decision.instructionIDs[0x00])) in getDecisionType()
404 if (((index & 0xc0) == 0xc0) && in getDecisionType()
405 (decision.instructionIDs[index] != decision.instructionIDs[index&0xf8])) in getDecisionType()
408 if (((index & 0xc0) != 0xc0) && in getDecisionType()
409 (decision.instructionIDs[index] != decision.instructionIDs[index&0x38])) in getDecisionType()
[all …]
/external/proguard/src/proguard/evaluation/
DVariables.java122 for (int index = 0; index < size; index++) in generalize()
124 Value thisValue = this.values[index]; in generalize()
125 Value otherValue = other.values[index]; in generalize()
140 this.values[index] = newValue; in generalize()
146 this.values[index] = null; in generalize()
150 other.values[index] = null; in generalize()
171 public Value getValue(int index) in getValue() argument
173 if (index < 0 || in getValue()
174 index >= size) in getValue()
176 … throw new IndexOutOfBoundsException("Variable index ["+index+"] out of bounds ["+size+"]"); in getValue()
[all …]
/external/skia/src/core/
DSkVertState.cpp11 int index = state->fCurrIndex; in Triangles() local
12 if (index + 3 > state->fCount) { in Triangles()
15 state->f0 = index + 0; in Triangles()
16 state->f1 = index + 1; in Triangles()
17 state->f2 = index + 2; in Triangles()
18 state->fCurrIndex = index + 3; in Triangles()
24 int index = state->fCurrIndex; in TrianglesX() local
25 if (index + 3 > state->fCount) { in TrianglesX()
28 state->f0 = indices[index + 0]; in TrianglesX()
29 state->f1 = indices[index + 1]; in TrianglesX()
[all …]
DSkTDPQueue.h58 int index = fArray.count(); in insert() local
61 this->percolateUpIfNecessary(index); in insert()
68 int index = *INDEX(entry); in remove() local
69 SkASSERT(index >= 0 && index < fArray.count()); in remove()
71 SkDEBUGCODE(*INDEX(fArray[index]) = -1;) in remove()
72 if (index == fArray.count() - 1) { in remove()
76 fArray[index] = fArray[fArray.count() - 1]; in remove()
78 this->setIndex(index); in remove()
79 this->percolateUpOrDown(index); in remove()
88 int index = *INDEX(entry); in priorityDidChange() local
[all …]
/external/protobuf/java/src/main/java/com/google/protobuf/
DUtf8.java121 public static boolean isValidUtf8(byte[] bytes, int index, int limit) { in isValidUtf8() argument
122 return partialIsValidUtf8(bytes, index, limit) == COMPLETE; in isValidUtf8()
144 int state, byte[] bytes, int index, int limit) { in partialIsValidUtf8() argument
153 if (index >= limit) { // No bytes? No progress. in partialIsValidUtf8()
165 bytes[index++] > (byte) 0xBF) { in partialIsValidUtf8()
174 byte2 = bytes[index++]; in partialIsValidUtf8()
175 if (index >= limit) { in partialIsValidUtf8()
185 bytes[index++] > (byte) 0xBF) { in partialIsValidUtf8()
195 byte2 = bytes[index++]; in partialIsValidUtf8()
196 if (index >= limit) { in partialIsValidUtf8()
[all …]
/external/apache-commons-math/src/main/java/org/apache/commons/math/util/
DOpenIntToDoubleHashMap.java181 int index = hash & mask; in get() local
182 if (containsKey(key, index)) { in get()
183 return values[index]; in get()
186 if (states[index] == FREE) { in get()
190 int j = index; in get()
191 for (int perturb = perturb(hash); states[index] != FREE; perturb >>= PERTURB_SHIFT) { in get()
193 index = j & mask; in get()
194 if (containsKey(key, index)) { in get()
195 return values[index]; in get()
211 int index = hash & mask; in containsKey() local
[all …]
DOpenIntToFieldHashMap.java193 int index = hash & mask; in get() local
194 if (containsKey(key, index)) { in get()
195 return values[index]; in get()
198 if (states[index] == FREE) { in get()
202 int j = index; in get()
203 for (int perturb = perturb(hash); states[index] != FREE; perturb >>= PERTURB_SHIFT) { in get()
205 index = j & mask; in get()
206 if (containsKey(key, index)) { in get()
207 return values[index]; in get()
223 int index = hash & mask; in containsKey() local
[all …]
/external/icu/icu4c/source/test/intltest/
Dalphaindextst.cpp31 UnicodeString joinLabelsAndAppend(AlphabeticIndex::ImmutableIndex &index, UnicodeString &dest) { in joinLabelsAndAppend() argument
34 for (int32_t i = 0; (bucket = index.getBucket(i)) != NULL; ++i) { in joinLabelsAndAppend()
51 void AlphabeticIndexTest::runIndexedTest( int32_t index, UBool exec, const char* &name, char* /*par… in runIndexedTest() argument
86 AlphabeticIndex *index = new AlphabeticIndex(Locale::getEnglish(), status); in APITest() local
88 lc = index->getBucketCount(status); in APITest()
92 delete index; in APITest()
101 index = new AlphabeticIndex(coll, status); in APITest()
103 TEST_ASSERT(coll == &index->getCollator()); in APITest()
105 1, index->getBucketCount(status)); in APITest()
107 delete index; in APITest()
[all …]
/external/icu/icu4c/source/common/
Dmessagepattern.cpp352 modified.insert(part.index, (UChar)part.value); in autoQuoteApostropheDeep()
395 index==other.index && in operator ==()
432 MessagePattern::parseMessage(int32_t index, int32_t msgStartLength, in parseMessage() argument
443 addPart(UMSGPAT_PART_TYPE_MSG_START, index, msgStartLength, nestingLevel, errorCode); in parseMessage()
444 index+=msgStartLength; in parseMessage()
449 if(index>=msg.length()) { in parseMessage()
452 UChar c=msg.charAt(index++); in parseMessage()
454 if(index==msg.length()) { in parseMessage()
457 addPart(UMSGPAT_PART_TYPE_INSERT_CHAR, index, 0, in parseMessage()
461 c=msg.charAt(index); in parseMessage()
[all …]
/external/skia/tests/
DPathOpsCubicReduceOrderTest.cpp24 int index, minX, maxX, minY, maxY;
26 for (index = 1; index < 4; ++index) {
27 if (cubic[minX].fX > cubic[index].fX) {
28 minX = index;
30 if (cubic[minY].fY > cubic[index].fY) {
31 minY = index;
33 if (cubic[maxX].fX < cubic[index].fX) {
34 maxX = index;
36 if (cubic[maxY].fY < cubic[index].fY) {
37 maxY = index;
[all …]
/external/skia/src/animator/
DSkAnimateActive.cpp32 int index; in init() local
33 for (index = 0; index < animators; index++) in init()
34 fInterpolators[index] = new SkOperandInterpolator; in init()
42 int index; in ~SkActive() local
43 for (index = 0; index < fSaveRestore.count(); index++) in ~SkActive()
44 delete[] fSaveRestore[index]; in ~SkActive()
45 for (index = 0; index < fSaveInterpolators.count(); index++) in ~SkActive()
46 delete[] fSaveInterpolators[index]; in ~SkActive()
47 for (index = 0; index < fInterpolators.count(); index++) in ~SkActive()
48 delete fInterpolators[index]; in ~SkActive()
[all …]
/external/proguard/src/proguard/classfile/attribute/preverification/
DFullFrame.java85 for (int index = 0; index < variablesCount; index++) in variablesAccept()
87 …variables[index].variablesAccept(clazz, method, codeAttribute, offset, index, verificationTypeVisi… in variablesAccept()
97 for (int index = 0; index < stackCount; index++) in stackAccept()
99 … stack[index].stackAccept(clazz, method, codeAttribute, offset, index, verificationTypeVisitor); in stackAccept()
136 for (int index = 0; index < variablesCount; index++) in equals()
138 VerificationType thisType = this.variables[index]; in equals()
139 VerificationType otherType = other.variables[index]; in equals()
147 for (int index = 0; index < stackCount; index++) in equals()
149 VerificationType thisType = this.stack[index]; in equals()
150 VerificationType otherType = other.stack[index]; in equals()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
DCollationRootElements.java151 int index = findP(p); in lastCEWithPrimaryBefore() local
152 long q = elements[index]; in lastCEWithPrimaryBefore()
158 secTer = elements[index - 1]; in lastCEWithPrimaryBefore()
165 index -= 2; in lastCEWithPrimaryBefore()
167 p = elements[index]; in lastCEWithPrimaryBefore()
172 --index; in lastCEWithPrimaryBefore()
181 q = elements[++index]; in lastCEWithPrimaryBefore()
199 int index = findP(p); in firstCEWithPrimaryAtLeast() local
200 if(p != (elements[index] & 0xffffff00L)) { in firstCEWithPrimaryAtLeast()
202 p = elements[++index]; in firstCEWithPrimaryAtLeast()
[all …]

12345678910>>...235