Home
last modified time | relevance | path

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

12

/third_party/typescript/src/testRunner/unittests/tsserver/
DgetFileReferences.ts47 …makeReferenceItem({ file: bTs, text: "./a", lineText: importA, contextText: importA, isWriteAccess…
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…
70 …makeReferenceItem({ file: bTs, text: "./a", lineText: undefined, contextText: importA, isWriteAcce…
71 …makeReferenceItem({ file: cTs, text: "./a", lineText: undefined, contextText: importCurlyFromA, is…
72 …makeReferenceItem({ file: dTs, text: "/project/a", lineText: undefined, contextText: importAFromA,…
73 …makeReferenceItem({ file: dTs, text: "./a", lineText: undefined, contextText: typeofImportA, isWri…
DgetExportReferences.ts37 lineText: mainTs.content,
43 texts: { text: string; lineText: string; contextText?: string },
64 … referenceModTs({ text: "value", lineText: exportVariable, contextText: exportVariable }),
87 lineText: exportArrayDestructured,
111 lineText: exportObjectDestructured,
116 … { text: "valueC", lineText: exportObjectDestructured, contextText: "valueC: 0" },
143 lineText: exportObjectDestructured,
168 lineText: exportNestedObject,
175 lineText: exportNestedObject,
DdeclarationFileMaps.ts387 lineText: "export function fnA() {}"
394 lineText: "export function fnUser() { a.fnA(); b.fnB(); a.instanceA; }"
540 lineText: "export declare function fnB(): void;"
545 lineText: "export function fnUser() { a.fnA(); b.fnB(); a.instanceA; }"
DprojectReferences.ts183 lineText: `export function evaluateKeyboardEvent() { }`
191 lineText: importStr
198 lineText: ` return evaluateKeyboardEvent();`
206 lineText: importStr
213 lineText: ` return evaluateKeyboardEvent();`
Dhelpers.ts813 lineText?: string; property
816 …export function makeReferenceItem({ isDefinition, isWriteAccess, lineText, ...rest }: MakeReferenc…
821 lineText,
/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.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()
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()
/third_party/typescript/src/server/
DscriptVersionCache.ts14 lineText: string | undefined; property
323 const { lineText, absolutePosition } = index.lineNumberToInfo(line + 1); constant
324 …const len = lineText !== undefined ? lineText.length : index.absolutePositionOfStartOfLine(line + …
401 …private positionToColumnAndLineText(position: number): { zeroBasedColumn: number, lineText: string…
413 return { absolutePosition: position, lineText: leaf && leaf.text };
416 return { absolutePosition: this.root.charCount(), lineText: undefined };
505 const { zeroBasedColumn, lineText } = this.positionToColumnAndLineText(e); constant
508 deleteLength += lineText!.length; // TODO: GH#18217
510 newText = newText ? newText + lineText : lineText;
662 …tivePosition: number): { oneBasedLine: number, zeroBasedColumn: number, lineText: string | undefin…
[all …]
/third_party/typescript/src/services/
DoutliningElementsCollector.ts84 const lineText = sourceFile.text.substring(currentLineStart, lineEnd); constant
85 const result = isRegionDelimiter(lineText);
106 function isRegionDelimiter(lineText: string) {
109 lineText = trimStringStart(lineText);
110 if (!startsWith(lineText, "\/\/")) {
113 lineText = trimString(lineText.slice(2));
114 return regionDelimiterRegExp.exec(lineText);
/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.symbols1710 var lineText = line.getText();
1711 >lineText : Symbol(lineText, Decl(parserindenter.ts, 674, 19))
1717 …while (index < lineText.length && (lineText.charAt(index) == ' ' || lineText.charAt(index) == '\t'…
1719 >lineText : Symbol(lineText, Decl(parserindenter.ts, 674, 19))
1720 >lineText : Symbol(lineText, Decl(parserindenter.ts, 674, 19))
1722 >lineText : Symbol(lineText, Decl(parserindenter.ts, 674, 19))
1729 return lineText.substr(0, index);
1730 >lineText : Symbol(lineText, Decl(parserindenter.ts, 674, 19))
/third_party/typescript/src/harness/
Dutil.ts56 const lineText = lines[i]; constant
57 const line = indentation ? lineText.slice(indentation) : lineText; constant
/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/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.js483 (lineText, offset) => {
488 markSourceColumn(lineText, columnNumber, options.colors) :
489 lineText;
/third_party/skia/modules/skparagraph/src/
DParagraphImpl.cpp1000 auto lineText = line.textWithNewlines(); in getRectsForRange() local
1001 auto intersect = lineText * text; in getRectsForRange()
1002 if (intersect.empty() && lineText.start != text.start) { in getRectsForRange()

12