Home
last modified time | relevance | path

Searched refs:nextIndex (Results 1 – 25 of 93) 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.cpp43 currentIndex(0), nextIndex(0), in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
52 currentIndex(0), nextIndex(0), in Normalizer()
61 currentIndex(0), nextIndex(0), in Normalizer()
70 currentIndex(copy.currentIndex), nextIndex(copy.nextIndex), in Normalizer()
108 …rn text->hashCode() + fUMode + fOptions + buffer.hashCode() + bufferPos + currentIndex + nextIndex; in hashCode()
120 nextIndex==that.nextIndex); in operator ==()
295 currentIndex=nextIndex=text->setToStart(); in reset()
302 currentIndex=nextIndex=text->getIndex(); in setIndexOnly()
321 currentIndex=nextIndex=text->setToEnd(); in last()
344 return nextIndex; in getIndex()
[all …]
Ducasemap.cpp576 int32_t nextIndex = i; in toUpper() local
578 U8_NEXT(src, nextIndex, srcLength, c); in toUpper()
606 int32_t nextNextIndex = nextIndex; in toUpper()
607 while (nextIndex < srcLength) { in toUpper()
616 nextIndex = nextNextIndex; in toUpper()
630 !isFollowedByCasedLetter(src, nextIndex, srcLength)) { in toUpper()
633 if (i == nextIndex) { in toUpper()
655 change = (i + 2) > nextIndex || in toUpper()
660 change |= (i2 + 2) > nextIndex || in toUpper()
666 change |= (i2 + 2) > nextIndex || in toUpper()
[all …]
/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()
/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/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/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/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/skqp/src/gpu/gradients/
DGrGradientBitmapCache.cpp153 int nextIndex = SkTMin(positions[i] * fResolution, in fillGradient() local
156 if (nextIndex > prevIndex) { in fillGradient()
160 Sk4f step = Sk4f(1.0f / static_cast<float>(nextIndex - prevIndex)); in fillGradient()
163 for (int curIndex = prevIndex; curIndex <= nextIndex; ++curIndex) { in fillGradient()
168 prevIndex = nextIndex; in fillGradient()
/external/skia/src/gpu/gradients/
DGrGradientBitmapCache.cpp153 int nextIndex = SkTMin(positions[i] * fResolution, in fillGradient() local
156 if (nextIndex > prevIndex) { in fillGradient()
160 Sk4f step = Sk4f(1.0f / static_cast<float>(nextIndex - prevIndex)); in fillGradient()
163 for (int curIndex = prevIndex; curIndex <= nextIndex; ++curIndex) { in fillGradient()
168 prevIndex = nextIndex; in fillGradient()
/external/skqp/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()
284 int nextIndex(int index, int round) const { in nextIndex() function
/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()
284 int nextIndex(int index, int round) const { in nextIndex() function
/external/skqp/src/utils/
DSkPolyUtils.cpp181 int nextIndex = 1; in SkIsConvexPolygon() local
184 SkVector v1 = polygonVerts[nextIndex] - polygonVerts[currIndex]; in SkIsConvexPolygon()
186 SkVector w1 = polygonVerts[nextIndex] - origin; in SkIsConvexPolygon()
212 currIndex = nextIndex; in SkIsConvexPolygon()
213 nextIndex = (currIndex + 1) % polygonSize; in SkIsConvexPolygon()
215 v1 = polygonVerts[nextIndex] - polygonVerts[currIndex]; in SkIsConvexPolygon()
217 w1 = polygonVerts[nextIndex] - origin; in SkIsConvexPolygon()
1127 uint16_t prevIndex, uint16_t currIndex, uint16_t nextIndex) { in is_reflex_vertex() argument
1130 inputPolygonVerts[nextIndex]); in is_reflex_vertex()
1165 int nextIndex = (currIndex + 1) % inputPolygonSize; in SkOffsetSimplePolygon() local
[all …]
/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/icu/android_icu4j/src/main/java/android/icu/text/
DCharsetRecog_mbcs.java146 int nextIndex = 0; field in CharsetRecog_mbcs.iteratedChar
152 nextIndex = 0; in reset()
158 if (nextIndex >= det.fRawLength) { in nextByte()
162 int byteValue = det.fRawInput[nextIndex++] & 0x00ff; in nextByte()

1234