Home
last modified time | relevance | path

Searched refs:startPosition (Results 1 – 25 of 40) sorted by relevance

12

/third_party/typescript/tests/baselines/reference/
Dparserindenter.js51 "t1=[" + token.Span.startPosition() + "," + token.Span.endPosition()+ "], " +
52 …"t2=[" + (nextToken == null ? "null" : (nextToken.Span.startPosition() + "," + nextToken.Span.endP…
134 … var edit = this.GetIndentEdit(indentationInfo, token.Span.startPosition(), sameLineIndent);
163 … var commentFirstLineIndentationDelta = this.GetIndentationDelta(token.Span.startPosition(), null);
166 … var lineStartPosition = this.snapshot.GetLineFromLineNumber(line).startPosition();
279 var semiColonStartSpan = new Span(token.Span.startPosition(), 0);
293 var twoCharSpan = token.Span.Intersection(new Span(token.Span.startPosition(), 2));
334 … if (token.Span.startPosition() < argumentNode.AuthorNode.Details.StartOffset)
405 …r currentIndentSpan = new Span(snapshotLine.startPosition(), tokenStartPosition - snapshotLine.sta…
486 …s.GetIndentationDelta(indentableParent.AuthorNode.Details.StartOffset, token.Span.startPosition());
[all …]
Dparserindenter.types137 …pan.startPosition() + "," + token.Span.endPosition()+ "], " + "t2=[" + (nextTok…
143 …pan.startPosition() + "," + token.Span.endPosition()+ "], " + "t2=[" + (nextTok…
144 …pan.startPosition() + "," + token.Span.endPosition()+ "], " + "t2=[" + (nextTok…
145 …pan.startPosition() + "," + token.Span.endPosition()+ "], " + "t2=[" + (nextTok…
146 >"GetIndentationEdits(" + "t1=[" + token.Span.startPosition() + "," + token.Span…
147 >"GetIndentationEdits(" + "t1=[" + token.Span.startPosition() + "," + token.Span…
148 >"GetIndentationEdits(" + "t1=[" + token.Span.startPosition() + "," + token.Span…
149 >"GetIndentationEdits(" + "t1=[" + token.Span.startPosition() + "," : string
150 >"GetIndentationEdits(" + "t1=[" + token.Span.startPosition() : string
154 "t1=[" + token.Span.startPosition() + "," + token.Span.endPosition()+ "], " +
[all …]
Dparserindenter.errors.txt211 … "t1=[" + token.Span.startPosition() + "," + token.Span.endPosition()+ "], " +
212 …"t2=[" + (nextToken == null ? "null" : (nextToken.Span.startPosition() + "," + nextToken.Span.endP…
312 … var edit = this.GetIndentEdit(indentationInfo, token.Span.startPosition(), sameLineIndent);
351 … var commentFirstLineIndentationDelta = this.GetIndentationDelta(token.Span.startPosition(), null);
354 … var lineStartPosition = this.snapshot.GetLineFromLineNumber(line).startPosition();
525 var semiColonStartSpan = new Span(token.Span.startPosition(), 0);
551 var twoCharSpan = token.Span.Intersection(new Span(token.Span.startPosition(), 2));
628 … if (token.Span.startPosition() < argumentNode.AuthorNode.Details.StartOffset)
707 …r currentIndentSpan = new Span(snapshotLine.startPosition(), tokenStartPosition - snapshotLine.sta…
814 …s.GetIndentationDelta(indentableParent.AuthorNode.Details.StartOffset, token.Span.startPosition());
[all …]
Dparserindenter.symbols132 "t1=[" + token.Span.startPosition() + "," + token.Span.endPosition()+ "], " +
136 …"t2=[" + (nextToken == null ? "null" : (nextToken.Span.startPosition() + "," + nextToken.Span.endP…
321 … var edit = this.GetIndentEdit(indentationInfo, token.Span.startPosition(), sameLineIndent);
401 … var commentFirstLineIndentationDelta = this.GetIndentationDelta(token.Span.startPosition(), null);
419 … var lineStartPosition = this.snapshot.GetLineFromLineNumber(line).startPosition();
712 var semiColonStartSpan = new Span(token.Span.startPosition(), 0);
748 var twoCharSpan = token.Span.Intersection(new Span(token.Span.startPosition(), 2));
834 … if (token.Span.startPosition() < argumentNode.AuthorNode.Details.StartOffset)
948 …r currentIndentSpan = new Span(snapshotLine.startPosition(), tokenStartPosition - snapshotLine.sta…
1173 …s.GetIndentationDelta(indentableParent.AuthorNode.Details.StartOffset, token.Span.startPosition());
[all …]
/third_party/typescript/tests/cases/conformance/parser/ecmascript5/RealWorld/
Dparserindenter.ts50 "t1=[" + token.Span.startPosition() + "," + token.Span.endPosition()+ "], " +
51 …"t2=[" + (nextToken == null ? "null" : (nextToken.Span.startPosition() + "," + nextToken.Span.endP…
133 … var edit = this.GetIndentEdit(indentationInfo, token.Span.startPosition(), sameLineIndent);
162 … var commentFirstLineIndentationDelta = this.GetIndentationDelta(token.Span.startPosition(), null);
165 … var lineStartPosition = this.snapshot.GetLineFromLineNumber(line).startPosition();
278 var semiColonStartSpan = new Span(token.Span.startPosition(), 0);
292 var twoCharSpan = token.Span.Intersection(new Span(token.Span.startPosition(), 2));
333 … if (token.Span.startPosition() < argumentNode.AuthorNode.Details.StartOffset)
404 …r currentIndentSpan = new Span(snapshotLine.startPosition(), tokenStartPosition - snapshotLine.sta…
485 …s.GetIndentationDelta(indentableParent.AuthorNode.Details.StartOffset, token.Span.startPosition());
[all …]
/third_party/typescript/src/services/refactors/
DaddOrRemoveBracesToArrowFunction.ts30 const { file, startPosition, triggerReason } = context; constant
31 …const info = getConvertibleArrowFunctionAtPosition(file, startPosition, triggerReason === "invoked…
59 const { file, startPosition } = context; constant
60 const info = getConvertibleArrowFunctionAtPosition(file, startPosition);
90 …function getConvertibleArrowFunctionAtPosition(file: SourceFile, startPosition: number, considerFu…
91 const node = getTokenAtPosition(file, startPosition);
DconvertOverloadListToSingleSignature.ts18 const { file, startPosition, program } = context; constant
19 const info = getConvertableOverloadListAtPosition(file, startPosition, program);
30 const { file, startPosition, program } = context; constant
31 const signatureDecls = getConvertableOverloadListAtPosition(file, startPosition, program);
182 …function getConvertableOverloadListAtPosition(file: SourceFile, startPosition: number, program: Pr…
183 const node = getTokenAtPosition(file, startPosition);
188 …tainingDecl) && containingDecl.body && rangeContainsPosition(containingDecl.body, startPosition)) {
DconvertArrowFunctionOrFunctionExpression.ts44 const { file, startPosition, program, kind } = context; constant
45 const info = getFunctionInfo(file, startPosition, program);
92 const { file, startPosition, program } = context; constant
93 const info = getFunctionInfo(file, startPosition, program);
140 …function getFunctionInfo(file: SourceFile, startPosition: number, program: Program): FunctionInfo …
141 const token = getTokenAtPosition(file, startPosition);
DconvertStringOrTemplateLiteral.ts18 const { file, startPosition } = context; constant
19 const node = getNodeOrParentOfParentheses(file, startPosition);
36 function getNodeOrParentOfParentheses(file: SourceFile, startPosition: number) {
37 const node = getTokenAtPosition(file, startPosition);
52 const { file, startPosition } = context; constant
53 const node = getNodeOrParentOfParentheses(file, startPosition);
DgenerateGetAccessorAndSetAccessor.ts15 …rConvertiblePropertyAtPosition(context.file, context.program, context.startPosition, context.endPo…
17 …x.generateAccessorFromProperty(context.file, context.program, context.startPosition, context.endPo…
29 …rConvertiblePropertyAtPosition(context.file, context.program, context.startPosition, context.endPo…
DconvertParamsToDestructuredObject.ts19 const { file, startPosition } = context; constant
22 …const functionDeclaration = getFunctionDeclarationAtPosition(file, startPosition, context.program.…
34 const { file, startPosition, program, cancellationToken, host } = context; constant
35 …const functionDeclaration = getFunctionDeclarationAtPosition(file, startPosition, program.getTypeC…
324 …function getFunctionDeclarationAtPosition(file: SourceFile, startPosition: number, checker: TypeCh…
325 const node = getTouchingToken(file, startPosition);
/third_party/node/deps/v8/tools/
Dparse-processor.mjs871 eventName, scriptId, startPosition, endPosition, duration, timestamp, argument
878 scriptId, startPosition, endPosition, duration, timestamp,
891 scriptId, startPosition, endPosition, duration, timestamp, functionName) { argument
893 return this.lookupFunktionByRange(startPosition, endPosition);
896 let funktion = script.getFunktionAtStartPosition(startPosition);
898 funktion = new Funktion(functionName, startPosition, endPosition, script);
969 scriptId, startPosition, endPosition, duration, timestamp, functionName) { argument
970 if (startPosition != 0 && startPosition != -1) {
978 scriptId, startPosition, endPosition, duration, timestamp, functionName) { argument
979 if (startPosition == 0) {
[all …]
/third_party/skia/third_party/externals/angle2/samples/particle_system/
DParticleSystem.cpp104 mParticles[i].startPosition.x() = sinf(startAngle) * startRadius; in initialize()
105 mParticles[i].startPosition.y() = cosf(startAngle) * startRadius; in initialize()
106 mParticles[i].startPosition.z() = 0.0f; in initialize()
173 &mParticles[0].startPosition); in draw()
215 Vector3 startPosition; member
/third_party/typescript/src/services/codefixes/
DfixPropertyOverrideAccessor.ts29 let startPosition: number;
32 startPosition = start;
48 startPosition = baseProp.valueDeclaration.pos;
55 …return generateAccessorFromProperty(file, context.program, startPosition, endPosition, context, Di…
/third_party/node/deps/npm/node_modules/hosted-git-info/lib/
Dparse-url.js4 const startPosition = str.indexOf(beforeChar) constant
5 return str.lastIndexOf(char, startPosition > -1 ? startPosition : Infinity)
/third_party/skia/third_party/externals/icu/source/common/
Drbbi_cache.h106 void following(int32_t startPosition, UErrorCode &status);
108 void preceding(int32_t startPosition, UErrorCode &status);
176 UBool seek(int32_t startPosition);
/third_party/node/deps/icu-small/source/common/
Drbbi_cache.h106 void following(int32_t startPosition, UErrorCode &status);
108 void preceding(int32_t startPosition, UErrorCode &status);
176 UBool seek(int32_t startPosition);
/third_party/icu/icu4c/source/common/
Drbbi_cache.h106 void following(int32_t startPosition, UErrorCode &status);
108 void preceding(int32_t startPosition, UErrorCode &status);
176 UBool seek(int32_t startPosition);
/third_party/libxml2/
Dbackport-malloc-fail-Fix-buffer-overread-with-HTML-doctype-de.patch26 ret = xmlStrndup((BASE_PTR+startPosition), len);
37 ret = xmlStrndup((BASE_PTR + startPosition), len);
Dbackport-malloc-fail-Add-more-error-checks-when-parsing-names.patch36 startPosition = CUR_PTR - BASE_PTR;
/third_party/typescript/src/services/
DtextChanges.ts360 const startPosition = getAdjustedStartPosition(sourceFile, startNode, options); constant
362 this.deleteRange(sourceFile, { pos: startPosition, end: endPosition });
366 const startPosition = getAdjustedStartPosition(sourceFile, startNode, options); constant
368 this.deleteRange(sourceFile, { pos: startPosition, end: endPosition });
467 … const startPosition = getFirstNonSpaceCharacterPosition(sourceFile.text, lineStartPosition); constant
472 const insertAtLineStart = isValidLocationToAddComment(sourceFile, startPosition);
473 … const token = getTouchingToken(sourceFile, insertAtLineStart ? startPosition : position);
474 const indent = sourceFile.text.slice(lineStartPosition, startPosition);
489 … const startPosition = getPrecedingNonSpaceCharacterPosition(sourceFile.text, fnStart - 1); constant
490 const indent = sourceFile.text.slice(startPosition, fnStart);
[all …]
/third_party/typescript/src/testRunner/unittests/services/extract/
Dhelpers.ts104 startPosition: selectionRange.pos, constant
167 startPosition: selectionRange.pos, constant
/third_party/node/deps/npm/node_modules/postcss-selector-parser/dist/
Dparser.js384 var startPosition = this.position;
412 var firstToken = this.tokens[startPosition];
978 _proto.locateNextMeaningfulToken = function locateNextMeaningfulToken(startPosition) { argument
979 if (startPosition === void 0) {
980 startPosition = this.position + 1;
982 var searchPosition = startPosition;
/third_party/skia/third_party/externals/dng_sdk/source/
Ddng_gain_map.cpp514 uint64 startPosition = stream.Position (); in dng_opcode_GainMap() local
520 if (stream.Position () != startPosition + byteCount) in dng_opcode_GainMap()
/third_party/node/deps/v8/tools/system-analyzer/view/timeline/
Dtimeline-track-base.mjs460 const startPosition = this.timeToPosition(this._timeSelection.start);
462 this._leftHandleNode.style.left = startPosition + 'px';
464 const delta = endPosition - startPosition;
465 this._selectionForegroundNode.style.left = startPosition + 'px';
467 this._selectionBackgroundNode.style.left = startPosition + 'px';

12