| /third_party/rust/crates/regex/regex-syntax/src/ast/ |
| H A D | mod.rs | 232 CaptureLimitExceeded => write!( in fmt() 239 write!(f, "invalid escape sequence found in character class") in fmt() 241 ClassRangeInvalid => write!( in fmt() 247 write!(f, "invalid range boundary, must be a literal") in fmt() 249 ClassUnclosed => write!(f, "unclosed character class"), in fmt() 250 DecimalEmpty => write!(f, "decimal literal empty"), in fmt() 251 DecimalInvalid => write!(f, "decimal literal invalid"), in fmt() 252 EscapeHexEmpty => write!(f, "hexadecimal literal empty"), in fmt() 254 write!(f, "hexadecimal literal is not a Unicode scalar value") in fmt() 256 EscapeHexInvalidDigit => write!( in fmt() [all...] |
| /third_party/littlefs/scripts/ |
| H A D | watch.py | 78 def write(self, s): member in LinesIO 83 self.tail.write(lines[0]) 90 self.tail.write(lines[-1]) 107 sys.stdout.write('\n') 114 sys.stdout.write('\r') 116 sys.stdout.write('\x1b[%dA' % (shrink-1-i)) 117 sys.stdout.write('\x1b[K') 119 sys.stdout.write('\x1b[%dB' % (shrink-1-i)) 120 sys.stdout.write('\x1b[%dA' % shrink) 125 sys.stdout.write('\ [all...] |
| /third_party/rust/crates/env_logger/src/fmt/ |
| H A D | mod.rs | 76 /// A formatter to write logs into. 124 fn write(&mut self, buf: &[u8]) -> io::Result<usize> { in write() functions 125 self.buf.borrow_mut().write(buf) in write() 199 fmt.write(record) in build() 225 fn write(mut self, record: &Record) -> io::Result<()> { in write() functions 259 write!(self.buf, "{}{}", open_brace, value) in write_header_value() 261 write!(self.buf, " {}", value) in write_header_value() 333 write!(self.buf, "{} ", close_brace) in finish_header() 342 None => write!(self.buf, "{}{}", record.args(), self.suffix), in write_args() 353 fn write( in write_args() functions 423 fn write(fmt: DefaultFormat) -> String { write() functions [all...] |
| /third_party/python/Lib/unittest/ |
| H A D | runner.py | 26 self.write(arg) 27 self.write('\n') # text-mode streams translate to \r\n if needed 56 self.stream.write(self.getDescription(test)) 57 self.stream.write(" ... ") 67 self.stream.write(" ") 68 self.stream.write(self.getDescription(test)) 69 self.stream.write(" ... ") 83 self.stream.write('F') 85 self.stream.write('E') 94 self.stream.write(' [all...] |
| /kernel/linux/linux-5.10/scripts/gdb/linux/ |
| H A D | proc.py | 30 gdb.write(gdb.parse_and_eval("saved_command_line").string() + "\n") 45 gdb.write(gdb.parse_and_eval("(char *)linux_banner").string()) 74 gdb.write(" " * depth * 2 + 170 gdb.write("{:^18} {:^15} {:>9} {} {} options\n".format( 196 gdb.write("{} {} {} {} {} {}{}{} 0 0\n".format( 252 gdb.write("fdt_magic: 0x{:02X}\n".format(fdt_header[0])) 253 gdb.write("fdt_totalsize: 0x{:02X}\n".format(fdt_header[1])) 254 gdb.write("off_dt_struct: 0x{:02X}\n".format(fdt_header[2])) 255 gdb.write("off_dt_strings: 0x{:02X}\n".format(fdt_header[3])) 256 gdb.write("off_mem_rsvma [all...] |
| /kernel/linux/linux-5.10/drivers/rtc/ |
| H A D | rtc-bq4802.c | 27 void (*write)(struct bq4802 *, int, u8); member 60 p->write(p, 0xe, val | 0x08); in bq4802_read_time() 71 p->write(p, 0x0e, val); in bq4802_read_time() 120 p->write(p, 0x0e, val | 0x08); in bq4802_set_time() 122 p->write(p, 0x00, sec); in bq4802_set_time() 123 p->write(p, 0x02, min); in bq4802_set_time() 124 p->write(p, 0x04, hrs); in bq4802_set_time() 125 p->write(p, 0x06, day); in bq4802_set_time() 126 p->write(p, 0x09, mon); in bq4802_set_time() 127 p->write( in bq4802_set_time() [all...] |
| /kernel/linux/linux-6.6/drivers/rtc/ |
| H A D | rtc-bq4802.c | 27 void (*write)(struct bq4802 *, int, u8); member 60 p->write(p, 0xe, val | 0x08); in bq4802_read_time() 71 p->write(p, 0x0e, val); in bq4802_read_time() 120 p->write(p, 0x0e, val | 0x08); in bq4802_set_time() 122 p->write(p, 0x00, sec); in bq4802_set_time() 123 p->write(p, 0x02, min); in bq4802_set_time() 124 p->write(p, 0x04, hrs); in bq4802_set_time() 125 p->write(p, 0x06, day); in bq4802_set_time() 126 p->write(p, 0x09, mon); in bq4802_set_time() 127 p->write( in bq4802_set_time() [all...] |
| /kernel/linux/linux-6.6/scripts/gdb/linux/ |
| H A D | proc.py | 32 gdb.write(gdb.parse_and_eval("saved_command_line").string() + "\n") 47 gdb.write(gdb.parse_and_eval("(char *)linux_banner").string()) 76 gdb.write(" " * depth * 2 + 172 gdb.write("{:^18} {:^15} {:>9} {} {} options\n".format( 198 gdb.write("{} {} {} {} {} {}{}{} 0 0\n".format( 254 gdb.write("fdt_magic: 0x{:02X}\n".format(fdt_header[0])) 255 gdb.write("fdt_totalsize: 0x{:02X}\n".format(fdt_header[1])) 256 gdb.write("off_dt_struct: 0x{:02X}\n".format(fdt_header[2])) 257 gdb.write("off_dt_strings: 0x{:02X}\n".format(fdt_header[3])) 258 gdb.write("off_mem_rsvma [all...] |
| /third_party/nghttp2/script/ |
| H A D | fetch-ocsp-response | 65 stdout_bwrite = sys.stdout.buffer.write 68 stdout_bwrite = sys.stdout.write 72 sys.stderr.write(msg) 73 sys.stderr.write('\n') 78 sys.stderr.write(msg) 79 sys.stderr.write('\n') 94 buf.write(data) 110 f.write(data) 143 sys.stderr.write('sending OCSP request to {}\n'.format(ocsp_uri)) 157 sys.stderr.write('verifyin [all...] |
| /kernel/linux/linux-6.6/tools/perf/pmu-events/ |
| H A D | jevents.py | 30 # Events to write out when the table is closed 34 # Metrics to write out when the table is closed 477 _args.output_file.write('};\n') 479 _args.output_file.write( 485 _args.output_file.write(event.to_c_string(metric=False)) 488 _args.output_file.write(f""" 495 _args.output_file.write(f"""{{ 501 _args.output_file.write('};\n\n') 532 _args.output_file.write('};\n') 534 _args.output_file.write( [all...] |
| /base/request/request/services/src/service/command/ |
| H A D | dump.rs | 33 let _ = file.write(HELP_MSG.as_bytes()); 38 let _ = file.write("invalid args".as_bytes()); 49 let _ = file.write("-t accept a number".as_bytes()); 54 let _ = file.write("too many args, -t accept no arg or one arg".as_bytes()); 76 let _ = file.write(format!("task num: {}\n", len).as_bytes()); in dump_all_task_info() 78 let _ = file.write( in dump_all_task_info() 86 let _ = file.write( in dump_all_task_info() 113 let _ = file.write( in dump_one_task_info() 120 let _ = file.write( in dump_one_task_info() 128 let _ = file.write(forma in dump_one_task_info() [all...] |
| /third_party/node/test/fixtures/wpt/streams/writable-streams/ |
| H A D | start.any.js | 21 writer.write('a'); 22 assert_equals(writer.desiredSize, 0, 'desiredSize should be 0 after writer.write()'); 24 // Wait and verify that write isn't called. 27 assert_array_equals(ws.events, [], 'write should not be called until start promise resolves'); 31 .then(() => assert_array_equals(ws.events, ['write', 'a'], 32 'write should not be called until start promise resolves')); 33 }, 'underlying sink\'s write should not be called until start finishes'); 50 // Wait and verify that write isn't called. 70 write() { 78 assert_false(writeCalled, 'write shoul [all...] |
| /third_party/node/test/parallel/ |
| H A D | test-http-keep-alive-max-requests.js | 24 socket.write('POST / HTTP/1.1\r\n'); 25 socket.write('Connection: keep-alive\r\n'); 26 socket.write('Content-Type: text/plain\r\n'); 27 socket.write(`Content-Length: ${bodySent.length}\r\n\r\n`); 28 socket.write(`${bodySent}\r\n`); 29 socket.write('\r\n\r\n'); 31 socket.write('GET / HTTP/1.1\r\n'); 32 socket.write('Connection: keep-alive\r\n'); 33 socket.write('\r\n\r\n'); 48 res.write('Hell [all...] |
| H A D | test-http-server-request-timeouts-mixed.js | 70 request1.client.write(requestBodyPart1); 78 request2.client.write(requestBodyPart1); 81 request3.client.write(requestBodyPart1); 90 request4.client.write(requestBodyPart1); 92 request5.client.write(requestBodyPart1); 97 request1.client.write(requestBodyPart2 + requestBodyPart3); 100 request3.client.write(requestBodyPart2); 101 request4.client.write(requestBodyPart2); 102 request5.client.write(requestBodyPart2); 119 request4.client.write(requestBodyPart [all...] |
| H A D | test-zlib-dictionary.js | 59 inflate.write(chunk); 74 deflate.write(input); 87 inflate.write(chunk); 102 deflate.write(input); 106 deflate.write(input); 118 inflate.write(chunk); 133 deflate.write(input); 146 inflate.write(chunk); 161 deflate.write(input); 165 deflate.write(inpu [all...] |
| /third_party/vk-gl-cts/external/vulkan-docs/src/scripts/ |
| H A D | jsgenerator.py | 5 from generator import OutputGenerator, enquote, write namespace 38 write(self.beginDict(name), file=self.outFile) 44 write(f'{enquote(key)} : {value},', file=self.outFile) 45 write(self.endDict(), file=self.outFile) 77 write(self.beginDict('mapDict'), file=self.outFile) 80 write(f'{enquote(baseType)} : undefined,', 82 write(self.endDict(), file=self.outFile) 92 write(self.beginDict('requiredBy'), file=self.outFile) 97 write('{} : [{}],'.format(enquote(api), reqs), file=self.outFile) 98 write(sel [all...] |
| H A D | pygenerator.py | 7 from generator import OutputGenerator, enquote, write namespace 31 write(self.beginDict(name), file=self.outFile) 37 write(f'{enquote(key)} : {value},', file=self.outFile) 38 write(self.endDict(), file=self.outFile) 72 write(self.beginDict('mapDict'), file=self.outFile) 74 write('{} : {},'.format(enquote(baseType), 76 write(self.endDict(), file=self.outFile) 86 write(self.beginDict('requiredBy'), file=self.outFile) 91 write('{} : [{}],'.format(enquote(api), reqs), file=self.outFile) 92 write(sel [all...] |
| /third_party/vk-gl-cts/external/amber/src/src/vulkan/ |
| H A D | buffer_descriptor.cc | 134 VkWriteDescriptorSet write = VkWriteDescriptorSet(); in UpdateDescriptorSetIfNeeded() local 135 write.sType = VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET; in UpdateDescriptorSetIfNeeded() 136 write.dstSet = descriptor_set; in UpdateDescriptorSetIfNeeded() 137 write.dstBinding = binding_; in UpdateDescriptorSetIfNeeded() 138 write.dstArrayElement = 0; in UpdateDescriptorSetIfNeeded() 139 write.descriptorCount = static_cast<uint32_t>(GetAmberBuffers().size()); in UpdateDescriptorSetIfNeeded() 140 write.descriptorType = GetVkDescriptorType(); in UpdateDescriptorSetIfNeeded() 141 write.pBufferInfo = buffer_infos.data(); in UpdateDescriptorSetIfNeeded() 142 write.pTexelBufferView = buffer_views.data(); in UpdateDescriptorSetIfNeeded() 144 device_->GetPtrs()->vkUpdateDescriptorSets(device_->GetVkDevice(), 1, &write, in UpdateDescriptorSetIfNeeded() [all...] |
| /third_party/skia/src/sksl/ |
| H A D | SkSLDehydrator.h | 49 void write(const SymbolTable& symbols); 51 void write(const std::vector<std::unique_ptr<ProgramElement>>& elements); 107 void write(Layout l); 109 void write(Modifiers m); 111 void write(skstd::string_view s); 113 void write(String s); 115 void write(const ProgramElement& e); 117 void write(const Expression* e); 119 void write(const Statement* s); 121 void write(cons [all...] |
| /kernel/linux/linux-6.6/scripts/ |
| H A D | spdxcheck.py | 233 sys.stdout.write('%s: %d:%d %s: %s\n' %(fname, self.curline, col, pe.txt, tok)) 235 sys.stdout.write('%s: %d:0 %s\n' %(fname, self.curline, pe.txt)) 341 sys.stderr.write('stdin input "-" must be the only path argument\n') 357 sys.stderr.write('%s: %s\n' %(se.el.path, se.txt)) 359 sys.stderr.write('%s\n' %se.txt) 363 sys.stderr.write('FAIL: %s\n' %ex) 364 sys.stderr.write('%s\n' %traceback.format_exc()) 373 sys.stderr.write('FAIL: Reading exclude file %s: %s\n' %(fname, ex)) 389 sys.stderr.write('path %s does not exist\n' %p) 403 sys.stderr.write('\ [all...] |
| /third_party/rust/crates/cxx/gen/build/src/ |
| H A D | error.rs | 37 write!(f, "missing {} environment variable", var.to_string_lossy()) in fmt() 40 Error::ExportedDirNotAbsolute(path) => write!( in fmt() 46 Error::ExportedEmptyPrefix => write!( in fmt() 51 Error::ExportedDirsWithoutLinks => write!( in fmt() 57 Error::ExportedPrefixesWithoutLinks => write!( in fmt() 63 Error::ExportedLinksWithoutLinks => write!( in fmt() 69 Error::UnusedExportedPrefix(unused) => write!( in fmt() 75 Error::UnusedExportedLinks(unused) => write!( in fmt()
|
| /third_party/libunwind/libunwind/src/riscv/ |
| H A D | Gregs.c | 30 int write) in tdep_access_reg() 40 if (write) in tdep_access_reg() 45 if (write) in tdep_access_reg() 57 if (write) in tdep_access_reg() 66 if (write) in tdep_access_reg() 78 int write) in tdep_access_fpreg() 87 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 77 tdep_access_fpreg(struct cursor *c, unw_regnum_t reg, unw_fpreg_t *valp, int write) tdep_access_fpreg() argument
|
| /third_party/libabigail/tests/ |
| H A D | update-test-output.py | 20 sys.stderr.write("usage: prog-name [options] <file-name|-->\n"); 21 sys.stderr.write(" options:\n"); 22 sys.stderr.write(" -h display this help\n"); 23 sys.stderr.write(" argument:\n"); 24 sys.stderr.write(" <file-name> the file to read from\n"); 25 sys.stderr.write(" if no argument, then reads from stdin\n"); 67 sys.stdout.write("cp " + source + " " + dest + "\n");
|
| /third_party/python/Tools/freeze/ |
| H A D | makeconfig.py | 13 outfp.write(line) 20 outfp.write("#ifndef PyInit_%s\n"%mod) 21 outfp.write('extern PyObject* PyInit_%s(void);\n' % mod) 23 outfp.write("#endif\n") 29 outfp.write('\t{"%s", PyInit_%s},\n' % 32 sys.stderr.write('MARKER 1 never found\n') 34 sys.stderr.write('MARKER 2 never found\n')
|
| /third_party/node/deps/icu-small/source/i18n/ |
| H A D | vtzone.cpp | 887 void write(const UnicodeString& str); 888 void write(char16_t ch); 889 void write(const char16_t* str); 890 //void write(const char16_t* str, int32_t length); 903 VTZWriter::write(const UnicodeString& str) { in write() function in VTZWriter 908 VTZWriter::write(char16_t ch) { in write() function in VTZWriter 913 VTZWriter::write(const char16_t* str) { in write() function in VTZWriter 919 VTZWriter::write(const char16_t* str, int32_t length) { 1167 VTimeZone::write(UnicodeString& result, UErrorCode& status) const { in write() function in VTimeZone 1170 write(write in write() 1174 VTimeZone::write(UDate start, UnicodeString& result, UErrorCode& status) const { write() function in VTimeZone 1715 VTimeZone::write(VTZWriter& writer, UErrorCode& status) const { write() function in VTimeZone 1752 VTimeZone::write(UDate start, VTZWriter& writer, UErrorCode& status) const { write() function in VTimeZone [all...] |