Lines Matching refs:file_position
135 uint32_t file_position = file_p->cache->file_position; in lv_fs_read_cached() local
141 if(start <= file_position && file_position < end) { in lv_fs_read_cached()
143 uint16_t buffer_offset = file_position - start; in lv_fs_read_cached()
144 …er_remaining_length = LV_MIN((uint32_t)buffer_size - buffer_offset, (uint32_t)end - file_position); in lv_fs_read_cached()
189 file_p->cache->start = file_position; in lv_fs_read_cached()
199 file_p->cache->file_position += *br; in lv_fs_read_cached()
259 file_p->cache->file_position = pos; in lv_fs_seek()
262 …if(file_p->cache->file_position < file_p->cache->start || file_p->cache->file_position > file_p->c… in lv_fs_seek()
263 …es = file_p->drv->seek_cb(file_p->drv, file_p->file_d, file_p->cache->file_position, LV_FS_SEEK_SE… in lv_fs_seek()
269 file_p->cache->file_position += pos; in lv_fs_seek()
272 …if(file_p->cache->file_position < file_p->cache->start || file_p->cache->file_position > file_p->c… in lv_fs_seek()
273 …es = file_p->drv->seek_cb(file_p->drv, file_p->file_d, file_p->cache->file_position, LV_FS_SEEK_SE… in lv_fs_seek()
286 file_p->cache->file_position = tmp_position; in lv_fs_seek()
314 *pos = file_p->cache->file_position; in lv_fs_tell()