Home
last modified time | relevance | path

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

/lvgl-3.7.0/src/font/
Dlv_font_loader.c90 if(res != LV_FS_RES_OK) in lv_font_load()
204 if(*res != LV_FS_RES_OK) { in read_bits()
212 *res = LV_FS_RES_OK; in read_bits()
232 if(lv_fs_read(fp, &length, 4, NULL) != LV_FS_RES_OK in read_label()
233 || lv_fs_read(fp, buf, 4, NULL) != LV_FS_RES_OK in read_label()
245 …(lv_fs_read(fp, cmap_table, font_dsc->cmap_num * sizeof(cmap_table_bin_t), NULL) != LV_FS_RES_OK) { in load_cmaps_tables()
251 if(res != LV_FS_RES_OK) { in load_cmaps_tables()
269 if(lv_fs_read(fp, glyph_id_ofs_list, ids_size, NULL) != LV_FS_RES_OK) { in load_cmaps_tables()
286 if(lv_fs_read(fp, unicode_list, list_size, NULL) != LV_FS_RES_OK) { in load_cmaps_tables()
295 … if(lv_fs_read(fp, buf, sizeof(uint16_t) * cmap->list_length, NULL) != LV_FS_RES_OK) { in load_cmaps_tables()
[all …]
/lvgl-3.7.0/tests/src/test_cases/
Dtest_fs.c26 TEST_ASSERT_EQUAL(LV_FS_RES_OK, res); in test_read()
31 TEST_ASSERT_EQUAL(LV_FS_RES_OK, res); in test_read()
39 TEST_ASSERT_EQUAL(LV_FS_RES_OK, res); in test_read()
43 TEST_ASSERT_EQUAL(LV_FS_RES_OK, res); in test_read()
/lvgl-3.7.0/src/extra/libs/fsdrv/
Dlv_fs_fatfs.c138 return LV_FS_RES_OK; in fs_close()
155 if(res == FR_OK) return LV_FS_RES_OK; in fs_read()
172 if(res == FR_OK) return LV_FS_RES_OK; in fs_write()
201 return LV_FS_RES_OK; in fs_seek()
216 return LV_FS_RES_OK; in fs_tell()
266 return LV_FS_RES_OK; in fs_dir_read()
280 return LV_FS_RES_OK; in fs_dir_close()
Dlv_fs_posix.c131 return LV_FS_RES_OK; in fs_close()
148 return (int32_t)(*br) < 0 ? LV_FS_RES_UNKNOWN : LV_FS_RES_OK; in fs_read()
164 return (int32_t)(*bw) < 0 ? LV_FS_RES_UNKNOWN : LV_FS_RES_OK; in fs_write()
179 return offset < 0 ? LV_FS_RES_FS_ERR : LV_FS_RES_OK; in fs_seek()
195 return offset < 0 ? LV_FS_RES_FS_ERR : LV_FS_RES_OK; in fs_tell()
276 if(FindNextFile(dir_p, &fdata) == false) return LV_FS_RES_OK; in fs_dir_read()
293 return LV_FS_RES_OK; in fs_dir_read()
310 return LV_FS_RES_OK; in fs_dir_close()
Dlv_fs_stdio.c133 return LV_FS_RES_OK; in fs_close()
150 return (int32_t)(*br) < 0 ? LV_FS_RES_UNKNOWN : LV_FS_RES_OK; in fs_read()
166 return (int32_t)(*bw) < 0 ? LV_FS_RES_UNKNOWN : LV_FS_RES_OK; in fs_write()
181 return LV_FS_RES_OK; in fs_seek()
196 return LV_FS_RES_OK; in fs_tell()
282 if(FindNextFileA(handle->dir_p, &fdata) == false) return LV_FS_RES_OK; in fs_dir_read()
299 return LV_FS_RES_OK; in fs_dir_read()
318 return LV_FS_RES_OK; in fs_dir_close()
Dlv_fs_win32.c114 res = LV_FS_RES_OK; in fs_error_from_win32()
244 ? LV_FS_RES_OK in fs_close()
262 ? LV_FS_RES_OK in fs_read()
279 ? LV_FS_RES_OK in fs_write()
309 ? LV_FS_RES_OK in fs_seek()
344 return LV_FS_RES_OK; in fs_tell()
363 handle->next_error = LV_FS_RES_OK; in fs_dir_open()
397 handle->next_error = LV_FS_RES_OK; in fs_dir_open()
453 ? LV_FS_RES_OK in fs_dir_close()
Dlv_fs_littlefs.c166 return LV_FS_RES_OK; in fs_close()
186 return LV_FS_RES_OK; in fs_read()
207 return LV_FS_RES_OK; in fs_write()
233 return LV_FS_RES_OK; in fs_seek()
251 return LV_FS_RES_OK; in fs_tell()
306 return LV_FS_RES_OK; in fs_dir_read()
323 return LV_FS_RES_OK; in fs_dir_close()
/lvgl-3.7.0/src/misc/
Dlv_fs.c102 return LV_FS_RES_OK; in lv_fs_open()
134 lv_fs_res_t res = LV_FS_RES_OK; in lv_fs_read_cached()
198 if(res == LV_FS_RES_OK) { in lv_fs_read_cached()
255 lv_fs_res_t res = LV_FS_RES_OK; in lv_fs_seek()
281 if(res == LV_FS_RES_OK) { in lv_fs_seek()
285 if(res == LV_FS_RES_OK) { in lv_fs_seek()
315 res = LV_FS_RES_OK; in lv_fs_tell()
355 return LV_FS_RES_OK; in lv_fs_dir_open()
Dlv_fs.h35 LV_FS_RES_OK = 0, enumerator
/lvgl-3.7.0/docs/overview/
Dfile-system.md74 if(res != LV_FS_RES_OK) my_error_handling();
79 if(res != LV_FS_RES_OK || read_num != 8) my_error_handling();
90 if(res != LV_FS_RES_OK) my_error_handling();
95 if(res != LV_FS_RES_OK) {
/lvgl-3.7.0/src/extra/libs/sjpg/
Dlv_sjpg.c220 if(res != LV_FS_RES_OK) return 78; in decoder_info()
224 if(res != LV_FS_RES_OK || rn != 8) { in decoder_info()
232 if(res != LV_FS_RES_OK || rn != 4) { in decoder_info()
251 if(res != LV_FS_RES_OK) return 78; in decoder_info()
511 if(res != LV_FS_RES_OK) { in decoder_open()
517 if(res != LV_FS_RES_OK || rn != 22) { in decoder_open()
565 if(res != LV_FS_RES_OK || rn != 2) { in decoder_open()
609 if(res != LV_FS_RES_OK) { in decoder_open()
/lvgl-3.7.0/src/draw/
Dlv_img_decoder.c292 if(res == LV_FS_RES_OK) { in lv_img_decoder_built_in_info()
296 if(res != LV_FS_RES_OK || rn != sizeof(lv_img_header_t)) { in lv_img_decoder_built_in_info()
335 if(res != LV_FS_RES_OK) { in lv_img_decoder_built_in_open()
381 if(res != LV_FS_RES_OK) { in lv_img_decoder_built_in_open()
547 if(res != LV_FS_RES_OK) { in lv_img_decoder_built_in_line_true_color()
554 if(res != LV_FS_RES_OK || btr != br) { in lv_img_decoder_built_in_line_true_color()
/lvgl-3.7.0/src/extra/libs/gif/
Dlv_gif.c144 if(res != LV_FS_RES_OK) return; in next_frame_task_cb()
Dgifdec.c637 if(res != LV_FS_RES_OK) return false; in f_gif_open()
/lvgl-3.7.0/src/extra/libs/bmp/
Dlv_bmp.c85 if(res != LV_FS_RES_OK) return LV_RES_INV; in decoder_info()
/lvgl-3.7.0/src/extra/libs/png/
Dlv_png.c82 if(res != LV_FS_RES_OK) return LV_RES_INV; in decoder_info()
Dlodepng.c346 if(res != LV_FS_RES_OK) return -1; in lodepng_filesize()
362 if(res != LV_FS_RES_OK) return 78; in lodepng_buffer_file()
366 if(res != LV_FS_RES_OK) return 78; in lodepng_buffer_file()
387 if(res != LV_FS_RES_OK) return 79; in lodepng_save_file()
/lvgl-3.7.0/src/extra/libs/tiny_ttf/
Dlv_tiny_ttf.c188 if(LV_FS_RES_OK != lv_fs_open(&dsc->file, path, LV_FS_MODE_RD)) { in lv_tiny_ttf_create()