Home
last modified time | relevance | path

Searched refs:write (Results 1 – 25 of 5632) sorted by relevance

12345678910>>...226

/third_party/skia/gn/
Dfind_headers.py24 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('#include "third_party/skia/include/core/SkBBHFactory.h"\n')
32 f.write('#include "third_party/skia/include/core/SkBitmap.h"\n')
33 f.write('#include "third_party/skia/include/core/SkBlendMode.h"\n')
[all …]
Dgn_to_cmake.py62 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('")\n')
[all …]
/third_party/node/test/parallel/
Dtest-stream-writable-destroy.js8 const write = new Writable({ constant
9 write(chunk, enc, cb) { cb(); } method
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({ constant
21 write(chunk, enc, cb) { method
27 write.on('error', common.mustCall());
28 write.on('finish', common.mustNotCall());
[all …]
Dtest-stream2-transform.js42 tx.write(Buffer.allocUnsafe(i));
58 pt.write(Buffer.from('foog'));
59 pt.write(Buffer.from('bark'));
60 pt.write(Buffer.from('bazy'));
61 pt.write(Buffer.from('kuel'));
74 pt.write(1);
75 pt.write(true);
76 pt.write(false);
77 pt.write(0);
78 pt.write('foo');
[all …]
/third_party/skia/third_party/externals/freetype/src/tools/
Dglnames.py4922 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( " const char " + self.master_table +
4932 write( "#ifdef DEFINE_PS_TABLES_DATA\n" )
[all …]
/third_party/freetype/src/tools/
Dglnames.py4922 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( " const char " + self.master_table +
4932 write( "#ifdef DEFINE_PS_TABLES_DATA\n" )
[all …]
/third_party/flutter/skia/third_party/externals/freetype/src/tools/
Dglnames.py4922 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( " const char " + self.master_table +
4932 write( "#ifdef DEFINE_PS_TABLES_DATA\n" )
[all …]
/third_party/openh264/build/
Dmktargets.py27 f.write("%s: %s\n"%(dst, src))
28 …f.write('\t$(QUIET_CXX)$(CXX) $(CFLAGS) $(CXXFLAGS) $(INCLUDES) $(' + PREFIX + '_CFLAGS) $(' + PRE…
29 f.write("\n")
35 f.write("%s: %s\n"%(dst, src))
36 …f.write('\t$(QUIET_CC)$(CC) $(CFLAGS) $(INCLUDES) $(' + PREFIX + '_CFLAGS) $(' + PREFIX + '_INCLUD…
37 f.write("\n")
43 f.write("%s: %s\n"%(dst, src))
44 …f.write('\t$(QUIET_ASM)$(ASM) $(ASMFLAGS) $(ASM_INCLUDES) $(' + PREFIX + '_ASMFLAGS) $(' + PREFIX …
45 f.write("\n")
51 f.write("%s: %s\n"%(dst, src))
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/BinaryFormat/
DMsgPackWriter.cpp23 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_cast<int16_t>(i)); in write()
51 EW.write(FirstByte::Int32); in write()
[all …]
/third_party/flutter/skia/gn/
Dgn_to_cmake.py62 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('")\n')
[all …]
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/
Dcmake.py144 output.write('set_source_files_properties(')
145 output.write(source_name)
146 output.write(' PROPERTIES ')
147 output.write(property_name)
148 output.write(' "')
150 output.write(CMakeStringEscape(value))
151 output.write(sep)
152 output.write('")\n')
157 output.write('set_source_files_properties(')
159 output.write(' PROPERTIES ')
[all …]
/third_party/node/tools/gyp/pylib/gyp/generator/
Dcmake.py152 output.write("set_source_files_properties(")
153 output.write(source_name)
154 output.write(" PROPERTIES ")
155 output.write(property_name)
156 output.write(' "')
158 output.write(CMakeStringEscape(value))
159 output.write(sep)
160 output.write('")\n')
165 output.write("set_source_files_properties(")
167 output.write(" PROPERTIES ")
[all …]
/third_party/flutter/skia/src/sksl/
DSkSLMetalCodeGenerator.cpp37 void MetalCodeGenerator::write(const char* s) { in write() function in SkSL::MetalCodeGenerator
51 this->write(s); in writeLine()
56 void MetalCodeGenerator::write(const String& s) { in write() function in SkSL::MetalCodeGenerator
57 this->write(s.c_str()); in write()
78 this->write(type.name()); in writeType()
87 this->write("}"); in writeType()
91 this->write(to_string(type.columns())); in writeType()
95 this->write(to_string(type.columns())); in writeType()
96 this->write("x"); in writeType()
97 this->write(to_string(type.rows())); in writeType()
[all …]
DSkSLGLSLCodeGenerator.cpp24 void GLSLCodeGenerator::write(const char* s) { in write() function in SkSL::GLSLCodeGenerator
38 this->write(s); in writeLine()
43 void GLSLCodeGenerator::write(const String& s) { in write() function in SkSL::GLSLCodeGenerator
44 this->write(s.c_str()); in write()
47 void GLSLCodeGenerator::write(StringFragment s) { in write() function in SkSL::GLSLCodeGenerator
56 fOut->write(s.fChars, s.fLength); in write()
74 fExtensions.write(name.c_str(), name.length()); in writeExtension()
166 this->write(type.fName); in writeType()
171 this->write("struct "); in writeType()
172 this->write(type.fName); in writeType()
[all …]
/third_party/skia/src/sksl/codegen/
DSkSLMetalCodeGenerator.cpp67 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(" _var"); in getOutParamHelper()
[all …]
DSkSLGLSLCodeGenerator.cpp45 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(this->getTypeName(type)); in writeType()
[all …]
/third_party/protobuf/python/google/protobuf/internal/
Dencoder.py376 def EncodeVarint(write, value, unused_deterministic=None): argument
380 write(local_int2byte(0x80|bits))
383 return write(local_int2byte(bits))
393 def EncodeSignedVarint(write, value, unused_deterministic=None): argument
399 write(local_int2byte(0x80|bits))
402 return write(local_int2byte(bits))
446 def EncodePackedField(write, value, deterministic): argument
447 write(tag_bytes)
451 local_EncodeVarint(write, size, deterministic)
453 encode_value(write, element, deterministic)
[all …]
/third_party/libxml2/python/
Dgenerator.py455 include.write("#if %s\n" % cond)
456 export.write("#if %s\n" % cond)
457 output.write("#if %s\n" % cond)
459 include.write("PyObject * ")
460 include.write("libxml_%s(PyObject *self, PyObject *args);\n" % (name))
462 export.write(" { (char *)\"%s\", libxml_%s, METH_VARARGS, NULL },\n" %
468 include.write("#endif\n")
469 export.write("#endif\n")
470 output.write("#endif\n")
475 include.write("#endif\n")
[all …]
/third_party/skia/third_party/externals/tint/src/diagnostic/
Dprinter_test.cc41 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("Default", Style{Color::kDefault, true}); in TEST_F()
[all …]
/third_party/pcre2/pcre2/maint/
DGenerateUcpHeader.py34 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(" /* This must be last */\n")
[all …]
/third_party/libxml2/
Dgentest.py425 test.write("#ifdef %s\n" % (modules_defines[module]))
427 test.write("""
436 test.write("#endif\n\n")
489 test.write(line)
500 test.write("/* CUT HERE: everything below that line is generated */\n")
568 test.write("#ifdef %s\n" % (modules_defines[module]))
570 test.write("#define gen_nb_%s %d\n" % (name, len(vals)))
571 test.write("""static %s gen_%s(int no, int nr ATTRIBUTE_UNUSED) {\n""" %
575 test.write(" if (no == %d) return(%s);\n" % (i, value))
577 test.write(""" return(0);
[all …]
/third_party/skia/src/sksl/
DSkSLDehydrator.cpp70 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(f.modifiers()); in write()
[all …]
/third_party/rust/crates/clap/clap_complete_fig/src/
Dfig.rs21 write!( in generate()
28 write!( in generate()
37 write!(&mut buffer, "}};\n\nexport default completion;\n").unwrap(); in generate()
56 write!(buffer, "{:indent$}subcommands: [\n", "", indent = indent).unwrap(); in gen_fig_inner()
63 write!( in gen_fig_inner()
80 write!(buffer, "],\n").unwrap(); in gen_fig_inner()
82 write!( in gen_fig_inner()
94 write!( in gen_fig_inner()
105 write!(buffer, "{:indent$}hidden: true,\n", "", indent = indent + 4).unwrap(); in gen_fig_inner()
112 write!(buffer, "{:indent$}}},\n", "", indent = indent + 2).unwrap(); in gen_fig_inner()
[all …]
/third_party/mesa3d/src/freedreno/.gitlab-ci/reference/
Des2gears-a320.log7 t0 write SP_VS_PVT_MEM_PARAM_REG (22d6)
12 t0 write SP_FS_PVT_MEM_PARAM_REG (22e4)
17 t0 write PC_VERTEX_REUSE_BLOCK_CNTL (21ea)
20 t0 write GRAS_SC_CONTROL (2072)
23 t0 write RB_MSAA_CONTROL (20c2)
27 t0 write GRAS_CL_GB_CLIP_ADJ (2044)
30 t0 write GRAS_TSE_DEBUG_ECO (0c81)
33 t0 write TPL1_TP_VS_TEX_OFFSET (2340)
36 t0 write TPL1_TP_FS_TEX_OFFSET (2342)
39 t0 write VPC_VARY_CYLWRAP_ENABLE_0 (228a)
[all …]
/third_party/mesa3d/src/panfrost/perf/
Dpan_gen_perf.py34 def write(self, *args): member in SourceFile
38 self.file.write(text.rstrip() + "\n")
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(textwrap.dedent("""
158 c.write("STATIC_ASSERT(%u <= PAN_PERF_MAX_CATEGORIES);" % n_categories)
162 c.write("STATIC_ASSERT(%u <= PAN_PERF_MAX_COUNTERS);" % category_counters_count)
[all …]

12345678910>>...226