/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/builder/ |
D | ByteBufferHelper.java | 30 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()
|
D | DefaultMp4Builder.java | 558 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/ |
D | InternalTypeEnumeration.java | 38 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/ |
D | BasicListHeaderIterator.java | 73 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/fonttools/Lib/fontTools/ttLib/tables/ |
D | _h_m_t_x.py | 50 lastIndex = len(metrics) 51 while metrics[lastIndex-2][0] == lastAdvance: 52 lastIndex -= 1 53 if lastIndex <= 1: 55 lastIndex = 1 57 additionalMetrics = metrics[lastIndex:] 59 metrics = metrics[:lastIndex]
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/ |
D | TokenRewriteStream.cs | 171 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/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/ |
D | TokenRewriteStream.java | 137 protected int lastIndex; field in TokenRewriteStream.ReplaceOp 140 lastIndex = to; in ReplaceOp() 146 return lastIndex+1; in execute() 151 ".."+tokens.get(lastIndex)+">"; in toString() 154 ".."+tokens.get(lastIndex)+":\""+text+"\">"; in toString() 475 else if ( iop.index > rop.index && iop.index <= rop.lastIndex ) { in reduceToSingleOperationPerIndex() 484 if ( prevRop.index>=rop.index && prevRop.lastIndex <= rop.lastIndex ) { in reduceToSingleOperationPerIndex() 491 prevRop.lastIndex<rop.index || prevRop.index > rop.lastIndex; in reduceToSingleOperationPerIndex() 493 prevRop.index==rop.index && prevRop.lastIndex==rop.lastIndex; in reduceToSingleOperationPerIndex() 500 rop.lastIndex = Math.max(prevRop.lastIndex, rop.lastIndex); in reduceToSingleOperationPerIndex() [all …]
|
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/ |
D | TokenRewriteStream.cs | 151 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/skia/src/pdf/ |
D | SkPDFMakeCIDGlyphWidthsArray.cpp | 172 int lastIndex = num_glyphs; in SkPDFMakeCIDGlyphWidthsArray() local 174 while (!subset->has(lastIndex - 1) && lastIndex > 0) { in SkPDFMakeCIDGlyphWidthsArray() 175 --lastIndex; in SkPDFMakeCIDGlyphWidthsArray() 180 for (int gId = 0; gId <= lastIndex; gId++) { in SkPDFMakeCIDGlyphWidthsArray() 182 if (gId < lastIndex) { in SkPDFMakeCIDGlyphWidthsArray() 253 if (curRange.fStartId == lastIndex) { in SkPDFMakeCIDGlyphWidthsArray() 258 finish_range(&curRange, lastIndex - 1, AdvanceMetric::kRange); in SkPDFMakeCIDGlyphWidthsArray()
|
/external/mockito/src/test/java/org/mockito/internal/verification/checkers/ |
D | NumberOfInvocationsCheckerTest.java | 162 int lastIndex = 0; in matchesSafely() local 164 while (lastIndex != -1) { in matchesSafely() 165 lastIndex = text.indexOf(expected, lastIndex); in matchesSafely() 166 if (lastIndex != -1) { in matchesSafely() 168 lastIndex += expected.length(); in matchesSafely()
|
D | NumberOfInvocationsInOrderCheckerTest.java | 205 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/antlr-3.4/runtime/Python/antlr3/ |
D | streams.py | 1002 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/vogar/src/vogar/target/ |
D | ClassPathScanner.java | 167 int lastIndex = entryName.lastIndexOf('/'); in getJarEntries() local 169 String packageName = entryName.substring(0, lastIndex + 1); in getJarEntries() 171 lastIndex = entryName.lastIndexOf('/', lastIndex - 1); in getJarEntries() 172 } while (lastIndex > 0); in getJarEntries()
|
/external/javassist/src/main/javassist/scopedpool/ |
D | ScopedClassPool.java | 172 final int lastIndex = classname.lastIndexOf('$'); in getCached() local 174 if (lastIndex < 0) { in getCached() 179 classResourceName = classname.substring(0, lastIndex) in getCached() 181 + classname.substring(lastIndex) + ".class"; in getCached()
|
/external/jsoncpp/src/test_lib_json/ |
D | jsontest.cpp | 185 std::string::size_type lastIndex = 0; in indentText() local 186 while (lastIndex < text.size()) { in indentText() 187 std::string::size_type nextIndex = text.find('\n', lastIndex); in indentText() 192 reindented += text.substr(lastIndex, nextIndex - lastIndex + 1); in indentText() 193 lastIndex = nextIndex + 1; in indentText()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | RangeDateRule.java | 139 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/ |
D | RangeDateRule.java | 133 int lastIndex = ranges.size(); in startIndex() local 140 lastIndex = i; in startIndex() 142 return lastIndex; in startIndex()
|
/external/junit/src/main/java/junit/textui/ |
D | TestRunner.java | 164 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/ |
D | TriangularSolver.h | 42 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/antlr-3.4/runtime/ObjC/Framework/ |
D | ANTLRTokenRewriteStream.m | 127 @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 …]
|
/external/guava/guava/src/com/google/common/net/ |
D | InternetDomainName.java | 223 final int lastIndex = parts.size() - 1; in validateSyntax() local 227 if (!validatePart(parts.get(lastIndex), true)) { in validateSyntax() 231 for (int i = 0; i < lastIndex; i++) { in validateSyntax()
|
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/writer/ |
D | ClassName.java | 221 int lastIndex = parts.size() - 1; in bestGuessFromString() local 224 firstClassPartIndex == lastIndex in bestGuessFromString() 226 : ImmutableList.copyOf(parts.subList(firstClassPartIndex, lastIndex)), in bestGuessFromString() 227 parts.get(lastIndex)); in bestGuessFromString()
|
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/ |
D | TokenRewriteStream.as | 326 if ( iop.index >= rop.index && iop.index <= rop.lastIndex ) { 334 if ( prevRop.index>=rop.index && prevRop.lastIndex <= rop.lastIndex ) { 340 prevRop.lastIndex<rop.index || prevRop.index > rop.lastIndex; 342 prevRop.index==rop.index && prevRop.lastIndex==rop.lastIndex; 376 if ( iop.index >= rop.index && iop.index <= rop.lastIndex ) { 482 public var lastIndex:int; variable in ReplaceOp 486 lastIndex = toIndex; 493 return lastIndex+1; 497 return "<ReplaceOp@" + index + ".." + lastIndex + ":\"" + text + "\">"; 507 return "<DeleteOp@" + index + ".." + lastIndex + ">";
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
D | MachineVerifier.cpp | 82 SlotIndex lastIndex; member 367 lastIndex = SlotIndex(); in visitMachineFunctionBefore() 544 lastIndex = Indexes->getMBBStartIdx(MBB); in visitMachineBasicBlockBefore() 828 if (!(idx > lastIndex)) { in visitMachineInstrAfter() 830 *OS << "Last instruction was at " << lastIndex << '\n'; in visitMachineInstrAfter() 832 lastIndex = idx; in visitMachineInstrAfter() 843 if (!(stop > lastIndex)) { in visitMachineBasicBlockAfter() 846 << " last instruction was at " << lastIndex << '\n'; in visitMachineBasicBlockAfter() 848 lastIndex = stop; in visitMachineBasicBlockAfter()
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/builder/ |
D | BuilderClassPool.java | 157 final int lastIndex = CollectionUtils.lastIndexOf(sortedStaticFields, HAS_INITIALIZER); 158 if (lastIndex > -1) { 161 … Iterable<BuilderField> fields = Iterables.limit(sortedStaticFields, lastIndex + 1); 166 return lastIndex+1;
|