Home
last modified time | relevance | path

Searched refs:write (Results 126 - 150 of 8960) sorted by relevance

12345678910>>...359

/third_party/python/Lib/
H A Dpickle.py54 format_version = "4.0" # File format version we write
68 # The protocol we write by default. May be less than HIGHEST_PROTOCOL.
222 write = self.file_write
224 # Issue a single call to the write method of the underlying
227 # than issuing an additional call to write.
228 write(FRAME + pack("<Q", len(data)))
230 # Issue a separate call to write to append the frame
233 write(data)
241 def write(self, data): member in _Framer
243 return self.current_frame.write(dat
[all...]
/third_party/pcre2/pcre2/maint/
H A DGenerateUcpTables.py140 f.write("""\
157 f.write('#define STRING_%s0' % (utt[0].replace('&', '_AMPERSAND')))
160 f.write(' STR_AMPERSAND')
162 f.write(' STR_%s' % c);
163 f.write(' "\\0"\n')
167 f.write('\nconst char PRIV(utt_names)[] =\n');
172 f.write(' STRING_%s0%s\n' % (utt[0].replace('&', '_AMPERSAND'), last))
176 f.write('\nconst ucp_type_table PRIV(utt)[] = {\n')
187 f.write(' { %3d, %s, %s }%s\n' % (offset, utt[2], value, last))
189 f.write('};\
[all...]
/third_party/skia/third_party/externals/sfntly/cpp/tools/
H A Dgenerate_font_list_cc.py109 h_file.write(do_not_edit)
110 h_file.write(cc_license)
111 h_file.write('#ifndef ' + header_guard + '\n')
112 h_file.write('#define ' + header_guard + '\n\n')
113 h_file.write('#include "sfntly/port/type.h"\n\n')
114 h_file.write('namespace sfntly {\n')
115 h_file.write(Template('namespace $name {\n').substitute(name=args.name))
117 h_file.write(
121 h_file.write(Template('\n} // namespace $name\n').substitute(name=args.name))
122 h_file.write('} // namespac
[all...]
/third_party/libunwind/libunwind/src/ia64/
H A DGregs.c250 unw_word_t *valp, int write) in update_nat()
259 if (write) in update_nat()
275 unw_word_t *valp, int write) in access_nat()
285 if (write) in access_nat()
332 if (write) in access_nat()
345 if (write) in access_nat()
356 return update_nat (c, nat_loc, mask, valp, write); in access_nat()
361 int write) in tdep_access_reg()
373 if (write) in tdep_access_reg()
380 if (write) in tdep_access_reg()
249 update_nat(struct cursor *c, ia64_loc_t nat_loc, unw_word_t mask, unw_word_t *valp, int write) update_nat() argument
273 access_nat(struct cursor *c, ia64_loc_t nat_loc, ia64_loc_t reg_loc, uint8_t nat_bitnr, unw_word_t *valp, int write) access_nat() argument
360 tdep_access_reg(struct cursor *c, unw_regnum_t reg, unw_word_t *valp, int write) tdep_access_reg() argument
562 tdep_access_fpreg(struct cursor *c, int reg, unw_fpreg_t *valp, int write) tdep_access_fpreg() argument
[all...]
/third_party/skia/tools/
H A Dbuild_workaround_header.py34 f.write(_LICENSE)
35 f.write(_DO_NOT_EDIT_WARNING)
40 # length of max string passed to write + 1
42 write = lambda line: f.write(line + ' ' * (max_len - len(line)) + '\\\n')
44 write('#define GPU_DRIVER_BUG_WORKAROUNDS(GPU_OP)')
46 write(indent + macro + '(' + w.upper() + ',')
47 write(indent + ' ' * (len(macro) + 1) + w + ')')
50 f.write('// The End\n')
60 help="the name of the header file to write")
[all...]
/kernel/linux/linux-5.10/drivers/rtc/
H A Drtc-ds1685.c35 * Standard read/write
52 * ds1685_write - write a value to an rtc register.
54 * @reg: the register address to write.
55 * @value: value to write to the register.
66 * Indirect read/write functions
83 * ds1685_indirect_write - write a value to an rtc register.
85 * @reg: the register address to write.
86 * @value: value to write to the register.
161 rtc->write(rtc, RTC_CTRL_A, in ds1685_rtc_switch_to_bank0()
172 rtc->write(rt in ds1685_rtc_switch_to_bank1()
[all...]
H A Drtc-bq4802.c27 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 Drtc-ds1685.c35 * Standard read/write
52 * ds1685_write - write a value to an rtc register.
54 * @reg: the register address to write.
55 * @value: value to write to the register.
66 * Indirect read/write functions
83 * ds1685_indirect_write - write a value to an rtc register.
85 * @reg: the register address to write.
86 * @value: value to write to the register.
161 rtc->write(rtc, RTC_CTRL_A, in ds1685_rtc_switch_to_bank0()
172 rtc->write(rt in ds1685_rtc_switch_to_bank1()
[all...]
H A Drtc-bq4802.c27 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...]
/third_party/python/Lib/xmlrpc/
H A Dclient.py374 out.write("<value><dateTime.iso8601>")
375 out.write(self.value)
376 out.write("</dateTime.iso8601></value>\n")
423 out.write("<value><base64>\n")
425 out.write(encoded.decode('ascii'))
426 out.write("</base64></value>\n")
477 to an XML-RPC params chunk. To write a fault response, pass a
495 write = out.append
499 write("<fault>\n")
502 write)
[all...]
/kernel/linux/linux-5.10/include/linux/sched/
H A Dsysctl.h22 int proc_dohung_task_timeout_secs(struct ctl_table *table, int write,
41 int write, void __user *buffer, size_t *length, loff_t *ppos);
68 int sched_proc_update_handler(struct ctl_table *table, int write,
101 int sched_rr_handler(struct ctl_table *table, int write, void *buffer,
103 int sched_rt_handler(struct ctl_table *table, int write, void *buffer,
105 int sysctl_sched_uclamp_handler(struct ctl_table *table, int write,
107 int sysctl_numa_balancing(struct ctl_table *table, int write, void *buffer,
109 int sysctl_schedstats(struct ctl_table *table, int write, void *buffer,
114 int sched_energy_aware_handler(struct ctl_table *table, int write,
/third_party/libsnd/src/
H A Dcreate_symbols_file.py99 sys.stdout.write ("\n")
108 sys.stdout.write ("\n")
116 sys.stdout.write ("\n")
130 sys.stdout.write ("\n")
138 sys.stdout.write ("\n")
141 sys.stdout.write ("\n")
149 sys.stdout.write ("\n")
151 sys.stdout.write ("\n")
159 sys.stdout.write ("\n")
/third_party/mbedtls/scripts/mbedtls_dev/
H A Dtest_case.py67 def write(self, out: typing_util.Writable) -> None: member in TestCase
78 out.write('\n')
80 out.write('# ' + line + '\n')
81 out.write(self.description + '\n')
83 out.write('depends_on:' + ':'.join(self.dependencies) + '\n')
84 out.write(self.function + ':' + ':'.join(self.arguments) + '\n')
97 out.write('# Automatically generated by {}. Do not edit!\n'
100 tc.write(out)
101 out.write('\n# End of automatically generated file.\n')
/third_party/node/deps/v8/tools/
H A Dcompare_torque_output.py26 def write(line): function
28 sys.stderr.write(line)
29 results_file.write(line)
34 write("Some files exist only in %s\n" % side)
36 write(fl)
45 write("Found content differences between %s and %s\n" %
48 write("File diff %s\n" % name)
56 write(l)
57 write("\n\n")
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/shaders/
H A Dgen_mtl_internal_shaders.py102 out_file.write(shader_autogen_header)
115 temp_file.write(include_str.encode('utf-8'))
129 out_file.write(boilerplate_code)
130 out_file.write('\n')
131 out_file.write('// C++ string version of combined Metal default shaders.\n\n')
132 out_file.write('\n\nstatic char gDefaultMetallibSrc[] = R"(\n')
133 out_file.write(final_combined_src_string.decode("utf-8"))
134 out_file.write('\n')
135 out_file.write(')";\n')
/base/security/appverify/interfaces/innerkits/appverify/test/unittest/src/
H A Dhap_signing_block_utils_test.cpp56 hapFile.write(block, sizeof(block)); in CreatTestZipFile()
62 hapFile.write(reinterpret_cast<char*>(&signBlob), sizeof(signBlob)); in CreatTestZipFile()
63 hapFile.write(reinterpret_cast<char*>(&profileBlob), sizeof(profileBlob)); in CreatTestZipFile()
64 hapFile.write(reinterpret_cast<char*>(&propertyBlob), sizeof(propertyBlob)); in CreatTestZipFile()
66 hapFile.write(block, sizeof(block)); in CreatTestZipFile()
69 hapFile.write(reinterpret_cast<char*>(&blockCount), sizeof(blockCount)); in CreatTestZipFile()
72 hapFile.write(reinterpret_cast<char*>(&signBlockSize), sizeof(signBlockSize)); in CreatTestZipFile()
74 hapFile.write(reinterpret_cast<char*>(&magic), sizeof(magic)); in CreatTestZipFile()
76 hapFile.write(reinterpret_cast<char*>(&magic), sizeof(magic)); in CreatTestZipFile()
78 hapFile.write(reinterpret_cas in CreatTestZipFile()
[all...]
/third_party/libunwind/libunwind/src/ptrace/
H A D_UPT_access_reg.c41 int write, void *arg) in _UPT_access_reg()
50 Debug(16, "using getregset: reg: %s [%u], val: %lx, write: %u\n", in _UPT_access_reg()
51 unw_regname(reg), (unsigned) reg, (long) val, write); in _UPT_access_reg()
53 if (write) in _UPT_access_reg()
68 if (write) { in _UPT_access_reg()
83 int write, void *arg) in _UPT_access_reg()
89 Debug(16, "using pokeuser: reg: %s [%u], val: %lx, write: %d\n", unw_regname(reg), (unsigned) reg, (long) val, write); in _UPT_access_reg()
91 if (write) in _UPT_access_reg()
111 if (write) in _UPT_access_reg()
40 _UPT_access_reg(unw_addr_space_t as, unw_regnum_t reg, unw_word_t *val, int write, void *arg) _UPT_access_reg() argument
82 _UPT_access_reg(unw_addr_space_t as, unw_regnum_t reg, unw_word_t *val, int write, void *arg) _UPT_access_reg() argument
326 _UPT_access_reg(unw_addr_space_t as, unw_regnum_t reg, unw_word_t *val, int write, void *arg) _UPT_access_reg() argument
[all...]
/third_party/rust/crates/regex/regex-syntax/src/ast/
H A Dmod.rs232 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/python/Tools/scripts/
H A Dgenerate_token.py46 fobj.write(content)
143 write = result.append
145 write(indent)
146 write('switch (c%d) {\n' % (n,))
148 write(indent)
151 write("case '%s':\n" % (c,))
152 write(generate_chars_to_token(value, n + 1))
153 write(indent)
154 write(' break;\n')
156 write("cas
[all...]
/kernel/linux/linux-6.6/tools/perf/pmu-events/
H A Djevents.py30 # 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...]
/third_party/littlefs/scripts/
H A Dwatch.py78 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 Dmod.rs76 /// 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 Drunner.py26 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 Dproc.py30 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-6.6/scripts/gdb/linux/
H A Dproc.py32 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...]

Completed in 13 milliseconds

12345678910>>...359