| /third_party/python/Lib/idlelib/idle_test/ |
| H A D | test_outwin.py | 59 write = self.window.write 64 eq(write(test_text), len(test_text)) 71 eq(write(test_text), len(test_text)) 78 eq(write(test_text), len(test_text)) 87 eq(write(test_text, tags='mytag'), len(test_text)) 88 eq(write(test_text2, tags='secondtag'), len(test_text2)) 115 w.write('Not a file line') 121 w.write(f'{str(__file__)}: 42: spam\n') 122 w.write( [all...] |
| /third_party/python/Lib/ |
| H A D | quopri.py | 45 """Read 'input', apply quoted-printable encoding, and write to 'output'. 56 output.write(odata) 59 def write(s, output=output, lineEnd=b'\n'): function 63 output.write(s[:-1] + quote(s[-1:]) + lineEnd) 65 output.write(quote(s) + lineEnd) 67 output.write(s + lineEnd) 89 # First, write out the previous line 91 write(prevline) 98 write(thisline[:MAXLINESIZE-1], lineEnd=b'=\n') 104 write(prevlin [all...] |
| /third_party/skia/tools/skpbench/ |
| H A D | sheet.py | 100 outfile.write('bench,') 102 outfile.write('%s,' % fullconfig.qualified_name(self.config_qualifiers)) 103 outfile.write('\n') 107 outfile.write('%s,' % bench) 110 outfile.write('%s,' % row[fullconfig]) 112 outfile.write('NULL,') 117 outfile.write('\n') 121 outfile.write('\n') 130 outfile.write('%s,' % name) 133 outfile.write('NUL [all...] |
| /third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MC/ |
| H A D | WinCOFFObjectWriter.cpp | 484 W.write<uint16_t>(COFF::IMAGE_FILE_MACHINE_UNKNOWN); in WriteFileHeader() 485 W.write<uint16_t>(0xFFFF); in WriteFileHeader() 486 W.write<uint16_t>(COFF::BigObjHeader::MinBigObjectVersion); in WriteFileHeader() 487 W.write<uint16_t>(Header.Machine); in WriteFileHeader() 488 W.write<uint32_t>(Header.TimeDateStamp); in WriteFileHeader() 489 W.OS.write(COFF::BigObjMagic, sizeof(COFF::BigObjMagic)); in WriteFileHeader() 490 W.write<uint32_t>(0); in WriteFileHeader() 491 W.write<uint32_t>(0); in WriteFileHeader() 492 W.write<uint32_t>(0); in WriteFileHeader() 493 W.write<uint32_ in WriteFileHeader() [all...] |
| /foundation/communication/ipc/interfaces/innerkits/rust/src/ |
| H A D | errors.rs | 77 IpcStatusCode::Ok => write!(f, "Call Ok"), in fmt() 78 IpcStatusCode::Failed => write!(f, "Call Failed"), in fmt() 79 IpcStatusCode::Einval => write!(f, "Invalid Params"), in fmt() 80 IpcStatusCode::ErrNullObject => write!(f, "Null Obj"), in fmt() 81 IpcStatusCode::ErrDeadObject => write!(f, "Dead Obj"), in fmt() 82 IpcStatusCode::InvalidValue => write!(f, "Invalid Value"), in fmt() 83 _ => write!(f, "Unknow Error"), in fmt()
|
| /third_party/libunwind/libunwind/src/aarch64/ |
| H A D | Gregs.c | 31 int write) in tdep_access_reg() 43 if (write) in tdep_access_reg() 59 if (write) in tdep_access_reg() 93 if (write) in tdep_access_reg() 103 if (write) in tdep_access_reg() 111 int write) in tdep_access_fpreg() 114 if (write) in tdep_access_fpreg() 30 tdep_access_reg(struct cursor *c, unw_regnum_t reg, unw_word_t *valp, int write) tdep_access_reg() argument 110 tdep_access_fpreg(struct cursor *c, unw_regnum_t reg, unw_fpreg_t *valp, int write) tdep_access_fpreg() argument
|
| /third_party/libunwind/libunwind/src/ppc64/ |
| H A D | Gregs.c | 32 int write) in tdep_access_reg() 87 if (write) in tdep_access_reg() 99 if (write) in tdep_access_reg() 109 if (write) in tdep_access_reg() 117 int write) in tdep_access_fpreg() 124 if (write) in tdep_access_fpreg() 133 if (write) in tdep_access_fpreg() 31 tdep_access_reg(struct cursor *c, unw_regnum_t reg, unw_word_t *valp, int write) tdep_access_reg() argument 116 tdep_access_fpreg(struct cursor *c, unw_regnum_t reg, unw_fpreg_t *valp, int write) tdep_access_fpreg() argument
|
| /third_party/node/test/parallel/ |
| H A D | test-http-server-keep-alive-max-requests-null.js | 17 socket.write('POST / HTTP/1.1\r\n'); 18 socket.write('Connection: keep-alive\r\n'); 19 socket.write('Content-Type: text/plain\r\n'); 20 socket.write(`Content-Length: ${bodySent.length}\r\n\r\n`); 21 socket.write(`${bodySent}\r\n`); 22 socket.write('\r\n\r\n'); 37 res.write('Hello World!');
|
| H A D | test-http-server-keep-alive-defaults.js | 17 socket.write('POST / HTTP/1.1\r\n'); 18 socket.write('Connection: keep-alive\r\n'); 19 socket.write('Content-Type: text/plain\r\n'); 20 socket.write(`Content-Length: ${bodySent.length}\r\n\r\n`); 21 socket.write(`${bodySent}\r\n`); 22 socket.write('\r\n\r\n'); 37 res.write('Hello World!');
|
| H A D | test-fs-write-stream-err.js | 35 const write = fs.write; 37 fs.write = function() { 40 console.error('first write'); 42 return write.apply(fs, arguments); 45 console.error('second write'); 71 stream.write(Buffer.allocUnsafe(256), function() { 73 stream.write(Buffer.allocUnsafe(256), common.mustCall(function(err_) {
|
| /third_party/node/tools/gyp/pylib/gyp/ |
| H A D | xml_fix.py | 22 writer.write(data) 29 writer.write(indent + "<" + self.tagName) 35 writer.write(' %s="' % a_name) 37 writer.write('"') 39 writer.write(">%s" % newl) 42 writer.write(f"{indent}</{self.tagName}>{newl}") 44 writer.write("/>%s" % newl)
|
| /third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/ |
| H A D | xml_fix.py | 22 writer.write(data) 29 writer.write(indent + "<" + self.tagName) 35 writer.write(' %s="' % a_name) 37 writer.write('"') 39 writer.write(">%s" % newl) 42 writer.write(f"{indent}</{self.tagName}>{newl}") 44 writer.write("/>%s" % newl)
|
| /third_party/python/Tools/freeze/ |
| H A D | makefreeze.py | 57 outfp.write('extern unsigned char M_%s[];\n' % mangled) 58 outfp.write(header) 60 outfp.write('\t{"%s", M_%s, %d, %s},\n' % (mod, mangled, size, is_package)) 61 outfp.write('\n') 67 outfp.write('\t{"%s", NULL, 0},\n' % (mod,)) 68 outfp.write(trailer) 69 outfp.write(entry_point)
|
| /third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/GSYM/ |
| H A D | FileWriter.cpp | 24 OS.write(reinterpret_cast<const char *>(Bytes), Length); in writeSLEB() 31 OS.write(reinterpret_cast<const char *>(Bytes), Length); 35 OS.write(reinterpret_cast<const char *>(&U), sizeof(U)); 40 OS.write(reinterpret_cast<const char *>(&Swapped), sizeof(Swapped)); 45 OS.write(reinterpret_cast<const char *>(&Swapped), sizeof(Swapped)); 50 OS.write(reinterpret_cast<const char *>(&Swapped), sizeof(Swapped)); 60 OS.write(reinterpret_cast<const char *>(Data.data()), Data.size());
|
| /third_party/skia/third_party/externals/icu/scripts/ |
| H A D | make_data_assembly.py | 54 output.write(".globl _icudt%s_dat\n" 63 output.write(".globl _icudt%s_dat\n" 68 output.write(".globl icudt%s_dat\n" 95 output.write("\n.long ") 97 output.write(",") 98 output.write(value) 100 output.write("\n")
|
| /third_party/python/Programs/ |
| H A D | _freeze_module.py | 37 outfile.write(f"const unsigned char {varname}[] = {{\n") 40 outfile.write(" ") 41 outfile.write(",".join(str(i) for i in marshalled[n : n + 16])) 42 outfile.write(",\n") 43 outfile.write("};\n") 48 outfile.write(header) 49 outfile.write("\n")
|
| /third_party/mesa3d/src/amd/compiler/tests/ |
| H A D | glsl_scraper.py | 61 self.stream.write(s) 87 in_file.write(src) 148 f.write('// GLSL code:\n') 149 f.write('//') 151 f.write('\n// {0}'.format(line)) 152 f.write('\n\n') 155 f.write('/* SPIR-V Assembly:\n') 156 f.write(' *\n') 158 f.write(' * ' + line + '\n') 159 f.write(' */\ [all...] |
| /third_party/python/Lib/test/ |
| H A D | test_pdb.py | 1733 f.write(textwrap.dedent(script)) 1747 f.write(textwrap.dedent(script)) 1753 f.write(file_content) 1809 f.write(b'print("testing my pdb")\r\n') 1871 f.write(textwrap.dedent(bar)) 1883 f.write(textwrap.dedent(""" 1909 f.write(textwrap.dedent(""" 1974 f.write("invalid\n") 1977 f.write(script) 2002 f.write("invali [all...] |
| /foundation/graphic/graphic_2d/utils/build/ |
| H A D | copy_arkui_adapters.py | 25 sys.stderr.write("MUST have 1 parameter for the source path and 1 parameter for the destination") 26 sys.stderr.write(os.linesep) 31 sys.stderr.write("Source path MUST be a directory") 32 sys.stderr.write(os.linesep) 37 sys.stderr.write("Destination path MUST be a directory") 38 sys.stderr.write(os.linesep)
|
| /third_party/libunwind/libunwind/src/ppc32/ |
| H A D | Gregs.c | 32 int write) in tdep_access_reg() 39 if (write) in tdep_access_reg() 51 if (write) in tdep_access_reg() 67 if (write) in tdep_access_reg() 75 int write) in tdep_access_fpreg() 82 if (write) in tdep_access_fpreg() 31 tdep_access_reg(struct cursor *c, unw_regnum_t reg, unw_word_t *valp, int write) tdep_access_reg() argument 74 tdep_access_fpreg(struct cursor *c, unw_regnum_t reg, unw_fpreg_t *valp, int write) tdep_access_fpreg() argument
|
| /third_party/libunwind/libunwind/src/hppa/ |
| H A D | Gregs.c | 30 int write) in tdep_access_reg() 37 if (write) in tdep_access_reg() 46 if (write) in tdep_access_reg() 66 if (write) in tdep_access_reg() 74 int write) in tdep_access_fpreg() 83 if (write) in tdep_access_fpreg() 29 tdep_access_reg(struct cursor *c, unw_regnum_t reg, unw_word_t *valp, int write) tdep_access_reg() argument 73 tdep_access_fpreg(struct cursor *c, unw_regnum_t reg, unw_fpreg_t *valp, int write) tdep_access_fpreg() argument
|
| /third_party/libunwind/libunwind/src/s390x/ |
| H A D | Gregs.c | 33 int write) in tdep_access_reg() 40 if (write) in tdep_access_reg() 65 if (write) in tdep_access_reg() 75 if (write) in tdep_access_reg() 83 int write) in tdep_access_fpreg() 112 if (write) in tdep_access_fpreg() 32 tdep_access_reg(struct cursor *c, unw_regnum_t reg, unw_word_t *valp, int write) tdep_access_reg() argument 82 tdep_access_fpreg(struct cursor *c, unw_regnum_t reg, unw_fpreg_t *valp, int write) tdep_access_fpreg() argument
|
| /third_party/nghttp2/doc/bash_completion/ |
| H A D | make_bash_completion.py | 32 out.write('''\ 44 out.write('''\ 50 out.write(opt.long_opt) 51 out.write(' ') 53 out.write('''\ 58 out.write('''\
|
| /third_party/python/Tools/scripts/ |
| H A D | fixheader.py | 16 sys.stderr.write('%s: can\'t open: %s\n' % (filename, str(msg))) 21 sys.stderr.write('%s does not begin with C comment\n' % filename) 26 sys.stderr.write('%s: can\'t write: %s\n' % (filename, str(msg))) 29 sys.stderr.write('Processing %s ...\n' % filename) 41 f.write(data)
|
| /third_party/mesa3d/src/panfrost/vulkan/ |
| H A D | panvk_vX_descriptor_set.c | 709 const VkWriteDescriptorSet *write = &pDescriptorWrites[i]; in UpdateDescriptorSets() local 710 VK_FROM_HANDLE(panvk_descriptor_set, set, write->dstSet); in UpdateDescriptorSets() 712 switch (write->descriptorType) { in UpdateDescriptorSets() 714 for (uint32_t j = 0; j < write->descriptorCount; j++) { in UpdateDescriptorSets() 716 write->dstBinding, in UpdateDescriptorSets() 717 write->dstArrayElement + j, in UpdateDescriptorSets() 718 &write->pImageInfo[j]); in UpdateDescriptorSets() 723 for (uint32_t j = 0; j < write->descriptorCount; j++) { in UpdateDescriptorSets() 725 write->dstBinding, in UpdateDescriptorSets() 726 write in UpdateDescriptorSets() [all...] |