Home
last modified time | relevance | path

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

1234

/external/slf4j/slf4j-migrator/src/main/java/org/slf4j/migrator/helper/
DAbbreviator.java53 int nextIndex = computeNextIndex(filename, firstIndex); in abbreviate() local
54 if (nextIndex != -1) { in abbreviate()
55 buf.append(filename.substring(nextIndex)); in abbreviate()
71 int nextIndex = firstIndex + 1; in computeNextIndex() local
74 while (nextIndex < firstIndex + minToRemove) { in computeNextIndex()
75 int tmpIndex = filename.indexOf(folderSeparator, nextIndex + 1); in computeNextIndex()
80 return nextIndex; in computeNextIndex()
84 nextIndex = tmpIndex; in computeNextIndex()
87 return nextIndex; in computeNextIndex()
/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/icu/icu4c/source/common/
Dnormlzr.cpp37 currentIndex(0), nextIndex(0), in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
46 currentIndex(0), nextIndex(0), in Normalizer()
55 currentIndex(0), nextIndex(0), in Normalizer()
64 currentIndex(copy.currentIndex), nextIndex(copy.nextIndex), in Normalizer()
102 …rn text->hashCode() + fUMode + fOptions + buffer.hashCode() + bufferPos + currentIndex + nextIndex; in hashCode()
114 nextIndex==that.nextIndex); in operator ==()
289 currentIndex=nextIndex=text->setToStart(); in reset()
296 currentIndex=nextIndex=text->getIndex(); in setIndexOnly()
315 currentIndex=nextIndex=text->setToEnd(); in last()
338 return nextIndex; in getIndex()
[all …]
Ducasemap.cpp482 int32_t nextIndex = i; in toUpper() local
484 U8_NEXT(src, nextIndex, srcLength, c); in toUpper()
512 int32_t nextNextIndex = nextIndex; in toUpper()
513 while (nextIndex < srcLength) { in toUpper()
522 nextIndex = nextNextIndex; in toUpper()
536 !isFollowedByCasedLetter(csm->csp, src, nextIndex, srcLength)) { in toUpper()
539 if (i == nextIndex) { in toUpper()
585 destIndex=appendString(dest, destIndex, destCapacity, src+i, nextIndex-i); in toUpper()
591 i = nextIndex; in toUpper()
/external/guava/guava-tests/benchmark/com/google/common/util/concurrent/
DMonitorBasedArrayBlockingQueue.java687 private int nextIndex; field in MonitorBasedArrayBlockingQueue.Itr
706 nextIndex = -1; in Itr()
708 nextIndex = takeIndex; in Itr()
720 return nextIndex >= 0; in hasNext()
728 if (nextIndex == putIndex) { in checkNext()
729 nextIndex = -1; in checkNext()
732 nextItem = items[nextIndex]; in checkNext()
734 nextIndex = -1; in checkNext()
743 if (nextIndex < 0) in next()
745 lastRet = nextIndex; in next()
[all …]
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DCollationBuilder.java164 int nextIndex = nextIndexFromNode(node); in addReset() local
165 if(nextIndex == 0) { break; } in addReset()
166 index = nextIndex; in addReset()
419 int nextIndex = nextIndexFromNode(node); in getSpecialResetPosition() local
420 if(nextIndex == 0) { break; } in getSpecialResetPosition()
421 long nextNode = nodes.elementAti(nextIndex); in getSpecialResetPosition()
423 index = nextIndex; in getSpecialResetPosition()
652 int nextIndex = nextIndexFromNode(node); in findOrInsertWeakNode()
654 index = insertNodeBetween(index, nextIndex, node); in findOrInsertWeakNode()
656 insertNodeBetween(index, nextIndex, commonNode); in findOrInsertWeakNode()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
DCollationBuilder.java168 int nextIndex = nextIndexFromNode(node); in addReset() local
169 if(nextIndex == 0) { break; } in addReset()
170 index = nextIndex; in addReset()
423 int nextIndex = nextIndexFromNode(node); in getSpecialResetPosition() local
424 if(nextIndex == 0) { break; } in getSpecialResetPosition()
425 long nextNode = nodes.elementAti(nextIndex); in getSpecialResetPosition()
427 index = nextIndex; in getSpecialResetPosition()
656 int nextIndex = nextIndexFromNode(node); in findOrInsertWeakNode()
658 index = insertNodeBetween(index, nextIndex, node); in findOrInsertWeakNode()
660 insertNodeBetween(index, nextIndex, commonNode); in findOrInsertWeakNode()
[all …]
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DLinkedListMultimap.java313 int nextIndex; field in LinkedListMultimap.NodeIterator
324 nextIndex = size; in NodeIterator()
352 nextIndex++; in next()
361 nextIndex--; in remove()
380 nextIndex--; in previous()
384 public int nextIndex() { in nextIndex() method in LinkedListMultimap.NodeIterator
385 return nextIndex; in nextIndex()
389 return nextIndex - 1; in previousIndex()
446 int nextIndex; field in LinkedListMultimap.ValueForKeyIterator
473 nextIndex = size; in ValueForKeyIterator()
[all …]
/external/guava/guava/src/com/google/common/collect/
DLinkedListMultimap.java317 int nextIndex; field in LinkedListMultimap.NodeIterator
328 nextIndex = size; in NodeIterator()
356 nextIndex++; in next()
365 nextIndex--; in remove()
384 nextIndex--; in previous()
388 public int nextIndex() { in nextIndex() method in LinkedListMultimap.NodeIterator
389 return nextIndex; in nextIndex()
393 return nextIndex - 1; in previousIndex()
450 int nextIndex; field in LinkedListMultimap.ValueForKeyIterator
477 nextIndex = size; in ValueForKeyIterator()
[all …]
DForwardingListIterator.java52 public int nextIndex() { in nextIndex() method in ForwardingListIterator
53 return delegate().nextIndex(); in nextIndex()
DTransformedListIterator.java53 public final int nextIndex() { in nextIndex() method in TransformedListIterator
54 return backingIterator().nextIndex(); in nextIndex()
/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/icu/icu4c/source/i18n/
Dcollationbuilder.cpp362 int32_t nextIndex = nextIndexFromNode(node); in addReset() local
363 if(nextIndex == 0) { break; } in addReset()
364 index = nextIndex; in addReset()
630 int32_t nextIndex = nextIndexFromNode(node); in getSpecialResetPosition() local
631 if(nextIndex == 0) { break; } in getSpecialResetPosition()
632 int64_t nextNode = nodes.elementAti(nextIndex); in getSpecialResetPosition()
634 index = nextIndex; in getSpecialResetPosition()
900 int32_t nextIndex = nextIndexFromNode(node); in findOrInsertWeakNode() local
902 index = insertNodeBetween(index, nextIndex, node, errorCode); in findOrInsertWeakNode()
904 insertNodeBetween(index, nextIndex, commonNode, errorCode); in findOrInsertWeakNode()
[all …]
Dcsrmbcs.cpp118 charValue(0), index(-1), nextIndex(0), error(FALSE), done(FALSE) in IteratedChar()
134 if (nextIndex >= det->fRawLength) { in nextByte()
140 return det->fRawInput[nextIndex++]; in nextByte()
245 it->index = it->nextIndex; in nextChar()
298 it->index = it->nextIndex; in nextChar()
410 it->index = it->nextIndex; in nextChar()
464 it->index = it->nextIndex; in nextChar()
/external/proguard/src/proguard/
DOutputWriter.java74 int nextIndex = index + 1; in execute() local
75 if (nextIndex == programJars.size() || in execute()
76 !programJars.get(nextIndex).isOutput()) in execute()
83 nextIndex); in execute()
86 firstInputIndex = nextIndex; in execute()
/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/skia/src/gpu/ops/
DGrMSAAPathRenderer.cpp61 uint16_t* nextIndex; member
76 uint16_t* nextIndex; member
82 *(lines.nextIndex++) = fanCenterIdx; in append_contour_edge_indices()
83 *(lines.nextIndex++) = edgeV0Idx; in append_contour_edge_indices()
84 *(lines.nextIndex++) = edgeV0Idx + 1; in append_contour_edge_indices()
106 *(quads.nextIndex++) = offset++; in add_quad()
107 *(quads.nextIndex++) = offset++; in add_quad()
108 *(quads.nextIndex++) = offset++; in add_quad()
373 lines.nextIndex = lines.indices; in onPrepareDraws()
376 lines.nextIndex = nullptr; in onPrepareDraws()
[all …]
/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/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/charsetdet/mbcs/
DBIG5Tool.java278 int nextIndex = 0; field in BIG5Tool.iteratedChar
285 nextIndex = 0; in reset()
291 if (nextIndex >= fileSize) { in nextByte()
295 int byteValue = (int)buf[nextIndex++] & 0x00ff; in nextByte()
302 it.index = it.nextIndex; in nextChar()
DEUCTool.java278 int nextIndex = 0; field in EUCTool.iteratedChar
285 nextIndex = 0; in reset()
291 if (nextIndex >= fileSize) { in nextByte()
295 int byteValue = (int)buf[nextIndex++] & 0x00ff; in nextByte()
302 it.index = it.nextIndex; in nextChar()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DCaseMapImpl.java879 int nextIndex = i + Character.charCount(c); in toUpper() local
907 while (nextIndex < src.length()) { in toUpper()
908 int diacriticData = getDiacriticData(src.charAt(nextIndex)); in toUpper()
914 ++nextIndex; in toUpper()
928 !isFollowedByCasedLetter(src, nextIndex)) { in toUpper()
931 if (i == nextIndex) { in toUpper()
955 change |= i2 >= nextIndex || src.charAt(i2) != 0x308; in toUpper()
959 change |= i2 >= nextIndex || src.charAt(i2) != 0x301; in toUpper()
962 int oldLength = nextIndex - i; in toUpper()
993 appendResult(c, dest, nextIndex - i, options, edits); in toUpper()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DCaseMapImpl.java883 int nextIndex = i + Character.charCount(c); in toUpper() local
911 while (nextIndex < src.length()) { in toUpper()
912 int diacriticData = getDiacriticData(src.charAt(nextIndex)); in toUpper()
918 ++nextIndex; in toUpper()
932 !isFollowedByCasedLetter(src, nextIndex)) { in toUpper()
935 if (i == nextIndex) { in toUpper()
959 change |= i2 >= nextIndex || src.charAt(i2) != 0x308; in toUpper()
963 change |= i2 >= nextIndex || src.charAt(i2) != 0x301; in toUpper()
966 int oldLength = nextIndex - i; in toUpper()
997 appendResult(c, dest, nextIndex - i, options, edits); in toUpper()
[all …]
/external/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/guava/guava/src/com/google/common/escape/
DUnicodeEscaper.java194 int nextIndex = index + (Character.isSupplementaryCodePoint(cp) ? 2 : 1); in escapeSlow() local
215 unescapedChunkStart = nextIndex; in escapeSlow()
217 index = nextEscapeIndex(s, nextIndex, end); in escapeSlow()
/external/apache-commons-math/src/main/java/org/apache/commons/math/analysis/interpolation/
DTricubicSplineInterpolator.java149 final int nI = nextIndex(i, xLen); in interpolate()
152 final int nJ = nextIndex(j, yLen); in interpolate()
155 final int nK = nextIndex(k, zLen); in interpolate()
183 private int nextIndex(int i, int max) { in nextIndex() method in TricubicSplineInterpolator

1234