Home
last modified time | relevance | path

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

12345678910>>...280

/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.cpp9 void setup_vertexbug(SkPoint verts[], SkPoint texs[], uint16_t index[]);
11 void setup_vertexbug(SkPoint verts[], SkPoint texs[], uint16_t index[]) { in setup_vertexbug() argument
44 index[0] = 0; index[1] = 5; index[2] = 1; in setup_vertexbug()
45 index[3] = 0; index[4] = 4; index[5] = 5; in setup_vertexbug()
47 index[6] = 1; index[7] = 6; index[8] = 2; in setup_vertexbug()
49 index[6] = 6; index[7] = 2; index[8] = 1; in setup_vertexbug()
51 index[9] = 1; index[10] = 5; index[11] = 6; in setup_vertexbug()
52 index[12] = 2; in setup_vertexbug()
53 index[13] = 7; in setup_vertexbug()
54 index[14] = 3; in setup_vertexbug()
[all …]
/external/clang/test/Analysis/
Drange_casts.c8 unsigned index = -1; in f1() local
9 if (index < foo) index = foo; in f1()
10 if (index + 1 == 0) // because of foo range, index is in range [0; UINT_MAX] in f1()
18 int index = -1; in f2() local
19 if (index < foo) index = foo; // index equals ULONG_MAX in f2()
20 if (index + 1 == 0) in f2()
28 unsigned index = -1; in f3() local
29 if (index < foo) index = foo; in f3()
30 if (index + 1 == 0) in f3()
38 int index = -1; in f4() local
[all …]
/external/swiftshader/src/Shader/
DPixelShader.cpp220 int sampler = instruction[i]->dst.index; in analyzeInterpolants()
232 int index = instruction[i]->dst.index + 2; in analyzeInterpolants() local
249 interpolant[index][0] = true; in analyzeInterpolants()
250 interpolant[index][1] = true; in analyzeInterpolants()
251 interpolant[index][2] = true; in analyzeInterpolants()
256 interpolant[index][0] = true; in analyzeInterpolants()
257 interpolant[index][1] = true; in analyzeInterpolants()
258 interpolant[index][2] = true; in analyzeInterpolants()
262 interpolant[index][0] = true; in analyzeInterpolants()
263 interpolant[index][1] = true; in analyzeInterpolants()
[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/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/icu/android_icu4j/src/main/java/android/icu/text/
DMessagePattern.java388 modified.insert(part.index, (char)part.value); in autoQuoteApostropheDeep()
436 return parts.get(partIndex).index; in getPatternIndex()
446 int index=part.index; in getSubstring() local
447 return msg.substring(index, index+part.length); in getSubstring()
457 return part.length == s.length() && msg.regionMatches(part.index, s, 0, part.length); in partSubstringMatches()
523 index=i; in Part()
541 return index; in getIndex()
559 return index+length; in getLimit()
697 return type.name()+"("+valueString+")@"+index; in toString()
715 index==o.index && in equals()
[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.java411 modified.insert(part.index, (char)part.value); in autoQuoteApostropheDeep()
463 return parts.get(partIndex).index; in getPatternIndex()
474 int index=part.index; in getSubstring() local
475 return msg.substring(index, index+part.length); in getSubstring()
486 return part.length == s.length() && msg.regionMatches(part.index, s, 0, part.length); in partSubstringMatches()
557 index=i; in Part()
577 return index; in getIndex()
597 return index+length; in getLimit()
754 return type.name()+"("+valueString+")@"+index; in toString()
773 index==o.index && in equals()
[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/swiftshader/third_party/LLVM/utils/TableGen/
DX86DisassemblerTables.cpp211 uint16_t index; in getDecisionType() local
213 for (index = 0; index < 256; ++index) { in getDecisionType()
214 if (decision.instructionIDs[index] != decision.instructionIDs[0]) in getDecisionType()
217 if (((index & 0xc0) == 0xc0) && in getDecisionType()
218 (decision.instructionIDs[index] != decision.instructionIDs[0xc0])) in getDecisionType()
221 if (((index & 0xc0) != 0xc0) && in getDecisionType()
222 (decision.instructionIDs[index] != decision.instructionIDs[0x00])) in getDecisionType()
296 uint16_t index; in emitModRMDecision() local
341 for (index = 0; index < 256; ++index) in emitModRMDecision()
342 emitOneID(o1, i1, decision.instructionIDs[index], index < 255); in emitModRMDecision()
[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/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.cpp33 UnicodeString joinLabelsAndAppend(AlphabeticIndex::ImmutableIndex &index, UnicodeString &dest) { in joinLabelsAndAppend() argument
36 for (int32_t i = 0; (bucket = index.getBucket(i)) != NULL; ++i) { in joinLabelsAndAppend()
53 void AlphabeticIndexTest::runIndexedTest( int32_t index, UBool exec, const char* &name, char* /*par… in runIndexedTest() argument
88 AlphabeticIndex *index = new AlphabeticIndex(Locale::getEnglish(), status); in APITest() local
90 lc = index->getBucketCount(status); in APITest()
94 delete index; in APITest()
103 index = new AlphabeticIndex(coll, status); in APITest()
105 TEST_ASSERT(coll == &index->getCollator()); in APITest()
107 1, index->getBucketCount(status)); in APITest()
109 delete index; in APITest()
[all …]
/external/icu/icu4c/source/common/
Dmessagepattern.cpp354 modified.insert(part.index, (UChar)part.value); in autoQuoteApostropheDeep()
397 index==other.index && in operator ==()
434 MessagePattern::parseMessage(int32_t index, int32_t msgStartLength, in parseMessage() argument
445 addPart(UMSGPAT_PART_TYPE_MSG_START, index, msgStartLength, nestingLevel, errorCode); in parseMessage()
446 index+=msgStartLength; in parseMessage()
451 if(index>=msg.length()) { in parseMessage()
454 UChar c=msg.charAt(index++); in parseMessage()
456 if(index==msg.length()) { in parseMessage()
459 addPart(UMSGPAT_PART_TYPE_INSERT_CHAR, index, 0, in parseMessage()
463 c=msg.charAt(index); in parseMessage()
[all …]
/external/fmtlib/doc/bootstrap/mixins/
Dgrid-framework.less8 .col(@index) { // initial
9 @item: ~".col-xs-@{index}, .col-sm-@{index}, .col-md-@{index}, .col-lg-@{index}";
10 .col((@index + 1), @item);
12 .col(@index, @list) when (@index =< @grid-columns) { // general; "=<" isn't a typo
13 @item: ~".col-xs-@{index}, .col-sm-@{index}, .col-md-@{index}, .col-lg-@{index}";
14 .col((@index + 1), ~"@{list}, @{item}");
16 .col(@index, @list) when (@index > @grid-columns) { // terminal
30 .col(@index) { // initial
31 @item: ~".col-@{class}-@{index}";
32 .col((@index + 1), @item);
[all …]
/external/clang/test/CodeGen/
Davx512pf-builtins.c8 void test_mm512_mask_prefetch_i32gather_pd(__m256i index, __mmask8 mask, void const *addr, int hint… in test_mm512_mask_prefetch_i32gather_pd() argument
11 return _mm512_mask_prefetch_i32gather_pd(index, mask, addr, 2, 1); in test_mm512_mask_prefetch_i32gather_pd()
14 void test_mm512_prefetch_i32gather_pd(__m256i index, void const *addr, int hint) { in test_mm512_prefetch_i32gather_pd() argument
17 return _mm512_prefetch_i32gather_pd(index, addr, 2, 1); in test_mm512_prefetch_i32gather_pd()
20 void test_mm512_mask_prefetch_i32gather_ps(__m512i index, __mmask16 mask, void const *addr, int hin… in test_mm512_mask_prefetch_i32gather_ps() argument
23 return _mm512_mask_prefetch_i32gather_ps(index, mask, addr, 2, 1); in test_mm512_mask_prefetch_i32gather_ps()
26 void test_mm512_prefetch_i32gather_ps(__m512i index, void const *addr, int hint) { in test_mm512_prefetch_i32gather_ps() argument
29 return _mm512_prefetch_i32gather_ps(index, addr, 2, 1); in test_mm512_prefetch_i32gather_ps()
32 void test_mm512_mask_prefetch_i64gather_pd(__m512i index, __mmask8 mask, void const *addr, int hint… in test_mm512_mask_prefetch_i64gather_pd() argument
35 return _mm512_mask_prefetch_i64gather_pd(index, mask, addr, 2, 1); in test_mm512_mask_prefetch_i64gather_pd()
[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 …]

12345678910>>...280