Home
last modified time | relevance | path

Searched refs:open (Results 1 – 25 of 650) sorted by relevance

12345678910>>...26

/AliOS-Things-master/components/py_engine/tests/io/
A Dfile1.py1 f = open("io/data/file1")
5 f = open("io/data/file1")
7 f = open("io/data/file1", "r")
9 f = open("io/data/file1", "rb")
11 f = open("io/data/file1", mode="r")
13 f = open("io/data/file1", mode="rb")
17 f = open("io/data/file1", "r")
25 f = open("io/data/file1", "ab")
33 f = open("io/data/file1", "at")
41 f = open("io/data/file1", "ab")
A Dopen_append.py17 f = open("testfile", "a")
21 f = open("testfile")
25 f = open("testfile", "a")
29 f = open("testfile")
A Dopen_plus.py17 f = open("testfile", "r+b")
23 f = open("testfile", "w+b")
30 f = open("testfile", "w+b")
37 f = open("testfile", "r+b")
A Dfile_readinto.py2 f = open("io/data/file1", "rb")
5 f = open("io/data/file2", "rb")
10 f = open("io/data/file1", "ab")
A Dfile_seek.py1 f = open("io/data/file1", "rb")
21 f = open("io/data/file1", "rt")
28 f = open("io/data/file1", "r")
/AliOS-Things-master/components/py_engine/tests/extmod/
A Dvfs_lfs_file.py48 f = vfs.open("test.txt", "wt")
57 f = vfs.open("test.bin", "wb")
64 f = vfs.open("test.bin", "ab")
69 f = vfs.open("test2.bin", "xb")
74 vfs.open("test2.bin", "x")
79 with vfs.open("test.txt", "") as f:
83 with vfs.open("test.txt", "rt") as f:
98 f = vfs.open("test.txt", "r")
106 vfs.open("noexist", "r")
111 f1 = vfs.open("test.txt", "")
[all …]
A Dvfs_fat_fileio2.py72 with open("foo_dir/file-in-dir.txt", "w+t") as f:
75 with open("foo_dir/file-in-dir.txt", "r+b") as f:
78 with open("foo_dir/sub_file.txt", "w") as f:
95 with open("temp", "w") as f:
99 with open("moved-to-root.txt") as f:
111 f = open("large_file.txt", "wb")
A Dvfs_lfs_mtime.py51 vfs.open("test1", "wt").close()
57 vfs.open("test2", "wt").close()
74 vfs.open("test1", "rt").close()
78 vfs.open("test1", "wt").close()
91 f = vfs.open("test1", "wt")
A Dvfs_lfs_corrupt.py51 with vfs.open("f", "w") as f:
71 f = vfs.open("f", "r")
80 f = vfs.open("f", "a")
89 f = vfs.open("f", "w")
99 f = vfs.open("f", "w")
/AliOS-Things-master/solutions/javascript_demo/board/haas-edu-k1/
A Doled.js30 var oled_dc = gpio.open({ id: "oled_dc" });
31 var oled_res = gpio.open({ id: "oled_res" });
32 var oled_spi = spi.open({ id: "oled_spi" });
35 dispaly.open()
/AliOS-Things-master/solutions/javascript_demo/board/haas600/
A Doled.js30 var oled_dc = gpio.open({
40 var oled_res = gpio.open({
50 var oled_spi = spi.open({
64 dispaly.open()
/AliOS-Things-master/solutions/javascript_demo/board/haas100/
A Doled.js30 var oled_dc = gpio.open({
40 var oled_res = gpio.open({
50 var oled_spi = spi.open({
64 dispaly.open()
/AliOS-Things-master/components/py_engine/tests/haas/HaaSEdu/python-apps/driver/gyroscope/
A Dmain.py8 mpu6050Dev.open("mpu6050")
13 spi0.open("oled_spi")
16 gpio_dc.open("oled_dc")
19 gpio_res.open("oled_res")
/AliOS-Things-master/components/py_engine/engine/extmod/webrepl/
A Dwebrepl_setup.py36 with open(fname):
44 with open(RC) as f:
55 with open(RC) as old_f, open(RC + ".tmp", "w") as new_f:
93 with open(CONFIG, "w") as f:
/AliOS-Things-master/components/SDL2/src/image/external/zlib-1.2.11/contrib/iostream3/
A Dtest.cc17 outf.open("test1.txt.gz"); in main()
26 inf.open("test1.txt.gz"); in main()
33 outf.open("test2.txt.gz"); in main()
42 inf.open("test2.txt.gz"); in main()
/AliOS-Things-master/components/ota/tools/
A Dota_image_package.py18 fp = open(file_name,'ab')
30 fin = open(input_file, 'rb')
32 fout = open(output_file, 'wb')
75 fmain = open(main_file, 'rb')
77 fp = open(output_file,'ab')
81 fmcu = open(mcu_file, 'rb')
/AliOS-Things-master/components/py_engine/engine/drivers/sdcard/
A Dsdtest.py22 with open(fn, "w") as f:
30 with open(fn, "r") as f:
37 with open(fn, "w") as f:
41 with open(fn, "r") as f:
/AliOS-Things-master/components/py_engine/tests/haas/HaaS100/python-apps/driver/oled/
A Dmain.py7 spi0.open("SPI1")
10 gpio_dc.open("oled_dc")
13 gpio_res.open("oled_res")
/AliOS-Things-master/components/py_engine/tests/haas/HaaSEdu/python-apps/driver/oled/
A Dmain.py7 spi0.open("oled_spi")
10 gpio_dc.open("oled_dc")
13 gpio_res.open("oled_res")
/AliOS-Things-master/hardware/chip/rtl872xd/
A Dota.py21 with open(input_bin, 'rb') as file:
23 output = open(ota_bin, 'wb')
31 input = open(input_bin, 'rb')
44 input = open(input_bin, 'rb')
A Dprepend_header.py15 addr = int('0x'+re.search(r"\n(\w+) (\w+) "+section_start_name, open(symbol_list_file).read()).grou…
18 open(image_file.replace('.bin', '_prepend.bin'), 'wb').write(header + open(image_file, 'rb').read())
/AliOS-Things-master/components/SDL2/src/image/external/zlib-1.2.11/contrib/iostream2/
A Dzstream.h55 izstream(FILE* fp) : m_fp(0) { open(fp); } in izstream()
56 izstream(const char* name) : m_fp(0) { open(name); } in izstream()
65 void open(const char* name) { in open() function
70 void open(FILE* fp) { in open() function
162 open(fp, level);
166 open(name, level);
177 void open(const char* name, int level = Z_DEFAULT_COMPRESSION) {
186 void open(FILE* fp, int level = Z_DEFAULT_COMPRESSION) {
/AliOS-Things-master/components/amp/libjs/lib/
A Dadc.js19 this.adcInstance = __native.ADC.open(this.options.id);
44 function open(options) { function
49 open,
A Ddac.js18 this.dacInstance = __native.DAC.open(this.options.id);
48 function open(options) { function
53 open,
/AliOS-Things-master/components/amp/test/
A Dtest_sh1106.js8 var oled_dc = gpio.open({
18 var oled_res = gpio.open({
28 var oled_spi = spi.open({

Completed in 28 milliseconds

12345678910>>...26