Home
last modified time | relevance | path

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

/lvgl-latest/src/font/
Dlv_binfont_loader.c20 lv_fs_file_t * fp; member
65 static bit_iterator_t init_bit_iterator(lv_fs_file_t * fp);
66 static bool lvgl_load_font(lv_fs_file_t * fp, lv_font_t * font);
67 int32_t load_kern(lv_fs_file_t * fp, lv_font_fmt_txt_dsc_t * font_dsc, uint8_t format, uint32_t sta…
161 static bit_iterator_t init_bit_iterator(lv_fs_file_t * fp) in init_bit_iterator() argument
164 it.fp = fp; in init_bit_iterator()
179 *res = lv_fs_read(it->fp, &(it->byte_value), 1, NULL); in read_bits()
201 static int read_label(lv_fs_file_t * fp, int start, const char * label) in read_label() argument
203 lv_fs_seek(fp, start, LV_FS_SEEK_SET); in read_label()
208 if(lv_fs_read(fp, &length, 4, NULL) != LV_FS_RES_OK in read_label()
[all …]
/lvgl-latest/src/libs/fsdrv/
Dlv_fs_memfs.c176 lv_fs_file_t * fp = (lv_fs_file_t *)file_p; in fs_seek() local
179 fp->cache->file_position = pos; in fs_seek()
183 fp->cache->file_position += pos; in fs_seek()
187 fp->cache->file_position = fp->cache->end - pos; in fs_seek()
191 if(fp->cache->file_position < fp->cache->start) in fs_seek()
192 fp->cache->file_position = fp->cache->start; in fs_seek()
193 else if(fp->cache->file_position > fp->cache->end) in fs_seek()
194 fp->cache->file_position = fp->cache->end; in fs_seek()
/lvgl-latest/tests/unity/
Dunity_support.c227 FILE * fp = fopen(file_name, "rb"); in read_png_file() local
228 if(!fp) { in read_png_file()
233 size_t rcnt = fread(header, 1, 8, fp); in read_png_file()
256 png_init_io(p->png_ptr, fp); in read_png_file()
282 fclose(fp); in read_png_file()
292 FILE * fp = fopen(file_name, "wb"); in write_png_file() local
293 if(!fp) { in write_png_file()
320 png_init_io(png_ptr, fp); in write_png_file()
366 fclose(fp); in write_png_file()
/lvgl-latest/src/libs/thorvg/rapidjson/
Dfilereadstream.h44 …FileReadStream(std::FILE* fp, char* buffer, size_t bufferSize) : fp_(fp), buffer_(buffer), bufferS… in RAPIDJSON_DIAG_OFF()
Dfilewritestream.h36 …FileWriteStream(std::FILE* fp, char* buffer, size_t bufferSize) : fp_(fp), buffer_(buffer), buffer… in FileWriteStream() argument
/lvgl-latest/docs/
Dexample_list.py7 with open(path, 'r') as fp:
8 data = fp.read()
/lvgl-latest/src/libs/thorvg/rapidjson/internal/
Ddiyfp.h51 DiyFp(uint64_t fp, int exp) : f(fp), e(exp) {} in DiyFp()