/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/ |
ThrowableTest.java | 102 int lastIndex = 0; 103 while (lastIndex < trace.length()) { 104 int index = trace.indexOf('\n', lastIndex); 107 String line = trace.substring(lastIndex, index); 108 lastIndex = index + 1;
|
/external/v8/test/mjsunit/ |
regexp.js | 437 assertEquals(0, re.lastIndex); 444 assertEquals(0, re.lastIndex); 446 re.lastIndex = 42; 457 assertEquals(0, re.lastIndex); 464 re.lastIndex = -1; 475 assertEquals(0, re.lastIndex); 564 re.lastIndex = fakeLastIndex; 571 re.lastIndex = fakeLastIndex; 578 re.lastIndex = fakeLastIndex; 583 // Now with a global regexp, where lastIndex is actually used [all...] |
string-match.js | 98 re_nog.lastIndex = 2; 100 testMatch("Nonglobal-ignore-lastIndex", stringSample, re_nog, 119 re.lastIndex = 10; 121 testMatch("Global-ignore-lastIndex", stringSample2, re,
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_2/String/ |
match-001.js | 19 * Otherwise, set the regexp.lastIndex property to 0 and invoke 22 * regexp.lastIndex is left unchanged) increment regexp.lastIndex by 1.
|
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
EncodedMember.java | 78 * @param lastIndex {@code >= 0;} the previous member index value encoded, or 85 int lastIndex, int dumpSeq);
|
EncodedField.java | 134 int lastIndex, int dumpSeq) { 136 int diff = fieldIdx - lastIndex;
|
/dalvik/dx/src/com/android/dx/dex/file/ |
EncodedMember.java | 78 * @param lastIndex {@code >= 0;} the previous member index value encoded, or 85 int lastIndex, int dumpSeq);
|
EncodedField.java | 134 int lastIndex, int dumpSeq) { 136 int diff = fieldIdx - lastIndex;
|
/external/dexmaker/src/dx/java/com/android/dx/dex/file/ |
EncodedMember.java | 78 * @param lastIndex {@code >= 0;} the previous member index value encoded, or 85 int lastIndex, int dumpSeq);
|
EncodedField.java | 134 int lastIndex, int dumpSeq) { 136 int diff = fieldIdx - lastIndex;
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_2/RegExp/ |
properties-001.js | 82 AddTestCase( re + ".lastIndex", 84 re.lastIndex );
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/ |
TokenRewriteStream.cs | 171 public int lastIndex; 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/ |
TokenRewriteStream.java | 137 protected int lastIndex; 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...] |
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/ |
VNodeBuilder.java | 94 int lastIndex = mVNodeList.size() - 1; 95 mVNodeList.remove(lastIndex--); 96 mCurrentVNode = lastIndex >= 0 ? mVNodeList.get(lastIndex) : null;
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/ |
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 [all...] |
/external/webkit/Source/JavaScriptCore/runtime/ |
StringPrototype.cpp | 320 int lastIndex = 0; 342 sourceRanges.append(StringRange(lastIndex, matchIndex - lastIndex)); 368 lastIndex = matchIndex + matchLen; 369 startPosition = lastIndex; 388 sourceRanges.append(StringRange(lastIndex, matchIndex - lastIndex)); 411 if (lastIndex < matchIndex || replLen) { 412 sourceRanges.append(StringRange(lastIndex, matchIndex - lastIndex)); [all...] |
/external/chromium/chrome/browser/resources/shared/js/cr/ui/ |
grid.js | 175 * @param {number} lastIndex The index of last item, exclusively. 180 addItems: function(firstIndex, lastIndex, cachedItems, newCachedItems) { 187 for (var y = firstIndex; y < lastIndex; y++) { 210 * @param {number} lastIndex The index of item past the last in viewport. 215 getAfterFillerHeight: function(lastIndex, itemHeight) { 220 Math.floor((lastIndex - 1) / columns);
|
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/ |
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; 486 lastIndex = toIndex [all...] |
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/ |
TokenRewriteStream.cs | 151 public int lastIndex; 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/skia/legacy/src/images/ |
SkMovie_gif.cpp | 375 int lastIndex = fCurrIndex; 376 if (lastIndex < 0) { 378 lastIndex = 0; 379 } else if (lastIndex > fGIF->ImageCount - 1) { 381 lastIndex = fGIF->ImageCount - 1; 392 for (int i = startIndex; i <= lastIndex; i++) { 415 if (i == lastIndex || !checkIfWillBeCleared(cur)) { 421 fLastDrawIndex = lastIndex;
|
/external/skia/src/images/ |
SkMovie_gif.cpp | 379 int lastIndex = fCurrIndex; 380 if (lastIndex < 0) { 382 lastIndex = 0; 383 } else if (lastIndex > fGIF->ImageCount - 1) { 385 lastIndex = fGIF->ImageCount - 1; 396 for (int i = startIndex; i <= lastIndex; i++) { 419 if (i == lastIndex || !checkIfWillBeCleared(cur)) { 425 fLastDrawIndex = lastIndex;
|
/external/javassist/src/main/javassist/scopedpool/ |
ScopedClassPool.java | 172 final int lastIndex = classname.lastIndexOf('$'); 174 if (lastIndex < 0) { 179 classResourceName = classname.substring(0, lastIndex) 181 + classname.substring(lastIndex) + ".class";
|
/external/v8/test/mjsunit/regress/ |
regress-58740.js | 35 assertEquals(0, re.lastIndex);
|
/external/webkit/Tools/Scripts/webkitpy/thirdparty/simplejson/ |
scanner.py | 48 action = actions[m.lastindex]
|
/external/junit/src/junit/textui/ |
TestRunner.java | 164 int lastIndex= arg.lastIndexOf('.'); 165 testCase= arg.substring(0, lastIndex); 166 method= arg.substring(lastIndex + 1);
|