Searched refs:lastIndex (Results 1 - 25 of 130) sorted by relevance

123456

/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/builder/
H A DByteBufferHelper.java30 int lastIndex = nuSamples.size() - 1;
31 if (lastIndex >= 0 && buffer.hasArray() && nuSamples.get(lastIndex).hasArray() && buffer.array() == nuSamples.get(lastIndex).array() &&
32 nuSamples.get(lastIndex).arrayOffset() + nuSamples.get(lastIndex).limit() == buffer.arrayOffset()) {
33 ByteBuffer oldBuffer = nuSamples.remove(lastIndex);
37 } else if (lastIndex >= 0 &&
38 buffer instanceof MappedByteBuffer && nuSamples.get(lastIndex) instanceof MappedByteBuffer &&
39 nuSamples.get(lastIndex)
[all...]
H A DDefaultMp4Builder.java558 int lastIndex = nuSamples.size() - 1;
559 if (lastIndex >= 0 && buffer.hasArray() && nuSamples.get(lastIndex).hasArray() && buffer.array() == nuSamples.get(lastIndex).array() &&
560 nuSamples.get(lastIndex).arrayOffset() + nuSamples.get(lastIndex).limit() == buffer.arrayOffset()) {
561 ByteBuffer oldBuffer = nuSamples.remove(lastIndex);
565 } else if (lastIndex >= 0 &&
566 buffer instanceof MappedByteBuffer && nuSamples.get(lastIndex) instanceof MappedByteBuffer &&
567 nuSamples.get(lastIndex)
[all...]
/external/apache-http/src/org/apache/http/message/
H A DBasicListHeaderIterator.java73 protected int lastIndex; field in class:BasicListHeaderIterator
100 this.lastIndex = -1;
167 this.lastIndex = current;
194 if (this.lastIndex < 0) {
197 this.allHeaders.remove(this.lastIndex);
198 this.lastIndex = -1;
/external/proguard/src/proguard/classfile/util/
H A DInternalTypeEnumeration.java38 private int lastIndex; field in class:InternalTypeEnumeration
49 this.lastIndex = descriptor.indexOf(ClassConstants.METHOD_ARGUMENTS_CLOSE);
52 if (lastIndex < 0)
54 lastIndex = descriptor.length();
84 return index < lastIndex;
123 return descriptor.substring(lastIndex + 1);
202 if (enumeration.lastIndex < descriptor.length())
/external/fonttools/Lib/fontTools/ttLib/tables/
H A D_h_m_t_x.py50 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/fonttools/Tools/fontTools/ttLib/tables/
H A D_h_m_t_x.py50 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/skia/src/pdf/
H A DSkPDFMakeCIDGlyphWidthsArray.cpp172 int lastIndex = num_glyphs; local
174 while (!subset->has(lastIndex - 1) && lastIndex > 0) {
175 --lastIndex;
180 for (int gId = 0; gId <= lastIndex; gId++) {
182 if (gId < lastIndex) {
253 if (curRange.fStartId == lastIndex) {
258 finish_range(&curRange, lastIndex - 1, AdvanceMetric::kRange);
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/
H A DTokenRewriteStream.as326 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;
486 lastIndex
[all...]
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/
H A DTokenRewriteStream.cs151 public int lastIndex; field in class:Antlr.Runtime.TokenRewriteStream.ReplaceOp
154 lastIndex = to;
160 return lastIndex + 1;
163 return "<ReplaceOp@" + index + ".." + lastIndex + ":\"" + text + "\">";
172 return "<DeleteOp@" + index + ".." + lastIndex + ">";
505 if (iop.index >= rop.index && iop.index <= rop.lastIndex) {
514 if (prevRop.index >= rop.index && prevRop.lastIndex <= rop.lastIndex) {
521 prevRop.lastIndex < rop.index || prevRop.index > rop.lastIndex;
[all...]
/external/icu/android_icu4j/src/main/java/android/icu/util/
H A DRangeDateRule.java133 int lastIndex = ranges.size();
140 lastIndex = i;
142 return lastIndex;
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
H A DRangeDateRule.java139 int lastIndex = ranges.size();
146 lastIndex = i;
148 return lastIndex;
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/
H A DTokenRewriteStream.cs171 public int lastIndex; field in class:Antlr.Runtime.TokenRewriteStream.ReplaceOp
175 lastIndex = to;
184 return lastIndex + 1;
191 return string.Format("<DeleteOp@{0}..{1}>", stream._tokens[index], stream._tokens[lastIndex]);
194 return string.Format("<ReplaceOp@{0}..{1}:\"{2}\">", stream._tokens[index], stream._tokens[lastIndex], text);
590 else if (iop.index > rop.index && iop.index <= rop.lastIndex)
601 if ( prevRop.index >= rop.index && prevRop.lastIndex <= rop.lastIndex )
609 prevRop.lastIndex < rop.index || prevRop.index > rop.lastIndex;
[all...]
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/
H A DTokenRewriteStream.java137 protected int lastIndex; field in class:TokenRewriteStream.ReplaceOp
140 lastIndex = to;
146 return lastIndex+1;
151 ".."+tokens.get(lastIndex)+">";
154 ".."+tokens.get(lastIndex)+":\""+text+"\">";
475 else if ( iop.index > rop.index && iop.index <= rop.lastIndex ) {
484 if ( prevRop.index>=rop.index && prevRop.lastIndex <= rop.lastIndex ) {
491 prevRop.lastIndex<rop.index || prevRop.index > rop.lastIndex;
[all...]
/external/javassist/src/main/javassist/scopedpool/
H A DScopedClassPool.java172 final int lastIndex = classname.lastIndexOf('$');
174 if (lastIndex < 0) {
179 classResourceName = classname.substring(0, lastIndex)
181 + classname.substring(lastIndex) + ".class";
/external/mockito/src/test/java/org/mockito/internal/verification/checkers/
H A DNumberOfInvocationsCheckerTest.java162 int lastIndex = 0;
164 while (lastIndex != -1) {
165 lastIndex = text.indexOf(expected, lastIndex);
166 if (lastIndex != -1) {
168 lastIndex += expected.length();
H A DNumberOfInvocationsInOrderCheckerTest.java205 int lastIndex = 0;
207 while (lastIndex != -1) {
208 lastIndex = text.indexOf(expected, lastIndex);
209 if (lastIndex != -1) {
211 lastIndex += expected.length();
/external/vogar/src/vogar/target/
H A DClassPathScanner.java167 int lastIndex = entryName.lastIndexOf('/');
169 String packageName = entryName.substring(0, lastIndex + 1);
171 lastIndex = entryName.lastIndexOf('/', lastIndex - 1);
172 } while (lastIndex > 0);
/external/junit/src/main/java/junit/textui/
H A DTestRunner.java164 int lastIndex = arg.lastIndexOf('.');
165 testCase = arg.substring(0, lastIndex);
166 method = arg.substring(lastIndex + 1);
/external/jsoncpp/src/test_lib_json/
H A Djsontest.cpp185 std::string::size_type lastIndex = 0; local
186 while (lastIndex < text.size()) {
187 std::string::size_type nextIndex = text.find('\n', lastIndex);
192 reindented += text.substr(lastIndex, nextIndex - lastIndex + 1);
193 lastIndex = nextIndex + 1;
/external/antlr/antlr-3.4/runtime/Python/antlr3/
H A 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
[all...]
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/writer/
H A DClassName.java221 int lastIndex = parts.size() - 1;
224 firstClassPartIndex == lastIndex
226 : ImmutableList.copyOf(parts.subList(firstClassPartIndex, lastIndex)),
227 parts.get(lastIndex));
/external/guava/guava/src/com/google/common/net/
H A DInternetDomainName.java223 final int lastIndex = parts.size() - 1;
227 if (!validatePart(parts.get(lastIndex), true)) {
231 for (int i = 0; i < lastIndex; i++) {
/external/eigen/Eigen/src/SparseCore/
H A DTriangularSolver.h42 Index lastIndex = 0; local
46 lastIndex = it.index();
47 if(lastIndex==i)
49 tmp -= lastVal * other.coeff(lastIndex,col);
55 eigen_assert(lastIndex==i);
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/builder/
H A DBuilderClassPool.java157 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;
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/
H A DANTLRTokenRewriteStream.h79 NSInteger lastIndex; variable
82 @property (getter=getLastIndex, setter=setLastIndex:) NSInteger lastIndex; variable

Completed in 1873 milliseconds

123456