Home
last modified time | relevance | path

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

12345678910>>...157

/OK3568_Linux_fs/yocto/poky/bitbake/lib/
H A Dcodegen.py94 def write(self, x): member in SourceGenerator
105 self.write('# line: %s' % node.lineno)
119 self.write('else:')
126 self.write(', ')
135 self.write('=')
139 self.write('*' + node.vararg)
142 self.write('**' + node.kwarg)
147 self.write('@')
156 self.write(', ')
158 self.write(' = ')
[all …]
/OK3568_Linux_fs/buildroot/support/scripts/
H A Dgen-bootlin-toolchains247 f.write("config %s\n" % self.option_name)
248 f.write("\tbool \"%s %s %s %s\"\n" %
328 f.write("\tdepends on %s\n" % depend)
331 f.write("\tselect %s\n" % select)
333 f.write("\thelp\n")
343 … f.write(textwrap.fill(desc, width=62, initial_indent="\t ", subsequent_indent="\t ") + "\n")
344 f.write("\n")
345 f.write("\t https://toolchains.bootlin.com/\n")
347 f.write("\n")
350 f.write("ifeq ($(%s),y)\n" % self.option_name)
[all …]
H A Dpkg-stats797 f.write(" <tr>\n")
798 f.write(" <td>%s</td>\n" % pkg.path)
808 f.write(" <td class=\"%s\">%s</td>\n" %
818 f.write(" <td class=\"%s\">%s</td>\n" %
827 f.write(" <td class=\"%s\">%s</td>\n" %
836 f.write(" <td class=\"%s\">%s</td>\n" %
845 f.write(" <td class=\"%s\">%s</td>\n" %
853 f.write(" <td class=\"centered\">%s</td>\n" % current_version)
883 f.write(" <td class=\"%s\">%s</td>\n" %
892 f.write(" <td class=\"%s\">%d</td>\n" %
[all …]
/OK3568_Linux_fs/buildroot/package/luarocks/
H A Dbuildroot.lua162 f:write('config BR2_PACKAGE_' .. ucname .. '\n')
163 f:write('\tbool "' .. lcname .. '"\n')
165 f:write('\tdepends on BR2_PACKAGE_LUAJIT\n')
168 f:write('\tselect BR2_PACKAGE_' .. brname(external_dependencies[i]) .. '\n')
171 f:write('\tselect BR2_PACKAGE_' .. brname(dependencies[i]) .. ' # runtime\n')
173 f:write('\thelp\n')
174 f:write('\t ' .. table.concat(wrap(summary, 62), '\n\t ') .. '\n')
175 f:write('\n\t ' .. homepage .. '\n')
177 f:write('\ncomment "' .. lcname .. ' needs LuaJIT"\n')
178 f:write('\tdepends on !BR2_PACKAGE_LUAJIT\n')
[all …]
/OK3568_Linux_fs/external/xserver/hw/xwin/glx/
H A Dgen_gl_wrappers.py164 self.outFile.write('/* Automatically generated from %s - DO NOT EDIT */\n\n'%regFilename)
166 self.outFile.write('\nvoid ' + prefix + 'ResolveExtensionProcs(void)\n{\n')
168 … self.outFile.write( ' PRERESOLVE(PFN' + funcname.upper() + 'PROC, "' + funcname + '");\n')
169 self.outFile.write('}\n\n')
184 self.outFile.write('RESOLVE_DECL(PFN' + name.upper() + 'PROC);\n')
194 self.outFile.write('/* Automatically generated from %s - DO NOT EDIT */\n\n'%regFilename)
214 if staticwrappers: self.outFile.write("static ")
215 self.outFile.write("%s %sWrapper("%(rettype, name))
220 self.outFile.write("%s%s"%(Comma, ptype))
223 self.outFile.write("void")
[all …]
/OK3568_Linux_fs/buildroot/package/crda/
H A D0001-crda-support-python-3-in-utils-key2pub.py.patch66 - sys.stderr.write('ERROR: Failed to import the "M2Crypto" module: %s\n' % e.message)
67 - sys.stderr.write('Please install the "M2Crypto" Python module.\n')
68 - sys.stderr.write('On Debian GNU/Linux the package is called "python-m2crypto".\n')
72 + sys.stderr.write('ERROR: Failed to import the "Cryptodome.PublicKey" module: %s\n' % e.message)
73 + sys.stderr.write('Please install the "Cryptodome.PublicKey" Python module.\n')
74 + sys.stderr.write('On Debian GNU/Linux the package is called "python-cryptodomex".\n')
95 - output.write('static BN_ULONG %s[%d] = {\n' % (name, len(vnew)))
99 + output.write(u'static BN_ULONG {}[] = {{\n'.format(name))
104 - output.write('\t')
105 - output.write('0x%.2x%.2x%.2x%.2x%.2x%.2x%.2x%.2x, ' % (ord(v1), ord(v2), ord(v3), ord(v4),…
[all …]
/OK3568_Linux_fs/external/rknpu2/examples/3rdparty/opencv/opencv-linux-aarch64/include/opencv2/core/
H A Dpersistence.hpp441 CV_WRAP void write(const String& name, int val);
443 CV_WRAP void write(const String& name, double val);
445 CV_WRAP void write(const String& name, const String& val);
447 CV_WRAP void write(const String& name, InputArray val);
702 CV_EXPORTS void write( FileStorage& fs, const String& name, int value );
703 CV_EXPORTS void write( FileStorage& fs, const String& name, float value );
704 CV_EXPORTS void write( FileStorage& fs, const String& name, double value );
705 CV_EXPORTS void write( FileStorage& fs, const String& name, const String& value );
706 CV_EXPORTS void write( FileStorage& fs, const String& name, const Mat& value );
707 CV_EXPORTS void write( FileStorage& fs, const String& name, const SparseMat& value );
[all …]
/OK3568_Linux_fs/external/rknpu2/examples/3rdparty/opencv/opencv-linux-armhf/include/opencv2/core/
H A Dpersistence.hpp441 CV_WRAP void write(const String& name, int val);
443 CV_WRAP void write(const String& name, double val);
445 CV_WRAP void write(const String& name, const String& val);
447 CV_WRAP void write(const String& name, InputArray val);
702 CV_EXPORTS void write( FileStorage& fs, const String& name, int value );
703 CV_EXPORTS void write( FileStorage& fs, const String& name, float value );
704 CV_EXPORTS void write( FileStorage& fs, const String& name, double value );
705 CV_EXPORTS void write( FileStorage& fs, const String& name, const String& value );
706 CV_EXPORTS void write( FileStorage& fs, const String& name, const Mat& value );
707 CV_EXPORTS void write( FileStorage& fs, const String& name, const SparseMat& value );
[all …]
/OK3568_Linux_fs/external/rknpu2/examples/3rdparty/opencv/OpenCV-android-sdk/sdk/native/jni/include/opencv2/core/
H A Dpersistence.hpp441 CV_WRAP void write(const String& name, int val);
443 CV_WRAP void write(const String& name, double val);
445 CV_WRAP void write(const String& name, const String& val);
447 CV_WRAP void write(const String& name, InputArray val);
702 CV_EXPORTS void write( FileStorage& fs, const String& name, int value );
703 CV_EXPORTS void write( FileStorage& fs, const String& name, float value );
704 CV_EXPORTS void write( FileStorage& fs, const String& name, double value );
705 CV_EXPORTS void write( FileStorage& fs, const String& name, const String& value );
706 CV_EXPORTS void write( FileStorage& fs, const String& name, const Mat& value );
707 CV_EXPORTS void write( FileStorage& fs, const String& name, const SparseMat& value );
[all …]
/OK3568_Linux_fs/u-boot/test/py/
H A Dmultiplexed_log.py51 def write(self, data, implicit=False): member in LogfileStream
66 self.logfile.write(self, data, implicit)
68 self.chained_file.write(data)
133 self.chained_file.write(msg)
134 self.logfile.write(self, msg)
165 self.logfile.write(self, output)
167 self.chained_file.write(output)
229 self.f.write('''\
307 self.f.write('''\
351 self.f.write('</pre>\n')
[all …]
/OK3568_Linux_fs/kernel/scripts/
H A Dbmpconvert224 self.file.write(pack("<h", self.bfType))
225 self.file.write(pack("<i", self.bfSize))
226 self.file.write(pack("<h", self.bfReserved1))
227 self.file.write(pack("<h", self.bfReserved2))
228 self.file.write(pack("<i", self.bfOffBits)) # bfOffBits
229 self.file.write(pack("<i", self.biSize)) # biSize
230 self.file.write(pack("<i", self.biWidth))
232 self.file.write(pack("<i", self.biHeight))
233 self.file.write(pack("<h", self.biPlanes))
234 self.file.write(pack("<h", self.biBitCount)) # biBitCount
[all …]
H A Dmkbootimg113 f.write(pack(str(pad) + 'x'))
145 args.output.write(pack(f'{BOOT_MAGIC_SIZE}s', BOOT_MAGIC.encode()))
147 args.output.write(pack('I', filesize(args.kernel)))
149 args.output.write(pack('I', filesize(args.ramdisk)))
151 args.output.write(pack('I', (args.os_version << 11) | args.os_patch_level))
152 args.output.write(pack('I', boot_header_size))
154 args.output.write(pack('4I', 0, 0, 0, 0))
156 args.output.write(pack('I', args.header_version))
157 args.output.write(pack(f'{BOOT_ARGS_SIZE + BOOT_EXTRA_ARGS_SIZE}s',
164 args.output.write(pack('I', boot_signature_size))
[all …]
/OK3568_Linux_fs/kernel/Documentation/driver-api/md/
H A Draid5-cache.rst7 caches data to the RAID disks. The cache can be in write-through (supported
8 since 4.4) or write-back mode (supported since 4.10). mdadm (supported since
9 3.4) has a new option '--write-journal' to create array with cache. Please
11 in write-through mode. A user can switch it to write-back mode by::
13 echo "write-back" > /sys/block/md0/md/journal_mode
15 And switch it back to write-through mode by::
17 echo "write-through" > /sys/block/md0/md/journal_mode
22 write-through mode
25 This mode mainly fixes the 'write hole' issue. For RAID 4/5/6 array, an unclean
27 and parity don't match. The reason is that a stripe write involves several RAID
[all …]
/OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/python/python3/
H A Dget_module_deps3.py55 log.write('Module %s generated the following dependencies:\n' % current_module)
71 log.write('Module was not found\n')
95 log.write('\nCalling: sys.modules[' + '%s' % item + '].__file__\n')
100 log.write(item + ' ')
101 log.write(str(e))
102 log.write('\n')
108 log.write(item+' ')
109 log.write(str(e))
115 log.write('Dependency path found:\n%s\n' % dep_path)
131 log.write('Shared library found in %s\n' % dep_path)
[all …]
/OK3568_Linux_fs/yocto/poky/meta/recipes-core/libxml/libxml2/
H A D0001-Port-gentest.py-to-Python-3.patch270 - test.write("#ifdef %s\n" % (modules_defines[module]))
273 + test.write("#ifdef %s\n" % (modules_defines[module]))
275 test.write("""
282 - test.write("#endif\n\n")
283 + test.write("#endif\n\n")
318 test.write(line)
328 @@ -505,7 +505,7 @@ test.write("/* CUT HERE: everything below that line is generated */\n")
381 - test.write("#ifdef %s\n" % (modules_defines[module]))
383 - test.write("#define gen_nb_%s %d\n" % (name, len(vals)))
384 - test.write("""static %s gen_%s(int no, int nr ATTRIBUTE_UNUSED) {\n""" %
[all …]
/OK3568_Linux_fs/kernel/arch/s390/kernel/
H A Dmodule.c179 void *(*write)(void *dest, const void *src, size_t len)) in apply_rela_bits()
202 write(dest, &tmp, 1); in apply_rela_bits()
206 write(dest, &tmp, 2); in apply_rela_bits()
209 write(dest, &tmp, 2); in apply_rela_bits()
213 write(dest, &tmp, 4); in apply_rela_bits()
216 write(dest, &tmp, 4); in apply_rela_bits()
219 write(dest, &tmp, 8); in apply_rela_bits()
226 void *(*write)(void *dest, const void *src, size_t len)) in apply_rela()
254 rc = apply_rela_bits(loc, val, 0, 8, 0, write); in apply_rela()
256 rc = apply_rela_bits(loc, val, 0, 12, 0, write); in apply_rela()
[all …]
/OK3568_Linux_fs/kernel/kernel/
H A Dsysctl.c209 static int bpf_stats_handler(struct ctl_table *table, int write, in bpf_stats_handler() argument
223 if (write && !capable(CAP_SYS_ADMIN)) in bpf_stats_handler()
228 ret = proc_dointvec_minmax(&tmp, write, buffer, lenp, ppos); in bpf_stats_handler()
229 if (write && !ret && val != saved_val) { in bpf_stats_handler()
244 static int bpf_unpriv_handler(struct ctl_table *table, int write, in bpf_unpriv_handler() argument
251 if (write && !capable(CAP_SYS_ADMIN)) in bpf_unpriv_handler()
255 ret = proc_dointvec_minmax(&tmp, write, buffer, lenp, ppos); in bpf_unpriv_handler()
256 if (write && !ret) { in bpf_unpriv_handler()
274 static int _proc_do_string(char *data, int maxlen, int write, in _proc_do_string() argument
285 if (write) { in _proc_do_string()
[all …]
/OK3568_Linux_fs/yocto/poky/bitbake/lib/bb/tests/
H A Dcolor.py63 handler.write("Program output!\n")
64 handler.write("More output!\n")
65 handler.write("Progress: 10%\n") # 10%
66 handler.write("Even more\n")
67 handler.write("Progress: 50%\n") # 50%
68 handler.write("Progress: 60%\n") # 60%
69 handler.write("Progress: 100%\n") # 100%
79 handler.write("1%\n") # 1%
80 handler.write("2%\n") # 2%
81 handler.write("10%\n") # 10%
[all …]
/OK3568_Linux_fs/kernel/drivers/rtc/
H A Drtc-ds1685.c161 rtc->write(rtc, RTC_CTRL_A, in ds1685_rtc_switch_to_bank0()
172 rtc->write(rtc, RTC_CTRL_A, in ds1685_rtc_switch_to_bank1()
193 rtc->write(rtc, RTC_CTRL_B, in ds1685_rtc_begin_data_access()
219 rtc->write(rtc, RTC_CTRL_B, in ds1685_rtc_end_data_access()
358 rtc->write(rtc, RTC_CTRL_B, ctrlb); in ds1685_rtc_set_time()
359 rtc->write(rtc, RTC_SECS, seconds); in ds1685_rtc_set_time()
360 rtc->write(rtc, RTC_MINS, minutes); in ds1685_rtc_set_time()
361 rtc->write(rtc, RTC_HRS, hours); in ds1685_rtc_set_time()
362 rtc->write(rtc, RTC_WDAY, wday); in ds1685_rtc_set_time()
363 rtc->write(rtc, RTC_MDAY, mday); in ds1685_rtc_set_time()
[all …]
/OK3568_Linux_fs/kernel/drivers/iio/dac/
H A Dad5446.c64 int (*write)(struct ad5446_state *st, unsigned val); member
131 ret = st->chip_info->write(st, val); in ad5446_write_dac_powerdown()
141 .write = ad5446_write_dac_powerdown,
209 ret = st->chip_info->write(st, val); in ad5446_write_raw()
353 .write = ad5446_write,
357 .write = ad5446_write,
361 .write = ad5446_write,
365 .write = ad5446_write,
369 .write = ad5446_write,
373 .write = ad5446_write,
[all …]
/OK3568_Linux_fs/external/security/rk_tee_user/v2/tools/ta_resign_tool-release/linux/
H A Dresign_ta.py102 f.write(shdr)
103 f.write(h.digest())
104 f.write(sig)
105 f.write(img)
147 f.write(shdr)
148 f.write(h.digest())
149 f.write(sig)
150 f.write(shdr_uuid)
151 f.write(shdr_version)
152 f.write(img)
[all …]
/OK3568_Linux_fs/yocto/poky/scripts/
H A Ddevtool73 def write(self): member in ConfigHandler
77 self.config_obj.write(f)
154 f.write('# ### workspace layer auto-generated by devtool ###\n')
155 f.write('BBPATH =. "$' + '{LAYERDIR}:"\n')
156 f.write('BBFILES += "$' + '{LAYERDIR}/recipes/*/*.bb \\\n')
157 f.write(' $' + '{LAYERDIR}/appends/*.bbappend"\n')
158 f.write('BBFILE_COLLECTIONS += "workspacelayer"\n')
159 f.write('BBFILE_PATTERN_workspacelayer = "^$' + '{LAYERDIR}/"\n')
160 f.write('BBFILE_PATTERN_IGNORE_EMPTY_workspacelayer = "1"\n')
161 f.write('BBFILE_PRIORITY_workspacelayer = "99"\n')
[all …]
/OK3568_Linux_fs/kernel/drivers/crypto/inside-secure/
H A Dsafexcel_ring.c28 cdr->write = cdr->base; in safexcel_init_ring_descriptors()
65 rdr->write = rdr->base; in safexcel_init_ring_descriptors()
82 void *ptr = ring->write; in safexcel_ring_next_cwptr()
87 if ((ring->write == ring->read - ring->offset) || in safexcel_ring_next_cwptr()
88 (ring->read == ring->base && ring->write == ring->base_end)) in safexcel_ring_next_cwptr()
91 if (ring->write == ring->base_end) { in safexcel_ring_next_cwptr()
92 ring->write = ring->base; in safexcel_ring_next_cwptr()
95 ring->write += ring->offset; in safexcel_ring_next_cwptr()
106 void *ptr = ring->write; in safexcel_ring_next_rwptr()
109 *rtoken = ring->write + ring->shoffset; in safexcel_ring_next_rwptr()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/include/
H A Dbcm_ring.h137 int write __ring_aligned; /* WRITE index in a circular ring */
150 static INLINE void bcm_ring_prod_done(bcm_ring_t *ring, int write);
180 ring->write = 0; in bcm_ring_init()
194 to->write = from->write; in bcm_ring_copy()
208 return (ring->read == ring->write); in bcm_ring_is_empty()
223 return ((ring->write + 1) % ring_size); in __bcm_ring_next_write()
263 bcm_ring_prod_done(bcm_ring_t *ring, int write) in bcm_ring_prod_done() argument
266 ring->write = write; in bcm_ring_prod_done()
287 rtn = ring->write; in bcm_ring_prod_pend()
308 prod_write = ring->write; in bcm_ring_prod()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/include/
H A Dbcm_ring.h169 int write __ring_aligned; /* WRITE index in a circular ring */
182 static INLINE void bcm_ring_prod_done(bcm_ring_t *ring, int write);
212 ring->write = 0; in bcm_ring_init()
226 to->write = from->write; in bcm_ring_copy()
240 return (ring->read == ring->write); in bcm_ring_is_empty()
255 return ((ring->write + 1) % ring_size); in __bcm_ring_next_write()
295 bcm_ring_prod_done(bcm_ring_t *ring, int write) in bcm_ring_prod_done() argument
298 ring->write = write; in bcm_ring_prod_done()
319 rtn = ring->write; in bcm_ring_prod_pend()
340 prod_write = ring->write; in bcm_ring_prod()
[all …]

12345678910>>...157