Home
last modified time | relevance | path

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

/lvgl-3.7.0/src/misc/
Dlv_fs.c155 uint32_t bytes_read_to_buffer = 0; in lv_fs_read_cached() local
159 btr - buffer_remaining_length, &bytes_read_to_buffer); in lv_fs_read_cached()
163 …e_p->drv->read_cb(file_p->drv, file_p->file_d, (void *)buffer, buffer_size, &bytes_read_to_buffer); in lv_fs_read_cached()
165 file_p->cache->end = file_p->cache->start + bytes_read_to_buffer; in lv_fs_read_cached()
167 … uint16_t data_chunk_remaining = LV_MIN(btr - buffer_remaining_length, bytes_read_to_buffer); in lv_fs_read_cached()
170 *br = LV_MIN(buffer_remaining_length + bytes_read_to_buffer, btr); in lv_fs_read_cached()
187 uint32_t bytes_read_to_buffer = 0; in lv_fs_read_cached() local
188 …e_p->drv->read_cb(file_p->drv, file_p->file_d, (void *)buffer, buffer_size, &bytes_read_to_buffer); in lv_fs_read_cached()
190 file_p->cache->end = file_p->cache->start + bytes_read_to_buffer; in lv_fs_read_cached()
192 *br = LV_MIN(btr, bytes_read_to_buffer); in lv_fs_read_cached()