Home
last modified time | relevance | path

Searched refs:newLine (Results 1 – 25 of 88) sorted by relevance

1234

/third_party/icu/icu4j/tools/build/src/com/ibm/icu/dev/tool/docs/
DCheckAPI.java247 w.newLine(); in write()
534 w.newLine(); in write()
636 bw.newLine(); in run()
673 bw.newLine(); in run()
675 bw.newLine(); in run()
677 bw.newLine(); in run()
679 bw.newLine(); in run()
683 bw.newLine(); in run()
685 bw.newLine(); in run()
690 bw.newLine(); in run()
[all …]
/third_party/typescript/src/testRunner/unittests/services/
DhostNewLineSupport.ts32 …assert(result.outputFiles[0].text.match(options.newLine === NewLineKind.CarriageReturnLineFeed ? /…
33 …assert(!result.outputFiles[0].text.match(options.newLine === NewLineKind.CarriageReturnLineFeed ? …
37 verifyNewLines(content, { newLine: NewLineKind.CarriageReturnLineFeed });
38 verifyNewLines(content, { newLine: NewLineKind.LineFeed });
49 …assert(textAfterSpanCollapse.match(options.newLine === NewLineKind.CarriageReturnLineFeed ? /\r\n/…
50 …assert(!textAfterSpanCollapse.match(options.newLine === NewLineKind.CarriageReturnLineFeed ? /[^\r…
63 { newLine: NewLineKind.CarriageReturnLineFeed });
68 { newLine: NewLineKind.LineFeed });
Dtranspile.ts23 if (transpileOptions.compilerOptions.newLine === undefined) {
25 transpileOptions.compilerOptions.newLine = NewLineKind.CarriageReturnLineFeed;
114 … options: { compilerOptions: { module: ModuleKind.CommonJS, newLine: NewLineKind.LineFeed } }
118 …options: { compilerOptions: { module: ModuleKind.System, newLine: NewLineKind.LineFeed }, moduleNa…
129 …options: { compilerOptions: { module: ModuleKind.System, newLine: NewLineKind.LineFeed }, renamedD…
136 …options: { compilerOptions: { module: ModuleKind.AMD, newLine: NewLineKind.LineFeed }, renamedDepe…
143 …options: { compilerOptions: { module: ModuleKind.UMD, newLine: NewLineKind.LineFeed }, renamedDepe…
163 newLine: NewLineKind.LineFeed,
177 options: { compilerOptions: { jsx: JsxEmit.React, newLine: NewLineKind.LineFeed } }
181 …options: { compilerOptions: { newLine: NewLineKind.LineFeed, module: ModuleKind.CommonJS }, fileNa…
[all …]
/third_party/typescript/src/testRunner/unittests/
Dtransform.ts65 const printer = createPrinter({ newLine: NewLineKind.CarriageReturnLineFeed }, {
128 newLine: NewLineKind.CarriageReturnLineFeed
140 newLine: NewLineKind.CarriageReturnLineFeed
151 newLine: NewLineKind.CarriageReturnLineFeed,
163 newLine: NewLineKind.CarriageReturnLineFeed,
178 newLine: NewLineKind.CarriageReturnLineFeed,
192 newLine: NewLineKind.CarriageReturnLineFeed,
204 newLine: NewLineKind.CarriageReturnLineFeed,
245 newLine: NewLineKind.CarriageReturnLineFeed,
278 newLine: NewLineKind.CarriageReturnLineFeed,
[all …]
DprogramApi.ts40 { newLine: NewLineKind.LineFeed });
117 getNewLine: () => sys.newLine,
145 …am = createProgram(["/a.ts"], emptyOptions, new fakes.CompilerHost(fs, { newLine: NewLineKind.Line…
153 …am = createProgram(["/a.ts"], emptyOptions, new fakes.CompilerHost(fs, { newLine: NewLineKind.Line…
172 …(["/main.ts"], { resolveJsonModule: true }, new fakes.CompilerHost(fs, { newLine: NewLineKind.Line…
189 …const program = createProgram(["/main.ts"], {}, new fakes.CompilerHost(fs, { newLine: NewLineKind.…
201 …const program = createProgram(["/main.ts"], {}, new fakes.CompilerHost(fs, { newLine: NewLineKind.…
218 }, new fakes.CompilerHost(fs, { newLine: NewLineKind.LineFeed }));
DreuseProgramStructure.ts9 const newLine = "\r\n"; constant
43 return new SourceText(references + newLine, importsAndExports + newLine, program || "");
52 …return new SourceText(newReferences + newLine, this.importsAndExports, this.program, this.changedP…
56 …return new SourceText(this.references, newImportsAndExports + newLine, this.program, this.changedP…
133 getNewLine: () => sys ? sys.newLine : newLine,
617 …`/// <reference path="a1.ts"/>${newLine}/// <reference types="typerefs1"/>${newLine}/// <reference…
618 `import { B } from './b1';${newLine}export let BB = B;`,
624 `/// <reference path="a2.ts"/>${newLine}/// <reference types="typerefs2"/>`,
625 `import { B } from './b2';${newLine}import { BB } from './f1';`,
666 …ext = f[indexOfF1].text.updateReferences(`/// <reference path="a1.ts"/>${newLine}/// <reference ty…
Dprinter.ts7 … printCallback(createPrinter({ newLine: NewLineKind.CarriageReturnLineFeed, ...options })));
105 const printer = createPrinter({ newLine: NewLineKind.CarriageReturnLineFeed });
117 const printer = createPrinter({ newLine: NewLineKind.CarriageReturnLineFeed });
/third_party/typescript/src/compiler/
Dwatch.ts5 getNewLine: () => sys.newLine,
15 getNewLine: () => system.newLine,
51 function getPlainDiagnosticFollowingNewLines(diagnostic: Diagnostic, newLine: string): string {
53 ? newLine + newLine
54 : newLine;
71 (diagnostic, newLine, options) => {
74 …t += `${flattenDiagnosticMessageText(diagnostic.messageText, system.newLine)}${newLine + newLine}`;
77 (diagnostic, newLine, options) => {
81 output += newLine;
85 …MessageText(diagnostic.messageText, system.newLine)}${getPlainDiagnosticFollowingNewLines(diagnost…
[all …]
DwatchPublic.ts45 …export type WatchStatusReporter = (diagnostic: Diagnostic, newLine: string, options: CompilerOptio…
52 …onWatchStatusChange?(diagnostic: Diagnostic, newLine: string, options: CompilerOptions, errorCount…
274 let newLine = updateNewLine();
277 newLine = updateNewLine();
281 newLine = getNewLineCharacter(optionsToExtendForConfigFile, () => host.getNewLine());
284 newLine = updateNewLine();
302 compilerHost.getNewLine = () => newLine;
389 newLine = updateNewLine();
567 …host.onWatchStatusChange(createCompilerDiagnostic(message), newLine, compilerOptions || optionsToE…
/third_party/skia/experimental/sktext/tests/
DShapedText.cpp54 auto newLine = utf16.find_first_of(u"\n"); in UNIX_ONLY_TEST() local
57 REPORTER_ASSERT(reporter, logicalRuns[1].getTextRange() == TextRange(newLine, newLine + 1)); in UNIX_ONLY_TEST()
73 auto newLine = utf16.find_first_of(u"\n"); in UNIX_ONLY_TEST() local
76 REPORTER_ASSERT(reporter, logicalRuns[1].getTextRange() == TextRange(newLine, newLine + 1)); in UNIX_ONLY_TEST()
/third_party/typescript/src/services/
DjsDoc.ts254 …export function getDocCommentTemplateAtPosition(newLine: string, sourceFile: SourceFile, position:…
281 …ameters ? parameterDocComments(parameters || [], isJavaScriptFile, indentationStr, newLine) : "") +
282 (hasReturn ? returnsDocComment(indentationStr, newLine) : "");
295 const preamble = openComment + newLine + indentationStr + " * ";
296 const endLine = tokenStart === position ? newLine + indentationStr : ""; constant
297 const result = preamble + newLine + tags + indentationStr + closeComment + endLine;
311 …rameterDeclaration[], isJavaScriptFile: boolean, indentationStr: string, newLine: string): string {
315 return `${indentationStr} * @param ${type}${paramName}${newLine}`;
319 function returnsDocComment(indentationStr: string, newLine: string) {
320 return `${indentationStr} * @returns${newLine}`;
/third_party/typescript/src/executeCommandLine/
DexecuteCommandLine.ts89 sys.write(getDiagnosticText(Diagnostics.Version_0, version) + sys.newLine);
105 output.push(sys.newLine + sys.newLine);
109 …tics.Examples_Colon_0, makePadding(marginLength - examplesLength) + "tsc hello.ts") + sys.newLine);
110 output.push(padding + "tsc --outFile file.js file.ts" + sys.newLine);
111 output.push(padding + "tsc @args.txt" + sys.newLine);
112 output.push(padding + "tsc --build tsconfig.json" + sys.newLine);
113 output.push(sys.newLine);
115 output.push(getDiagnosticText(Diagnostics.Options_Colon) + sys.newLine);
172 … output.push(usage + makePadding(marginLength - usage.length + 2) + description + sys.newLine);
179 output.push(sys.newLine);
[all …]
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/Retired/
DinsertTags.py59 newLine = '// refBegin ' + name + ' - ' + refDesc[name] + '\n'
68 file[line] = newLine
72 file.insert(line, newLine)
81 file[line] = newLine
/third_party/typescript/src/typingsInstaller/
DnodeTypingsInstaller.ts23 fs.appendFileSync(this.logFile, `[${nowString()}] ${text}${sys.newLine}`);
208 this.log.writeLine(` Succeeded. stdout:${indent(sys.newLine, stdout)}`);
214 …g.writeLine(` Failed. stdout:${indent(sys.newLine, stdout)}${sys.newLine} stderr:${indent(sy…
/third_party/typescript/src/harness/
DharnessIO.ts3 newLine(): string; method
133 newLine: () => harnessNewLine,
173 …export const tcServicesFile = IO.readFile(tcServicesFileName) + IO.newLine() + `//# sourceURL=${IO…
400 options.newLine = options.newLine || ts.NewLineKind.CarriageReturnLineFeed;
532 …nst host = { getCanonicalFileName, getCurrentDirectory: () => "", getNewLine: () => IO.newLine() };
544 … outputLines += ts.getErrorSummaryText(ts.getErrorCountForSummary(diagnostics), IO.newLine());
560 function newLine() {
570 getNewLine: () => IO.newLine(),
575 const message = ts.flattenDiagnosticMessageText(error.messageText, IO.newLine());
584 …oticHost, ts.identity) : ""}: ${ts.flattenDiagnosticMessageText(info.messageText, IO.newLine())}`);
[all …]
DfakesHosts.ts9 newLine?: "\r\n" | "\n"; property
20 public readonly newLine: string;
27 …constructor(vfs: vfs.FileSystem, { executingFilePath, newLine = "\r\n", env }: SystemOptions = {})…
30 this.newLine = newLine;
234 this._newLine = ts.getNewLineCharacter(options, () => this.sys.newLine);
DharnessUtils.ts146 … messageText: ts.flattenDiagnosticMessageText(diagnostic.messageText, Harness.IO.newLine()),
281 ts.flattenDiagnosticMessageText(d1.messageText, Harness.IO.newLine()),
282 …ts.flattenDiagnosticMessageText(d2.messageText, Harness.IO.newLine()), "d1.messageText !== d2.mess…
377 (<any>error).stack = filtered.join(Harness.IO.newLine());
/third_party/flutter/skia/third_party/externals/wuffs/lang/render/
Drender.go28 var newLine = []byte{'\n'} var
77 if _, err = w.Write(newLine); err != nil {
102 if _, err = w.Write(newLine); err != nil {
199 if _, err = w.Write(newLine); err != nil {
/third_party/glslang/glslang/MachineIndependent/
DScan.h164 void setLine(int newLine) in setLine() argument
166 logicalSourceLoc.line = newLine; in setLine()
167 loc[getLastValidSourceIndex()].line = newLine; in setLine()
/third_party/typescript/src/testRunner/unittests/tscWatch/
Demit.ts355 function verifyNewLine(subScenario: string, newLine: string) {
364 content: ["var x = 1;", "var y = 2;"].join(newLine)
368 { newLine }
373 change: sys => sys.appendFile("/a/app.ts", newLine + "var z = 3;"),
Dhelpers.ts137 ? `${host.newLine}${host.newLine}`
138 : host.newLine;
139 … return ` - ${flattenDiagnosticMessageText(diagnostic.messageText, host.newLine)}${newLines}`;
213 [hostOutputWatchDiagnostic(getErrorSummaryText(errors.length, host.newLine))] :
/third_party/skia/modules/skplaintexteditor/src/
Deditor.cpp357 const auto& newLine = fLines[pos.fParagraphIndex]; in move() local
358 size_t r = newLine.fLineEndOffsets.size(); in move()
360 pos.fTextByteIndex = find_closest_x(newLine.fCursorPos, x, in move()
361 newLine.fLineEndOffsets[r - 1], in move()
362 newLine.fCursorPos.size()); in move()
364 pos.fTextByteIndex = find_closest_x(newLine.fCursorPos, x, 0, in move()
365 newLine.fCursorPos.size()); in move()
/third_party/flutter/skia/experimental/editor/
Deditor.cpp357 const auto& newLine = fLines[pos.fParagraphIndex]; in move() local
358 size_t r = newLine.fLineEndOffsets.size(); in move()
360 pos.fTextByteIndex = find_closest_x(newLine.fCursorPos, x, in move()
361 newLine.fLineEndOffsets[r - 1], in move()
362 newLine.fCursorPos.size()); in move()
364 pos.fTextByteIndex = find_closest_x(newLine.fCursorPos, x, 0, in move()
365 newLine.fCursorPos.size()); in move()
/third_party/typescript/tests/baselines/reference/
DAPISample_Watch.js24 getNewLine: () => ts.sys.newLine,
97 getNewLine: function () { return ts.sys.newLine; }
DAPISample_WatchWithOwnWatchHost.js28 getNewLine: () => ts.sys.newLine,
81 getNewLine: function () { return ts.sys.newLine; },

1234