/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/ |
D | StringCharacterIteratorTest.java | 238 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 …]
|
D | ParsePositionTest.java | 31 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()
|
D | AttributedCharacterIteratorTest.java | 89 assertEquals("Wrong first", 0, it.getIndex()); in test_getIndex() 91 assertEquals("Wrong second", 1, it.getIndex()); in test_getIndex() 94 assertEquals("Wrong last", 10, it.getIndex()); in test_getIndex() 96 assertEquals("Wrong final", 11, it.getIndex()); in test_getIndex()
|
/external/icu4c/test/intltest/ |
D | citrtest.cpp | 169 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 …]
|
D | pptest.cpp | 53 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/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/asn1/der/ |
D | ChoiceTest.java | 68 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/llvm/include/llvm/CodeGen/ |
D | SlotIndexes.h | 50 unsigned getIndex() const { return index; } in getIndex() function 98 int getIndex() const { 99 return entry().getIndex() | getSlot(); 164 return getIndex() < other.getIndex(); 169 return getIndex() <= other.getIndex(); 175 return getIndex() > other.getIndex(); 181 return getIndex() >= other.getIndex(); 191 return other.getIndex() - getIndex(); 458 assert(front()->getIndex() == 0 && "First index is not 0?"); 475 assert(front()->getIndex() == 0 && [all …]
|
/external/icu4c/samples/uciter8/ |
D | uciter8.c | 51 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/ |
D | ruleiter.cpp | 32 return buf == 0 && pos.getIndex() == text.length(); in atEnd() 91 p.pos = pos.getIndex(); in getPos() 118 text.extract(pos.getIndex(), maxLookAhead, result); in lookahead() 139 int i = pos.getIndex(); in _current() 151 pos.setIndex(pos.getIndex() + count); in _advance() 152 if (pos.getIndex() > text.length()) { in _advance()
|
/external/icu4c/i18n/ |
D | nfrule.cpp | 791 fprintf(stderr, "' pl: %d ppi: %d s1p: %d\n", prefixLength, pp.getIndex(), sub1->getPos()); in doParse() 794 if (pp.getIndex() == 0 && sub1->getPos() != 0) { in doParse() 853 if (pp.getIndex() != 0 || sub1->isNullSubstitution()) { in doParse() 854 start = pp.getIndex(); in doParse() 857 workText2.setTo(workText, pp.getIndex(), workText.length() - pp.getIndex()); in doParse() 872 if (pp2.getIndex() != 0 || sub2->isNullSubstitution()) { in doParse() 873 if (prefixLength + pp.getIndex() + pp2.getIndex() > highWaterMark) { in doParse() 874 highWaterMark = prefixLength + pp.getIndex() + pp2.getIndex(); in doParse() 881 int32_t temp = pp2.getErrorIndex() + sub1->getPos() + pp.getIndex(); in doParse() 899 && pp.getIndex() > 0 in doParse() [all …]
|
D | nfsubs.cpp | 702 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 …]
|
D | timezone.cpp | 1172 if (id[pos.getIndex()] == MINUS /*'-'*/) { in parseCustomID() 1174 } else if (id[pos.getIndex()] != PLUS /*'+'*/) { in parseCustomID() 1177 pos.setIndex(pos.getIndex() + 1); in parseCustomID() 1187 int32_t start = pos.getIndex(); in parseCustomID() 1190 if (pos.getIndex() == start) { in parseCustomID() 1196 if (pos.getIndex() < id.length()) { in parseCustomID() 1197 if (pos.getIndex() - start > 2 in parseCustomID() 1198 || id[pos.getIndex()] != COLON) { in parseCustomID() 1203 pos.setIndex(pos.getIndex() + 1); in parseCustomID() 1204 int32_t oldPos = pos.getIndex(); in parseCustomID() [all …]
|
D | nfrs.cpp | 618 … fprintf(stderr, " <nfrs after negative> success: %d wpi: %d\n", success, workingPos.getIndex()); in parse() 620 if (success && workingPos.getIndex() > highWaterMark.getIndex()) { in parse() 629 fprintf(stderr, "' hwm: %d\n", highWaterMark.getIndex()); in parse() 637 if (success && (workingPos.getIndex() > highWaterMark.getIndex())) { in parse() 648 fprintf(stderr, "' hwm: %d\n", highWaterMark.getIndex()); in parse() 671 for (int32_t i = rules.size(); --i >= 0 && highWaterMark.getIndex() < text.length();) { in parse() 677 if (success && workingPos.getIndex() > highWaterMark.getIndex()) { in parse()
|
D | smpdtfmt.cpp | 955 int32_t start = pos.getIndex(); in parseGMT() 974 (pos.getIndex() - start) >= fGMTFormatHmsMinLen[kGMTNegativeHMSMinLenIdx]) { in parseGMT() 988 (pos.getIndex() - start) >= fGMTFormatHmsMinLen[kGMTPositiveHMSMinLenIdx]) { in parseGMT() 1001 if (pos.getErrorIndex() == -1 && pos.getIndex() > start) { in parseGMT() 1014 if (pos.getErrorIndex() == -1 && pos.getIndex() > start) { in parseGMT() 1058 int32_t start = pos.getIndex(); in parseGMTDefault() 1092 numLen = pos.getIndex() - cur; in parseGMTDefault() 1114 numLen = pos.getIndex() - cur; in parseGMTDefault() 1123 numLen = pos.getIndex() - cur; in parseGMTDefault() 1781 int32_t pos = parsePos.getIndex(); in parse() [all …]
|
/external/apache-harmony/regex/src/test/java/org/apache/harmony/tests/java/util/regex/ |
D | PatternSyntaxExceptionTest.java | 43 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/ |
D | JSActivation.cpp | 81 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()
|
D | JSVariableObject.h | 96 slot.setValue(registerAt(entry.getIndex()).get()); in symbolTableGet() 106 slot.setValue(registerAt(entry.getIndex()).get()); in symbolTableGet() 122 registerAt(entry.getIndex()).set(globalData, this, value); in symbolTablePut() 136 registerAt(entry.getIndex()).set(globalData, this, value); in symbolTablePutWithAttributes()
|
D | JSByteArray.cpp | 63 slot.setValue(getIndex(exec, index)); in getOwnPropertySlot() 74 descriptor.setDescriptor(getIndex(exec, index), DontDelete); in getOwnPropertyDescriptor() 83 slot.setValue(getIndex(exec, propertyName)); in getOwnPropertySlot()
|
/external/llvm/lib/CodeGen/ |
D | SlotIndexes.cpp | 135 unsigned index = start->getIndex(); in renumberIndexes() 141 } while (curEntry != tail && curEntry->getIndex() <= index); in renumberIndexes() 143 DEBUG(dbgs() << "\n*** Renumbered SlotIndexes " << start->getIndex() << '-' in renumberIndexes() 152 dbgs() << itr->getIndex() << " "; in dump() 169 os << entry().getIndex() << "LudS"[getSlot()]; in print()
|
/external/apache-xml/src/main/java/org/apache/xml/serializer/ |
D | AttributesImplSerializer.java | 71 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/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/ |
D | DataTruncationTest.java | 73 .getIndex(), theFinalStates4[i]); in testDataTruncationintbooleanbooleanintint() 146 theReturn = aDataTruncation.getIndex(); in testGetIndex() 159 .getIndex(), theFinalStates4[i]); in testGetIndex() 231 .getIndex(), theFinalStates4[i]); in testGetParameter() 303 .getIndex(), theFinalStates4[i]); in testGetRead() 375 .getIndex(), theFinalStates4[i]); in testGetDataSize() 447 .getIndex(), theFinalStates4[i]); in testGetTransferSize() 499 assertEquals(initThr.getIndex(), dserThr.getIndex());
|
/external/protobuf/java/src/test/java/com/google/protobuf/ |
D | DescriptorsTest.java | 105 assertEquals(i, file.getMessageTypes().get(i).getIndex()); in testFileDescriptor() 116 assertEquals(i, file.getEnumTypes().get(i).getIndex()); in testFileDescriptor() 127 assertEquals(i, file.getServices().get(i).getIndex()); in testFileDescriptor() 141 assertEquals(i, file.getExtensions().get(i).getIndex()); in testFileDescriptor() 170 assertEquals(i, messageType.getFields().get(i).getIndex()); in testDescriptor() 177 assertEquals(i, messageType.getNestedTypes().get(i).getIndex()); in testDescriptor() 185 assertEquals(i, messageType.getEnumTypes().get(i).getIndex()); in testDescriptor() 312 assertEquals(i, enumType.getValues().get(i).getIndex()); in testEnumDescriptor() 344 assertEquals(i, service.getMethods().get(i).getIndex()); in testServiceDescriptor()
|
/external/webkit/Source/WebCore/platform/text/gtk/ |
D | TextBreakIteratorGtk.cpp | 44 int getIndex() { return m_index; } in getIndex() function in WebCore::CharacterIterator 317 int index = iterator->m_charIterator.getIndex(); in textBreakNext() 336 int index = iterator->m_charIterator.getIndex(); in textBreakPrevious() 382 int index = iterator->m_charIterator.getIndex(); in isTextBreak() 385 return iterator->m_charIterator.getIndex() == index; in isTextBreak()
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/ |
D | URISyntaxExceptionTest.java | 53 assertEquals("returned incorrect index", 2, e.getIndex()); in test_ConstructorLjava_lang_StringLjava_lang_StringI() 78 assertEquals("returned incorrect index", -1, e.getIndex()); in test_ConstructorLjava_lang_StringLjava_lang_String()
|
/external/icu4c/samples/citer/ |
D | citer.cpp | 92 if (iter.getIndex() != i) { in TestUChariter() 155 if (iter.getIndex() != i) { in TestStringiter() 156 … u_fprintf(out, "getIndex() isn't working right [%d should be %d]\n", iter.getIndex(), i); in TestStringiter()
|