/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/mjsunit/harmony/ |
D | regexp-sticky.js | 43 assertEquals(0, sticky.lastIndex); 49 assertEquals(0, stickyplain.lastIndex); 56 global.lastIndex = 0; 63 plainglobal.lastIndex = 0; 69 assertEquals(7, stickyglobal.lastIndex); 71 stickyglobal.lastIndex = 0; 73 stickyglobal.lastIndex = 2; 75 assertEquals(9, stickyglobal.lastIndex); 82 assertEquals(6, stickyplainglobal.lastIndex); 84 stickyplainglobal.lastIndex = 0; [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/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/ui/file_manager/gallery/js/ |
D | ribbon.js | 185 var lastIndex = selectedIndex + right; 186 lastIndex = Math.max(lastIndex, fullItems - 1); 187 lastIndex = Math.min(lastIndex, length - 1); 188 var firstIndex = lastIndex - fullItems + 1; 191 this.lastVisibleIndex_ != lastIndex) { 195 this.lastVisibleIndex_ = lastIndex; 204 index <= Math.max(lastIndex, this.lastVisibleIndex_); 208 lastIndex < index && index < this.firstVisibleIndex_) 213 if (index < firstIndex || index > lastIndex) { 251 lastIndex < length - 1 && selectedIndex != 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 | 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/chromium_org/v8/src/ |
D | regexp.js | 153 regexp.lastIndex = 0; 165 var lastIndex = this.lastIndex; 169 var i = TO_INTEGER(lastIndex); 174 this.lastIndex = 0; 185 this.lastIndex = 0; 192 this.lastIndex = lastMatchInfo[CAPTURE1]; 213 var lastIndex = this.lastIndex; 217 var i = TO_INTEGER(lastIndex); 221 this.lastIndex = 0; 227 this.lastIndex = 0; [all …]
|
/external/chromium_org/third_party/tlslite/tlslite/ |
D | sessioncache.py | 49 self.lastIndex = 0 76 self.entriesList[self.lastIndex] = (sessionID, time.time()) 77 self.lastIndex = (self.lastIndex+1) % len(self.entriesList) 81 if self.lastIndex == self.firstIndex: 96 while index != self.lastIndex:
|
/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/chromium_org/v8/test/mjsunit/ |
D | regexp-not-sticky-yet.js | 59 re.lastIndex = -1; // Ignored for non-global, non-sticky. 61 assertEquals(-1, re.lastIndex); 63 re.lastIndex = -1; // Ignored for non-global, non-sticky. 65 assertEquals(-1, re.lastIndex);
|
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/chromium_org/third_party/WebKit/Source/devtools/front_end/common/ |
D | TextUtils.js | 131 findBalancedCurlyBrackets: function(source, startIndex, lastIndex) { argument 132 lastIndex = lastIndex || source.length; 137 for (var index = startIndex; index < lastIndex; ++index) {
|
/external/chromium_org/ui/webui/resources/js/cr/ui/ |
D | list.js | 917 var lastIndex = this.getIndexForListOffset_(scrollTop + clientHeight); 921 length: lastIndex - firstIndex + 1, 922 last: lastIndex + 1}; 934 mergeItems: function(firstIndex, lastIndex) { argument 957 item != this.afterFiller_ && currentIndex < lastIndex;) { 984 this.pinnedItem_.hidden = index < firstIndex || index >= lastIndex; 986 if (index >= lastIndex) 990 while (currentIndex < lastIndex) 1047 getAfterFillerHeight: function(lastIndex) { argument 1050 return (this.dataModel.length - lastIndex) * itemHeight; [all …]
|
/external/chromium_org/third_party/skia/src/core/ |
D | SkAdvancedTypefaceMetrics.cpp | 160 int lastIndex = num_glyphs; in getAdvanceData() local 163 lastIndex = in getAdvanceData() 168 for (int gId = firstIndex; gId <= lastIndex; gId++) { in getAdvanceData() 170 if (gId < lastIndex) { in getAdvanceData() 245 if (curRange->fStartId == lastIndex) { in getAdvanceData() 247 SkASSERT(prevRange->fNext->fStartId == lastIndex); in getAdvanceData() 250 finishRange(curRange, lastIndex - 1, in getAdvanceData()
|