/AliOS-Things-master/components/py_engine/tests/io/ |
A D | file1.py | 1 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 D | open_append.py | 17 f = open("testfile", "a") 21 f = open("testfile") 25 f = open("testfile", "a") 29 f = open("testfile")
|
A D | open_plus.py | 17 f = open("testfile", "r+b") 23 f = open("testfile", "w+b") 30 f = open("testfile", "w+b") 37 f = open("testfile", "r+b")
|
A D | file_readinto.py | 2 f = open("io/data/file1", "rb") 5 f = open("io/data/file2", "rb") 10 f = open("io/data/file1", "ab")
|
A D | file_seek.py | 1 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 D | vfs_lfs_file.py | 48 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 D | vfs_fat_fileio2.py | 72 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 D | vfs_lfs_mtime.py | 51 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 D | vfs_lfs_corrupt.py | 51 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 D | oled.js | 30 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 D | oled.js | 30 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 D | oled.js | 30 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 D | main.py | 8 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 D | webrepl_setup.py | 36 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 D | test.cc | 17 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 D | ota_image_package.py | 18 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 D | sdtest.py | 22 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 D | main.py | 7 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 D | main.py | 7 spi0.open("oled_spi") 10 gpio_dc.open("oled_dc") 13 gpio_res.open("oled_res")
|
/AliOS-Things-master/hardware/chip/rtl872xd/ |
A D | ota.py | 21 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 D | prepend_header.py | 15 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 D | zstream.h | 55 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 D | adc.js | 19 this.adcInstance = __native.ADC.open(this.options.id); 44 function open(options) { function 49 open,
|
A D | dac.js | 18 this.dacInstance = __native.DAC.open(this.options.id); 48 function open(options) { function 53 open,
|
/AliOS-Things-master/components/amp/test/ |
A D | test_sh1106.js | 8 var oled_dc = gpio.open({ 18 var oled_res = gpio.open({ 28 var oled_spi = spi.open({
|