Home
last modified time | relevance | path

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

12345

/external/angle/src/libANGLE/
DImageIndexIterator_unittest.cpp33 ImageIndex nextIndex = iter.next(); in TEST() local
35 EXPECT_EQ(TextureType::_2D, nextIndex.getType()); in TEST()
36 EXPECT_EQ(TextureTarget::_2D, nextIndex.getTarget()); in TEST()
37 EXPECT_EQ(mip, nextIndex.getLevelIndex()); in TEST()
38 EXPECT_FALSE(nextIndex.hasLayer()); in TEST()
39 EXPECT_FALSE(nextIndex.has3DLayer()); in TEST()
42 EXPECT_EQ(current.getType(), nextIndex.getType()); in TEST()
43 EXPECT_EQ(current.getLevelIndex(), nextIndex.getLevelIndex()); in TEST()
44 EXPECT_EQ(current.getLayerIndex(), nextIndex.getLayerIndex()); in TEST()
61 ImageIndex nextIndex = iter.next(); in TEST() local
[all …]
/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.java651 private int nextIndex; field in MonitorBasedArrayBlockingQueue.Itr
668 if (count == 0) nextIndex = -1; in Itr()
670 nextIndex = takeIndex; in Itr()
682 return nextIndex >= 0; in hasNext()
690 if (nextIndex == putIndex) { in checkNext()
691 nextIndex = -1; in checkNext()
694 nextItem = items[nextIndex]; in checkNext()
695 if (nextItem == null) nextIndex = -1; in checkNext()
704 if (nextIndex < 0) throw new NoSuchElementException(); in next()
705 lastRet = nextIndex; in next()
[all …]
/external/guava/android/guava-tests/benchmark/com/google/common/util/concurrent/
DMonitorBasedArrayBlockingQueue.java651 private int nextIndex; field in MonitorBasedArrayBlockingQueue.Itr
668 if (count == 0) nextIndex = -1; in Itr()
670 nextIndex = takeIndex; in Itr()
682 return nextIndex >= 0; in hasNext()
690 if (nextIndex == putIndex) { in checkNext()
691 nextIndex = -1; in checkNext()
694 nextItem = items[nextIndex]; in checkNext()
695 if (nextItem == null) nextIndex = -1; in checkNext()
704 if (nextIndex < 0) throw new NoSuchElementException(); in next()
705 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/android/guava/src/com/google/common/collect/
DLinkedListMultimap.java308 int nextIndex; field in LinkedListMultimap.NodeIterator
319 nextIndex = size; in NodeIterator()
351 nextIndex++; in next()
361 nextIndex--; in remove()
383 nextIndex--; in previous()
388 public int nextIndex() { in nextIndex() method in LinkedListMultimap.NodeIterator
389 return nextIndex; in nextIndex()
394 return nextIndex - 1; in previousIndex()
457 int nextIndex; field in LinkedListMultimap.ValueForKeyIterator
483 nextIndex = size; in ValueForKeyIterator()
[all …]
/external/guava/guava/src/com/google/common/collect/
DLinkedListMultimap.java309 int nextIndex; field in LinkedListMultimap.NodeIterator
320 nextIndex = size; in NodeIterator()
352 nextIndex++; in next()
362 nextIndex--; in remove()
384 nextIndex--; in previous()
389 public int nextIndex() { in nextIndex() method in LinkedListMultimap.NodeIterator
390 return nextIndex; in nextIndex()
395 return nextIndex - 1; in previousIndex()
458 int nextIndex; field in LinkedListMultimap.ValueForKeyIterator
484 nextIndex = size; in ValueForKeyIterator()
[all …]
/external/smali/dexlib2/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()
629 int32_t nextIndex = nextIndexFromNode(node); in getSpecialResetPosition() local
630 if(nextIndex == 0) { break; } in getSpecialResetPosition()
631 int64_t nextNode = nodes.elementAti(nextIndex); in getSpecialResetPosition()
633 index = nextIndex; in getSpecialResetPosition()
899 int32_t nextIndex = nextIndexFromNode(node); in findOrInsertWeakNode() local
901 index = insertNodeBetween(index, nextIndex, node, errorCode); in findOrInsertWeakNode()
903 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/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/analytics/
DPlaybackStats.java660 int nextIndex = 0; in getMediaTimeMsAtRealtimeMs() local
661 while (nextIndex < mediaTimeHistory.size() in getMediaTimeMsAtRealtimeMs()
662 && mediaTimeHistory.get(nextIndex)[0] <= realtimeMs) { in getMediaTimeMsAtRealtimeMs()
663 nextIndex++; in getMediaTimeMsAtRealtimeMs()
665 if (nextIndex == 0) { in getMediaTimeMsAtRealtimeMs()
668 if (nextIndex == mediaTimeHistory.size()) { in getMediaTimeMsAtRealtimeMs()
671 long prevRealtimeMs = mediaTimeHistory.get(nextIndex - 1)[0]; in getMediaTimeMsAtRealtimeMs()
672 long prevMediaTimeMs = mediaTimeHistory.get(nextIndex - 1)[1]; in getMediaTimeMsAtRealtimeMs()
673 long nextRealtimeMs = mediaTimeHistory.get(nextIndex)[0]; in getMediaTimeMsAtRealtimeMs()
674 long nextMediaTimeMs = mediaTimeHistory.get(nextIndex)[1]; in getMediaTimeMsAtRealtimeMs()
/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/v8/src/builtins/
Dregexp-match-all.tq177 // 2. Let nextIndex be ! AdvanceStringIndex(S, thisIndex,
179 const nextIndex: Smi =
182 // 3. Perform ? Set(R, "lastIndex", nextIndex, true).
183 FastStoreLastIndex(iteratingRegExp, nextIndex);
199 // 2. Let nextIndex be ! AdvanceStringIndex(S, thisIndex,
201 const nextIndex: Number =
204 // 3. Perform ? Set(R, "lastIndex", nextIndex, true).
205 SlowStoreLastIndex(iteratingRegExp, nextIndex);
/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/skia/src/gpu/gradients/
DGrGradientBitmapCache.cpp153 int nextIndex = std::min(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/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/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/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/kotlinx.coroutines/kotlinx-coroutines-core/jvm/src/scheduling/
DWorkQueue.kt187 val nextIndex = headLocal and MASK in <lambda>() constant
194 if (buffer[nextIndex] != null) { in <lambda>()
198 buffer.lazySet(nextIndex, task) in <lambda>()

12345