Home
last modified time | relevance | path

Searched refs:lineText (Results 1 – 25 of 43) sorted by relevance

12

/third_party/typescript/src/testRunner/unittests/tsserver/
DgetExportReferences.ts36 lineText: mainTs.content,
42 texts: { text: string; lineText: string; contextText?: string },
63 … referenceModTs({ text: "value", lineText: exportVariable, contextText: exportVariable }),
86 lineText: exportArrayDestructured,
110 lineText: exportObjectDestructured,
115 … { text: "valueC", lineText: exportObjectDestructured, contextText: "valueC: 0" },
139 lineText: exportObjectDestructured,
164 lineText: exportNestedObject,
171 lineText: exportNestedObject,
DgetFileReferences.ts47 …makeReferenceItem({ file: bTs, text: "./a", lineText: importA, contextText: importA, isDefinition:…
48 …makeReferenceItem({ file: cTs, text: "./a", lineText: importCurlyFromA, contextText: importCurlyFr…
49 …makeReferenceItem({ file: dTs, text: "/project/a", lineText: importAFromA, contextText: importAFro…
50 …makeReferenceItem({ file: dTs, text: "./a", lineText: typeofImportA, contextText: typeofImportA, i…
DprojectReferences.ts1319 lineText: `export function evaluateKeyboardEvent() { }`
1326 lineText: importStr
1333 lineText: ` return evaluateKeyboardEvent();`
1340 lineText: importStr
1347 lineText: ` return evaluateKeyboardEvent();`
1663 lineText: ` getSourceFiles: () => [getSourceFile()]`,
1671lineText: ` function getSourceFile() { return "something"; }`,
1695 lineText: ` getSourceFiles(): string[];`,
1702 lineText: ` getSourceFiles: () => [getSourceFile()]`,
1708 lineText: ` const result = program.getSourceFiles();`,
[all …]
DdeclarationFileMaps.ts390 lineText: "export function fnA() {}"
397 lineText: "export function fnUser() { a.fnA(); b.fnB(); a.instanceA; }"
544 lineText: "export declare function fnB(): void;"
550 lineText: "export function fnUser() { a.fnA(); b.fnB(); a.instanceA; }"
/third_party/skia/experimental/sktext/tests/
DWrappedText.cpp43 TextRange lineText; member
62 void onBeginLine(size_t index, TextRange lineText, bool hardBreak, SkRect bounds) override { in onBeginLine() argument
64 …fTestLines.push_back({ index, lineText, hardBreak, bounds, EMPTY_RANGE, Range<RunIndex>(fTestRuns.… in onBeginLine()
66 …void onEndLine(size_t index, TextRange lineText, GlyphRange trailingSpaces, size_t glyphCount) ove… in onEndLine() argument
120 REPORTER_ASSERT(reporter, testVisitor.fTestLines[0].lineText.width() == break1); in UNIX_ONLY_TEST()
121 REPORTER_ASSERT(reporter, testVisitor.fTestLines[1].lineText.width() == break2 - break1 - 1); in UNIX_ONLY_TEST()
130 REPORTER_ASSERT(reporter, line.lineText == run.dirTextRange); in UNIX_ONLY_TEST()
DSelectableText.cpp43 TextRange lineText; member
63 void onBeginLine(size_t index, TextRange lineText, bool hardBreak, SkRect bounds) override { in onBeginLine() argument
65 …fTestLines.push_back({ index, lineText, hardBreak, bounds, EMPTY_RANGE, Range<RunIndex>(fTestRuns.… in onBeginLine()
67 …void onEndLine(size_t index, TextRange lineText, GlyphRange trailingSpaces, size_t glyphCount) ove… in onEndLine() argument
135 REPORTER_ASSERT(reporter, boxLine.fTextRange == testLine.lineText); in UNIX_ONLY_TEST()
/third_party/skia/src/gpu/
DGrShaderUtils.h21 const std::function<void(int lineNumber, const char* lineText)>&);
25 VisitLineByLine(text, [](int lineNumber, const char* lineText) { in PrintLineByLine()
26 SkDebugf("%4i\t%s\n", lineNumber, lineText); in PrintLineByLine()
DGrShaderUtils.cpp193 const std::function<void(int lineNumber, const char* lineText)>& visitFn) { in VisitLineByLine()
204 VisitLineByLine(shader, [&](int lineNumber, const char* lineText) { in BuildShaderErrorMessage() argument
205 abortText.appendf("%4i\t%s\n", lineNumber, lineText); in BuildShaderErrorMessage()
216 VisitLineByLine(message, [](int, const char* lineText) { in DefaultShaderErrorHandler() argument
217 SkDebugf("%s\n", lineText); in DefaultShaderErrorHandler()
/third_party/typescript/src/server/
DscriptVersionCache.ts14 lineText: string | undefined; property
325 const { lineText, absolutePosition } = index.lineNumberToInfo(line + 1); constant
326 …const len = lineText !== undefined ? lineText.length : index.absolutePositionOfStartOfLine(line + …
403 …private positionToColumnAndLineText(position: number): { zeroBasedColumn: number, lineText: string…
415 return { absolutePosition: position, lineText: leaf && leaf.text };
418 return { absolutePosition: this.root.charCount(), lineText: undefined };
507 const { zeroBasedColumn, lineText } = this.positionToColumnAndLineText(e); constant
510 deleteLength += lineText!.length; // TODO: GH#18217
512 newText = newText ? newText + lineText : lineText;
664 …tivePosition: number): { oneBasedLine: number, zeroBasedColumn: number, lineText: string | undefin…
[all …]
/third_party/typescript/src/harness/
Dutil.ts56 const lineText = lines[i]; constant
57 const line = indentation ? lineText.slice(indentation) : lineText; constant
/third_party/typescript/tests/baselines/reference/
DlistFailure.types13 addLine(lineText: string): List<Line> {
14 >addLine : (lineText: string) => List<Line>
15 >lineText : string
DlistFailure.js7 addLine(lineText: string): List<Line> {
51 Buffer.prototype.addLine = function (lineText) { argument
DlistFailure.symbols15 addLine(lineText: string): List<Line> {
17 >lineText : Symbol(lineText, Decl(listFailure.ts, 5, 16))
Dparserindenter.js676 var lineText = line.getText(); variable
679 …while (index < lineText.length && (lineText.charAt(index) == ' ' || lineText.charAt(index) == '\t'…
683 return lineText.substr(0, index);
1295 var lineText = line.getText();
1297 …while (index < lineText.length && (lineText.charAt(index) == ' ' || lineText.charAt(index) == '\t'…
1300 return lineText.substr(0, index);
Dparserindenter.types2766 var lineText = line.getText();
2767 >lineText : any
2777 …while (index < lineText.length && (lineText.charAt(index) == ' ' || lineText.charAt(index) == '\t'…
2778 >index < lineText.length && (lineText.charAt(index) == ' ' || lineText.charAt(index) == '\t') : boo…
2779 >index < lineText.length : boolean
2781 >lineText.length : any
2782 >lineText : any
2784 >(lineText.charAt(index) == ' ' || lineText.charAt(index) == '\t') : boolean
2785 >lineText.charAt(index) == ' ' || lineText.charAt(index) == '\t' : boolean
2786 >lineText.charAt(index) == ' ' : boolean
[all …]
Dparserindenter.symbols1656 var lineText = line.getText();
1657 >lineText : Symbol(lineText, Decl(parserindenter.ts, 674, 19))
1663 …while (index < lineText.length && (lineText.charAt(index) == ' ' || lineText.charAt(index) == '\t'…
1665 >lineText : Symbol(lineText, Decl(parserindenter.ts, 674, 19))
1666 >lineText : Symbol(lineText, Decl(parserindenter.ts, 674, 19))
1668 >lineText : Symbol(lineText, Decl(parserindenter.ts, 674, 19))
1675 return lineText.substr(0, index);
1676 >lineText : Symbol(lineText, Decl(parserindenter.ts, 674, 19))
/third_party/skia/experimental/sktext/include/
DText.h174 virtual void onBeginLine(size_t index, TextRange lineText, bool hardBreak, SkRect bounds) { } in onBeginLine() argument
175 …virtual void onEndLine(size_t index, TextRange lineText, GlyphRange trailingSpaces, size_t glyphCo… in onEndLine() argument
346 void onBeginLine(size_t index, TextRange lineText, bool hardBreak, SkRect bounds) override;
347 …void onEndLine(size_t index, TextRange lineText, GlyphRange trailingSpaces, size_t glyphCount) ove…
DInterface.h72 virtual void onBeginLine(size_t index, TextRange lineText, bool hardBreak, SkRect bounds) { } in onBeginLine() argument
73 …virtual void onEndLine(size_t index, TextRange lineText, GlyphRange trailingSpaces, size_t glyphCo… in onEndLine() argument
/third_party/typescript/tests/cases/conformance/parser/ecmascript5/RealWorld/
Dparserindenter.ts675 var lineText = line.getText(); variable
678 …while (index < lineText.length && (lineText.charAt(index) == ' ' || lineText.charAt(index) == '\t'…
682 return lineText.substr(0, index);
/third_party/typescript/src/services/
DoutliningElementsCollector.ts76 const lineText = sourceFile.text.substring(currentLineStart, lineEnd); constant
77 const result = isRegionDelimiter(lineText);
98 function isRegionDelimiter(lineText: string) {
99 return regionDelimiterRegExp.exec(lineText);
/third_party/typescript/tests/cases/compiler/
DlistFailure.ts6 addLine(lineText: string): List<Line> {
/third_party/skia/experimental/sktext/src/
DText.cpp653 void SelectableText::onBeginLine(size_t index, TextRange lineText, bool hardBreak, SkRect bounds) { in onBeginLine() argument
655 fBoxLines.emplace_back(index, lineText, hardBreak, bounds); in onBeginLine()
658 void SelectableText::onEndLine(size_t index, TextRange lineText, GlyphRange trailingSpaces, size_t … in onEndLine() argument
666 line.fTextByGlyph.emplace_back(lineText.fEnd); in onEndLine()
668 line.fTextByGlyph.emplace_back(lineText.fEnd); in onEndLine()
/third_party/node/lib/internal/debugger/
Dinspect_repl.js434 (lineText, offset) => {
439 markSourceColumn(lineText, columnNumber, options.colors) :
440 lineText;
/third_party/flutter/skia/modules/skparagraph/src/
DParagraphImpl.cpp593 auto lineText = line.textWithSpaces(); in getRectsForRange() local
594 auto intersect = lineText * text; in getRectsForRange()
595 if (intersect.empty() && lineText.start != text.start) { in getRectsForRange()
/third_party/skia/modules/skparagraph/src/
DParagraphImpl.cpp705 auto lineText = line.textWithNewlines(); in getRectsForRange() local
706 auto intersect = lineText * text; in getRectsForRange()
707 if (intersect.empty() && lineText.start != text.start) { in getRectsForRange()

12