Home
last modified time | relevance | path

Searched refs:mp_stream_rw (Results 1 – 3 of 3) sorted by relevance

/AliOS-Things-master/components/py_engine/engine/py/
A Dstream.h113 mp_uint_t mp_stream_rw(mp_obj_t stream, void *buf, mp_uint_t size, int *errcode, byte flags);
114 #define mp_stream_write_exactly(stream, buf, size, err) mp_stream_rw(stream, (byte *)buf, size, err…
115 #define mp_stream_read_exactly(stream, buf, size, err) mp_stream_rw(stream, buf, size, err, MP_STRE…
A Dstream.c48 mp_uint_t mp_stream_rw(mp_obj_t stream, void *buf_, mp_uint_t size, int *errcode, byte flags) { in mp_stream_rw() function
200 mp_uint_t out_sz = mp_stream_rw(args[0], vstr.buf, sz, &error, flags); in stream_read_generic()
230 mp_uint_t out_sz = mp_stream_rw(self_in, (void *)buf, len, &error, flags); in mp_stream_write()
/AliOS-Things-master/components/py_engine/engine/extmod/
A Dvfs_reader.c51 reader->len = mp_stream_rw(reader->file, reader->buf, sizeof(reader->buf), in mp_reader_vfs_readbyte()
80 …rf->len = mp_stream_rw(rf->file, rf->buf, sizeof(rf->buf), &errcode, MP_STREAM_RW_READ | MP_STREAM… in mp_reader_new_file()

Completed in 5 milliseconds