/third_party/jerryscript/tests/jerry/es2015/ |
H A D | regexp-routines.js | 118 r.lastIndex = 2; 120 assert (r.lastIndex === 0); 122 r.lastIndex = 5; 124 assert (r.lastIndex === 0); 127 r.lastIndex = 2; 129 assert (r.lastIndex === 2); 131 r.lastIndex = 5; 133 assert (r.lastIndex === 0); 135 r.lastIndex = 2; 139 assert (r.lastIndex [all...] |
H A D | symbol-search.js | 37 get lastIndex() { 38 throw "abrupt get lastIndex" 43 assert (e === "abrupt get lastIndex"); 48 get lastIndex() { 51 set lastIndex(idx) { 52 throw "abrupt set lastIndex" 57 assert (e === "abrupt set lastIndex"); 203 lastIndex: "Duck", 220 get lastIndex () { 223 set lastIndex ( [all...] |
H A D | symbol-replace.js | 60 set lastIndex(idx) { 61 throw "abrupt lastIndex" 66 assert (e === "abrupt lastIndex"); 216 get lastIndex() { 217 throw "abrupt lastIndex get" 219 set lastIndex(i) {}, 237 assert (e === "abrupt lastIndex get"); 243 get lastIndex() { 246 throw "abrupt lastIndex toNumber" 250 set lastIndex( [all...] |
H A D | regexp-flags.js | 51 r.lastIndex = 3; 54 assert (r.lastIndex === 6); 58 assert (r.lastIndex === 0);
|
H A D | symbol-split.js | 89 this.lastIndex++; 101 this.lastIndex++;
|
H A D | regexp-new-target.js | 18 assert(obj.lastIndex === 9)
|
/third_party/jerryscript/tests/jerry/ |
H A D | regexp-routines.js | 44 * updates the lastIndex propertyand see if the match restarts. 50 assert (re.lastIndex === 1); 53 assert (re.lastIndex === 0); 58 assert (re.lastIndex === 1); 87 re2.lastIndex = 2; 95 assert (re2.lastIndex === 0); 103 assert (re2.lastIndex === 0);
|
H A D | string-prototype-search.js | 33 regexp.lastIndex = "index"; 37 assert (regexp.lastIndex === "index");
|
H A D | regexp-assertions.js | 154 t.lastIndex = {toString: function () { return "4"}}; 160 t.lastIndex = {valueOf: function () { return "4"}}; 166 t.lastIndex = "2"
|
/third_party/node/test/fixtures/wpt/streams/transform-streams/ |
H A D | lipfuzz.any.js | 8 this.lastIndex = undefined; 14 // lastIndex is the index of the first character after the last substitution. 15 this.lastIndex = 0; 20 partialAtEndRegexp.lastIndex = this.lastIndex; 21 this.lastIndex = undefined; 41 this.lastIndex = offset + replacement.length;
|
/third_party/icu/icu4c/source/i18n/ |
H A D | units_complexconverter.cpp | 245 int32_t lastIndex = unitsConverters_.length() - 1; in applyRounder() local 246 if (lastIndex == 0) { in applyRounder() 252 int64_t carry = static_cast<int64_t>(floor(unitsConverters_[lastIndex]->convertInverse(quantity) * (1 + DBL_EPSILON))); in applyRounder() 256 quantity -= unitsConverters_[lastIndex]->convert(static_cast<double>(carry)); in applyRounder() 257 intValues[lastIndex - 1] += carry; in applyRounder() 260 for (int32_t j = lastIndex - 1; j > 0; j--) { in applyRounder()
|
/third_party/node/deps/icu-small/source/i18n/ |
H A D | units_complexconverter.cpp | 247 int32_t lastIndex = unitsConverters_.length() - 1; in applyRounder() local 248 if (lastIndex == 0) { in applyRounder() 254 int64_t carry = static_cast<int64_t>(floor(unitsConverters_[lastIndex]->convertInverse(quantity) * (1 + DBL_EPSILON))); in applyRounder() 258 quantity -= unitsConverters_[lastIndex]->convert(static_cast<double>(carry)); in applyRounder() 259 intValues[lastIndex - 1] += carry; in applyRounder() 262 for (int32_t j = lastIndex - 1; j > 0; j--) { in applyRounder()
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | units_complexconverter.cpp | 240 int32_t lastIndex = unitsConverters_.length() - 1; in applyRounder() local 241 if (lastIndex == 0) { in applyRounder() 247 int64_t carry = floor(unitsConverters_[lastIndex]->convertInverse(quantity) * (1 + DBL_EPSILON)); in applyRounder() 251 quantity -= unitsConverters_[lastIndex]->convert(carry); in applyRounder() 252 intValues[lastIndex - 1] += carry; in applyRounder() 255 for (int32_t j = lastIndex - 1; j > 0; j--) { in applyRounder()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/units/ |
H A D | ComplexUnitsConverter.java | 253 int lastIndex = unitsConverters_.size() - 1; in applyRounder() 254 BigDecimal carry = unitsConverters_.get(lastIndex).convertInverse(quantity).multiply(EPSILON_MULTIPLIER) in applyRounder() 259 quantity = quantity.subtract(unitsConverters_.get(lastIndex).convert(carry)); in applyRounder() 260 intValues.set(lastIndex - 1, intValues.get(lastIndex - 1).add(carry.toBigInteger())); in applyRounder() 263 for (int j = lastIndex - 1; j > 0; j--) { in applyRounder()
|
/third_party/node/lib/internal/readline/ |
H A D | interface.js | 601 lineEnding.lastIndex = 0; // Start the search from the beginning of the string. 608 const indexes = [0, newPartContainsEnding.index, lineEnding.lastIndex]; 611 ArrayPrototypePush(indexes, nextMatch.index, lineEnding.lastIndex); 613 const lastIndex = indexes.length - 1; 615 this[kLine_buffer] = StringPrototypeSlice(string, indexes[lastIndex]); 616 for (let i = 1; i < lastIndex; i += 2) { 1334 lineEnding.lastIndex = 0; 1337 let lastIndex = 0; 1339 this[kInsertString](StringPrototypeSlice(s, lastIndex, nextMatch.index)); 1340 ({ lastIndex } [all...] |
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
H A D | RangeDateRule.java | 135 int lastIndex = ranges.size(); in startIndex() 142 lastIndex = i; in startIndex() 144 return lastIndex; in startIndex()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/ |
H A D | RangeDateRule.java | 133 int lastIndex = ranges.size(); in startIndex() 140 lastIndex = i; in startIndex() 142 return lastIndex; in startIndex()
|
/third_party/node/test/parallel/ |
H A D | test-repl-tab-complete.js | 296 let lastIndex = -1; 299 lastIndex = data[0].indexOf(`node:${lib}`); 300 assert.notStrictEqual(lastIndex, -1); 302 assert.strictEqual(data[0][lastIndex + 1], ''); 304 assert.strictEqual(data[0][lastIndex + 2], 'net'); 305 assert.strictEqual(data[0][lastIndex + 3], ''); 307 data[0].slice(lastIndex + 4).forEach((completion) => {
|
/third_party/skia/third_party/externals/dawn/src/dawn_node/binding/ |
H A D | GPUAdapter.cpp | 30 const size_t lastIndex = s.length() - 1; in Split() local 34 while (i <= lastIndex) { in Split() 40 } else if (i == lastIndex) { in Split()
|
/third_party/node/deps/npm/node_modules/columnify/ |
H A D | columnify.js | 291 var lastIndex = target.lastIndexOf(searchString); 292 return lastIndex !== -1 && lastIndex === position;
|
H A D | index.js | 282 let lastIndex = target.lastIndexOf(searchString); 283 return lastIndex !== -1 && lastIndex === position;
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/util/ |
H A D | UnicodeMap.java | 65 private int lastIndex; field in UnicodeMap 89 lastIndex = 0; in clear() 287 if (transitions[lastIndex] <= codepoint in _put() 288 && codepoint < transitions[lastIndex+1]) { in _put() 289 baseIndex = lastIndex; in _put() 373 lastIndex = baseIndex; // store for next time in _put()
|
/third_party/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/util/ |
H A D | UnicodeMap.java | 62 private int lastIndex; field in UnicodeMap 86 lastIndex = 0; in clear() 284 if (transitions[lastIndex] <= codepoint in _put() 285 && codepoint < transitions[lastIndex+1]) { in _put() 286 baseIndex = lastIndex; in _put() 370 lastIndex = baseIndex; // store for next time in _put()
|
/third_party/node/deps/npm/lib/utils/ |
H A D | replace-info.js | 14 index = splitChars.lastIndex
|
/third_party/lzma/CPP/Windows/Control/ |
H A D | ListView.h | 120 bool RedrawItems(int firstIndex, int lastIndex) { return BOOLToBool(ListView_RedrawItems(_window, firstIndex, lastIndex)); }
in RedrawItems() argument
|