/external/chromium_org/v8/test/mjsunit/regress/ |
D | regress-2437.js | 38 r.lastIndex = 1; 40 assertEquals(0, r.lastIndex); 44 r.lastIndex = 1; 46 assertEquals(0, r.lastIndex); 50 r.lastIndex = 1; 52 assertEquals(0, r.lastIndex); 56 r.lastIndex = 1; 58 assertEquals(0, r.lastIndex); 62 r.lastIndex = 1; 64 assertEquals(0, r.lastIndex); [all …]
|
D | regress-52801.js | 46 assertEquals(5, re.lastIndex); 48 re.lastIndex = 0; 50 assertEquals(5, re.lastIndex); // Fails if caching. 52 re.lastIndex = 0; 54 assertEquals(5, re.lastIndex); // Fails if caching. 61 assertEquals(5, re.lastIndex); 63 re.lastIndex = 0; 65 assertEquals(5, re.lastIndex); // Fails if caching. 67 re.lastIndex = 0; 69 assertEquals(5, re.lastIndex); // Fails if caching.
|
D | regress-254.js | 33 assertEquals(0, re.lastIndex, "Global, initial lastIndex"); 36 assertEquals(1, re.lastIndex, "Global, lastIndex after test 1"); 38 assertEquals(0, re.lastIndex, "Global, lastIndex after test 2"); 41 assertEquals(1, re.lastIndex, "Global, lastIndex after exec 1"); 43 assertEquals(0, re.lastIndex, "Global, lastIndex after exec 2"); 48 assertEquals(0, re2.lastIndex, "Non-global, initial lastIndex"); 51 assertEquals(0, re2.lastIndex, "Non-global, lastIndex after test 1"); 53 assertEquals(0, re2.lastIndex, "Non-global, lastIndex after test 2"); 56 assertEquals(0, re2.lastIndex, "Non-global, lastIndex after exec 1"); 58 assertEquals(0, re2.lastIndex, "Non-global, lastIndex after exec 2");
|
D | regress-2438.js | 31 re.lastIndex = side_effect_object; 35 re.lastIndex = side_effect_object; 39 re.lastIndex = side_effect_object; 43 re.lastIndex = side_effect_object;
|
/external/chromium_org/v8/test/webkit/ |
D | array-enumerators-functions-expected.txt | 29 PASS count=0;lastIndex=-1;copyArray(simpleArray).every(forwarders[f], returnFalse, 0) is count=0;la… 30 PASS count=0;lastIndex=-1;copyArray(emptyArray).every(forwarders[f], returnFalse, 0) is count=0;las… 31 PASS count=0;lastIndex=-1;copyArray(largeEmptyArray).every(forwarders[f], returnFalse, 0) is count=… 32 PASS count=0;lastIndex=-1;copyArray(largeSparseArray).every(forwarders[f], returnFalse, 0) is count… 33 PASS count=0;lastIndex=-1;copyArray(simpleArray).every(forwarders[f], returnTrue, 0) is count=0;las… 34 PASS count=0;lastIndex=-1;copyArray(emptyArray).every(forwarders[f], returnTrue, 0) is count=0;last… 35 PASS count=0;lastIndex=-1;copyArray(largeEmptyArray).every(forwarders[f], returnTrue, 0) is count=0… 36 PASS count=0;lastIndex=-1;copyArray(largeSparseArray).every(forwarders[f], returnTrue, 0) is count=… 37 PASS count=0;lastIndex=-1;copyArray(simpleArray).every(forwarders[f], returnElem, 0) is count=0;las… 38 PASS count=0;lastIndex=-1;copyArray(emptyArray).every(forwarders[f], returnElem, 0) is count=0;last… [all …]
|
D | array-lastIndexOf.js | 30 var lastIndex = 0; variable 32 lastIndex = testArray.lastIndexOf(2,-500); 34 lastIndex = testArray.lastIndexOf(9,500); 36 lastIndex = testArray.lastIndexOf(2); 38 lastIndex = testArray.lastIndexOf(7); 40 lastIndex = testArray.lastIndexOf(2, 3); 42 lastIndex = testArray.lastIndexOf(2, 2); 44 lastIndex = testArray.lastIndexOf(2, -2); 46 lastIndex = testArray.lastIndexOf(2, -1); 51 lastIndex = testArray.lastIndexOf(undefined); [all …]
|
D | array-lastIndexOf-expected.txt | 29 PASS lastIndex is -1 30 PASS lastIndex is 2 31 PASS lastIndex is 3 32 PASS lastIndex is -1 33 PASS lastIndex is 3 34 PASS lastIndex is 0 35 PASS lastIndex is 0 36 PASS lastIndex is 3 37 PASS lastIndex is -1 38 PASS lastIndex is -1 [all …]
|
/external/chromium_org/v8/test/webkit/fast/regex/ |
D | lastIndex-expected.txt | 24 This page tests that a RegExp object's lastIndex behaves like a regular property. 29 PASS delete /x/.lastIndex is false 30 PASS 'use strict'; delete /x/.lastIndex threw exception TypeError: Cannot delete property 'lastInde… 31 PASS 'lastIndex' in /x/ is true 32 PASS for (property in /x/) if (property === 'lastIndex') throw false; true is true 33 PASS var re = /x/; re.lastIndex = re; re.lastIndex === re is true 35 …bject.defineProperty(/x/, 'lastIndex', {enumerable:true}); true threw exception TypeError: Cannot … 36 PASS Object.defineProperty(/x/, 'lastIndex', {enumerable:false}); true is true 37 …ject.defineProperty(/x/, 'lastIndex', {configurable:true}); true threw exception TypeError: Cannot… 38 PASS Object.defineProperty(/x/, 'lastIndex', {configurable:false}); true is true [all …]
|
D | malformed-escapes-expected.txt | 32 PASS regexp.lastIndex is 2 36 PASS regexp.lastIndex is 2 40 PASS regexp.lastIndex is 3 44 PASS regexp.lastIndex is 1 48 PASS regexp.lastIndex is 1 52 PASS regexp.lastIndex is 2
|
/external/v8/test/mjsunit/regress/ |
D | regress-52801.js | 46 assertEquals(5, re.lastIndex); 48 re.lastIndex = 0; 50 assertEquals(5, re.lastIndex); // Fails if caching. 52 re.lastIndex = 0; 54 assertEquals(5, re.lastIndex); // Fails if caching. 61 assertEquals(5, re.lastIndex); 63 re.lastIndex = 0; 65 assertEquals(5, re.lastIndex); // Fails if caching. 67 re.lastIndex = 0; 69 assertEquals(5, re.lastIndex); // Fails if caching.
|
D | regress-254.js | 33 assertEquals(0, re.lastIndex, "Global, initial lastIndex"); 36 assertEquals(1, re.lastIndex, "Global, lastIndex after test 1"); 38 assertEquals(0, re.lastIndex, "Global, lastIndex after test 2"); 41 assertEquals(1, re.lastIndex, "Global, lastIndex after exec 1"); 43 assertEquals(0, re.lastIndex, "Global, lastIndex after exec 2"); 48 assertEquals(0, re2.lastIndex, "Non-global, initial lastIndex"); 51 assertEquals(0, re2.lastIndex, "Non-global, lastIndex after test 1"); 53 assertEquals(0, re2.lastIndex, "Non-global, lastIndex after test 2"); 56 assertEquals(0, re2.lastIndex, "Non-global, lastIndex after exec 1"); 58 assertEquals(0, re2.lastIndex, "Non-global, lastIndex after exec 2");
|
/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()
|
/external/chromium_org/v8/src/ |
D | regexp.js | 160 regexp.lastIndex = 0; 172 var lastIndex = this.lastIndex; 176 var i = TO_INTEGER(lastIndex); 181 this.lastIndex = 0; 188 %_Log('regexp', 'regexp-exec,%0r,%1S,%2i', [this, string, lastIndex]); 193 this.lastIndex = 0; 200 this.lastIndex = lastMatchInfo[CAPTURE1]; 221 var lastIndex = this.lastIndex; 225 var i = TO_INTEGER(lastIndex); 229 this.lastIndex = 0; [all …]
|
/external/chromium_org/chrome/browser/resources/file_manager/foreground/js/photo/ |
D | ribbon.js | 173 var lastIndex = selectedIndex + right; 174 lastIndex = Math.max(lastIndex, fullItems - 1); 175 lastIndex = Math.min(lastIndex, length - 1); 176 var firstIndex = lastIndex - fullItems + 1; 179 this.lastVisibleIndex_ != lastIndex) { 183 this.lastVisibleIndex_ = lastIndex; 192 index <= Math.max(lastIndex, this.lastVisibleIndex_); 196 lastIndex < index && index < this.firstVisibleIndex_) 201 if (index < firstIndex || index > lastIndex) { 239 lastIndex < length - 1 && selectedIndex != lastIndex); [all …]
|
/external/v8/src/ |
D | regexp.js | 178 var lastIndex = this.lastIndex; 182 var i = TO_INTEGER(lastIndex); 187 this.lastIndex = 0; 194 %_Log('regexp', 'regexp-exec,%0r,%1S,%2i', [this, string, lastIndex]); 199 if (global) this.lastIndex = 0; 206 this.lastIndex = lastMatchInfo[CAPTURE1]; 227 var lastIndex = this.lastIndex; 231 var i = TO_INTEGER(lastIndex); 235 this.lastIndex = 0; 238 %_Log('regexp', 'regexp-exec,%0r,%1S,%2i', [this, string, lastIndex]); [all …]
|
/external/proguard/src/proguard/classfile/util/ |
D | InternalTypeEnumeration.java | 38 private int lastIndex; field in InternalTypeEnumeration 49 this.lastIndex = descriptor.indexOf(ClassConstants.INTERNAL_METHOD_ARGUMENTS_CLOSE); in InternalTypeEnumeration() 52 if (lastIndex < 0) in InternalTypeEnumeration() 54 lastIndex = descriptor.length(); in InternalTypeEnumeration() 75 return index < lastIndex; in hasMoreTypes() 114 return descriptor.substring(lastIndex + 1); in returnType() 193 if (enumeration.lastIndex < descriptor.length()) in main()
|
/external/apache-http/src/org/apache/http/message/ |
D | BasicListHeaderIterator.java | 68 protected int lastIndex; field in BasicListHeaderIterator 95 this.lastIndex = -1; in BasicListHeaderIterator() 162 this.lastIndex = current; in nextHeader() 189 if (this.lastIndex < 0) { in remove() 192 this.allHeaders.remove(this.lastIndex); in remove() 193 this.lastIndex = -1; in remove()
|
/external/chromium_org/third_party/tlslite/tlslite/ |
D | SessionCache.py | 43 self.lastIndex = 0 70 self.entriesList[self.lastIndex] = (sessionID, time.time()) 71 self.lastIndex = (self.lastIndex+1) % len(self.entriesList) 75 if self.lastIndex == self.firstIndex: 90 while index != self.lastIndex:
|
/external/chromium_org/v8/test/mjsunit/ |
D | 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; 586 re.lastIndex = fakeLastIndex; [all …]
|
/external/v8/test/mjsunit/ |
D | 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; 586 re.lastIndex = fakeLastIndex; [all …]
|
/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/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/ |
D | ThrowableTest.java | 102 int lastIndex = 0; in fixStacktrace() local 103 while (lastIndex < trace.length()) { in fixStacktrace() 104 int index = trace.indexOf('\n', lastIndex); in fixStacktrace() 107 String line = trace.substring(lastIndex, index); in fixStacktrace() 108 lastIndex = index + 1; in fixStacktrace()
|
/external/chromium_org/ui/webui/resources/js/cr/ui/ |
D | list.js | 908 var lastIndex = this.getIndexForListOffset_(scrollTop + clientHeight); 912 length: lastIndex - firstIndex + 1, 913 last: lastIndex + 1}; 925 mergeItems: function(firstIndex, lastIndex) { argument 948 item != this.afterFiller_ && currentIndex < lastIndex;) { 975 this.pinnedItem_.hidden = index < firstIndex || index >= lastIndex; 977 if (index >= lastIndex) 981 while (currentIndex < lastIndex) 1038 getAfterFillerHeight: function(lastIndex) { argument 1041 return (this.dataModel.length - lastIndex) * itemHeight; [all …]
|