Lines Matching refs:length

447         for (var _i = 2; _i < arguments.length; _i++) {
451 if (Is.defined(args) && args.length > 0) {
628 this.edits.splice(0, this.edits.length);
1025 for (var _i = 2; _i < arguments.length; _i++) {
1439 var lastModifiedOffset = text.length;
1440 for (var i = sortedEdits.length - 1; i >= 0; i--) {
1445 … text = text.substring(0, startOffset) + e.newText + text.substring(endOffset, text.length);
1456 if (data.length <= 1) {
1460 var p = (data.length / 2) | 0;
1468 while (leftIdx < left.length && rightIdx < right.length) {
1479 while (leftIdx < left.length) {
1482 while (rightIdx < right.length) {
1535 for (var i = 0; i < text.length; i++) {
1542 if (ch === '\r' && i + 1 < text.length && text.charAt(i + 1) === '\n') {
1546 if (isLineStart && text.length > 0) {
1547 lineOffsets.push(text.length);
1554 offset = Math.max(Math.min(offset, this._content.length), 0);
1556 var low = 0, high = lineOffsets.length;
1576 if (position.line >= lineOffsets.length) {
1577 return this._content.length;
1583 …ineOffset = (position.line + 1 < lineOffsets.length) ? lineOffsets[position.line + 1] : this._cont…
1588 return this.getLineOffsets().length;
23972 switch (text.length) {
24081 if (!name || colorValues.length < 3 || colorValues.length > 4) {
24085 var alpha = colorValues.length === 4 ? getNumericValue(colorValues[3], 1) : 1;
24283 for (var _i = 0, _a = data.properties; _i < _a.length; _i++) {
24291 for (var _b = 0, _c = data.atDirectives; _b < _c.length; _b++) {
24299 for (var _d = 0, _e = data.pseudoClasses; _d < _e.length; _d++) {
24307 for (var _f = 0, _g = data.pseudoElements; _f < _g.length; _f++) {
24414 if (entry.references && entry.references.length > 0) {
24439 if (entry.references && entry.references.length > 0) {
24453 if (browsers.length === 0) {
24830 if (node.offset === -1 && node.length === -1) {
24837 else if (node.length <= candidate.length) {
24869 this.length = len;
24875 get: function () { return this.offset + this.length; },
24900 return this.getTextProvider()(this.offset, this.length);
24903 … return this.length === str.length && this.getTextProvider()(this.offset, this.length) === str;
24906 return this.length >= str.length && this.getTextProvider()(this.offset, str.length) === str;
24909 …return this.length >= str.length && this.getTextProvider()(this.end - str.length, str.length) === …
24913 for (var _i = 0, _a = this.children; _i < _a.length; _i++) {
24966 if (this.issues && this.issues.length > 0) {
24996 if ((nodeEnd > this.end) || this.length === -1) {
24997 this.length = nodeEnd - this.offset;
25001 return !!this.children && this.children.length > 0;
25007 if (this.children && index < this.children.length) {
25013 for (var _i = 0, nodes_1 = nodes; _i < nodes_1.length; _i++) {
25021 for (var i = this.children.length - 1; i >= 0; i--) {
25042 …this.offset <= candidate.offset && this.offset + this.length >= candidate.offset + candidate.lengt…
25060 for (var _i = 0; _i < arguments.length; _i++) {
25091 _this.length = -1;
25099 function Identifier(offset, length) { argument
25100 var _this = _super.call(this, offset, length) || this;
25119 function Stylesheet(offset, length) { argument
25120 return _super.call(this, offset, length) || this;
25134 function Declarations(offset, length) { argument
25135 return _super.call(this, offset, length) || this;
25149 function BodyDeclaration(offset, length) { argument
25150 return _super.call(this, offset, length) || this;
25163 function RuleSet(offset, length) { argument
25164 return _super.call(this, offset, length) || this;
25187 function Selector(offset, length) { argument
25188 return _super.call(this, offset, length) || this;
25202 function SimpleSelector(offset, length) { argument
25203 return _super.call(this, offset, length) || this;
25217 function AtApplyRule(offset, length) { argument
25218 return _super.call(this, offset, length) || this;
25241 function AbstractDeclaration(offset, length) { argument
25242 return _super.call(this, offset, length) || this;
25249 function CustomPropertyDeclaration(offset, length) { argument
25250 return _super.call(this, offset, length) || this;
25282 function CustomPropertySet(offset, length) { argument
25283 return _super.call(this, offset, length) || this;
25297 function Declaration(offset, length) { argument
25298 var _this = _super.call(this, offset, length) || this;
25352 function Property(offset, length) { argument
25353 return _super.call(this, offset, length) || this;
25379 function Invocation(offset, length) { argument
25380 return _super.call(this, offset, length) || this;
25400 function Function(offset, length) {
25401 return _super.call(this, offset, length) || this;
25424 function FunctionParameter(offset, length) { argument
25425 return _super.call(this, offset, length) || this;
25454 function FunctionArgument(offset, length) { argument
25455 return _super.call(this, offset, length) || this;
25484 function IfStatement(offset, length) { argument
25485 return _super.call(this, offset, length) || this;
25505 function ForStatement(offset, length) { argument
25506 return _super.call(this, offset, length) || this;
25523 function EachStatement(offset, length) { argument
25524 return _super.call(this, offset, length) || this;
25544 function WhileStatement(offset, length) { argument
25545 return _super.call(this, offset, length) || this;
25559 function ElseStatement(offset, length) { argument
25560 return _super.call(this, offset, length) || this;
25574 function FunctionDeclaration(offset, length) { argument
25575 return _super.call(this, offset, length) || this;
25604 function ViewPort(offset, length) { argument
25605 return _super.call(this, offset, length) || this;
25619 function FontFace(offset, length) { argument
25620 return _super.call(this, offset, length) || this;
25634 function NestedProperties(offset, length) { argument
25635 return _super.call(this, offset, length) || this;
25649 function Keyframe(offset, length) { argument
25650 return _super.call(this, offset, length) || this;
25679 function KeyframeSelector(offset, length) { argument
25680 return _super.call(this, offset, length) || this;
25694 function Import(offset, length) { argument
25695 return _super.call(this, offset, length) || this;
25815 function Namespace(offset, length) { argument
25816 return _super.call(this, offset, length) || this;
25830 function Media(offset, length) { argument
25831 return _super.call(this, offset, length) || this;
25845 function Supports(offset, length) { argument
25846 return _super.call(this, offset, length) || this;
25860 function Document(offset, length) { argument
25861 return _super.call(this, offset, length) || this;
25875 function Medialist(offset, length) { argument
25876 return _super.call(this, offset, length) || this;
25889 function MediaQuery(offset, length) { argument
25890 return _super.call(this, offset, length) || this;
25904 function SupportsCondition(offset, length) { argument
25905 return _super.call(this, offset, length) || this;
25919 function Page(offset, length) { argument
25920 return _super.call(this, offset, length) || this;
25934 function PageBoxMarginBox(offset, length) { argument
25935 return _super.call(this, offset, length) || this;
25949 function Expression(offset, length) { argument
25950 return _super.call(this, offset, length) || this;
25964 function BinaryExpression(offset, length) { argument
25965 return _super.call(this, offset, length) || this;
25997 function Term(offset, length) { argument
25998 return _super.call(this, offset, length) || this;
26024 function AttributeSelector(offset, length) { argument
26025 return _super.call(this, offset, length) || this;
26063 function Operator(offset, length) { argument
26064 return _super.call(this, offset, length) || this;
26078 function HexColorValue(offset, length) { argument
26079 return _super.call(this, offset, length) || this;
26094 function NumericValue(offset, length) { argument
26095 return _super.call(this, offset, length) || this;
26108 for (var i = 0, len = raw.length; i < len; i++) {
26117 unit: unitIdx < raw.length ? raw.substring(unitIdx) : undefined
26125 function VariableDeclaration(offset, length) { argument
26126 var _this = _super.call(this, offset, length) || this;
26170 function Interpolation(offset, length) { argument
26171 return _super.call(this, offset, length) || this;
26185 function Variable(offset, length) { argument
26186 return _super.call(this, offset, length) || this;
26203 function ExtendsReference(offset, length) { argument
26204 return _super.call(this, offset, length) || this;
26224 function MixinContentReference(offset, length) { argument
26225 return _super.call(this, offset, length) || this;
26245 function MixinContentDeclaration(offset, length) { argument
26246 return _super.call(this, offset, length) || this;
26266 function MixinReference(offset, length) { argument
26267 return _super.call(this, offset, length) || this;
26308 function MixinDeclaration(offset, length) { argument
26309 return _super.call(this, offset, length) || this;
26345 function UnknownAtRule(offset, length) { argument
26346 return _super.call(this, offset, length) || this;
26438 function Marker(node, rule, level, message, offset, length) { argument
26440 if (length === void 0) { length = node.length; }
26446 this.length = length;
26458 return this.length;
26672 for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
26674 for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
26697 …D_MODULE_0__["TokenType"].Ident === this.token.type && text.length === this.token.text.length && t…
26700 …DULE_0__["TokenType"].AtKeyword === this.token.type && text.length === this.token.text.length && t…
26744 for (var _i = 0, keywords_1 = keywords; _i < keywords_1.length; _i++) {
26746 … if (keyword.length === this.token.text.length && keyword === this.token.text.toLowerCase()) {
26840 …node.length = prevEnd > node.offset ? prevEnd - node.offset : 0; // offset is taken from current t…
26857 var textProvider = function (offset, length) { argument
26861 return text.substr(offset, length);
26874 … node.textProvider = function (offset, length) { return input.substr(offset, length); }; argument
28200 this.len = source.length;
28241 if (this.position + ch.length > this.source.length) {
28245 for (; i < ch.length; i++) {
28750 function Scope(offset, length) { argument
28752 this.length = length;
28764 Scope.prototype.findScope = function (offset, length) { argument
28765 if (length === void 0) { length = 0; }
28766 …ffset <= offset && this.offset + this.length > offset + length || this.offset === offset && this.l…
28767 return this.findInScope(offset, length);
28771 Scope.prototype.findInScope = function (offset, length) { argument
28772 if (length === void 0) { length = 0; }
28774 var end = offset + length;
28781 if (res.offset <= offset && res.offset + res.length >= offset + length) {
28782 return res.findInScope(offset, length);
28790 for (var index = 0; index < this.symbols.length; index++) {
28828 var current = this.scope.findScope(node.offset, node.length);
28836 var current = this.scope.findScope(node.offset, node.length);
28837 …if (current && (current.offset !== node.offset || current.length !== node.length)) { // scope alre…
28838 var newScope = new Scope(node.offset, node.length);
28889 for (var _i = 0, variables_1 = variables; _i < variables_1.length; _i++) {
28900 var current = this.scope.findScope(node.offset, node.length);
28902 for (var _i = 0, _a = node.getSelectors().getChildren(); _i < _a.length; _i++) {
28905 … if (child.getChildren().length === 1) { // only selectors with a single element can be extended
28952 for (var i = 0; i < symbols.length; i++) {
28981 var scope = this.global.findScope(scopeNode.offset, scopeNode.length);
28983 for (var index = 0; index < referenceTypes.length; index++) {
30751 return node.getChildren().length > 1 ? node : null;
30940 for (var _i = 0, _a = context.diagnostics; _i < _a.length; _i++) {
30952 if (score >= propertyName.length / 2 /*score_lim*/) {
30961 for (var _i = 0, candidates_1 = candidates; _i < candidates_1.length; _i++) {
30983 for (var i = nodepath.length - 1; i >= 0; i--) {
31048 …if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; c…
31134 …on"].create(this.position.line, this.position.character - this.currentWord.length), this.position);
31140 for (var i = this.nodePath.length - 1; i >= 0; i--) {
31212 if (result.items.length > 0 || this.offset > node.offset) {
31217 if (result.items.length === 0) {
31243 for (var _i = 0; _i < arguments.length; _i++) {
31246 for (var i = this.nodePath.length - 1; i >= 0; i--) {
31365 for (var _i = 0, _a = entry.restrictions; _i < _a.length; _i++) {
31407 for (var _b = 0, _c = existingValues.getEntries(); _b < _c.length; _b++) {
31422 for (var _i = 0, _a = entry.values; _i < _a.length; _i++) {
31470 for (var _i = 0, symbols_1 = symbols; _i < symbols_1.length; _i++) {
31498 for (var _i = 0, symbols_2 = symbols; _i < symbols_2.length; _i++) {
31515 if (this.currentWord.length > 0) {
31519 result.isIncomplete = currentWord.length === this.currentWord.length;
31522 else if (this.currentWord.length === 0) {
31529 for (var _i = 0, _a = entry.restrictions; _i < _a.length; _i++) {
31533 for (var _b = 0, units_1 = units; _b < units_1.length; _b++) {
31576 for (var _i = 0, _a = colorValues.getEntries(); _i < _a.length; _i++) {
31598 …c = _languageFacts_facts_js__WEBPACK_IMPORTED_MODULE_2__["colorFunctions"]; _b < _c.length; _b++) {
31638 … _languageFacts_facts_js__WEBPACK_IMPORTED_MODULE_2__["lineWidthKeywords"]; _i < _a.length; _i++) {
31751 …de && this.offset - this.currentWord.length > 0 && this.textDocument.getText()[this.offset - this.…
31754 …on"].create(this.position.line, this.position.character - this.currentWord.length), this.position);
31789 … 0, _a = _languageFacts_facts_js__WEBPACK_IMPORTED_MODULE_2__["html5Tags"]; _i < _a.length; _i++) {
31797 …, _c = _languageFacts_facts_js__WEBPACK_IMPORTED_MODULE_2__["svgElements"]; _b < _c.length; _b++) {
31810 … === _parser_cssNodes_js__WEBPACK_IMPORTED_MODULE_0__["NodeType"].SimpleSelector && n.length > 0) {
31811 var selector = docText.substr(n.offset, n.length);
31914 for (var _i = 0, allMixins_1 = allMixins; _i < allMixins_1.length; _i++) {
31933 for (var _i = 0, allFunctions_1 = allFunctions; _i < allFunctions_1.length; _i++) {
31999 … var emptyURIValuePosition = this.textDocument.positionAt(uriLiteralNode.offset + 'url('.length);
32058 switch (nstr.length) {
32217 if (delimiterStack.length !== 0) {
32312 if (stack.length === 0) {
32315 for (var i = stack.length - 1; i >= 0; i--) {
32344 if (validRanges.length < maxRanges) {
32399 for (var i = 0; i < nodepath.length; i++) {
32568 …if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; c…
32656 for (var i = 0; i < links.length; i++) {
32678 if (!(_i < links_1.length)) return [3 /*break*/, 5];
32853 pathWithinModule = ref.substring(moduleName.length + 1);
32875 …cumentFolderUri.startsWith(rootFolderUri) && (documentFolderUri.length !== rootFolderUri.length)) {
32949 return r.length !== 2 ? '0' + r : r;
32985 for (var index = applicableRanges.length - 1; index >= 0; index--) {
33128 for (var _i = 0, proposals_1 = proposals; _i < proposals_1.length; _i++) {
33558 if (name.length) {
33577 for (var _i = 0, input_1 = input; _i < input_1.length; _i++) {
33587 for (var _i = 0, input_2 = input; _i < input_2.length; _i++) {
33620 for (var i = 0; i < actual.length; i++) {
33627 for (var i = 0; i < expectedClone.length; i++) {
33696 if (!needsStandard && actual.length === 1) {
33701 for (var _i = 0, _a = this.keyframes.data[name].nodes; _i < _a.length; _i++) {
33721 if (node.length === 1 && firstChar === '*') {
33752 for (var _i = 0, _a = declarations.getChildren(); _i < _a.length; _i++) {
33774 if (properties.length !== 0) {
33775 for (var _b = 0, properties_1 = properties; _b < properties_1.length; _b++) {
33790 if (properties.length !== 0) {
33791 for (var _c = 0, properties_2 = properties; _c < properties_2.length; _c++) {
33803 if (displayElems.length > 0) {
33804 …r _d = 0, _e = ['width', 'height', 'margin-top', 'margin-bottom', 'float']; _d < _e.length; _d++) {
33807 for (var index = 0; index < elem.length; index++) {
33819 if (displayElems.length > 0) {
33821 for (var index = 0; index < elem.length; index++) {
33831 if (displayElems.length > 0) {
33833 for (var index = 0; index < elem.length; index++) {
33841 for (var index = 0; index < elements.length; index++) {
33850 for (var i = 0; i < propertyTable.length; i++) {
33856 if (elements_1.length > 1) {
33857 for (var k = 0; k < elements_1.length; k++) {
33874 for (var _f = 0, propertyTable_1 = propertyTable; _f < propertyTable_1.length; _f++) {
33913 if (!needsStandard && actual.length === 1) {
33917 for (var i = 0, len = LintVisitor.prefixes.length; i < len; i++) {
33925 for (var _g = 0, _h = entry.nodes; _g < _h.length; _g++) {
33962 …ue.unit || _languageFacts_facts_js__WEBPACK_IMPORTED_MODULE_0__["units"].length.indexOf(value.unit…
33980 for (var _i = 0, _a = declarations.getChildren(); _i < _a.length; _i++) {
34019 var length = node.length;
34020 if (length !== 9 && length !== 7 && length !== 5 && length !== 4) {
34217 switch (values.length) {
34242 for (var _i = 0, candidates_1 = candidates; _i < candidates_1.length; _i++) {
34289 if (children.length === 1) {
34295 for (var _i = 0, children_1 = children; _i < children_1.length; _i++) {
34312 for (var _i = 0, propertyTable_1 = propertyTable; _i < propertyTable_1.length; _i++) {
34368 if (segments.length === 1) {
34428 …if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; c…
34465 if (!(_i < _a.length)) return [3 /*break*/, 5];
34475 for (_b = 0, items_1 = items; _b < items_1.length; _b++) {
34487 if (!(_c < _d.length)) return [3 /*break*/, 10];
34509 for (_e = 0, suggestions_1 = suggestions; _e < suggestions_1.length; _e++) {
34546 for (_i = 0, infos_1 = infos; _i < infos_1.length; _i++) {
34584 var startPos = shiftPosition(fullValueRange.end, -valueAfterLastSlash.length);
34688 for (var _i = 0, _a = SCSSCompletion.scssModuleBuiltIns; _i < _a.length; _i++) {
34708 for (var _i = 0, proposals_1 = proposals; _i < proposals_1.length; _i++) {
34750 for (var _i = 0, symbols_1 = symbols; _i < symbols_1.length; _i++) {
35011 if (i.documentation && i.references && i.references.length > 0) {
35086 …if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; c…
35133 var basename = pathFragments[pathFragments.length - 1];
35134 var pathWithoutBasename = uri.path.slice(0, -basename.length);
35165 …ect(_utils_resources_js__WEBPACK_IMPORTED_MODULE_4__["extname"])(target).length === 0)) return [3 …
35175 if (!(j < pathVariations.length)) return [3 /*break*/, 6];
35249 for (var _i = 0, _a = this.attributes; _i < _a.length; _i++) {
35269 var last = this.attributes[this.attributes.length - 1];
35300 for (var _i = 0, _a = this.attributes; _i < _a.length; _i++) {
35314 for (var _i = 0, _a = this.attributes; _i < _a.length; _i++) {
35321 for (var index = 0; index < this.children.length; index++) {
35376 for (var _i = 0, elements_1 = elements; _i < elements_1.length; _i++) {
35406 for (var _i = 0, _a = element.attributes; _i < _a.length; _i++) {
35452 for (var _i = 0, _a = node.getChildren(); _i < _a.length; _i++) {
35458 if (segments.length === 1) {
35468 for (var i = 1; i < segments.length; i++) {
35581 for (var _i = 0, _a = node.getChildren(); _i < _a.length; _i++) {
35612 if (element.getChildren().length > 0) {
35642 for (var _i = 0, _a = selector.getChildren(); _i < _a.length; _i++) {
35701 for (var i = parentRuleSets.length - 1; i >= 0; i--) {
35737 var low = 0, high = array.length;
35757 for (var _i = 0; _i < arguments.length; _i++) {
35761 for (var _a = 0, arrays_1 = arrays; _a < arrays_1.length; _a++) {
35763 for (var _b = 0, array_1 = array; _b < array_1.length; _b++) {
35838 for (var i = uri.length - 1; i >= 0; i--) {
35864 for (var _i = 0, parts_1 = parts; _i < parts_1.length; _i++) {
35866 if (part.length === 0 || part.length === 1 && part.charCodeAt(0) === Dot) {
35869 else if (part.length === 2 && part.charCodeAt(0) === Dot && part.charCodeAt(1) === Dot) {
35876 if (parts.length > 1 && parts[parts.length - 1].length === 0) {
35880 if (parts[0].length === 0) {
35887 for (var _i = 1; _i < arguments.length; _i++) {
35892 for (var _a = 0, paths_1 = paths; _a < paths_1.length; _a++) {
35922 if (haystack.length < needle.length) {
35925 for (var i = 0; i < needle.length; i++) {
35936 var diff = haystack.length - needle.length;
35959 var lengthDifference = Math.abs(first.length - second.length);
35968 for (i = 0; i < second.length + 1; ++i) {
35971 for (i = 0; i < first.length + 1; ++i) {
35974 for (i = 1; i < first.length + 1; ++i) {
35975 for (j = 1; j < second.length + 1; ++j) {
35984 return LCS[first.length][second.length] - Math.sqrt(lengthDifference);
35994 if (str.length < 140) {
36004 if (m && m[0].length) {
36005 return str.substr(0, str.length - m[0].length);
36066 for (var _i = 0, changes_1 = changes; _i < changes_1.length; _i++) {
36074 …substring(0, startOffset) + change.text + this._content.substring(endOffset, this._content.length);
36080 if (endLine - startLine === addedLineOffsets.length) {
36081 for (var i = 0, len = addedLineOffsets.length; i < len; i++) {
36086 if (addedLineOffsets.length < 10000) {
36093 var diff = change.text.length - (endOffset - startOffset);
36095 … for (var i = startLine + 1 + addedLineOffsets.length, len = lineOffsets.length; i < len; i++) {
36117 offset = Math.max(Math.min(offset, this._content.length), 0);
36119 var low = 0, high = lineOffsets.length;
36139 if (position.line >= lineOffsets.length) {
36140 return this._content.length;
36146 …ineOffset = (position.line + 1 < lineOffsets.length) ? lineOffsets[position.line + 1] : this._cont…
36151 return this.getLineOffsets().length;
36212 for (var _i = 0, sortedEdits_1 = sortedEdits; _i < sortedEdits_1.length; _i++) {
36221 if (e.newText.length) {
36232 if (data.length <= 1) {
36236 var p = (data.length / 2) | 0;
36244 while (leftIdx < left.length && rightIdx < right.length) {
36255 while (leftIdx < left.length) {
36258 while (rightIdx < right.length) {
36266 for (var i = 0; i < text.length; i++) {
36269 …if (ch === 13 /* CarriageReturn */ && i + 1 < text.length && text.charCodeAt(i + 1) === 10 /* Line…
36761 for (var pos = 0; pos < uriComponent.length; pos++) {
36811 for (var pos = 0; pos < path.length; pos++) {
36832 if (uri.authority && uri.path.length > 1 && uri.scheme === 'file') {
36904 …if (path.length >= 3 && path.charCodeAt(0) === 47 /* Slash */ && path.charCodeAt(2) === 58 /* Colo…
36910 else if (path.length >= 2 && path.charCodeAt(1) === 58 /* Colon */) {
36935 if (str.length > 3) {
36982 for (var _i = 0; _i < arguments.length; _i++) {
37032 while (disposables.length) {
37057 if (args.length === 0) {
37070 for (var _i = 2; _i < arguments.length; _i++) {
37506 for (var _i = 0, _a = edit.changes[uri]; _i < _a.length; _i++) {
37785 for (var _i = 0; _i < arguments.length; _i++) {