Home
last modified time | relevance | path

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

12345678910>>...24

/AliOS-Things-master/components/freetype/src/tools/
A Dglnames.py4922 write = file.write
4936 write = file.write
5189 write = file.write
5246 write = file.write
5280 write( "\n" )
5281 write( "\n" )
5283 write( "\n" )
5284 write( "\n" )
5311 write( """\
5329 write( """\
[all …]
/AliOS-Things-master/solutions/tflite_micro_speech_demo/micro_speech/train/speech_commands/
A Dwav_to_features.py81 f.write('/* File automatically created by\n')
89 f.write(' * --quantize=1 \\\n')
91 f.write(' * --input_wav="%s" \\\n' % input_wav)
93 f.write(' */\n\n')
94 f.write('const int g_%s_width = %d;\n' %
96 f.write('const int g_%s_height = %d;\n' %
111 f.write('\n ')
112 f.write('%d, ' % (quantized_value))
119 f.write('\n ')
120 f.write('%f, ' % value)
[all …]
/AliOS-Things-master/components/py_engine/tests/wipy/
A Duart.py57 print(uart0.write(b"123456") == 6)
60 print(uart1.write(b"123") == 3)
65 uart0.write(b"123")
74 uart0.write(b"1234567890")
80 uart0.write(b"1234567890")
85 print(uart0.write(b"123456") == 6)
87 print(uart1.write(b"123") == 3)
92 print(uart0.write(b"123456") == 6)
94 print(uart1.write(b"123") == 3)
101 print(uart1.write(b"123") == 3)
[all …]
/AliOS-Things-master/hardware/chip/rtl872xd/
A Dota.py24 output.write(b)
26 output.write(b)
28 output.write("OTA1".encode())
30 output.write(b)
37 output.write(b)
39 output.write(b)
41 output.write(b)
43 output.write(b)
45 output.write(input.read())
/AliOS-Things-master/components/ota/tools/
A Dota_image_package.py20 fp.write(data)
22 fp.write('\xFF'*gap_szie)
33 fout.write(data)
35 fout.write(struct.pack('<I', magic))
36 fout.write(struct.pack('<I', size))
37 fout.write(hashlib.md5(data).digest())
40 fout.write(reserve)
41 fout.write(reserve)
79 fp.write(main_data)
85 fp.write('\xFF'*gap_szie)
[all …]
/AliOS-Things-master/components/SDL2/src/image/external/zlib-1.2.11/
A Dmake_vms.com82 $ open/write topt tmp.opt
83 $ open/write optf 'optfile'
138 $ open/write aconf zconf.h
146 $ write aconf line
154 $ write aconf ""
156 $ write aconf "#define VMS 1"
165 $ write aconf "#endif"
168 $ write aconf "#endif"
290 $ write sys$output P2
712 $ write aconf 'p1'
[all …]
/AliOS-Things-master/components/py_engine/engine/drivers/sdcard/
A Dsdcard.py148 self.spi.write(buf)
168 self.spi.write(b"\xff")
191 self.spi.write(b"\xff")
192 self.spi.write(b"\xff")
195 self.spi.write(b"\xff")
202 self.spi.write(buf)
203 self.spi.write(b"\xff")
204 self.spi.write(b"\xff")
217 self.spi.write(b"\xff")
222 self.spi.write(b"\xff")
[all …]
/AliOS-Things-master/components/py_engine/tests/basics/
A Dio_stringio1.py17 a.write("foo")
21 a.write("12")
25 a.write("123")
29 a.write("1234")
33 a.write("foo")
38 a.write("foo")
43 for f in [a.read, a.getvalue, lambda:a.write("")]:
A Dio_write_ext.py13 buf.write(b"foo", 2)
16 buf.write(b"foo", 100)
19 buf.write(b"foobar", 1, 3)
22 buf.write(b"foobar", 1, 100)
25 buf.write(b"foobar", 100, 100)
/AliOS-Things-master/components/py_engine/engine/tools/
A Dgen-cpydiff.py208 rst.write(HEADER)
209 rst.write(section[i] + "\n")
214 rst.write(section[i] + "\n")
216 rst.write("\n\n")
219 rst.write(output.desc + "\n")
220 rst.write("~" * len(output.desc) + "\n\n")
232 rst.write(table)
236 index.write(HEADER)
237 index.write(template.read())
240 index.write(indent(section + ".rst", TAB))
[all …]
A Dhaasboard.py84 stdout.write(b)
142 def write(self, data): member in TelnetToSerial
143 self.tn.write(data)
196 def write(self, data): member in ProcessToSerial
197 self.subp.stdin.write(data)
246 def write(self, data): member in ProcessPtyToTerminal
299 self.serial.write(cmd)
302 self.serial.write(cmd)
344 self.serial.write(b"\r\n")
432 self.serial.write(b)
[all …]
A Dtransymodem.py43 return serialport.write(data)
107 serialport.write(serial.to_bytes(handshake_data))
155 serialport.write(serial.to_bytes(checkstatuslist))
167 serialport.write(reboot_cmd_cli.encode())
169 serialport.write(reboot_cmd.encode())
178 serialport.write(b'a\r\n')
187 serialport.write(reboot_cmd_cli.encode())
193 serialport.write(reboot_cmd.encode())
267 serialport.write(cmd.encode())
284 serialport.write(cmd.encode())
[all …]
A Dpyboard.py84 stdout.write(b)
143 def write(self, data): member in TelnetToSerial
144 self.tn.write(data)
197 def write(self, data): member in ProcessToSerial
198 self.subp.stdin.write(data)
247 def write(self, data): member in ProcessPtyToTerminal
248 return self.ser.write(data)
402 self.serial.write(b)
407 self.serial.write(b"\x04")
448 self.serial.write(b"\x04")
[all …]
/AliOS-Things-master/components/py_engine/framework/
A Dsh1106.py183 res.write(1)
185 res.write(0)
187 res.write(1)
225 self.cs.write(1)
226 self.dc.write(0)
227 self.cs.write(0)
229 self.cs.write(1)
231 self.dc.write(0)
236 self.cs.write(1)
237 self.dc.write(1)
[all …]
/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/contrib/pngminus/
A Dmakevms.com31 $ open/write lopt lib.opt
32 $ write lopt "[--]libpng.olb/lib"
33 $ write lopt "''zlibsrc'libz.olb/lib"
35 $ open/write xopt x11.opt
36 $ write xopt "sys$library:decw$xlibshr.exe/share"
38 $ write sys$output "Compiling PNG contrib programs ..."
39 $ write sys$output "Building pnm2png..."
45 $ write sys$output "Building png2pnm..."
87 $ write sys$output P2
/AliOS-Things-master/components/csi/csi1/src/
A Ddev_ringbuf.c17 fifo->write = fifo->read = 0; in dev_ringbuff_reset()
94 if(fifo->write < fifo->read) { in dev_ringbuf_in()
95 memcpy((void*)&fifo->buffer[fifo->write], (void*)datptr, writelen); in dev_ringbuf_in()
97 tmplen = fifo->size - fifo->write; in dev_ringbuf_in()
99 memcpy((void*)&fifo->buffer[fifo->write], (void*)datptr, writelen); in dev_ringbuf_in()
101 memcpy((void*)&fifo->buffer[fifo->write], (void*)datptr, tmplen); in dev_ringbuf_in()
107 fifo->write = (fifo->write + writelen) % fifo->size; in dev_ringbuf_in()
/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/contrib/gregbook/
A Dmakevms.com21 $ write sys$output "zlib include not found. Exiting..."
27 $ write sys$output "libpng include not found. Exiting..."
56 $ open/write lopt lib.opt
57 $ write lopt "''pngpath'libpng.olb/lib"
58 $ write lopt "''zpath'libz.olb/lib"
60 $ open/write xopt x11.opt
61 $ write xopt "sys$library:decw$xlibshr.exe/share"
/AliOS-Things-master/components/littlevgl/scripts/
A Dlv_conf_checker.py12 fout.write(
38 fout.write(
46 fout.write(f'{i}\n')
49 fout.write(
/AliOS-Things-master/components/SDL2/test/
A Dtestfile.c134 if (1 != rwops->write(rwops, "1234567890", 10, 1)) in main()
136 if (10 != rwops->write(rwops, "1234567890", 1, 10)) in main()
138 if (7 != rwops->write(rwops, "1234567", 1, 7)) in main()
167 if (0 != rwops->write(rwops, test_buf, 1, 1)) in main()
175 if (1 != rwops->write(rwops, "1234567890", 10, 1)) in main()
177 if (10 != rwops->write(rwops, "1234567890", 1, 10)) in main()
179 if (7 != rwops->write(rwops, "1234567", 1, 7)) in main()
210 if (1 != rwops->write(rwops, "1234567890", 10, 1)) in main()
214 if (7 != rwops->write(rwops, "1234567", 1, 7)) in main()
245 if (1 != rwops->write(rwops, "1234567890", 10, 1)) in main()
[all …]
/AliOS-Things-master/components/py_engine/tests/extmod/
A Dvfs_lfs.py.exp14 write 0
15 write 1
16 write 2
17 write 3
51 write 0
52 write 1
53 write 2
54 write 3
/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/contrib/conftest/
A Dwrite.dfa1 # write.dfa
11 # Build libpng with no read support and minimal write support.
16 # Switch on the write code - this makes a minimalist encoder
39 # Everything else is optional. Unlike the read code in libpng the write code
41 # you really do write! For example you might only write sRGB images, sometimes
42 # with transparency and never write 16 bit images, so:
/AliOS-Things-master/components/SDL2/src/joystick/
A Dsort_controllers.py72 output.write(line)
80 output.write(line)
84 output.write(line)
87 output.write(line)
90 output.write(line)
97 output.write(line)
/AliOS-Things-master/components/py_engine/tests/pyb/
A Duart.py20 print(uart.write("123"))
21 print(uart.write(b"abcd"))
29 print(uart.write(b"1"))
30 print(uart.write(b"abcd"))
/AliOS-Things-master/components/freetype/src/gzip/
A Dinfutil.c36 n = (uInt)((q <= s->write ? s->write : s->end) - q); in inflate_flush()
58 if (s->write == s->end) in inflate_flush()
59 s->write = s->window; in inflate_flush()
62 n = (uInt)(s->write - q); in inflate_flush()
/AliOS-Things-master/components/amp/modules/
A Dsi7006.js62 si7006Dev.write(reg);
76 si7006Dev.write(lowIDReg);
80 si7006Dev.write(highIDReg);
95 si7006Dev.write(reg);
116 si7006Dev.write(reg);

Completed in 39 milliseconds

12345678910>>...24