/lvgl-3.7.0/src/extra/libs/fsdrv/ |
D | lv_fs_fatfs.c | 38 static lv_fs_res_t fs_dir_read(lv_fs_drv_t * drv, void * dir_p, char * fn); 247 static lv_fs_res_t fs_dir_read(lv_fs_drv_t * drv, void * dir_p, char * fn) in fs_dir_read() argument 252 fn[0] = '\0'; in fs_dir_read() 259 fn[0] = '/'; in fs_dir_read() 260 strcpy(&fn[1], fno.fname); in fs_dir_read() 262 else strcpy(fn, fno.fname); in fs_dir_read() 264 } while(strcmp(fn, "/.") == 0 || strcmp(fn, "/..") == 0); in fs_dir_read()
|
D | lv_fs_littlefs.c | 42 static lv_fs_res_t fs_dir_read(lv_fs_drv_t * drv, void * dir_p, char * fn); 284 static lv_fs_res_t fs_dir_read(lv_fs_drv_t * drv, void * rddir_p, char * fn) in fs_dir_read() argument 296 fn[0] = '/'; in fs_dir_read() 297 strcpy(&fn[1], info.name); in fs_dir_read() 299 else strcpy(fn, info.name); in fs_dir_read() 301 else if(result == 0) fn[0] = '\0'; /*dir-scan ended*/ in fs_dir_read() 304 } while(!strcmp(fn, "/.") || !strcmp(fn, "/..")); in fs_dir_read()
|
D | lv_fs_posix.c | 44 static lv_fs_res_t fs_dir_read(lv_fs_drv_t * drv, void * dir_p, char * fn); 254 static lv_fs_res_t fs_dir_read(lv_fs_drv_t * drv, void * dir_p, char * fn) in fs_dir_read() argument 263 if(entry->d_type == DT_DIR) sprintf(fn, "/%s", entry->d_name); in fs_dir_read() 264 else strcpy(fn, entry->d_name); in fs_dir_read() 267 strcpy(fn, ""); in fs_dir_read() 269 } while(strcmp(fn, "/.") == 0 || strcmp(fn, "/..") == 0); in fs_dir_read() 271 strcpy(fn, next_fn); in fs_dir_read()
|
D | lv_fs_stdio.c | 47 static lv_fs_res_t fs_dir_read(lv_fs_drv_t * drv, void * dir_p, char * fn); 260 static lv_fs_res_t fs_dir_read(lv_fs_drv_t * drv, void * dir_p, char * fn) in fs_dir_read() argument 269 if(entry->d_type == DT_DIR) lv_snprintf(fn, MAX_PATH_LEN, "/%s", entry->d_name); in fs_dir_read() 270 else strcpy(fn, entry->d_name); in fs_dir_read() 273 strcpy(fn, ""); in fs_dir_read() 275 } while(strcmp(fn, "/.") == 0 || strcmp(fn, "/..") == 0); in fs_dir_read() 277 strcpy(fn, handle->next_fn); in fs_dir_read()
|
D | lv_fs_win32.c | 42 static lv_fs_res_t fs_dir_read(lv_fs_drv_t * drv, void * dir_p, char * fn); 410 static lv_fs_res_t fs_dir_read(lv_fs_drv_t * drv, void * dir_p, char * fn) in fs_dir_read() argument 414 strcpy(fn, handle->next_fn); in fs_dir_read()
|
/lvgl-3.7.0/scripts/release/ |
D | com.py | 19 def define_set(fn, name, value): argument 20 print("In " + fn + " set " + name + " to " + value) 25 f = open(fn, "r") 35 f = open(fn, "w")
|
/lvgl-3.7.0/src/misc/ |
D | lv_fs.c | 358 lv_fs_res_t lv_fs_dir_read(lv_fs_dir_t * rddir_p, char * fn) in lv_fs_dir_read() argument 361 fn[0] = '\0'; in lv_fs_dir_read() 366 fn[0] = '\0'; in lv_fs_dir_read() 370 lv_fs_res_t res = rddir_p->drv->dir_read_cb(rddir_p->drv, rddir_p->dir_d, fn); in lv_fs_dir_read() 437 const char * lv_fs_get_ext(const char * fn) in lv_fs_get_ext() argument 440 for(i = strlen(fn); i > 0; i--) { in lv_fs_get_ext() 441 if(fn[i] == '.') { in lv_fs_get_ext() 442 return &fn[i + 1]; in lv_fs_get_ext() 444 else if(fn[i] == '/' || fn[i] == '\\') { in lv_fs_get_ext()
|
D | lv_fs.h | 82 lv_fs_res_t (*dir_read_cb)(struct _lv_fs_drv_t * drv, void * rddir_p, char * fn); 216 lv_fs_res_t lv_fs_dir_read(lv_fs_dir_t * rddir_p, char * fn); 237 const char * lv_fs_get_ext(const char * fn);
|
/lvgl-3.7.0/src/extra/libs/png/ |
D | lv_png.c | 72 const char * fn = src; in decoder_info() local 73 if(strcmp(lv_fs_get_ext(fn), "png") == 0) { /*Check the extension*/ in decoder_info() 81 lv_fs_res_t res = lv_fs_open(&f, fn, LV_FS_MODE_RD); in decoder_info() 155 const char * fn = dsc->src; in decoder_open() local 156 if(strcmp(lv_fs_get_ext(fn), "png") == 0) { /*Check the extension*/ in decoder_open() 162 error = lodepng_load_file(&png_data, &png_data_size, fn); /*Load the file*/ in decoder_open()
|
/lvgl-3.7.0/demos/music/assets/ |
D | spectrum.py | 16 fn = 36 variable 17 fs = int(len(S) / fn)
|
/lvgl-3.7.0/src/extra/libs/bmp/ |
D | lv_bmp.c | 80 const char * fn = src; in decoder_info() local 81 if(strcmp(lv_fs_get_ext(fn), "bmp") == 0) { /*Check the extension*/ in decoder_info() 128 const char * fn = dsc->src; in decoder_open() local 130 if(strcmp(lv_fs_get_ext(fn), "bmp") != 0) { in decoder_open()
|
/lvgl-3.7.0/docs/ |
D | example_list.py | 101 for fn in filelist: 102 d_act = process_index_rst(fn)
|
/lvgl-3.7.0/docs/overview/ |
D | file-system.md | 92 char fn[256]; 94 res = lv_fs_dir_read(&dir, fn); 100 /*fn is empty, if not more files to read*/ 101 if(strlen(fn) == 0) { 105 printf("%s\n", fn);
|
/lvgl-3.7.0/src/extra/libs/sjpg/ |
D | lv_sjpg.c | 212 const char * fn = src; in decoder_info() local 213 if(strcmp(lv_fs_get_ext(fn), "sjpg") == 0) { in decoder_info() 219 lv_fs_res_t res = lv_fs_open(&file, fn, LV_FS_MODE_RD); in decoder_info() 248 else if(strcmp(lv_fs_get_ext(fn), "jpg") == 0) { in decoder_info() 250 lv_fs_res_t res = lv_fs_open(&file, fn, LV_FS_MODE_RD); in decoder_info() 501 const char * fn = dsc->src; in decoder_open() local 504 if(strcmp(lv_fs_get_ext(fn), "sjpg") == 0) { in decoder_open() 510 lv_fs_res_t res = lv_fs_open(&lv_file, fn, LV_FS_MODE_RD); in decoder_open() 605 else if(strcmp(lv_fs_get_ext(fn), "jpg") == 0) { in decoder_open() 608 lv_fs_res_t res = lv_fs_open(&lv_file, fn, LV_FS_MODE_RD); in decoder_open()
|
/lvgl-3.7.0/examples/porting/ |
D | lv_port_fs_template.c | 37 static lv_fs_res_t fs_dir_read(lv_fs_drv_t * drv, void * rddir_p, char * fn); 233 static lv_fs_res_t fs_dir_read(lv_fs_drv_t * drv, void * rddir_p, char * fn)
|
/lvgl-3.7.0/src/extra/libs/ffmpeg/ |
D | lv_ffmpeg.c | 267 const char * fn = src; in decoder_info() local 269 if(ffmpeg_get_img_header(fn, header) < 0) { in decoder_info()
|