Home
last modified time | relevance | path

Searched refs:nextIndex (Results 1 – 25 of 63) sorted by relevance

123

/external/proguard/src/proguard/util/
DListUtil.java81 int nextIndex; in commaSeparatedList() local
87 nextIndex = string.indexOf('\'', index + 1); in commaSeparatedList()
88 if (nextIndex < 0) in commaSeparatedList()
90 nextIndex = string.length(); in commaSeparatedList()
93 list.add(string.substring(index + 1, nextIndex)); in commaSeparatedList()
98 nextIndex = string.indexOf(',', index); in commaSeparatedList()
99 if (nextIndex < 0) in commaSeparatedList()
101 nextIndex = string.length(); in commaSeparatedList()
104 String substring = string.substring(index, nextIndex).trim(); in commaSeparatedList()
111 index = nextIndex + 1; in commaSeparatedList()
/external/chromium_org/third_party/icu/source/common/
Dnormlzr.cpp35 currentIndex(0), nextIndex(0), in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
44 currentIndex(0), nextIndex(0), in Normalizer()
53 currentIndex(0), nextIndex(0), in Normalizer()
62 currentIndex(copy.currentIndex), nextIndex(copy.nextIndex), in Normalizer()
100 …rn text->hashCode() + fUMode + fOptions + buffer.hashCode() + bufferPos + currentIndex + nextIndex; in hashCode()
112 nextIndex==that.nextIndex); in operator ==()
287 currentIndex=nextIndex=text->setToStart(); in reset()
294 currentIndex=nextIndex=text->getIndex(); in setIndexOnly()
313 currentIndex=nextIndex=text->setToEnd(); in last()
336 return nextIndex; in getIndex()
[all …]
/external/icu/icu4c/source/common/
Dnormlzr.cpp35 currentIndex(0), nextIndex(0), in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
44 currentIndex(0), nextIndex(0), in Normalizer()
53 currentIndex(0), nextIndex(0), in Normalizer()
62 currentIndex(copy.currentIndex), nextIndex(copy.nextIndex), in Normalizer()
100 …rn text->hashCode() + fUMode + fOptions + buffer.hashCode() + bufferPos + currentIndex + nextIndex; in hashCode()
112 nextIndex==that.nextIndex); in operator ==()
287 currentIndex=nextIndex=text->setToStart(); in reset()
294 currentIndex=nextIndex=text->getIndex(); in setIndexOnly()
313 currentIndex=nextIndex=text->setToEnd(); in last()
336 return nextIndex; in getIndex()
[all …]
/external/smali/util/src/test/java/org/jf/util/
DAbstractForwardSequentialListTest.java81 Assert.assertEquals(i, iter.nextIndex()); in testForwardIterationImpl()
91 Assert.assertEquals(iter.nextIndex(), 100); in testForwardIterationImpl()
104 Assert.assertEquals(i+1, iter.nextIndex()); in testReverseIterationImpl()
114 Assert.assertEquals(0, iter.nextIndex()); in testReverseIterationImpl()
130 Assert.assertEquals(50, iter.nextIndex()); in testAlternatingIteration()
137 Assert.assertEquals(51, iter.nextIndex()); in testAlternatingIteration()
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DLinkedListMultimap.java276 int nextIndex; field in LinkedListMultimap.NodeIterator
289 nextIndex = size; in NodeIterator()
310 nextIndex++; in next()
318 nextIndex--; in remove()
334 nextIndex--; in previous()
338 public int nextIndex() { in nextIndex() method in LinkedListMultimap.NodeIterator
339 return nextIndex; in nextIndex()
343 return nextIndex - 1; in previousIndex()
390 int nextIndex; field in LinkedListMultimap.ValueForKeyIterator
415 nextIndex = size; in ValueForKeyIterator()
[all …]
/external/icu/icu4c/source/i18n/
Dcollationbuilder.cpp353 int32_t nextIndex = nextIndexFromNode(node); in addReset() local
354 if(nextIndex == 0) { break; } in addReset()
355 index = nextIndex; in addReset()
452 int32_t nextIndex = nextIndexFromNode(node); in addReset() local
455 index = insertNodeBetween(index, nextIndex, node, errorCode); in addReset()
458 insertNodeBetween(index, nextIndex, node, errorCode); in addReset()
623 int32_t nextIndex = nextIndexFromNode(node); in getSpecialResetPosition() local
624 if(nextIndex == 0) { break; } in getSpecialResetPosition()
625 int64_t nextNode = nodes.elementAti(nextIndex); in getSpecialResetPosition()
627 index = nextIndex; in getSpecialResetPosition()
[all …]
Dcsrmbcs.cpp117 charValue(0), index(-1), nextIndex(0), error(FALSE), done(FALSE) in IteratedChar()
133 if (nextIndex >= det->fRawLength) { in nextByte()
139 return det->fRawInput[nextIndex++]; in nextByte()
244 it->index = it->nextIndex; in nextChar()
297 it->index = it->nextIndex; in nextChar()
409 it->index = it->nextIndex; in nextChar()
463 it->index = it->nextIndex; in nextChar()
Dcollationfastlatin.cpp858 int32_t nextIndex = sIndex; in nextPair() local
860 c2 = s16[nextIndex++]; in nextPair()
871 c2 = s8[nextIndex++]; in nextPair()
874 if(c2 <= 0xc5 && 0xc2 <= c2 && nextIndex != sLength && in nextPair()
875 0x80 <= (t = s8[nextIndex]) && t <= 0xbf) { in nextPair()
877 ++nextIndex; in nextPair()
879 int32_t i2 = nextIndex + 1; in nextPair()
881 if(c2 == 0xe2 && s8[nextIndex] == 0x80 && in nextPair()
884 } else if(c2 == 0xef && s8[nextIndex] == 0xbf && in nextPair()
893 nextIndex += 2; in nextPair()
[all …]
/external/guava/guava/src/com/google/common/collect/
DLinkedListMultimap.java280 int nextIndex; field in LinkedListMultimap.NodeIterator
293 nextIndex = size; in NodeIterator()
314 nextIndex++; in next()
322 nextIndex--; in remove()
338 nextIndex--; in previous()
342 public int nextIndex() { in nextIndex() method in LinkedListMultimap.NodeIterator
343 return nextIndex; in nextIndex()
347 return nextIndex - 1; in previousIndex()
394 int nextIndex; field in LinkedListMultimap.ValueForKeyIterator
419 nextIndex = size; in ValueForKeyIterator()
[all …]
DForwardingListIterator.java52 public int nextIndex() { in nextIndex() method in ForwardingListIterator
53 return delegate().nextIndex(); in nextIndex()
/external/chromium_org/third_party/icu/source/i18n/
Dcsrmbcs.cpp117 charValue(0), index(-1), nextIndex(0), error(FALSE), done(FALSE) in IteratedChar()
133 if (nextIndex >= det->fRawLength) { in nextByte()
139 return det->fRawInput[nextIndex++]; in nextByte()
244 it->index = it->nextIndex; in nextChar()
297 it->index = it->nextIndex; in nextChar()
409 it->index = it->nextIndex; in nextChar()
463 it->index = it->nextIndex; in nextChar()
/external/apache-harmony/support/src/test/java/tests/support/
DSupport_ListTest.java147 assertTrue("list iterator nextIndex(): " + i, li.nextIndex() == i); in t_listIterator()
167 assertTrue("list iterator nextIndex()2: " + i, li.nextIndex() == i); in t_listIterator()
191 assertEquals("list iterator add(), nextIndex()", 1, li.nextIndex()); in t_listIterator()
200 assertEquals("list iterator add(), nextIndex()2", 2, li.nextIndex()); in t_listIterator()
207 assertEquals("list iterator remove(), nextIndex()", 2, li.nextIndex()); in t_listIterator()
217 assertEquals("list iterator nextIndex()3", 0, li.nextIndex()); in t_listIterator()
/external/proguard/src/proguard/
DOutputWriter.java155 int nextIndex = index + 1; in execute() local
156 if (nextIndex == programJars.size() || in execute()
157 !programJars.get(nextIndex).isOutput()) in execute()
164 nextIndex); in execute()
167 firstInputIndex = nextIndex; in execute()
/external/emma/core/java12/com/vladium/jcd/cls/
DConstantCollection.java212 public int nextIndex ()
222 final int nextIndex = nextIndex ();
223 if (nextIndex < 0)
226 return (CONSTANT_info) m_constants.get (nextIndex - 1);
/external/chromium_org/third_party/skia/experimental/Intersection/
DShapeOps.cpp67 int nextIndex = firstIndex + 1; in findChaseOp() local
71 SkASSERT(nextIndex != firstIndex); in findChaseOp()
72 if (nextIndex == angleCount) { in findChaseOp()
73 nextIndex = 0; in findChaseOp()
75 angle = sorted[nextIndex]; in findChaseOp()
91 } while (++nextIndex != lastIndex); in findChaseOp()
/external/skia/experimental/Intersection/
DShapeOps.cpp67 int nextIndex = firstIndex + 1; in findChaseOp() local
71 SkASSERT(nextIndex != firstIndex); in findChaseOp()
72 if (nextIndex == angleCount) { in findChaseOp()
73 nextIndex = 0; in findChaseOp()
75 angle = sorted[nextIndex]; in findChaseOp()
91 } while (++nextIndex != lastIndex); in findChaseOp()
/external/skia/src/core/
DSkTDynamicHash.h73 index = this->nextIndex(index, round); in find()
107 index = this->nextIndex(index, round); in countCollisions()
175 index = this->nextIndex(index, round); in innerAdd()
191 index = this->nextIndex(index, round); in innerRemove()
228 int nextIndex(int index, int round) const { in nextIndex() function
/external/conscrypt/src/platform/java/org/conscrypt/
DTrustManagerImpl.java375 for (int nextIndex = currIndex + 1; nextIndex < chain.length; nextIndex++) { in cleanupCertChainAndFindTrustAnchors()
376 if (chain[currIndex].getIssuerDN().equals(chain[nextIndex].getSubjectDN())) { in cleanupCertChainAndFindTrustAnchors()
379 if (nextIndex != currIndex + 1) { in cleanupCertChainAndFindTrustAnchors()
384 X509Certificate tempCertificate = chain[nextIndex]; in cleanupCertChainAndFindTrustAnchors()
385 chain[nextIndex] = chain[currIndex + 1]; in cleanupCertChainAndFindTrustAnchors()
/external/chromium_org/third_party/skia/src/core/
DSkTDynamicHash.h101 index = this->nextIndex(index, round); in find()
152 index = this->nextIndex(index, round); in countCollisions()
221 index = this->nextIndex(index, round); in innerAdd()
238 index = this->nextIndex(index, round); in innerRemove()
275 int nextIndex(int index, int round) const { in nextIndex() function
/external/chromium_org/third_party/sqlite/src/src/
Dvdbetrace.c71 int nextIndex = 1; /* Index of next ? host parameter */ in sqlite3VdbeExpandSql() local
103 idx = nextIndex; in sqlite3VdbeExpandSql()
114 nextIndex = idx + 1; in sqlite3VdbeExpandSql()
/external/jsoncpp/src/test_lib_json/
Djsontest.cpp229 std::string::size_type nextIndex = text.find( '\n', lastIndex ); in indentText() local
230 if ( nextIndex == std::string::npos ) in indentText()
232 nextIndex = text.size() - 1; in indentText()
235 reindented += text.substr( lastIndex, nextIndex - lastIndex + 1 ); in indentText()
236 lastIndex = nextIndex + 1; in indentText()
/external/proguard/src/proguard/retrace/
DReTrace.java122 int nextIndex = regularExpression.indexOf('%', index); in execute() local
123 if (nextIndex < 0 || in execute()
124 nextIndex == regularExpression.length()-1 || in execute()
130 expressionBuffer.append(regularExpression.substring(index, nextIndex)); in execute()
133 char expressionType = regularExpression.charAt(nextIndex + 1); in execute()
169 index = nextIndex + 2; in execute()
/external/guava/guava-testlib/src/com/google/common/collect/testing/
DAbstractIteratorTester.java234 public int nextIndex() { in nextIndex() method in AbstractIteratorTester.MultiExceptionListIterator
245 return nextIndex() - 1; in previousIndex()
626 Stimulus<E, ListIterator<E>> nextIndex =
630 assertEquals(reference.nextIndex(), target.nextIndex());
665 hasPrevious, nextIndex, previousIndex, previous, add, set);
/external/chromium_org/ui/webui/resources/js/cr/ui/
Dgrid.js272 var nextIndex = index + 1;
276 if (index >= firstIndex && nextIndex < lastIndex &&
277 nextIndex % columns == 0) {
/external/robolectric/src/main/java/com/xtremelabs/robolectric/tester/org/apache/http/
DTestHttpResponse.java142 return nextIndex() != -1; in headerIterator()
145 private int nextIndex() { in headerIterator() method
155 index = nextIndex(); in headerIterator()

123