Home
last modified time | relevance | path

Searched refs:lastIndex (Results 1 – 25 of 108) sorted by relevance

12345

/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/builder/
DByteBufferHelper.java30 int lastIndex = nuSamples.size() - 1; in mergeAdjacentBuffers() local
31 …if (lastIndex >= 0 && buffer.hasArray() && nuSamples.get(lastIndex).hasArray() && buffer.array() =… in mergeAdjacentBuffers()
32 …nuSamples.get(lastIndex).arrayOffset() + nuSamples.get(lastIndex).limit() == buffer.arrayOffset())… in mergeAdjacentBuffers()
33 ByteBuffer oldBuffer = nuSamples.remove(lastIndex); in mergeAdjacentBuffers()
37 } else if (lastIndex >= 0 && in mergeAdjacentBuffers()
38 … buffer instanceof MappedByteBuffer && nuSamples.get(lastIndex) instanceof MappedByteBuffer && in mergeAdjacentBuffers()
39 … nuSamples.get(lastIndex).limit() == nuSamples.get(lastIndex).capacity() - buffer.capacity()) { in mergeAdjacentBuffers()
41 ByteBuffer oldBuffer = nuSamples.get(lastIndex); in mergeAdjacentBuffers()
DDefaultMp4Builder.java558 int lastIndex = nuSamples.size() - 1; in unifyAdjacentBuffers() local
559 …if (lastIndex >= 0 && buffer.hasArray() && nuSamples.get(lastIndex).hasArray() && buffer.array() =… in unifyAdjacentBuffers()
560 …nuSamples.get(lastIndex).arrayOffset() + nuSamples.get(lastIndex).limit() == buffer.arrayOffset())… in unifyAdjacentBuffers()
561 ByteBuffer oldBuffer = nuSamples.remove(lastIndex); in unifyAdjacentBuffers()
565 } else if (lastIndex >= 0 && in unifyAdjacentBuffers()
566 … buffer instanceof MappedByteBuffer && nuSamples.get(lastIndex) instanceof MappedByteBuffer && in unifyAdjacentBuffers()
567 … nuSamples.get(lastIndex).limit() == nuSamples.get(lastIndex).capacity() - buffer.capacity()) { in unifyAdjacentBuffers()
569 ByteBuffer oldBuffer = nuSamples.get(lastIndex); in unifyAdjacentBuffers()
/external/proguard/src/proguard/classfile/util/
DInternalTypeEnumeration.java38 private int lastIndex; field in InternalTypeEnumeration
49 this.lastIndex = descriptor.indexOf(ClassConstants.METHOD_ARGUMENTS_CLOSE); in InternalTypeEnumeration()
52 if (lastIndex < 0) in InternalTypeEnumeration()
54 lastIndex = descriptor.length(); in InternalTypeEnumeration()
84 return index < lastIndex; in hasMoreTypes()
123 return descriptor.substring(lastIndex + 1); in returnType()
202 if (enumeration.lastIndex < descriptor.length()) in main()
/external/apache-http/src/org/apache/http/message/
DBasicListHeaderIterator.java73 protected int lastIndex; field in BasicListHeaderIterator
100 this.lastIndex = -1; in BasicListHeaderIterator()
167 this.lastIndex = current; in nextHeader()
194 if (this.lastIndex < 0) { in remove()
197 this.allHeaders.remove(this.lastIndex); in remove()
198 this.lastIndex = -1; in remove()
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime/
DTokenRewriteStream.cs171 public int lastIndex; field in Antlr.Runtime.TokenRewriteStream.ReplaceOp
175 lastIndex = to; in ReplaceOp()
184 return lastIndex + 1; in Execute()
191 … return string.Format("<DeleteOp@{0}..{1}>", stream._tokens[index], stream._tokens[lastIndex]); in ToString()
194 …ing.Format("<ReplaceOp@{0}..{1}:\"{2}\">", stream._tokens[index], stream._tokens[lastIndex], text); in ToString()
590 else if (iop.index > rop.index && iop.index <= rop.lastIndex) in ReduceToSingleOperationPerIndex()
601 if ( prevRop.index >= rop.index && prevRop.lastIndex <= rop.lastIndex ) in ReduceToSingleOperationPerIndex()
609 prevRop.lastIndex < rop.index || prevRop.index > rop.lastIndex; in ReduceToSingleOperationPerIndex()
611 prevRop.index == rop.index && prevRop.lastIndex == rop.lastIndex; in ReduceToSingleOperationPerIndex()
619 rop.lastIndex = Math.Max(prevRop.lastIndex, rop.lastIndex); in ReduceToSingleOperationPerIndex()
[all …]
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/src/
DCoroutineContext.kt70 var lastIndex = oldName.lastIndexOf(DEBUG_THREAD_NAME_SEPARATOR) in toString() variable
71 if (lastIndex < 0) lastIndex = oldName.length in toString()
72 currentThread.name = buildString(lastIndex + coroutineName.length + 10) { in toString()
73 append(oldName.substring(0, lastIndex)) in toString()
/external/antlr/runtime/Java/src/main/java/org/antlr/runtime/
DTokenRewriteStream.java139 protected int lastIndex; field in TokenRewriteStream.ReplaceOp
142 lastIndex = to; in ReplaceOp()
149 return lastIndex+1; in execute()
155 ".."+tokens.get(lastIndex)+">"; in toString()
158 ".."+tokens.get(lastIndex)+":\""+text+"\">"; in toString()
479 else if ( iop.index > rop.index && iop.index <= rop.lastIndex ) { in reduceToSingleOperationPerIndex()
488 if ( prevRop.index>=rop.index && prevRop.lastIndex <= rop.lastIndex ) { in reduceToSingleOperationPerIndex()
495 prevRop.lastIndex<rop.index || prevRop.index > rop.lastIndex; in reduceToSingleOperationPerIndex()
497 prevRop.index==rop.index && prevRop.lastIndex==rop.lastIndex; in reduceToSingleOperationPerIndex()
504 rop.lastIndex = Math.max(prevRop.lastIndex, rop.lastIndex); in reduceToSingleOperationPerIndex()
[all …]
/external/fonttools/Lib/fontTools/ttLib/tables/
D_h_m_t_x.py78 lastIndex = len(metrics)
79 while metrics[lastIndex-2][0] == lastAdvance:
80 lastIndex -= 1
81 if lastIndex <= 1:
83 lastIndex = 1
85 additionalMetrics = metrics[lastIndex:]
87 metrics = metrics[:lastIndex]
/external/pigweed/pw_tokenizer/java/dev/pigweed/tokenizer/
DDetokenizer.java57 int lastIndex = 0; in detokenize() local
60 result.append(message, lastIndex, matcher.start()); in detokenize()
66 lastIndex = matcher.end(); in detokenize()
69 result.append(message, lastIndex, message.length()); in detokenize()
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/
DTokenRewriteStream.cs151 public int lastIndex; field in Antlr.Runtime.TokenRewriteStream.ReplaceOp
154 lastIndex = to; in ReplaceOp()
160 return lastIndex + 1; in Execute()
163 return "<ReplaceOp@" + index + ".." + lastIndex + ":\"" + text + "\">"; in ToString()
172 return "<DeleteOp@" + index + ".." + lastIndex + ">"; in ToString()
505 if (iop.index >= rop.index && iop.index <= rop.lastIndex) { in ReduceToSingleOperationPerIndex()
514 if (prevRop.index >= rop.index && prevRop.lastIndex <= rop.lastIndex) { in ReduceToSingleOperationPerIndex()
521 prevRop.lastIndex < rop.index || prevRop.index > rop.lastIndex; in ReduceToSingleOperationPerIndex()
523 prevRop.index == rop.index && prevRop.lastIndex == rop.lastIndex; in ReduceToSingleOperationPerIndex()
560 if (iop.index >= rop.index && iop.index <= rop.lastIndex) { in ReduceToSingleOperationPerIndex()
/external/skqp/src/pdf/
DSkPDFMakeCIDGlyphWidthsArray.cpp176 int lastIndex = num_glyphs; in SkPDFMakeCIDGlyphWidthsArray() local
178 while (!subset->has(lastIndex - 1) && lastIndex > 0) { in SkPDFMakeCIDGlyphWidthsArray()
179 --lastIndex; in SkPDFMakeCIDGlyphWidthsArray()
184 for (int gId = 0; gId <= lastIndex; gId++) { in SkPDFMakeCIDGlyphWidthsArray()
186 if (gId < lastIndex) { in SkPDFMakeCIDGlyphWidthsArray()
257 if (curRange.fStartId == lastIndex) { in SkPDFMakeCIDGlyphWidthsArray()
262 finish_range(&curRange, lastIndex - 1, AdvanceMetric::kRange); in SkPDFMakeCIDGlyphWidthsArray()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/util/
DStaticInitializerUtil.java56 final int lastIndex = CollectionUtils.lastIndexOf(sortedStaticFields, HAS_INITIALIZER); in getStaticInitializers() local
57 if (lastIndex > -1) { in getStaticInitializers()
64 … Iterable<? extends Field> fields = Iterables.limit(sortedStaticFields, lastIndex + 1); in getStaticInitializers()
69 return lastIndex+1; in getStaticInitializers()
/external/mockito/src/test/java/org/mockito/internal/verification/checkers/
DNumberOfInvocationsCheckerTest.java164 int lastIndex = 0; in matchesSafely() local
166 while (lastIndex != -1) { in matchesSafely()
167 lastIndex = text.indexOf(expected, lastIndex); in matchesSafely()
168 if (lastIndex != -1) { in matchesSafely()
170 lastIndex += expected.length(); in matchesSafely()
DNumberOfInvocationsInOrderCheckerTest.java205 int lastIndex = 0; in matchesSafely() local
207 while (lastIndex != -1) { in matchesSafely()
208 lastIndex = text.indexOf(expected, lastIndex); in matchesSafely()
209 if (lastIndex != -1) { in matchesSafely()
211 lastIndex += expected.length(); in matchesSafely()
/external/antlr/runtime/Python/antlr3/
Dstreams.py1002 self.lastIndex = last
1009 return self.lastIndex + 1
1014 return '<DeleteOp@%d..%d>' % (self.index, self.lastIndex)
1017 self.index, self.lastIndex, self.text)
1408 elif iop.index > rop.index and iop.index <= rop.lastIndex:
1415 and prevRop.lastIndex <= rop.lastIndex):
1421 disjoint = (prevRop.lastIndex < rop.index
1422 or prevRop.index > rop.lastIndex)
1424 and prevRop.lastIndex == rop.lastIndex)
1434 rop.lastIndex = max(prevRop.lastIndex, rop.lastIndex)
[all …]
/external/javassist/src/main/javassist/scopedpool/
DScopedClassPool.java174 final int lastIndex = classname.lastIndexOf('$'); in getCached() local
176 if (lastIndex < 0) { in getCached()
181 classResourceName = classname.substring(0, lastIndex) in getCached()
183 + classname.substring(lastIndex) + ".class"; in getCached()
/external/antlr/runtime/Python3/antlr3/
Dstreams.py948 self.lastIndex = last
955 return self.lastIndex + 1
1348 elif iop.index > rop.index and iop.index <= rop.lastIndex:
1355 and prevRop.lastIndex <= rop.lastIndex):
1361 disjoint = (prevRop.lastIndex < rop.index
1362 or prevRop.index > rop.lastIndex)
1364 and prevRop.lastIndex == rop.lastIndex)
1374 rop.lastIndex = max(prevRop.lastIndex, rop.lastIndex)
1407 if iop.index >= rop.index and iop.index <= rop.lastIndex:
/external/vogar/src/vogar/target/
DClassPathScanner.java186 int lastIndex = entryName.lastIndexOf('/'); in getJarEntries() local
188 String packageName = entryName.substring(0, lastIndex + 1); in getJarEntries()
190 lastIndex = entryName.lastIndexOf('/', lastIndex - 1); in getJarEntries()
191 } while (lastIndex > 0); in getJarEntries()
/external/chromium-trace/catapult/third_party/polymer/components/shadycss/src/
Dcommon-utils.js56 MIXIN_MATCH.lastIndex = 0;
57 VAR_ASSIGN.lastIndex = 0;
/external/jsoncpp/src/test_lib_json/
Djsontest.cpp170 Json::String::size_type lastIndex = 0; in indentText() local
171 while (lastIndex < text.size()) { in indentText()
172 Json::String::size_type nextIndex = text.find('\n', lastIndex); in indentText()
177 reindented += text.substr(lastIndex, nextIndex - lastIndex + 1); in indentText()
178 lastIndex = nextIndex + 1; in indentText()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DRangeDateRule.java139 int lastIndex = ranges.size(); in startIndex() local
146 lastIndex = i; in startIndex()
148 return lastIndex; in startIndex()
/external/icu/android_icu4j/src/main/java/android/icu/util/
DRangeDateRule.java133 int lastIndex = ranges.size(); in startIndex() local
140 lastIndex = i; in startIndex()
142 return lastIndex; in startIndex()
/external/junit/src/main/java/junit/textui/
DTestRunner.java164 int lastIndex = arg.lastIndexOf('.'); in start() local
165 testCase = arg.substring(0, lastIndex); in start()
166 method = arg.substring(lastIndex + 1); in start()
/external/eigen/Eigen/src/SparseCore/
DTriangularSolver.h42 Index lastIndex = 0;
46 lastIndex = it.index();
47 if(lastIndex==i)
49 tmp -= lastVal * other.coeff(lastIndex,col);
55 eigen_assert(lastIndex==i);
/external/antlr/runtime/ObjC/Framework/
DTokenRewriteStream.m127 @synthesize lastIndex;
137 lastIndex = to;
148 return lastIndex+1;
153 return [NSString stringWithFormat:@"<ANTLRReplaceOp@ %d..%d :>%@\n", rwIndex, lastIndex, text];
169 lastIndex = to;
176 return [NSString stringWithFormat:@"<DeleteOp@ %d..%d\n", rwIndex, lastIndex];
573 if ( iop.rwIndex >= rop.rwIndex && iop.rwIndex <= rop.lastIndex ) {
582 if ( prevRop.rwIndex>=rop.rwIndex && prevRop.lastIndex <= rop.lastIndex ) {
588 BOOL disjoint = prevRop.lastIndex<rop.rwIndex || prevRop.rwIndex > rop.lastIndex;
589 BOOL same = prevRop.rwIndex==rop.rwIndex && prevRop.lastIndex==rop.lastIndex;
[all …]

12345