Home
last modified time | relevance | path

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

12345678910>>...234

/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/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/chromium_org/third_party/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/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/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()
125 for (int index = 0; index < size; index++) in hashCode()
127 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/skia/src/pathops/
DSkIntersections.cpp11 for (int index = 0; index < i.fUsed; ++index) { in append() local
12 insert(i[0][index], i[1][index], i.pt(index)); in append()
37 for (int index = 0; index < fUsed; ++index) { in coincidentUsed() local
38 if (fIsCoincident[0] & (1 << index)) { in coincidentUsed()
42 if (fIsCoincident[1] & (1 << index)) { in coincidentUsed()
59 for (int index = 0; index < fUsed; ++index) { in flip() local
60 fT[1][index] = 1 - fT[1][index]; in flip()
70 int index; in insert() local
71 for (index = 0; index < fUsed; ++index) { in insert()
72 double oldOne = fT[0][index]; in insert()
[all …]
/external/chromium_org/third_party/skia/src/pathops/
DSkIntersections.cpp11 for (int index = 0; index < i.fUsed; ++index) { in append() local
12 insert(i[0][index], i[1][index], i.pt(index)); in append()
37 for (int index = 0; index < fUsed; ++index) { in coincidentUsed() local
38 if (fIsCoincident[0] & (1 << index)) { in coincidentUsed()
42 if (fIsCoincident[1] & (1 << index)) { in coincidentUsed()
59 for (int index = 0; index < fUsed; ++index) { in flip() local
60 fT[1][index] = 1 - fT[1][index]; in flip()
70 int index; in insert() local
71 for (index = 0; index < fUsed; ++index) { in insert()
72 double oldOne = fT[0][index]; in insert()
[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/skia/experimental/Intersection/
DConvexHull.cpp23 size_t index; in convex_hull() local
26 for (index = 1; index < 4; ++index) { in convex_hull()
27 if (cubic[yMin].y > cubic[index].y || (cubic[yMin].y == cubic[index].y in convex_hull()
28 && cubic[yMin].x > cubic[index].x)) { in convex_hull()
29 yMin = index; in convex_hull()
36 for (index = 0; index < 4; ++index) { in convex_hull()
37 if (index == yMin) { in convex_hull()
43 int mask = other_two(yMin, index); in convex_hull()
45 int side2 = index ^ mask; in convex_hull()
47 if (!rotate(cubic, yMin, index, rotPath)) { // ! if cbc[yMin]==cbc[idx] in convex_hull()
[all …]
DCubicReduceOrder_Test.cpp14 size_t index; in CubicReduceOrder_Test() local
47 for (index = firstPointDegeneratesTest; index < pointDegenerates_count; ++index) { in CubicReduceOrder_Test()
48 const Cubic& cubic = pointDegenerates[index]; in CubicReduceOrder_Test()
52 SkDebugf("[%d] pointDegenerates order=%d\n", (int) index, order); in CubicReduceOrder_Test()
55 for (index = firstNotPointDegeneratesTest; index < notPointDegenerates_count; ++index) { in CubicReduceOrder_Test()
56 const Cubic& cubic = notPointDegenerates[index]; in CubicReduceOrder_Test()
60 SkDebugf("[%d] notPointDegenerates order=%d\n", (int) index, order); in CubicReduceOrder_Test()
63 for (index = firstLinesTest; index < lines_count; ++index) { in CubicReduceOrder_Test()
64 const Cubic& cubic = lines[index]; in CubicReduceOrder_Test()
68 SkDebugf("[%d] lines order=%d\n", (int) index, order); in CubicReduceOrder_Test()
[all …]
/external/chromium_org/third_party/skia/experimental/Intersection/
DConvexHull.cpp23 size_t index; in convex_hull() local
26 for (index = 1; index < 4; ++index) { in convex_hull()
27 if (cubic[yMin].y > cubic[index].y || (cubic[yMin].y == cubic[index].y in convex_hull()
28 && cubic[yMin].x > cubic[index].x)) { in convex_hull()
29 yMin = index; in convex_hull()
36 for (index = 0; index < 4; ++index) { in convex_hull()
37 if (index == yMin) { in convex_hull()
43 int mask = other_two(yMin, index); in convex_hull()
45 int side2 = index ^ mask; in convex_hull()
47 if (!rotate(cubic, yMin, index, rotPath)) { // ! if cbc[yMin]==cbc[idx] in convex_hull()
[all …]
DCubicReduceOrder_Test.cpp14 size_t index; in CubicReduceOrder_Test() local
47 for (index = firstPointDegeneratesTest; index < pointDegenerates_count; ++index) { in CubicReduceOrder_Test()
48 const Cubic& cubic = pointDegenerates[index]; in CubicReduceOrder_Test()
52 SkDebugf("[%d] pointDegenerates order=%d\n", (int) index, order); in CubicReduceOrder_Test()
55 for (index = firstNotPointDegeneratesTest; index < notPointDegenerates_count; ++index) { in CubicReduceOrder_Test()
56 const Cubic& cubic = notPointDegenerates[index]; in CubicReduceOrder_Test()
60 SkDebugf("[%d] notPointDegenerates order=%d\n", (int) index, order); in CubicReduceOrder_Test()
63 for (index = firstLinesTest; index < lines_count; ++index) { in CubicReduceOrder_Test()
64 const Cubic& cubic = lines[index]; in CubicReduceOrder_Test()
68 SkDebugf("[%d] lines order=%d\n", (int) index, order); in CubicReduceOrder_Test()
[all …]
/external/chromium_org/third_party/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/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/chromium_org/third_party/mesa/src/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/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/chromium_org/chrome/browser/ui/views/tabs/
Dstacked_tab_strip_layout.cc63 void StackedTabStripLayout::SetActiveIndex(int index) { in SetActiveIndex() argument
65 active_index_ = index; in SetActiveIndex()
150 void StackedTabStripLayout::AddTab(int index, int add_types, int start_x) { in AddTab() argument
152 active_index_ = index; in AddTab()
153 else if (active_index_ >= index) in AddTab()
162 int active_x = (index + 1 == tab_count()) ? in AddTab()
163 width_ - size_.width() : ideal_x(index + 1); in AddTab()
170 MakeVisible(index); in AddTab()
173 void StackedTabStripLayout::RemoveTab(int index, int start_x, int old_x) { in RemoveTab() argument
174 if (index == active_index_) in RemoveTab()
[all …]
/external/proguard/src/proguard/evaluation/value/
DInstructionOffsetValue.java62 public int instructionOffset(int index) in instructionOffset() argument
64 return values[index]; in instructionOffset()
76 for (int index = 0; index < values.length; index++) in contains()
78 if (values[index] == value) in contains()
99 for (int index = 0; index < values.length; index++) in minimumValue()
101 int value = values[index]; in minimumValue()
124 for (int index = 0; index < values.length; index++) in maximumValue()
126 int value = values[index]; in maximumValue()
159 for (int index = 0; index < other.values.length; index++) in generalize()
161 if (!this.contains(other.values[index])) in generalize()
[all …]
/external/llvm/utils/TableGen/
DX86DisassemblerTables.cpp315 for (unsigned index = 0; index < 256; ++index) { in getDecisionType() local
316 if (decision.instructionIDs[index] != decision.instructionIDs[0]) in getDecisionType()
319 if (((index & 0xc0) == 0xc0) && in getDecisionType()
320 (decision.instructionIDs[index] != decision.instructionIDs[0xc0])) in getDecisionType()
323 if (((index & 0xc0) != 0xc0) && in getDecisionType()
324 (decision.instructionIDs[index] != decision.instructionIDs[0x00])) in getDecisionType()
327 if (((index & 0xc0) == 0xc0) && in getDecisionType()
328 (decision.instructionIDs[index] != decision.instructionIDs[index&0xf8])) in getDecisionType()
331 if (((index & 0xc0) != 0xc0) && in getDecisionType()
332 (decision.instructionIDs[index] != decision.instructionIDs[index&0x38])) in getDecisionType()
[all …]
/external/icu/icu4c/source/test/intltest/
Dalphaindextst.cpp32 UnicodeString joinLabelsAndAppend(AlphabeticIndex::ImmutableIndex &index, UnicodeString &dest) { in joinLabelsAndAppend() argument
35 for (int32_t i = 0; (bucket = index.getBucket(i)) != NULL; ++i) { in joinLabelsAndAppend()
52 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/chromium_org/content/shell/renderer/test_runner/
Dgamepad_controller.cc40 void Connect(int index);
41 void DispatchConnected(int index);
42 void Disconnect(int index);
43 void SetId(int index, const std::string& src);
44 void SetButtonCount(int index, int buttons);
45 void SetButtonData(int index, int button, double data);
46 void SetAxisCount(int index, int axes);
47 void SetAxisData(int index, int axis, double data);
97 void GamepadControllerBindings::Connect(int index) { in Connect() argument
99 controller_->Connect(index); in Connect()
[all …]
/external/chromium_org/third_party/icu/source/test/intltest/
Dalphaindextst.cpp32 UnicodeString joinLabelsAndAppend(AlphabeticIndex::ImmutableIndex &index, UnicodeString &dest) { in joinLabelsAndAppend() argument
35 for (int32_t i = 0; (bucket = index.getBucket(i)) != NULL; ++i) { in joinLabelsAndAppend()
52 void AlphabeticIndexTest::runIndexedTest( int32_t index, UBool exec, const char* &name, char* /*par… in runIndexedTest() argument
85 AlphabeticIndex *index = new AlphabeticIndex(Locale::getEnglish(), status); in APITest() local
87 lc = index->getBucketCount(status); in APITest()
91 delete index; in APITest()
99 index = new AlphabeticIndex(coll, status); in APITest()
101 TEST_ASSERT(coll == &index->getCollator()); in APITest()
103 1, index->getBucketCount(status)); in APITest()
105 delete index; in APITest()
[all …]
/external/chromium_org/chrome/browser/sync_file_system/drive_backend/
Dmetadata_database_index_on_disk_unittest.cc51 DCHECK(index()); in CreateTestDatabase()
52 db = index()->GetDBForTesting(); in CreateTestDatabase()
88 DCHECK(index()); in CreateTestDatabase()
90 index()->StoreFileMetadata(sync_root_metadata.Pass()); in CreateTestDatabase()
91 index()->StoreFileTracker(sync_root_tracker.Pass()); in CreateTestDatabase()
92 index()->StoreFileMetadata(app_root_metadata.Pass()); in CreateTestDatabase()
93 index()->StoreFileTracker(app_root_tracker.Pass()); in CreateTestDatabase()
94 index()->StoreFileMetadata(file_metadata.Pass()); in CreateTestDatabase()
95 index()->StoreFileTracker(file_tracker.Pass()); in CreateTestDatabase()
96 index()->StoreFileTracker(placeholder_tracker.Pass()); in CreateTestDatabase()
[all …]

12345678910>>...234