Home
last modified time | relevance | path

Searched refs:getIndex (Results 1 – 25 of 360) sorted by relevance

12345678910>>...15

/external/dexmaker/src/dx/java/com/android/dx/ssa/
DDominators.java116 DFSInfo bbInfo = info[in.getIndex()]; in compress()
117 DFSInfo ancestorbbInfo = info[bbInfo.ancestor.getIndex()]; in compress()
127 DFSInfo vbbInfo = info[v.getIndex()]; in compress()
129 DFSInfo vabbInfo = info[vAncestor.getIndex()]; in compress()
144 if (info[vAncestorRep.getIndex()].semidom in compress()
145 < info[vRep.getIndex()].semidom) { in compress()
154 DFSInfo bbInfo = info[v.getIndex()]; in eval()
176 domInfos[root.getIndex()].idom = root.getIndex(); in run()
193 DFSInfo wInfo = info[w.getIndex()]; in run()
200 DFSInfo predInfo = info[predBlock.getIndex()]; in run()
[all …]
/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/
DStringCharacterIteratorTest.java238 assertEquals(0, fixture.getIndex()); in testGetIndex()
240 assertEquals(1, fixture.getIndex()); in testGetIndex()
243 assertEquals(2, fixture.getIndex()); in testGetIndex()
245 assertEquals(2, fixture.getIndex()); in testGetIndex()
270 assertEquals(0, fixture.getIndex()); in test_next()
272 assertEquals(1, fixture.getIndex()); in test_next()
274 assertEquals(2, fixture.getIndex()); in test_next()
276 assertEquals(3, fixture.getIndex()); in test_next()
278 assertEquals(4, fixture.getIndex()); in test_next()
280 assertEquals(5, fixture.getIndex()); in test_next()
[all …]
DParsePositionTest.java31 assertTrue("Initialization failed.", pp1.getIndex() == Integer.MIN_VALUE); in test_ConstructorI()
63 assertTrue("getIndex failed.", pp.getIndex() == Integer.MAX_VALUE); in test_getIndex()
71 assertTrue("Wrong hashCode returned", (pp.hashCode() == pp.getIndex() in test_hashCode()
90 assertEquals("setErrorIndex failed.", 4564, pp.getIndex()); in test_setIndexI()
/external/icu4c/test/intltest/
Dcitrtest.cpp169 if(test->getIndex()!=1){ in TestCoverage()
176 if(test->getIndex()!=0){ in TestCoverage()
180 if(test->getIndex()!=testText.length()){ in TestCoverage()
213 if (test1d->getIndex() < test1d->startIndex() || test1d->endIndex() < test1d->getIndex()) in TestConstructionAndEquality()
310 if (test8c->getIndex() < test8c->startIndex() || test8c->endIndex() < test8c->getIndex()) in TestConstructionAndEqualityUChariter()
354 if (test8b->getIndex()!=5) in TestConstructionAndEqualityUChariter()
409 if (iter.getIndex() != i) in TestIteration()
438 if (iter.getIndex() != i) in TestIteration()
460 if(iter.getIndex() != i+1) in TestIteration()
479 if(iter.getIndex() != i) in TestIteration()
[all …]
Dpptest.cpp53 if (pp1.getIndex() == 0) { in TestParsePosition()
62 if (pp2.getIndex() == 5) { in TestParsePosition()
68 if (pp2.getIndex() == 3) { in TestParsePosition()
87 … errln(UnicodeString("*** PP equals fails (") + pp3.getIndex() + " != " + pp4.getIndex() + ")"); in TestParsePosition()
/external/smali/dexlib/src/main/java/org/jf/dexlib/
DDebugInfoItem.java166 indexp1 = parameterName.getIndex() + 1; in placeItem()
200 … Leb128Utils.unsignedLeb128Size(referencedItems[referencedItemsPosition++].getIndex()+1); in placeItem()
206 … Leb128Utils.unsignedLeb128Size(referencedItems[referencedItemsPosition++].getIndex()+1); in placeItem()
225 … Leb128Utils.unsignedLeb128Size(referencedItems[referencedItemsPosition++].getIndex()+1); in placeItem()
231 … Leb128Utils.unsignedLeb128Size(referencedItems[referencedItemsPosition++].getIndex()+1); in placeItem()
237 … Leb128Utils.unsignedLeb128Size(referencedItems[referencedItemsPosition++].getIndex()+1); in placeItem()
248 … Leb128Utils.unsignedLeb128Size(referencedItems[referencedItemsPosition++].getIndex()+1); in placeItem()
289 indexp1 = parameterName.getIndex() + 1; in writeItemWithNoAnnotations()
313 … out.writeUnsignedLeb128(referencedItems[referencedItemsPosition++].getIndex() + 1); in writeItemWithNoAnnotations()
318 … out.writeUnsignedLeb128(referencedItems[referencedItemsPosition++].getIndex() + 1); in writeItemWithNoAnnotations()
[all …]
DClassDataItem.java387 int encodedMethodIndex = encodedMethod.method.getIndex(); in findMethodByMethodIdInternal()
435 int previousIndex = previousEncodedField==null?0:previousEncodedField.field.getIndex(); in EncodedField()
447 int previousIndex = previousEncodedField==null?0:previousEncodedField.field.getIndex(); in writeTo()
451 out.writeUnsignedLeb128(field.getIndex() - previousIndex); in writeTo()
455 out.writeUnsignedLeb128(field.getIndex() - previousIndex); in writeTo()
469 int previousIndex = previousEncodedField==null?0:previousEncodedField.field.getIndex(); in place()
471 offset += Leb128Utils.unsignedLeb128Size(field.getIndex() - previousIndex); in place()
538 … int previousIndex = previousEncodedMethod==null?0:previousEncodedMethod.method.getIndex(); in EncodedMethod()
560 … int previousIndex = previousEncodedMethod==null?0:previousEncodedMethod.method.getIndex(); in writeTo()
564 out.writeUnsignedLeb128(method.getIndex() - previousIndex); in writeTo()
[all …]
/external/llvm/include/llvm/CodeGen/
DSlotIndexes.h50 unsigned getIndex() const { return index; } in getIndex() function
128 int getIndex() const {
129 return listEntry()->getIndex() | getSlot();
193 return getIndex() < other.getIndex();
198 return getIndex() <= other.getIndex();
204 return getIndex() > other.getIndex();
210 return getIndex() >= other.getIndex();
221 return A.listEntry()->getIndex() < B.listEntry()->getIndex();
226 return other.getIndex() - getIndex();
409 assert(indexList.front().getIndex() == 0 && "First index is not 0?");
[all …]
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/asn1/der/
DChoiceTest.java68 public int getIndex(Object object) {
127 public int getIndex(Object object) { in testChoiceInSequenceOf()
179 public int getIndex(Object obj) { in test_ExplicitChoice()
218 public int getIndex(Object obj) { in testChoiceOfChoice()
239 public int getIndex(Object obj) { in testChoiceOfChoice()
262 public int getIndex(Object obj) { in testDistinctTags()
277 public int getIndex(Object obj) { in testDistinctTags() method
295 public int getIndex(Object obj) { in testDistinctTags() method
313 public int getIndex(Object obj) { in testDistinctTags()
325 public int getIndex(Object obj) { in testDistinctTags() method
/external/icu4c/samples/uciter8/
Duciter8.c51 length=iter1->getIndex(iter1, UITER_LENGTH); in compareIterators()
52 pos2=iter2->getIndex(iter2, UITER_LENGTH); in compareIterators()
86 … U+%04x=%s->next() at %d (started in middle)\n", n1, c1, c2, n2, iter1->getIndex(iter1, UITER_CURR… in compareIterators()
96 …04x=%s->previous() at %d (started in middle)\n", n1, c1, c2, n2, iter1->getIndex(iter1, UITER_CURR… in compareIterators()
126 …%s->next()=U+%04x != U+%04x=%s->next() at %d\n", n1, c1, c2, n2, iter1->getIndex(iter1, UITER_CURR… in compareIterators()
191 …ious()=U+%04x != U+%04x=%s->previous() at %d\n", n1, c1, c2, n2, iter1->getIndex(iter1, UITER_CURR… in compareIterators()
275 i=iter1->getIndex(iter1, UITER_CURRENT); in testIteratorState()
276 j=iter2->getIndex(iter2, UITER_CURRENT); in testIteratorState()
285 i=iter1->getIndex(iter1, UITER_LENGTH); in testIteratorState()
286 j=iter2->getIndex(iter2, UITER_LENGTH); in testIteratorState()
/external/icu4c/common/
Druleiter.cpp32 return buf == 0 && pos.getIndex() == text.length(); in atEnd()
90 p.pos = pos.getIndex(); in getPos()
117 text.extract(pos.getIndex(), maxLookAhead, result); in lookahead()
138 int i = pos.getIndex(); in _current()
150 pos.setIndex(pos.getIndex() + count); in _advance()
151 if (pos.getIndex() > text.length()) { in _advance()
/external/icu4c/i18n/
Dnfrule.cpp790 fprintf(stderr, "' pl: %d ppi: %d s1p: %d\n", prefixLength, pp.getIndex(), sub1->getPos()); in doParse()
793 if (pp.getIndex() == 0 && sub1->getPos() != 0) { in doParse()
852 if (pp.getIndex() != 0 || sub1->isNullSubstitution()) { in doParse()
853 start = pp.getIndex(); in doParse()
856 workText2.setTo(workText, pp.getIndex(), workText.length() - pp.getIndex()); in doParse()
871 if (pp2.getIndex() != 0 || sub2->isNullSubstitution()) { in doParse()
872 if (prefixLength + pp.getIndex() + pp2.getIndex() > highWaterMark) { in doParse()
873 highWaterMark = prefixLength + pp.getIndex() + pp2.getIndex(); in doParse()
880 int32_t temp = pp2.getErrorIndex() + sub1->getPos() + pp.getIndex(); in doParse()
898 && pp.getIndex() > 0 in doParse()
[all …]
Dnfsubs.cpp702 if (lenientParse && !ruleSet->isFractionRuleSet() && parsePosition.getIndex() == 0) { in doParse()
720 if (parsePosition.getIndex() != 0) { in doParse()
945 if (parsePosition.getIndex() != 0) { in doParse()
1118 while (workText.length() > 0 && workPos.getIndex() != 0) { in doParse()
1128 if (lenientParse && workPos.getIndex() == 0) { in doParse()
1143 if (workPos.getIndex() != 0) { in doParse()
1147 parsePosition.setIndex(parsePosition.getIndex() + workPos.getIndex()); in doParse()
1148 workText.removeBetween(0, workPos.getIndex()); in doParse()
1151 parsePosition.setIndex(parsePosition.getIndex() + 1); in doParse()
1246 while (workText.length() > 0 && workPos.getIndex() != 0) { in doParse()
[all …]
/external/smali/dexlib/src/main/java/org/jf/dexlib/EncodedValue/
DFieldEncodedValue.java63 byte[] bytes = EncodedValueUtils.encodeUnsignedIntegralValue(value.getIndex()); in writeValue()
76 … return offset + EncodedValueUtils.getRequiredBytesForUnsignedIntegralValue(value.getIndex()) + 1; in placeValue()
83 return value.getIndex()-other.value.getIndex(); in compareValue()
DMethodEncodedValue.java63 byte[] bytes = EncodedValueUtils.encodeUnsignedIntegralValue(value.getIndex()); in writeValue()
76 … return offset + EncodedValueUtils.getRequiredBytesForUnsignedIntegralValue(value.getIndex()) + 1; in placeValue()
83 return value.getIndex() - other.value.getIndex(); in compareValue()
DEnumEncodedValue.java63 byte[] bytes = EncodedValueUtils.encodeUnsignedIntegralValue(value.getIndex()); in writeValue()
76 … return offset + EncodedValueUtils.getRequiredBytesForUnsignedIntegralValue(value.getIndex()) + 1; in placeValue()
83 return value.getIndex() - other.value.getIndex(); in compareValue()
DTypeEncodedValue.java63 byte[] bytes = EncodedValueUtils.encodeUnsignedIntegralValue(value.getIndex()); in writeValue()
76 … return offset + EncodedValueUtils.getRequiredBytesForUnsignedIntegralValue(value.getIndex()) + 1; in placeValue()
83 return value.getIndex() - other.value.getIndex(); in compareValue()
DStringEncodedValue.java64 byte[] bytes = EncodedValueUtils.encodeUnsignedIntegralValue(value.getIndex()); in writeValue()
77 … return offset + EncodedValueUtils.getRequiredBytesForUnsignedIntegralValue(value.getIndex()) + 1; in placeValue()
84 return value.getIndex() - other.value.getIndex(); in compareValue()
DAnnotationEncodedSubValue.java85 out.writeUnsignedLeb128(annotationType.getIndex()); in writeValue()
93 out.writeUnsignedLeb128(names[i].getIndex()); in writeValue()
104 offset = offset + Leb128Utils.unsignedLeb128Size(annotationType.getIndex()); in placeValue()
108 offset = offset + Leb128Utils.unsignedLeb128Size(names[i].getIndex()); in placeValue()
/external/smali/baksmali/src/main/java/org/jf/baksmali/Adaptors/
DClassDefinition.java79 methodAnnotationsMap.put(method.getIndex(), methodAnnotations); in buildAnnotationMaps()
86 fieldAnnotationsMap.put(field.getIndex(), fieldAnnotations); in buildAnnotationMaps()
95 parameterAnnotationsMap.put(method.getIndex(), parameterAnnotations); in buildAnnotationMaps()
121 fieldsSetInStaticConstructor.put(fieldIdItem.getIndex(), fieldIdItem); in findFieldsSetInStaticConstructor()
245 AnnotationSetItem annotationSet = fieldAnnotationsMap.get(field.field.getIndex()); in writeStaticFields()
248 fieldsSetInStaticConstructor.get(field.field.getIndex()) != null; in writeStaticFields()
273 AnnotationSetItem annotationSet = fieldAnnotationsMap.get(field.field.getIndex()); in writeInstanceFields()
319 AnnotationSetItem annotationSet = methodAnnotationsMap.get(method.method.getIndex()); in writeMethods()
320 …notationSetRefList parameterAnnotationList = parameterAnnotationsMap.get(method.method.getIndex()); in writeMethods()
/external/apache-harmony/regex/src/test/java/org/apache/harmony/tests/java/util/regex/
DPatternSyntaxExceptionTest.java43 assertEquals(1, e.getIndex()); in testCase()
59 assertEquals(3, e.getIndex()); in testCase2()
109 assertEquals(initPatternSyntaxException.getIndex(),
110 dserPatternSyntaxException.getIndex());
/external/webkit/Source/JavaScriptCore/runtime/
DJSActivation.cpp81 if (entry.getIndex() >= m_numCapturedVars) in symbolTableGet()
84 slot.setValue(registerAt(entry.getIndex()).get()); in symbolTableGet()
97 if (entry.getIndex() >= m_numCapturedVars) in symbolTablePut()
100 registerAt(entry.getIndex()).set(globalData, this, value); in symbolTablePut()
110 if (it->second.getIndex() >= m_numCapturedVars) in getOwnPropertyNames()
127 if (entry.getIndex() >= m_numCapturedVars) in symbolTablePutWithAttributes()
131 registerAt(entry.getIndex()).set(globalData, this, value); in symbolTablePutWithAttributes()
/external/llvm/lib/CodeGen/
DSlotIndexes.cpp136 unsigned index = startItr->getIndex(); in renumberIndexes()
141 } while (curItr != indexList.end() && curItr->getIndex() <= index); in renumberIndexes()
143 DEBUG(dbgs() << "\n*** Renumbered SlotIndexes " << startItr->getIndex() << '-' in renumberIndexes()
152 dbgs() << itr->getIndex() << " "; in dump()
169 os << listEntry()->getIndex() << "Berd"[getSlot()]; in print()
/external/apache-xml/src/main/java/org/apache/xml/serializer/
DAttributesImplSerializer.java71 public final int getIndex(String qname) in getIndex() method in AttributesImplSerializer
79 index = super.getIndex(qname); in getIndex()
213 public final int getIndex(String uri, String localName) in getIndex() method in AttributesImplSerializer
221 index = super.getIndex(uri,localName); in getIndex()
/external/llvm/lib/Target/Hexagon/
DHexagonAsmPrinter.cpp92 O << *GetJTISymbol(MO.getIndex()); in printOperand()
96 O << *GetCPISymbol(MO.getIndex()); in printOperand()
248 O << *GetJTISymbol(MO.getIndex()); in printJumpTable()
258 O << *GetCPISymbol(MO.getIndex()); in printConstantPool()

12345678910>>...15