/AliOS-Things-master/components/py_engine/tests/wipy/ |
A D | uart.py | 61 print(uart0.read(1) == b"1") 62 print(uart0.read(2) == b"23") 63 print(uart0.read() == None) 88 print(uart0.read() == None) 93 print(uart1.read() == None) 95 print(uart0.read() == b"123") 100 print(uart1.read() == None) 107 print(uart1.read() == None) 109 print(uart0.read() == None) 137 uart0.read() [all …]
|
A D | spi.py | 42 read = spi.read(10) variable 43 print(len(read) == 10) 44 read = spi.read(10, write=0xFF) variable 45 print(len(read) == 10) 126 spi.read(15)
|
A D | uart_irq.py | 60 print(uart1.read() == b"123") 72 print(uart0.read() == b"12345") 86 print(uart1.read() == b"123") 102 print(uart1.read() == b"123") 118 print(uart1.read() == b"123") 133 print(uart1.read() == b"123")
|
/AliOS-Things-master/components/py_engine/tests/extmod/ |
A D | uzlib_decompio.py | 13 print(inp.read(1)) 15 print(inp.read(2)) 16 print(inp.read()) 18 print(inp.read(1)) 19 print(inp.read()) 25 print(inp.read(10)) 26 print(inp.read()) 31 print(inp.read())
|
A D | uzlib_decompio_gz.py | 15 print(inp.read(1)) 17 print(inp.read(2)) 18 print(inp.read()) 20 print(inp.read(1)) 21 print(inp.read()) 29 print(inp.read()) 36 print(inp.read()) 53 inp.read(6)
|
A D | vfs_lfs_file.py | 80 print(f.read()) 84 print(f.read()) 88 print(f.read()) 92 print(f.read(8)) 95 print(f.read()) 113 print(f1.read()) 114 print(f2.read())
|
A D | vfs_fat_fileio1.py | 64 f.read() 82 print(f2.read()) 86 print(f2.read(1)) 89 print(f2.read(1)) 91 print(f2.read(1)) 94 print(f2.read(1))
|
A D | websocket_basic.py | 12 return ws.read(sz) 21 return s.read(sz) 42 print(ws.read(1)) 44 print(s.read(4))
|
/AliOS-Things-master/components/py_engine/tests/unicode/ |
A D | file2.py | 10 print(f.read(1)) 11 print(f.read(1)) 12 print(f.read(2)) 13 print(f.read(4)) 19 print(f.read(1 if mode == "rt" else 3)) 22 print(f.read(1 if mode == "rt" else 4))
|
/AliOS-Things-master/components/SDL2/test/ |
A D | testfile.c | 142 if (0 != rwops->read(rwops, test_buf, 1, 1)) in main() 153 if (7 != rwops->read(rwops, test_buf, 1, 7)) in main() 157 if (0 != rwops->read(rwops, test_buf, 1, 1)) in main() 163 if (2 != rwops->read(rwops, test_buf, 10, 3)) in main() 183 if (1 != rwops->read(rwops, test_buf, 1, 1)) in main() 189 if (7 != rwops->read(rwops, test_buf, 1, 7)) in main() 193 if (0 != rwops->read(rwops, test_buf, 1, 1)) in main() 218 if (1 != rwops->read(rwops, test_buf, 1, 1)) in main() 224 if (7 != rwops->read(rwops, test_buf, 1, 7)) in main() 228 if (0 != rwops->read(rwops, test_buf, 1, 1)) in main() [all …]
|
/AliOS-Things-master/components/py_engine/tests/io/ |
A D | file_seek.py | 3 print(f.read(5)) 7 print(f.read(4)) 11 print(f.read(20)) 15 print(f.read(5)) 23 print(f.read(5))
|
A D | file1.py | 2 print(f.read(5)) 4 print(f.read()) 27 f.read(1) 35 f.read(1) 43 f.read()
|
A D | open_plus.py | 26 print(f.read()) 33 print(f.read()) 40 print(f.read())
|
/AliOS-Things-master/components/py_engine/tests/basics/ |
A D | io_stringio1.py | 9 print(a.read()) 13 print(a.read()) 14 print(a.read()) 34 print(a.read()) 43 for f in [a.read, a.getvalue, lambda:a.write("")]:
|
/AliOS-Things-master/components/freetype/src/base/ |
A D | ftstream.c | 43 stream->read = 0; in FT_Stream_OpenMemory() 63 if ( stream->read ) in FT_Stream_Seek() 137 if ( stream->read ) in FT_Stream_ReadAt() 174 if ( stream->read ) in FT_Stream_TryRead() 244 if ( stream->read ) in FT_Stream_EnterFrame() 325 if ( stream->read ) in FT_Stream_ExitFrame() 460 if ( stream->read ) in FT_Stream_ReadChar() 501 if ( stream->read ) in FT_Stream_ReadUShort() 548 if ( stream->read ) in FT_Stream_ReadUShortLE() 595 if ( stream->read ) in FT_Stream_ReadUOffset() [all …]
|
/AliOS-Things-master/components/csi/csi1/src/ |
A D | dev_ringbuf.c | 17 fifo->write = fifo->read = 0; in dev_ringbuff_reset() 94 if(fifo->write < fifo->read) { in dev_ringbuf_in() 131 tmplen = fifo->size - fifo->read; in dev_ringbuf_out() 135 memcpy((void*)outbuf, (void*)&fifo->buffer[fifo->read], readlen); in dev_ringbuf_out() 137 memcpy((void*)outbuf,(void*)&fifo->buffer[fifo->read], tmplen); in dev_ringbuf_out() 143 fifo->read = (fifo->read + readlen) % fifo->size; in dev_ringbuf_out()
|
/AliOS-Things-master/components/lwip/lwip2.0.0/apps/httpd/ |
A D | fs.c | 123 int read; in fs_read_async() local 141 read = file->len - file->index; in fs_read_async() 142 if(read > count) { in fs_read_async() 143 read = count; in fs_read_async() 146 MEMCPY(buffer, (file->data + file->index), read); in fs_read_async() 147 file->index += read; in fs_read_async() 149 return(read); in fs_read_async()
|
/AliOS-Things-master/components/py_engine/tests/unix/ |
A D | extra_coverage.py | 22 print(stream.read()) # read all encounters non-blocking error 23 print(stream.read(1)) # read 1 byte encounters non-blocking error 29 print(stream.read(4)) # read encounters non-blocking error after successful reads 42 print(stream2.read(1)) # read 1 byte encounters non-blocking error with textio stream 96 print(buf.read(21))
|
/AliOS-Things-master/components/amp/modules/ |
A D | si7006.js | 63 version = si7006Dev.read(1); 77 lowID = si7006Dev.read(4); 81 highID = si7006Dev.read(4); 97 readData = si7006Dev.read(2); 118 readData = si7006Dev.read(2);
|
/AliOS-Things-master/components/py_engine/framework/ |
A D | si7006.py | 56 self.i2cDev.read(version) 66 self.i2cDev.read(id_buf_low) 70 self.i2cDev.read(id_buf_high) 81 self.i2cDev.read(readData) 98 self.i2cDev.read(readData)
|
/AliOS-Things-master/components/py_engine/tests/haas/HaaS100/python-apps/driver/led/ |
A D | main.py | 14 value = gpio.read() 18 value = gpio.read() 22 value = gpio.read()
|
/AliOS-Things-master/components/py_engine/tests/haas/HaaS200/python-apps/driver/led/ |
A D | main.py | 14 value = gpio.read() 18 value = gpio.read() 22 value = gpio.read()
|
/AliOS-Things-master/components/py_engine/engine/tools/ |
A D | transymodem.py | 40 return serialport.read(size) or None 62 buff = serialport.read(128) 71 buff += serialport.read(128) 80 buff += serialport.read(128) 91 buff = serialport.read(128) 93 buff += serialport.read(128) 109 buff = serialport.read(2) 157 buff = serialport.read(2) 181 enter_buff = serialport.read(100)
|
/AliOS-Things-master/components/oss/src/model/ |
A D | CreateSelectObjectMetaResult.cc | 57 data->read(reinterpret_cast<char*>(buffer), 12); in operator =() 76 data->read(reinterpret_cast<char*>(buffer), 32); in operator =() 95 data->read(reinterpret_cast<char*>(buffer), 4); in operator =() 99 data->read(messageBuffer, messageLength); in operator =() 110 data->read(reinterpret_cast<char*>(buffer), 4); in operator =()
|
/AliOS-Things-master/components/py_engine/engine/tools/mpremote/mpremote/ |
A D | pyboardextended.py | 336 return struct.unpack("<b", self.fin.read(1))[0] 339 return struct.unpack("<i", self.fin.read(4))[0] 343 return self.fin.read(n) 350 return str(self.fin.read(n), "utf8") 448 buf = self.data_files[fd][0].read(n) 521 c = self.orig_serial.read(1) 524 c = self.orig_serial.read(1)[0] 529 esctype = self.orig_serial.read(1) 548 def read(self, n): member in SerialIntercept 588 out_callback(self.serial.read(1)) [all …]
|