Home
last modified time | relevance | path

Searched refs:startPosition (Results 1 – 25 of 41) 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.symbols119 "t1=[" + token.Span.startPosition() + "," + token.Span.endPosition()+ "], " +
123 …"t2=[" + (nextToken == null ? "null" : (nextToken.Span.startPosition() + "," + nextToken.Span.endP…
303 … var edit = this.GetIndentEdit(indentationInfo, token.Span.startPosition(), sameLineIndent);
381 … var commentFirstLineIndentationDelta = this.GetIndentationDelta(token.Span.startPosition(), null);
399 … var lineStartPosition = this.snapshot.GetLineFromLineNumber(line).startPosition();
677 var semiColonStartSpan = new Span(token.Span.startPosition(), 0);
709 var twoCharSpan = token.Span.Intersection(new Span(token.Span.startPosition(), 2));
793 … if (token.Span.startPosition() < argumentNode.AuthorNode.Details.StartOffset)
904 …r currentIndentSpan = new Span(snapshotLine.startPosition(), tokenStartPosition - snapshotLine.sta…
1125 …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.ts29 const { file, startPosition, triggerReason } = context; constant
30 …const info = getConvertibleArrowFunctionAtPosition(file, startPosition, triggerReason === "invoked…
58 const { file, startPosition } = context; constant
59 const info = getConvertibleArrowFunctionAtPosition(file, startPosition);
91 …function getConvertibleArrowFunctionAtPosition(file: SourceFile, startPosition: number, considerFu…
92 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);
186 …function getConvertableOverloadListAtPosition(file: SourceFile, startPosition: number, program: Pr…
187 const node = getTokenAtPosition(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…
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);
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);
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);
DextractType.ts93 const { file, startPosition } = context; constant
95 const current = getTokenAtPosition(file, startPosition);
DinferFunctionReturnType.ts61 const token = getTokenAtPosition(context.file, context.startPosition);
/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/flutter/skia/third_party/externals/angle2/samples/particle_system/
DParticleSystem.cpp103 mParticles[i].startPosition.x() = sinf(startAngle) * startRadius; in initialize()
104 mParticles[i].startPosition.y() = cosf(startAngle) * startRadius; in initialize()
105 mParticles[i].startPosition.z() = 0.0f; in initialize()
172 &mParticles[0].startPosition); in draw()
214 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/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/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/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/flutter/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/flutter/flutter/packages/flutter/lib/src/physics/
Dfriction_simulation.dart43 …factory FrictionSimulation.through(double startPosition, double endPosition, double startVelocity,…
46 assert((endPosition - startPosition).sign == startVelocity.sign);
48 _dragFor(startPosition, endPosition, startVelocity, endVelocity),
49 startPosition,
67 …static double _dragFor(double startPosition, double endPosition, double startVelocity, double endV…
68 return math.pow(math.e, (startVelocity - endVelocity) / (startPosition - endPosition));
/third_party/flutter/flutter/packages/flutter/test/physics/
Dnewton_test.dart34 double startPosition = 10.0;
36 FrictionSimulation f = FrictionSimulation(0.025, startPosition, startVelocity);
39 expect(endPosition, greaterThan(startPosition));
46 startPosition, endPosition, startVelocity, endVelocity);
58 startPosition = 1000.0;
63 expect(endPosition, lessThan(startPosition));
67 startPosition, endPosition, startVelocity, endVelocity);
/third_party/typescript/src/services/
DtextChanges.ts309 const startPosition = getAdjustedStartPosition(sourceFile, startNode, options); constant
311 this.deleteRange(sourceFile, { pos: startPosition, end: endPosition });
315 const startPosition = getAdjustedStartPosition(sourceFile, startNode, options); constant
317 this.deleteRange(sourceFile, { pos: startPosition, end: endPosition });
412 … const startPosition = getFirstNonSpaceCharacterPosition(sourceFile.text, lineStartPosition); constant
417 const insertAtLineStart = isValidLocationToAddComment(sourceFile, startPosition);
418 … const token = getTouchingToken(sourceFile, insertAtLineStart ? startPosition : position);
419 const indent = sourceFile.text.slice(lineStartPosition, startPosition);
434 … const startPosition = getPrecedingNonSpaceCharacterPosition(sourceFile.text, fnStart - 1); constant
435 const indent = sourceFile.text.slice(startPosition, fnStart);
[all …]
/third_party/typescript/src/testRunner/unittests/services/extract/
Dhelpers.ts102 startPosition: selectionRange.pos, constant
165 startPosition: selectionRange.pos, constant
/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()

12