/third_party/jerryscript/tests/jerry/es2015/ |
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 === 2); [all …]
|
D | symbol-search.js | 37 get lastIndex() { getter 48 get lastIndex() { getter 51 set lastIndex(idx) { setter 203 lastIndex: "Duck", property 220 get lastIndex () { getter 223 set lastIndex (v) { setter
|
D | regexp-lastindex.js | 16 t.lastIndex = -12; 20 assert(t.lastIndex === 3); 22 assert(RegExp.prototype.lastIndex === undefined)
|
D | symbol-replace.js | 60 set lastIndex(idx) { setter 216 get lastIndex() { getter 219 set lastIndex(i) {}, setter 243 get lastIndex() { getter 250 set lastIndex(i) {}, setter 555 assert (re.lastIndex === 0); 557 re.lastIndex = 5; 559 assert (re.lastIndex === 0);
|
D | regexp-flags.js | 51 r.lastIndex = 3; 54 assert (r.lastIndex === 6); 58 assert (r.lastIndex === 0);
|
/third_party/node/deps/npm/node_modules/is-regex/ |
D | index.js | 9 var lastIndex = value.lastIndex; 10 value.lastIndex = 0; 17 value.lastIndex = lastIndex;
|
D | test.js | 41 regex.lastIndex = marker; 42 st.equal(regex.lastIndex, marker, 'lastIndex is the marker object'); 44 st.equal(regex.lastIndex, marker, 'lastIndex is the marker object after isRegex'); 50 regex.lastIndex = 3; 51 st.equal(regex.lastIndex, 3, 'lastIndex is 3'); 53 st.equal(regex.lastIndex, 3, 'lastIndex is 3 after isRegex');
|
/third_party/jerryscript/tests/jerry/ |
D | regexp-routines.js | 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);
|
D | string-prototype-search.js | 33 regexp.lastIndex = "index"; 37 assert (regexp.lastIndex === "index");
|
/third_party/flutter/skia/src/pdf/ |
D | SkPDFMakeCIDGlyphWidthsArray.cpp | 178 int lastIndex = num_glyphs; in SkPDFMakeCIDGlyphWidthsArray() local 180 while (!subset->has(lastIndex - 1) && lastIndex > 0) { in SkPDFMakeCIDGlyphWidthsArray() 181 --lastIndex; in SkPDFMakeCIDGlyphWidthsArray() 186 SkAutoTArray<SkGlyphID> glyphIDs{lastIndex + 1}; in SkPDFMakeCIDGlyphWidthsArray() 187 for (int gId = 0; gId <= lastIndex; gId++) { in SkPDFMakeCIDGlyphWidthsArray() 191 auto glyphs = paths.glyphs(SkMakeSpan(glyphIDs.get(), lastIndex + 1)); in SkPDFMakeCIDGlyphWidthsArray() 193 for (int gId = 0; gId <= lastIndex; gId++) { in SkPDFMakeCIDGlyphWidthsArray() 195 if (gId < lastIndex) { in SkPDFMakeCIDGlyphWidthsArray() 266 if (curRange.fStartId == lastIndex) { in SkPDFMakeCIDGlyphWidthsArray() 271 finish_range(&curRange, lastIndex - 1, AdvanceMetric::kRange); in SkPDFMakeCIDGlyphWidthsArray()
|
/third_party/typescript_eslint/packages/eslint-plugin-internal/tests/rules/ |
D | plugin-test-formatting.test.ts | 14 const lastIndex = strings.length - 1; constant 16 strings.slice(0, lastIndex).reduce((p, s, i) => p + s + keys[i], '') + 17 strings[lastIndex]; 32 const lastIndex = strings.length - 1; constant 34 strings.slice(0, lastIndex).reduce((p, s, i) => p + s + keys[i], '') + 35 strings[lastIndex];
|
/third_party/node/deps/icu-small/source/i18n/ |
D | units_complexconverter.cpp | 240 int32_t lastIndex = unitsConverters_.length() - 1; in applyRounder() local 241 if (lastIndex == 0) { in applyRounder() 247 …int64_t carry = static_cast<int64_t>(floor(unitsConverters_[lastIndex]->convertInverse(quantity) *… in applyRounder() 251 quantity -= unitsConverters_[lastIndex]->convert(static_cast<double>(carry)); in applyRounder() 252 intValues[lastIndex - 1] += carry; in applyRounder() 255 for (int32_t j = lastIndex - 1; j > 0; j--) { in applyRounder()
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
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/icu4c/source/i18n/ |
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/ |
D | ComplexUnitsConverter.java | 250 int lastIndex = unitsConverters_.size() - 1; in applyRounder() local 251 …BigDecimal carry = unitsConverters_.get(lastIndex).convertInverse(quantity).multiply(EPSILON_MULTI… in applyRounder() 256 quantity = quantity.subtract(unitsConverters_.get(lastIndex).convert(carry)); in applyRounder() 257 intValues.set(lastIndex - 1, intValues.get(lastIndex - 1).add(carry.toBigInteger())); in applyRounder() 260 for (int j = lastIndex - 1; j > 0; j--) { in applyRounder()
|
/third_party/node/deps/npm/node_modules/bluebird/js/release/ |
D | context.js | 36 var lastIndex = contextStack.length - 1; 37 if (lastIndex >= 0) { 38 return contextStack[lastIndex];
|
/third_party/jerryscript/tests/jerry/es5.1/ |
D | regexp-lastindex.js | 16 t.lastIndex = -12; 19 assert(t.lastIndex === 0);
|
/third_party/typescript_eslint/packages/experimental-utils/src/eslint-utils/ |
D | RuleTester.ts | 119 const lastIndex = strings.length - 1; constant 121 strings.slice(0, lastIndex).reduce((p, s, i) => p + s + keys[i], '') + 122 strings[lastIndex]
|
/third_party/jsoncpp/src/test_lib_json/ |
D | jsontest.cpp | 174 Json::String::size_type lastIndex = 0; in indentText() local 175 while (lastIndex < text.size()) { in indentText() 176 Json::String::size_type nextIndex = text.find('\n', lastIndex); in indentText() 181 reindented += text.substr(lastIndex, nextIndex - lastIndex + 1); in indentText() 182 lastIndex = nextIndex + 1; in indentText()
|
/third_party/node/deps/npm/node_modules/clone/ |
D | clone.js | 62 if (parent.lastIndex) child.lastIndex = parent.lastIndex;
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/ |
D | RangeDateRule.java | 133 int lastIndex = ranges.size(); in startIndex() local 140 lastIndex = i; in startIndex() 142 return lastIndex; in startIndex()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | RangeDateRule.java | 135 int lastIndex = ranges.size(); in startIndex() local 142 lastIndex = i; in startIndex() 144 return lastIndex; in startIndex()
|
/third_party/typescript/tests/baselines/reference/ |
D | constructorOverloads5.symbols | 49 lastIndex: boolean; 50 >lastIndex : Symbol(RegExp.lastIndex, Decl(constructorOverloads5.ts, 13, 27))
|
/third_party/node/test/fixtures/wpt/resources/webidl2/lib/ |
D | webidl2.js | 95 let lastIndex = 0; 97 while (lastIndex < str.length) { 98 const nextChar = str.charAt(lastIndex); 125 if (str.startsWith(punctuation, lastIndex)) { 128 lastIndex += punctuation.length; 129 result = lastIndex; 141 lastIndex = result; 147 re.lastIndex = lastIndex; 154 return re.lastIndex;
|
/third_party/flutter/flutter/packages/flutter/lib/src/rendering/ |
D | sliver_fixed_extent_list.dart | 107 int lastIndex, 114 lastIndex: lastIndex, 250 final int lastIndex = indexOf(lastChild); 252 final double trailingScrollOffset = indexToLayoutOffset(itemExtent, lastIndex + 1); 257 assert(targetLastIndex == null || lastIndex <= targetLastIndex); 262 lastIndex: lastIndex, 288 hasVisualOverflow: (targetLastIndexForPaint != null && lastIndex >= targetLastIndexForPaint)
|