Home
last modified time | relevance | path

Searched refs:writeln (Results 1 – 25 of 157) sorted by relevance

1234567

/third_party/rust/crates/cxx/gen/src/
Dbuiltin.rs149 writeln!(out, "// #include \"rust/cxx.h\""); in write()
155 writeln!(out, "struct unsafe_bitcopy_t;"); in write()
160 writeln!(out, "template <typename T>"); in write()
161 writeln!(out, "class impl;"); in write()
167 writeln!(out, "class String;"); in write()
170 writeln!(out, "class Opaque;"); in write()
175 writeln!(out, "template <typename T>"); in write()
176 writeln!(out, "::std::size_t size_of();"); in write()
177 writeln!(out, "template <typename T>"); in write()
178 writeln!(out, "::std::size_t align_of();"); in write()
[all …]
Dwrite.rs62 writeln!(out, "{:2$}namespace {} {{", "", namespace, indent); in write_forward_declarations()
64 writeln!(out, "{:1$}}}", "", indent); in write_forward_declarations()
177 writeln!(out, "template <> struct hash<{}> {{", qualified); in write_std_specializations()
178 writeln!( in write_std_specializations()
188 writeln!(out, "{}(self);", link_name); in write_std_specializations()
189 writeln!(out, " }}"); in write_std_specializations()
190 writeln!(out, "}};"); in write_std_specializations()
234 writeln!(out, "{}///{}", indent, line); in write_doc()
236 writeln!(out, "{}//{}", indent, line); in write_doc()
245 writeln!(out, "{}///", indent); in write_doc()
[all …]
Dinclude.rs69 writeln!(out, "#pragma once"); in write()
75 writeln!(out, "#include \"{}\"", include.path.escape_default()); in write()
78 writeln!(out, "#include <{}>", include.path); in write()
108 writeln!(out, "#include <algorithm>"); in write()
111 writeln!(out, "#include <array>"); in write()
114 writeln!(out, "#include <cassert>"); in write()
117 writeln!(out, "#include <cstddef>"); in write()
120 writeln!(out, "#include <cstdint>"); in write()
123 writeln!(out, "#include <cstring>"); in write()
126 writeln!(out, "#include <exception>"); in write()
[all …]
Difndef.rs19 writeln!(out, "{}", ifndef); in write()
20 writeln!(out, "{}", define); in write()
24 writeln!(out, "{}", line); in write()
31 writeln!(out, "{}", endif); in write()
/third_party/rust/crates/unicode-ident/generate/src/
Dwrite.rs28 writeln!(out, "{}", HEAD); in output()
30 writeln!( in output()
41 writeln!(out); in output()
43 writeln!(out, "]);"); in output()
44 writeln!(out); in output()
46 writeln!( in output()
57 writeln!(out); in output()
59 writeln!(out, "]);"); in output()
60 writeln!(out); in output()
62 writeln!(out, "pub(crate) const CHUNK: usize = {};", CHUNK); in output()
[all …]
/third_party/rust/crates/clap/tests/builder/
Dtests.rs96 writeln!(w, "flag NOT present").unwrap(); in check_complex_output()
99 writeln!(w, "flag present {} times", n).unwrap(); in check_complex_output()
105 writeln!(w, "option present with value: {}", v).unwrap(); in check_complex_output()
109 writeln!(w, "An option: {}", o).unwrap(); in check_complex_output()
113 writeln!(w, "option NOT present").unwrap(); in check_complex_output()
117 writeln!(w, "positional present with value: {}", p).unwrap(); in check_complex_output()
119 writeln!(w, "positional NOT present").unwrap(); in check_complex_output()
123 writeln!(w, "flag2 present").unwrap(); in check_complex_output()
124 writeln!( in check_complex_output()
133 writeln!( in check_complex_output()
[all …]
/third_party/python/Lib/unittest/
Drunner.py23 def writeln(self, arg=None): member in _WritelnDecorator
61 self.stream.writeln("ok")
70 self.stream.writeln("ERROR")
79 self.stream.writeln("FAIL")
88 self.stream.writeln("skipped {0!r}".format(reason))
97 self.stream.writeln("expected failure")
106 self.stream.writeln("unexpected success")
114 self.stream.writeln()
121 self.stream.writeln(self.separator1)
122 self.stream.writeln("%s: %s" % (flavour,self.getDescription(test)))
[all …]
/third_party/flutter/flutter/dev/tools/localization/
Dgen_localizations.dart81 output.writeln(generateHeader('dart dev/tools/localization/gen_localizations.dart --overwrite'));
134 output.writeln(generateClassDeclaration(languageLocale, generatedClassPrefix, baseClass));
135 output.writeln(generateConstructor(languageLocale));
140 output.writeln(generateGetter(key, languageResources[key], attributes, languageLocale));
142 output.writeln('}');
151 output.writeln(generateClassDeclaration(
156 output.writeln(generateConstructor(scriptBaseLocale));
162 output.writeln(generateGetter(key, scriptResources[key], attributes, languageLocale));
164 output.writeln('}');
175 output.writeln(generateClassDeclaration(
[all …]
Dlocalizations_validator.dart35 errorMessages.writeln('English localizations do not exist: $file');
55 errorMessages.writeln('A value was not specified for @$resourceId');
66 errorMessages.writeln('A map value was not specified for $atResourceId');
72 errorMessages.writeln('No description specified for $atResourceId');
79 errorMessages.writeln('Default plural resource $resourceIdOther undefined');
82 errorMessages.writeln('No matching $resourceId defined for $atResourceId');
131 …errorMessages.writeln('Locale "$locale" contains invalid resource keys: ${invalidKeys.join(', ')}'…
145 …errorMessages.writeln('Locale "$locale" is missing the following resource keys: ${missingKeys.join…
153 ..writeln()
154 ..writeln(
[all …]
Dgen_date_localizations.dart79 buffer.writeln(
91 buffer.writeln('''
94 buffer.writeln('const Map<String, dynamic> dateSymbols = <String, dynamic> {');
98 buffer.writeln(_jsonToMapEntry(locale, json.decode(data.readAsStringSync())));
101 buffer.writeln('};');
105 buffer.writeln('''
108 …buffer.writeln('const Map<String, Map<String, String>> datePatterns = <String, Map<String, String>…
112 buffer.writeln("'$locale': <String, String>{");
115 buffer.writeln(_jsonToMapEntry(key, value));
117 buffer.writeln('},');
[all …]
/third_party/rust/crates/linux-raw-sys/gen/src/
Dmain.rs81 writeln!(cargo_toml, "[features]").unwrap(); in main()
135 writeln!(src_lib_rs, "#[cfg(feature = \"{}\")]", mod_name).unwrap(); in main()
137writeln!(src_lib_rs, "#[cfg(all(target_arch = \"x86_64\", target_pointer_width = \"32\"))]").unwra… in main()
139writeln!(src_lib_rs, "#[cfg(all(target_arch = \"x86_64\", target_pointer_width = \"64\"))]").unwra… in main()
141 writeln!(src_lib_rs, "#[cfg(target_arch = \"{}\")]", rust_arch).unwrap(); in main()
143 writeln!(src_lib_rs, "#[path = \"{}/{}.rs\"]", rust_arch, mod_name).unwrap(); in main()
144 writeln!(src_lib_rs, "pub mod {};", mod_name).unwrap(); in main()
157 writeln!(cargo_toml, "{} = []", mod_name).unwrap(); in main()
165 writeln!(cargo_toml, "default = [\"std\", {}]", DEFAULT_FEATURES).unwrap(); in main()
166 writeln!(cargo_toml, "std = []").unwrap(); in main()
[all …]
/third_party/rust/crates/syn/tests/features/macro/
Dlib.rs26 _ = writeln!(stderr); in check()
31 _ = writeln!(stderr, "{}", line); in check()
34 _ = writeln!(stderr); in check()
41 _ = writeln!(stderr); in check()
47 _ = writeln!(stderr, "{}", line); in check()
50 _ = writeln!(stderr); in check()
/third_party/flutter/flutter/packages/flutter/lib/src/material/
Ddebug.dart28 message.writeln('No Material widget found.');
29 message.writeln(
33 message.writeln(
41 message.writeln(
46 message.writeln(
49 message.writeln(' ${context.widget}');
60 message.writeln(
91 message.writeln('No MaterialLocalizations found.');
92 message.writeln(
96 message.writeln(
[all …]
/third_party/rust/crates/bindgen/bindgen/ir/
Ddot.rs30 writeln!(&mut dot_file, "digraph {{")?; in write_dot_file()
37 writeln!( in write_dot_file()
44 writeln!(&mut dot_file, r#"</table> >];"#)?; in write_dot_file()
53 match writeln!( in write_dot_file()
74 writeln!( in write_dot_file()
84 writeln!(&mut dot_file, "}}")?; in write_dot_file()
/third_party/flutter/flutter/packages/flutter_tools/lib/
Drunner.dart111 stderr.writeln();
115 stderr.writeln('$error');
116 stderr.writeln(stackTrace.toString());
129 stderr.writeln('Oops; flutter has exited unexpectedly: "$error".');
131 stderr.writeln('Oops; flutter has exited unexpectedly.');
135 stderr.writeln(
141 stderr.writeln(
169 …buffer.writeln('Flutter crash report; please file at https://github.com/flutter/flutter/issues.\n'…
171 buffer.writeln('## command\n');
172 buffer.writeln('flutter ${args.join(' ')}\n');
[all …]
/third_party/flutter/flutter/dev/tools/gen_keycodes/lib/
Dcode_gen.dart27 result.writeln('$prefix$currentLine');
32 result.writeln('$prefix$currentLine');
105 synonyms.writeln(' $keyName: $name,');
115 scanCodeMap.writeln(' ${toHex(entry.usbHidCode)}: ${entry.constantName},');
124 keyCodeMap.writeln(' ${toHex(entry.flutterId, digits: 10)}: ${entry.constantName},');
134 … keyCodeMap.writeln(' ${toHex(Key.synonymPlane | primaryKey.flutterId, digits: 10)}: $entry,');
148 glfwNumpadMap.writeln(' $code: LogicalKeyboardKey.${entry.constantName},');
161 glfwKeyCodeMap.writeln(' $code: LogicalKeyboardKey.${entry.constantName},');
173 …xkbScanCodeMap.writeln(' ${toHex(entry.xKbScanCode)}: PhysicalKeyboardKey.${entry.constantName},'…
185 androidKeyCodeMap.writeln(' $code: LogicalKeyboardKey.${entry.constantName},');
[all …]
/third_party/flutter/flutter/packages/flutter/test/widgets/
Dsemantics_tester.dart349 buf.writeln('$indent$runtimeType(');
351 buf.writeln('$indent id: $id,');
353 buf.writeln('$indent flags: ${SemanticsTester._flagsToSemanticsFlagExpression(flags)},');
355 … buf.writeln('$indent actions: ${SemanticsTester._actionsToSemanticsActionExpression(actions)},');
357 buf.writeln('$indent label: \'$label\',');
359 buf.writeln('$indent value: \'$value\',');
361 buf.writeln('$indent increasedValue: \'$increasedValue\',');
363 buf.writeln('$indent decreasedValue: \'$decreasedValue\',');
365 buf.writeln('$indent hint: \'$hint\',');
367 buf.writeln('$indent textDirection: $textDirection,');
[all …]
/third_party/rust/crates/regex/src/
Derror.rs56 writeln!(f, "Syntax(")?; in fmt()
57 writeln!(f, "{}", hr)?; in fmt()
58 writeln!(f, "{}", err)?; in fmt()
59 writeln!(f, "{}", hr)?; in fmt()
/third_party/flutter/flutter/packages/flutter_goldens_client/lib/
Dskia_client.dart79 final StringBuffer buf = StringBuffer()..writeln('Gold service account is unavailable.');
100 // ..writeln('Flutter + Skia Gold auth failed.')
101 // ..writeln('stdout: ${authResults.stdout}')
102 // ..writeln('stderr: ${authResults.stderr}');
131 buf.writeln('Null argument for Skia Gold imgtest init:');
132 imgtestInitArguments.forEach(buf.writeln);
145 // ..writeln('Flutter + Skia Gold imgtest init failed.')
146 // ..writeln('stdout: ${imgtestInitResult.stdout}')
147 // ..writeln('stderr: ${imgtestInitResult.stderr}');
189 ..writeln('Flutter root could not be found: $flutterRoot');
/third_party/rust/crates/syn/codegen/src/
Dfile.rs9 writeln!( in write()
13 writeln!(formatted, "// It is not intended for manual editing.")?; in write()
14 writeln!(formatted)?; in write()
/third_party/rust/crates/codespan/codespan-reporting/src/term/
Drenderer.rs187 writeln!(self)?; in render_header()
194 writeln!(self)?; in render_empty()
218 writeln!(self)?; in render_snippet_start()
310 writeln!(self)?; in render_snippet_source()
467 writeln!(self)?; in render_snippet_source()
494 writeln!(self)?; in render_snippet_source()
522 writeln!(self)?; in render_snippet_source()
612 writeln!(self)?; in render_snippet_empty()
631 writeln!(self)?; in render_snippet_break()
657 writeln!(self, " {}", line)?; in render_snippet_note()
[all …]
/third_party/flutter/flutter/packages/flutter_tools/lib/src/build_runner/
Dbuild_runner.dart81 stringBuffer.writeln('name: flutter_tool');
82 stringBuffer.writeln('dependencies:');
93 stringBuffer.writeln(' $name:');
94 stringBuffer.writeln(' path: $convertedPath');
96 stringBuffer.writeln(' $name: $node');
99 stringBuffer.writeln(' $name: $node');
103 stringBuffer.writeln(' build_runner: ^$kMinimumBuildRunnerVersion');
104 stringBuffer.writeln(' build_daemon: $kSupportedBuildDaemonVersion');
/third_party/icu/tools/multi/proj/icu4cscan/
Dxmlout.cpp23 void XMLFile::writeln(const char *s) { in writeln() function in XMLFile
31 writeln(s); in indent()
40 writeln(s); in outdent()
/third_party/flutter/flutter/packages/flutter_tools/lib/src/
Dcompile.dart485 _server.stdin.writeln('recompile $mainUri$inputKey');
488 _server.stdin.writeln(_mapFileUri(fileUri.toString(), packageUriMapper));
491 _server.stdin.writeln(inputKey);
587 _server.stdin.writeln('compile $scriptUri');
622 _server.stdin.writeln('compile-expression $inputKey');
623 _server.stdin.writeln(request.expression);
624 request.definitions?.forEach(_server.stdin.writeln);
625 _server.stdin.writeln(inputKey);
626 request.typeDefinitions?.forEach(_server.stdin.writeln);
627 _server.stdin.writeln(inputKey);
[all …]
/third_party/rust/crates/regex/regex-syntax/src/
Derror.rs110 writeln!(f, "regex parse error:")?; in fmt()
111 writeln!(f, "{}", divider)?; in fmt()
114 writeln!(f, "{}", divider)?; in fmt()
128 writeln!(f, "{}", notes.join("\n"))?; in fmt()
132 writeln!(f, "regex parse error:")?; in fmt()

1234567