| /third_party/skia/gn/ |
| H A D | find_headers.py | 16 # Finds all public sources in include directories then write them to skia.h. 18 # Also write skia.h.deps, which Ninja uses to track dependencies. It's the 24 f.write('// skia.h generated by GN.\n') 25 f.write('#ifndef skia_h_DEFINED\n') 26 f.write('#define skia_h_DEFINED\n') 27 f.write('#include "third_party/skia/client_utils/android/BRDAllocator.h"\n') 28 f.write('#include "third_party/skia/client_utils/android/BitmapRegionDecoder.h"\n') 29 f.write('#include "third_party/skia/client_utils/android/FrontBufferedStream.h"\n') 30 f.write('#include "third_party/skia/include/core/SkAnnotation.h"\n') 31 f.write('#includ [all...] |
| H A D | gn_to_cmake.py | 62 out.write('set("') 63 out.write(CMakeStringEscape(variable_name)) 64 out.write('" "') 65 out.write(CMakeStringEscape(value)) 66 out.write('")\n') 75 out.write('list(APPEND "') 76 out.write(CMakeStringEscape(variable_name)) 77 out.write('"\n "') 78 out.write('"\n "'.join([CMakeStringEscape(value) for value in values])) 79 out.write('")\ [all...] |
| /third_party/node/test/parallel/ |
| H A D | test-stream-writable-destroy.js | 8 const write = new Writable({ 9 write(chunk, enc, cb) { cb(); } 12 write.on('finish', common.mustNotCall()); 13 write.on('close', common.mustCall()); 15 write.destroy(); 16 assert.strictEqual(write.destroyed, true); 20 const write = new Writable({ 21 write(chunk, enc, cb) { 27 write.on('error', common.mustCall()); 28 write [all...] |
| H A D | test-stream2-transform.js | 41 tx.write(Buffer.allocUnsafe(i)); 56 pt.write(Buffer.from('foog')); 57 pt.write(Buffer.from('bark')); 58 pt.write(Buffer.from('bazy')); 59 pt.write(Buffer.from('kuel')); 72 pt.write(1); 73 pt.write(true); 74 pt.write(false); 75 pt.write(0); 76 pt.write('fo [all...] |
| /third_party/skia/third_party/externals/freetype/src/tools/ |
| H A D | glnames.py | 4922 write = file.write 4923 write( "#ifndef DEFINE_PS_TABLES_DATA\n" ) 4924 write( "#ifdef __cplusplus\n" ) 4925 write( ' extern "C"\n' ) 4926 write( "#else\n" ) 4927 write( " extern\n" ) 4928 write( "#endif\n" ) 4929 write( "#endif\n" ) 4930 write( " cons [all...] |
| /third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/BinaryFormat/ |
| H A D | MsgPackWriter.cpp | 23 void Writer::writeNil() { EW.write(FirstByte::Nil); } in writeNil() 25 void Writer::write(bool b) { EW.write(b ? FirstByte::True : FirstByte::False); } in write() function in Writer 27 void Writer::write(int64_t i) { in write() function in Writer 29 write(static_cast<uint64_t>(i)); in write() 34 EW.write(static_cast<int8_t>(i)); in write() 39 EW.write(FirstByte::Int8); in write() 40 EW.write(static_cast<int8_t>(i)); in write() 45 EW.write(FirstByte::Int16); in write() 46 EW.write(static_cas in write() 60 void Writer::write(uint64_t u) { write() function in Writer 88 void Writer::write(double d) { write() function in Writer 101 void Writer::write(StringRef s) { write() function in Writer 121 void Writer::write(MemoryBufferRef Buffer) { write() function in Writer [all...] |
| /third_party/node/tools/gyp/pylib/gyp/generator/ |
| H A D | cmake.py | 146 output.write("set_source_files_properties(") 147 output.write(source_name) 148 output.write(" PROPERTIES ") 149 output.write(property_name) 150 output.write(' "') 152 output.write(CMakeStringEscape(value)) 153 output.write(sep) 154 output.write('")\n') 159 output.write("set_source_files_properties(") 161 output.write(" PROPERTIE [all...] |
| /third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/ |
| H A D | cmake.py | 146 output.write("set_source_files_properties(") 147 output.write(source_name) 148 output.write(" PROPERTIES ") 149 output.write(property_name) 150 output.write(' "') 152 output.write(CMakeStringEscape(value)) 153 output.write(sep) 154 output.write('")\n') 159 output.write("set_source_files_properties(") 161 output.write(" PROPERTIE [all...] |
| /third_party/protobuf/python/google/protobuf/internal/ |
| H A D | encoder.py | 43 strings and invokes the writer function to write those strings. Typically the 44 writer function is the write() method of a BytesIO. 376 def EncodeVarint(write, value, unused_deterministic=None): 380 write(local_int2byte(0x80|bits)) 383 return write(local_int2byte(bits)) 393 def EncodeSignedVarint(write, value, unused_deterministic=None): 399 write(local_int2byte(0x80|bits)) 402 return write(local_int2byte(bits)) 446 def EncodePackedField(write, value, deterministic): 447 write(tag_byte [all...] |
| /third_party/skia/third_party/externals/tint/src/diagnostic/ |
| H A D | printer_test.cc | 41 printer->write("Default", Style{Color::kDefault, false}); in TEST_F() 42 printer->write("Black", Style{Color::kBlack, false}); in TEST_F() 43 printer->write("Red", Style{Color::kRed, false}); in TEST_F() 44 printer->write("Green", Style{Color::kGreen, false}); in TEST_F() 45 printer->write("Yellow", Style{Color::kYellow, false}); in TEST_F() 46 printer->write("Blue", Style{Color::kBlue, false}); in TEST_F() 47 printer->write("Magenta", Style{Color::kMagenta, false}); in TEST_F() 48 printer->write("Cyan", Style{Color::kCyan, false}); in TEST_F() 49 printer->write("White", Style{Color::kWhite, false}); in TEST_F() 55 printer->write("Defaul in TEST_F() [all...] |
| /third_party/skia/src/sksl/codegen/ |
| H A D | SkSLMetalCodeGenerator.cpp | 67 void MetalCodeGenerator::write(skstd::string_view s) { in write() function in SkSL::MetalCodeGenerator 81 this->write(s); in writeLine() 128 this->write(this->typeName(type)); in writeType() 215 this->write(" "); in getOutParamHelper() 216 this->write(name); in getOutParamHelper() 217 this->write("("); in getOutParamHelper() 229 this->write(separator); in getOutParamHelper() 239 this->write("&"); in getOutParamHelper() 244 this->write(" "); in getOutParamHelper() 250 this->write(" _va in getOutParamHelper() [all...] |
| H A D | SkSLGLSLCodeGenerator.cpp | 45 void GLSLCodeGenerator::write(skstd::string_view s) { in write() function in SkSL::GLSLCodeGenerator 54 fOut->write(s.data(), s.length()); in write() 59 this->write(s); in writeLine() 72 fExtensions.write(name.data(), name.length()); in writeExtension() 146 this->write("struct "); in writeStructDefinition() 147 this->write(type.name()); in writeStructDefinition() 155 this->write(" "); in writeStructDefinition() 156 this->write(f.fName); in writeStructDefinition() 158 this->write("[" + to_string(f.fType->columns()) + "]"); in writeStructDefinition() 167 this->write(thi in writeType() [all...] |
| /third_party/pcre2/pcre2/maint/ |
| H A D | GenerateUcpHeader.py | 34 f.write("""\ 47 f.write("/* These are the general character categories. */\n\nenum {\n") 49 f.write(" ucp_%s,\n" % i) 50 f.write("};\n\n") 52 f.write("/* These are the particular character categories. */\n\nenum {\n") 54 f.write(" ucp_%s, /* %s */\n" % (category_names[i], category_names[i+1])) 55 f.write("};\n\n") 57 f.write("/* These are Boolean properties. */\n\nenum {\n") 59 f.write(" ucp_%s,\n" % i) 61 f.write(" /* Thi [all...] |
| /third_party/node/deps/v8/tools/ |
| H A D | gen-inlining-tests.py | 302 write(textwrap.fill(flagsMsgLine, subsequent_indent=' // ')) 303 write("") 349 write( " f = function {} () {{".format(fnname(flags))) 350 write( " var local = 888;") 351 write( " deopt = {};".format("true" if deopt else "false")) 353 write( " try {") 354 write( " counter++;") 358 write( " {} 4 + {increaseAndReturn15};".format(resultTo, **fragments)) 366 write( " {} 4 + {increaseAndThrow42};".format(resultTo, **fragments)) 371 write( " {} 458 def write(*args): global() function [all...] |
| /third_party/python/Tools/scripts/ |
| H A D | generate_opcode_h.py | 66 out.write(f"static const uint32_t {name}[8] = {{\n") 68 out.write(f" {bits & UINT32_MASK}U,\n") 71 out.write(f"}};\n") 106 fobj.write(header) 107 iobj.write(internal_header) 111 fobj.write(DEFINE.format(name, opmap[name])) 113 fobj.write(DEFINE.format("HAVE_ARGUMENT", opcode["HAVE_ARGUMENT"])) 116 fobj.write(DEFINE.format(name, op)) 118 iobj.write("\nextern const uint8_t _PyOpcode_Caches[256];\n") 119 iobj.write("\nexter [all...] |
| H A D | deepfreeze.py | 120 self.write('#include "Python.h"') 121 self.write('#include "internal/pycore_gc.h"') 122 self.write('#include "internal/pycore_code.h"') 123 self.write('#include "internal/pycore_long.h"') 124 self.write("") 135 def write(self, arg: str) -> None: member in Printer 140 self.write(prefix + " {") 143 self.write("}" + suffix) 147 self.write(f".ob_refcnt = 999999999,") 148 self.write( [all...] |
| H A D | texi2html.py | 116 def write(self, *lines): member in HTMLNode 122 fp.write(self.prologue) 123 fp.write(self.text) 124 fp.write(self.epilogue) 134 self.write(label, ': <A HREF="', addr, '"', \ 165 self.write('<HR>\n') 168 self.write('<HR>\n') 185 self.write('<DIV CLASS=Navigation>\n <HR>\n') 188 self.write(' <HR>\n</DIV>\n') 300 self.write('\ 337 def write(self, *args): global() member in TexinfoParser [all...] |
| /third_party/skia/src/sksl/ |
| H A D | SkSLDehydrator.cpp | 70 dehydrator->write(*symbols); in AutoDehydratorSymbolTable() 84 void Dehydrator::write(Layout l) { in write() function in SkSL::Dehydrator 103 void Dehydrator::write(Modifiers m) { in write() function in SkSL::Dehydrator 109 this->write(m.fLayout); in write() 113 this->write(m.fLayout); in write() 119 void Dehydrator::write(skstd::string_view s) { in write() function in SkSL::Dehydrator 120 this->write(String(s)); in write() 123 void Dehydrator::write(String s) { in write() function in SkSL::Dehydrator 139 void Dehydrator::write(const Symbol& s) { in write() function in SkSL::Dehydrator 151 this->write( in write() 229 void Dehydrator::write(const SymbolTable& symbols) { write() function in SkSL::Dehydrator 261 void Dehydrator::write(const Expression* e) { write() function in SkSL::Dehydrator 442 void Dehydrator::write(const Statement* s) { write() function in SkSL::Dehydrator 544 void Dehydrator::write(const ProgramElement& e) { write() function in SkSL::Dehydrator 589 void Dehydrator::write(const std::vector<std::unique_ptr<ProgramElement>>& elements) { write() function in SkSL::Dehydrator [all...] |
| /third_party/mesa3d/src/panfrost/perf/ |
| H A D | pan_gen_perf.py | 34 def write(self, *args): member in SourceFile 38 self.file.write(text.rstrip() + "\n") 90 parser.add_argument("--header", help="Header file to write", required=True) 91 parser.add_argument("--code", help="C file to write", required=True) 133 h.write(copyright) 134 h.write(textwrap.dedent("""\ 142 c.write(copyright) 143 c.write("#include \"" + os.path.basename(args.header) + "\"") 144 c.write(textwrap.dedent("""\ 150 c.write(textwra [all...] |
| /third_party/vk-gl-cts/external/vulkan-docs/src/scripts/ |
| H A D | extensionmetadocgenerator.py | 11 from generator import GeneratorOptions, OutputGenerator, regSortFeatures, write namespace 184 write(f' ** *NOTE* The extension `{succeededBy}` is not supported for the API specification being generated', file=file) 193 write(' ** Which in turn was _promoted_ to\n' + ext.conditionalLinkCoreAPI(ext.supercedingAPIVersion, '-promotions', isRefpage), file=file) 195 write(' ** Which in turn was _promoted_ to extension\n' + ext.conditionalLinkExt(ext.supercedingExtension), file=file) 199 write(' ** Which in turn was _deprecated_ by\n' + ext.conditionalLinkCoreAPI(ext.supercedingAPIVersion, '-new-feature', isRefpage), file=file) 201 write(' ** Which in turn was _deprecated_ by\n' + ext.conditionalLinkExt(ext.supercedingExtension) + ' extension', file=file) 204 write(' ** Which in turn was _deprecated_ without replacement', file=file) 207 write(' ** Which in turn was _obsoleted_ by\n' + ext.conditionalLinkCoreAPI(ext.supercedingAPIVersion, '-new-feature', isRefpage), file=file) 209 write(' ** Which in turn was _obsoleted_ by\n' + ext.conditionalLinkExt(ext.supercedingExtension) + ' extension', file=file) 212 write(' ** Whic [all...] |
| /third_party/icu/icu4j/tools/build/src/com/ibm/icu/dev/tool/docs/ |
| H A D | CheckAPI.java | 101 public abstract void write(BufferedWriter w, boolean brief, boolean html, boolean detail); in write() method in CheckAPI.APIInfo 164 public void write(BufferedWriter w, boolean brief, boolean html, boolean detail) { in write() method in CheckAPI.Info 170 w.write(s); in write() 172 w.write(SEP); in write() 198 w.write('('); in write() 199 w.write(s); in write() 200 w.write(')'); in write() 202 w.write(s); in write() 204 w.write(' '); in write() 212 w.write("interfac in write() 528 public void write(BufferedWriter w, boolean brief, boolean html, boolean detail) { write() method in CheckAPI.DeltaInfo [all...] |
| /third_party/vk-gl-cts/external/vulkan-docs/src/scripts/spec_tools/ |
| H A D | html_printer.py | 46 self.f.write("""<!doctype html> 79 self.f.write(""" 111 # Output methods: these all write to the HTML file. 123 self.f.write(""" 128 self.f.write('</div><!-- .container -->\n') 135 self.f.write( 137 self.f.write('<div class="accordion" id="fileAccordion">\n') 139 self.f.write("""</div><!-- #fileAccordion --> 154 self.f.write(""" 164 self.f.write('<di [all...] |
| /third_party/rust/crates/cxx/gen/cmd/src/gen/ |
| H A D | write.rs | 29 builtin::write(out); 30 include::write(out); 45 write(out, &apis_by_namespace, 0); in write_forward_declarations() 47 fn write(out: &mut OutFile, ns_entries: &NamespaceEntries, indent: usize) { in write_forward_declarations() functions 51 write!(out, "{:1$}", "", indent); in write_forward_declarations() 63 write(out, nested_ns_entries, indent + 2); in write_forward_declarations() 184 write!(out, " return ::"); in write_std_specializations() 186 write!(out, "{}::", name); in write_std_specializations() 262 write!(out, " "); 274 write!(ou [all...] |
| /third_party/rust/crates/cxx/gen/src/ |
| H A D | write.rs | 29 builtin::write(out); 30 include::write(out); 45 write(out, &apis_by_namespace, 0); in write_forward_declarations() 47 fn write(out: &mut OutFile, ns_entries: &NamespaceEntries, indent: usize) { in write_forward_declarations() functions 51 write!(out, "{:1$}", "", indent); in write_forward_declarations() 63 write(out, nested_ns_entries, indent + 2); in write_forward_declarations() 184 write!(out, " return ::"); in write_std_specializations() 186 write!(out, "{}::", name); in write_std_specializations() 262 write!(out, " "); 274 write!(ou [all...] |
| /third_party/rust/crates/cxx/gen/lib/src/gen/ |
| H A D | write.rs | 29 builtin::write(out); 30 include::write(out); 45 write(out, &apis_by_namespace, 0); in write_forward_declarations() 47 fn write(out: &mut OutFile, ns_entries: &NamespaceEntries, indent: usize) { in write_forward_declarations() functions 51 write!(out, "{:1$}", "", indent); in write_forward_declarations() 63 write(out, nested_ns_entries, indent + 2); in write_forward_declarations() 184 write!(out, " return ::"); in write_std_specializations() 186 write!(out, "{}::", name); in write_std_specializations() 262 write!(out, " "); 274 write!(ou [all...] |