Home
last modified time | relevance | path

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

12345678910>>...420

/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/skqp/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/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/llvm-project/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/flatbuffers/java/com/google/flatbuffers/
DArrayReadWriteBuf.java38 public boolean getBoolean(int index) { in getBoolean() argument
39 return buffer[index] != 0; in getBoolean()
43 public byte get(int index) { in get() argument
44 return buffer[index]; in get()
48 public short getShort(int index) { in getShort() argument
49 return (short) ((buffer[index+ 1] << 8) | (buffer[index] & 0xff)); in getShort()
53 public int getInt(int index) { in getInt() argument
54 return (((buffer[index + 3]) << 24) | in getInt()
55 ((buffer[index + 2] & 0xff) << 16) | in getInt()
56 ((buffer[index + 1] & 0xff) << 8) | in getInt()
[all …]
/external/swiftshader/src/Shader/
DPixelShader.cpp234 int sampler = inst->dst.index; in analyzeInterpolants()
246 int index = inst->dst.index + 2; in analyzeInterpolants() local
262 interpolant[index][0] = true; in analyzeInterpolants()
263 interpolant[index][1] = true; in analyzeInterpolants()
264 interpolant[index][2] = true; in analyzeInterpolants()
269 interpolant[index][0] = true; in analyzeInterpolants()
270 interpolant[index][1] = true; in analyzeInterpolants()
271 interpolant[index][2] = true; in analyzeInterpolants()
275 interpolant[index][0] = true; in analyzeInterpolants()
276 interpolant[index][1] = true; in analyzeInterpolants()
[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/skqp/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/skia/src/utils/
DSkCharToGlyphCache.cpp40 int index; in find_simple() local
41 for (index = 0;; ++index) { in find_simple()
42 if (value <= base[index]) { in find_simple()
43 if (value < base[index]) { in find_simple()
44 index = ~index; // not found in find_simple()
49 return index; in find_simple()
55 int index; in find_with_slope() local
57 index = 1; in find_with_slope()
58 if (value < base[index]) { in find_with_slope()
59 index = ~index; in find_with_slope()
[all …]
/external/llvm-project/mlir/test/Conversion/StandardToSPIRV/
Dlegalization.mlir4 …0:%.*]]: memref<12x32xf32>, [[ARG1:%.*]]: index, [[ARG2:%.*]]: index, [[ARG3:%.*]]: index, [[ARG4:…
5 …bview_with_load(%arg0 : memref<12x32xf32>, %arg1 : index, %arg2 : index, %arg3 : index, %arg4 : in…
7 // CHECK: [[C2:%.*]] = constant 2 : index
8 // CHECK: [[C3:%.*]] = constant 3 : index
9 // CHECK: [[STRIDE1:%.*]] = muli [[ARG3]], [[C2]] : index
10 // CHECK: [[INDEX1:%.*]] = addi [[ARG1]], [[STRIDE1]] : index
11 // CHECK: [[STRIDE2:%.*]] = muli [[ARG4]], [[C3]] : index
12 // CHECK: [[INDEX2:%.*]] = addi [[ARG2]], [[STRIDE2]] : index
20 …xf32>, [[ARG1:%.*]]: index, [[ARG2:%.*]]: index, [[ARG3:%.*]]: index, [[ARG4:%.*]]: index, [[ARG5:…
21 …(%arg0 : memref<12x32xf32>, %arg1 : index, %arg2 : index, %arg3 : index, %arg4 : index, %arg5 : in…
[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/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.c96 VertexAttrib1NbvNV(GLuint index, const GLbyte *v) in VertexAttrib1NbvNV() argument
98 CALL_VertexAttrib1fNV(get_dispatch(), (index, BYTE_TO_FLOAT(v[0]))); in VertexAttrib1NbvNV()
102 VertexAttrib1bvNV(GLuint index, const GLbyte *v) in VertexAttrib1bvNV() argument
104 CALL_VertexAttrib1fNV(get_dispatch(), (index, (GLfloat)v[0])); in VertexAttrib1bvNV()
108 VertexAttrib2NbvNV(GLuint index, const GLbyte *v) in VertexAttrib2NbvNV() argument
110 CALL_VertexAttrib2fNV(get_dispatch(), (index, BYTE_TO_FLOAT(v[0]), BYTE_TO_FLOAT(v[1]))); in VertexAttrib2NbvNV()
114 VertexAttrib2bvNV(GLuint index, const GLbyte *v) in VertexAttrib2bvNV() argument
116 CALL_VertexAttrib2fNV(get_dispatch(), (index, (GLfloat)v[0], (GLfloat)v[1])); in VertexAttrib2bvNV()
120 VertexAttrib3NbvNV(GLuint index, const GLbyte *v) in VertexAttrib3NbvNV() argument
122 CALL_VertexAttrib3fNV(get_dispatch(), (index, BYTE_TO_FLOAT(v[0]), in VertexAttrib3NbvNV()
[all …]
/external/llvm-project/clang/test/CodeGen/
Dbuiltins-ppc-error.c29 int index = 5; in testInsertWord() local
30 …vector unsigned char v1 = vec_insert4b(vsi, vuc, index); // expected-error {{argument to '__builti… in testInsertWord()
31 …vector unsigned long long v2 = vec_extract4b(vuc, index); // expected-error {{argument to '__bui… in testInsertWord()
34 void testXXPERMDI(int index) { in testXXPERMDI() argument
37 …vec_xxpermdi(vsi, vsi, index); //expected-error {{argument 3 to '__builtin_vsx_xxpermdi' must be a… in testXXPERMDI()
42 void testXXSLDWI(int index) { in testXXSLDWI() argument
45 …vec_xxsldwi(vsi, vsi, index); //expected-error {{argument 3 to '__builtin_vsx_xxsldwi' must be a 2… in testXXSLDWI()
50 void testCTF(int index) { in testCTF() argument
51 …vec_ctf(vsi, index); //expected-error {{argument to '__builtin_altivec_vcfsx' must be a constant i… in testCTF()
52 …vec_ctf(vui, index); //expected-error {{argument to '__builtin_altivec_vcfsx' must be a constant i… in testCTF()
[all …]
/external/llvm-project/mlir/test/Conversion/AffineToStandard/
Dlower-affine.mlir8 func private @body(index) -> ()
12 // CHECK-NEXT: %[[c1:.*]] = constant 1 : index
13 // CHECK-NEXT: %[[c42:.*]] = constant 42 : index
14 // CHECK-NEXT: %[[c1_0:.*]] = constant 1 : index
16 // CHECK-NEXT: call @body(%{{.*}}) : (index) -> ()
22 call @body(%i) : (index) -> ()
29 func private @pre(index) -> ()
30 func private @body2(index, index) -> ()
31 func private @post(index) -> ()
34 // CHECK-NEXT: %[[c0:.*]] = constant 0 : index
[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/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/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/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/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/skqp/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 …]
/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 …]
/external/rust/crates/ryu/src/pretty/
Dmod.rs59 let mut index = 0isize; in format64() localVariable
62 index += 1; in format64()
66 ptr::copy_nonoverlapping(b"0.0".as_ptr(), result.offset(index), 3); in format64()
79 write_mantissa_long(v.mantissa, result.offset(index + length)); in format64()
81 *result.offset(index + i) = b'0'; in format64()
83 *result.offset(index + kk) = b'.'; in format64()
84 *result.offset(index + kk + 1) = b'0'; in format64()
85 index as usize + kk as usize + 2 in format64()
88 write_mantissa_long(v.mantissa, result.offset(index + length + 1)); in format64()
89 ptr::copy(result.offset(index + 1), result.offset(index), kk as usize); in format64()
[all …]

12345678910>>...420