Searched refs:LV_FS_MODE_WR (Results 1 – 9 of 9) sorted by relevance
112 if(mode == LV_FS_MODE_WR) {120 else if(mode == (LV_FS_MODE_WR | LV_FS_MODE_RD)) {
109 if(mode == LV_FS_MODE_WR) flags = FA_WRITE | FA_OPEN_ALWAYS; in fs_open()111 else if(mode == (LV_FS_MODE_WR | LV_FS_MODE_RD)) flags = FA_READ | FA_WRITE | FA_OPEN_ALWAYS; in fs_open()
135 : mode == LV_FS_MODE_WR ? LFS_O_WRONLY in fs_open()136 : mode == (LV_FS_MODE_WR | LV_FS_MODE_RD) ? LFS_O_RDWR : 0; in fs_open()
106 if(mode == LV_FS_MODE_WR) flags = O_WRONLY | O_CREAT; in fs_open()108 else if(mode == (LV_FS_MODE_WR | LV_FS_MODE_RD)) flags = O_RDWR | O_CREAT; in fs_open()
110 if(mode == LV_FS_MODE_WR) flags = "wb"; in fs_open()112 else if(mode == (LV_FS_MODE_WR | LV_FS_MODE_RD)) flags = "rb+"; in fs_open()
214 if(mode & LV_FS_MODE_WR) { in fs_open()
51 …ter (e.g. "S:path/to/file.txt" -> "path/to/file.txt"). `mode` can be `LV_FS_MODE_WR` or `LV_FS_MOD…83 *The mode in `lv_fs_open` can be `LV_FS_MODE_WR` to open for writes only or `LV_FS_MODE_RD | LV_FS_…
55 LV_FS_MODE_WR = 0x01, enumerator
386 lv_fs_res_t res = lv_fs_open(&f, filename, LV_FS_MODE_WR); in lodepng_save_file()