Searched refs:file_position (Results 1 – 2 of 2) sorted by relevance
135 uint32_t file_position = file_p->cache->file_position; in lv_fs_read_cached() local141 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()[all …]
93 uint32_t file_position; member