Home
last modified time | relevance | path

Searched refs:file (Results 1 – 25 of 130) sorted by relevance

123456

/lvgl-latest/env_support/cmake/
Desp.cmake3 file(GLOB_RECURSE SOURCES ${LVGL_ROOT_DIR}/src/*.c ${LVGL_ROOT_DIR}/src/*.cpp)
19 file(GLOB_RECURSE EXAMPLE_SOURCES ${LVGL_ROOT_DIR}/examples/*.c)
24 file(GLOB_RECURSE DEMO_WIDGETS_SOURCES ${LVGL_ROOT_DIR}/demos/widgets/*.c)
28 file(GLOB_RECURSE DEMO_KEYPAD_AND_ENCODER_SOURCES ${LVGL_ROOT_DIR}/demos/keypad_encoder/*.c)
32 file(GLOB_RECURSE DEMO_BENCHMARK_SOURCES ${LVGL_ROOT_DIR}/demos/benchmark/*.c)
36 file(GLOB_RECURSE DEMO_STRESS_SOURCES ${LVGL_ROOT_DIR}/demos/stress/*.c)
40 file(GLOB_RECURSE DEMO_TRANSFORM_SOURCES ${LVGL_ROOT_DIR}/demos/transform/*.c)
44 file(GLOB_RECURSE DEMO_MULTILANG_SOURCES ${LVGL_ROOT_DIR}/demos/multilang/*.c)
48 file(GLOB_RECURSE DEMO_FLEX_LAYOUT_SOURCES ${LVGL_ROOT_DIR}/demos/flex_layout/*.c)
52 file(GLOB_RECURSE DEMO_SCROLL_SOURCES ${LVGL_ROOT_DIR}/demos/scroll/*.c)
[all …]
/lvgl-latest/src/misc/
Dlv_utils.c63 lv_fs_file_t file; in lv_draw_buf_save_to_file() local
64 lv_fs_res_t res = lv_fs_open(&file, path, LV_FS_MODE_WR); in lv_draw_buf_save_to_file()
74 res = lv_fs_write(&file, &draw_buf->header, sizeof(draw_buf->header), &bw); in lv_draw_buf_save_to_file()
77 lv_fs_close(&file); in lv_draw_buf_save_to_file()
81 res = lv_fs_write(&file, draw_buf->data, draw_buf->data_size, &bw); in lv_draw_buf_save_to_file()
84 lv_fs_close(&file); in lv_draw_buf_save_to_file()
88 lv_fs_close(&file); in lv_draw_buf_save_to_file()
Dlv_log.c41 #define LOG_FILE_LINE_EXPR , &file[p], line
72 void lv_log_add(lv_log_level_t level, const char * file, int line, const char * func, const char * … in lv_log_add() argument
83 for(p = lv_strlen(file); p > 0; p--) { in lv_log_add()
84 if(file[p] == '/' || file[p] == '\\') { in lv_log_add()
90 LV_UNUSED(file); in lv_log_add()
/lvgl-latest/scripts/gen_json/
Dcreate_fake_lib_c.py156 for file, file_data in lib_c_files:
157 head, tail = os.path.split(file)
158 file = os.path.join(fake_libc_path, file)
159 file_name = os.path.split(file)[-1]
169 with open(file, 'w') as f:
Dget_sdl2.py12 for file in os.listdir(p):
13 file = os.path.join(p, file)
15 if file.endswith(name):
16 return file
18 if os.path.isdir(file):
19 if res := get_path(name, file):
/lvgl-latest/docs/details/libs/
Dfs.rst8 to provide an abstraction layer for various file system drivers.
16 - MEMFS (read a file from a memory buffer)
31 files using that driver letter. E.g. ``"S:path/to/file.txt"``.
37 which allows skipping the drive prefix in file paths.
39 …V_FS_DEFAULT_DRIVER_LETTER`` is set the ``'S'`` *"path/to/file.txt"* will mean *"S:path/to/file.tx…
41 … you have only a single driver and don't want to bother with LVGL's driver layer in the file paths.
42 It also helps to use a unified path with LVGL's file system and normal file systems.
46 ``"/home/joe/projects/"`` The actual file/directory paths will be
56 To use the memory-mapped file emulation an ``lv_fs_path_ex_t`` object must be
58 the file name:
[all …]
Dgif.rst21 To convert a GIF file to byte values array use `LVGL's online
25 Use GIF images from file
34 Note that, a file system driver needs to be registered to open images
/lvgl-latest/docs/details/main-components/
Dfs.rst8 any type of file system. A file system is identified by an assigned
10 ``'S'``, a file can be reached using ``"S:/path/to/file.txt"``. See details
34 As mentioned above, a file system is identified by an assigned identifier letter.
36 the appropriate registered file-system driver for a given path.
40 You register a driver for your file system and assign it an identifier letter. This
41 letter must be unique among all registered file-system drivers, and in the range [A-Z]
44 Later, when using paths to files on your file system, you prefix the path with that
59 | +-- This part gets passed to the OS-level file-system functions.
62 driver (i.e. set of functions) that apply to that file system.
68 **Examples for Unix-like file systems:**
[all …]
/lvgl-latest/docs/_static/js/
Dinclude_html.js4 var z, i, elmnt, file, xhttp;
10 file = elmnt.getAttribute("include-html");
11 if (file) {
23 xhttp.open("GET", file, true);
/lvgl-latest/src/libs/fsdrv/
Dlv_fs_arduino_esp_littlefs.cpp12 File file; member
83 File file = LittleFS.open(buf, flags); in fs_open() local
84 if(!file) { in fs_open()
88 ArduinoEspLittleFile * lf = new ArduinoEspLittleFile{file}; in fs_open()
103 lf->file.close(); in fs_close()
122 *br = lf->file.read((uint8_t *)buf, btr); in fs_read()
140 *bw = lf->file.write((uint8_t *)buf, btw); in fs_write()
166 int rc = lf->file.seek(pos, mode); in fs_seek()
183 *pos_p = lf->file.position(); in fs_tell()
Dlv_fs_arduino_sd.cpp13 File file; member
75 File file = SD.open(buf, flags); in fs_open() local
76 if(!file) { in fs_open()
80 SdFile * lf = new SdFile{file}; in fs_open()
95 lf->file.close(); in fs_close()
114 *br = lf->file.read((uint8_t *)buf, btr); in fs_read()
132 *bw = lf->file.write((uint8_t *)buf, btw); in fs_write()
158 int rc = lf->file.seek(pos, mode); in fs_seek()
175 *pos_p = lf->file.position(); in fs_tell()
Dlv_fs_littlefs.c12 lfs_file_t file; member
89 int err = lfs_file_open(lfs, &lf->file, buf, flags); in fs_open()
108 lfs_file_close(lfs, &lf->file); in fs_close()
128 *br = lfs_file_read(lfs, &lf->file, (uint8_t *)buf, btr); in fs_read()
147 *bw = lfs_file_write(lfs, &lf->file, (uint8_t *)buf, btw); in fs_write()
173 int rc = lfs_file_seek(lfs, &lf->file, pos, mode); in fs_seek()
190 *pos_p = lfs_file_tell(lfs, &lf->file); in fs_tell()
/lvgl-latest/src/libs/freetype/
Dlv_ftsystem.c93 lv_fs_file_t file; in FT_Stream_Open() local
105 lv_fs_res_t res = lv_fs_open(&file, filepathname, LV_FS_MODE_RD); in FT_Stream_Open()
114 lv_fs_seek(&file, 0, LV_FS_SEEK_END); in FT_Stream_Open()
117 res = lv_fs_tell(&file, &pos); in FT_Stream_Open()
121 lv_fs_close(&file); in FT_Stream_Open()
125 lv_fs_seek(&file, 0, LV_FS_SEEK_SET); in FT_Stream_Open()
132 lv_fs_close(&file); in FT_Stream_Open()
136 *file_p = file; in FT_Stream_Open()
/lvgl-latest/scripts/
Dproperties.py40 for file in files:
41 if file.endswith('.h'):
42 yield os.path.join(root, file)
49 with open(file_path, 'r') as file:
50 for line in file.readlines():
61 with open(file_path, 'r') as file:
62 for line in file.readlines():
Dfiletohex.py6 with open(sys.argv[1], 'r') as file:
7 s = file.read()
Dimage_viewer.py14 name, ext = os.path.splitext(args.file)
19 img = LVGLImage().from_bin(args.file)
/lvgl-latest/tests/unity/
Dyaml_helper.rb18 def self.load_file(file) argument
19 body = File.read(file)
/lvgl-latest/docs/details/integration/driver/
Duefi.rst15 * *EFI_LOADED_IMAGE_PROTOCOL_GUID*, for file system support (used to determine the file system that…
16 * *EFI_SIMPLE_FILE_SYSTEM_PROTOCOL_GUID*, for file system support
38 - You can enable file system support for the file system from which the appliation got loaded (defa…
44 - You need to define an include file which contains the basic UEFI definitions (protocols and types…
/lvgl-latest/src/drivers/glfw/
Dlv_opengles_debug.c44 void GLLogCall(const char * function, const char * file, int line) in GLLogCall() argument
48 LV_LOG_ERROR("[OpenGL Error] (%d) %s %s:%d", error, function, file, line); in GLLogCall()
/lvgl-latest/src/draw/vg_lite/
Dlv_vg_lite_decoder.c244 lv_fs_file_t file; in decoder_open_file() local
245 lv_fs_res_t res = lv_fs_open(&file, path, LV_FS_MODE_RD); in decoder_open_file()
254 res = lv_fs_read(&file, &src_header, sizeof(src_header), &header_br); in decoder_open_file()
257 lv_fs_close(&file); in decoder_open_file()
264 lv_fs_close(&file); in decoder_open_file()
288 res = lv_fs_read(&file, dest, palette_size_bytes, &palette_br); in decoder_open_file()
312 res = lv_fs_read(&file, src_temp, src_stride, &br); in decoder_open_file()
326 lv_fs_close(&file); in decoder_open_file()
333 lv_fs_close(&file); in decoder_open_file()
/lvgl-latest/docs/details/other-components/
Dfile_explorer.rst8 file system. Its main area is called the "Browsing Area" and provides the list of
12 convenient way to reach parts of the file system that are frequently accessed.
24 ``lv_file_explorer`` only provides the file browsing and events caused by user
25 activity (e.g. clicking a file), but does not provide the actual file operations.
27 (e.g. a click or double-click on a file). The actions taken might to open the file,
29 ``lv_file_explorer`` passes the full path and name of file that was clicked to the
106 - ``sel_fn`` (selected file)
116 to NUL-terminated string containing file-path user selected; typically used inside
180 You can use it to, for example, customize the file sort.
182 - :cpp:enumerator:`LV_EVENT_VALUE_CHANGED` Sent once when any item (file) in the
[all …]
/lvgl-latest/docs/
DREADME.md14 …er install these individually or you can use pip to read the requirements file to install everythi…
35 To install using the `requirements.txt` file use the following command:
59 The documentation-generation logic uses the stem of the file name (i.e. "event" from file name "eve…
61 If this is appropriate for the .RST file you are creating, ensure the stem of the file name matches…
63 If this is *not* appropriate for the .RST file you are creating, ensure the stem of the file name D…
65 In alignment with the above, use a file name stem that is appropriate to the topic being covered.
75 …ry you MUST have an `index.rst` file in that directory and that index file needs to be pointed to …
77 Let's take a look at the `index.rst` file that is located in the `docs/layouts` directory.
95 The below explains the parts of this file.
143 This latter syntax enables you to put a **link target** anywhere in an .RST file (not just above a …
[all …]
/lvgl-latest/.devcontainer/
D__CMakeLists.txt__9 file(GLOB MY_SOURCES "./*.c")
27 set_target_properties(index PROPERTIES LINK_FLAGS "--shell-file ${PROJECT_SOURCE_DIR}/lvgl/.devcont…
/lvgl-latest/docs/details/integration/os/yocto/
Dlvgl_recipe.rst21 liblz4-tool file locales libacl1
105 **Modify conf file (Option 2)**
107 Open ``conf/bblayers.conf`` file and add manually the paths:
153 To build an image for Raspberrypi3 64 bits, modify the file ``local.conf`` file
160 To build the image we will target, it is also needed to add this to the file:
334 - ``file`` folder contains all the patches that can be applied when
336 - ``lv_conf.inc`` is an include file, usually containing common configuration
353 LIC_FILES_CHKSUM = "file://LICENCE.txt;md5=bf1198c89ae87f043108cea62460b03a"
357 file://0002-fix-sdl-handle-both-LV_IMAGE_SRC_FILE-and-LV_IMAGE_S.patch \
358 file://0007-fix-cmake-generate-versioned-shared-libraries.patch \
[all …]
/lvgl-latest/src/libs/tiny_ttf/
Dlv_tiny_ttf.c38 lv_fs_file_t * file; member
56 lv_fs_file_t file; member
158 if(ttf->stream.file != NULL) { in lv_tiny_ttf_destroy()
159 lv_fs_close(&ttf->file); in lv_tiny_ttf_destroy()
178 if(stream->file != NULL) { in ttf_cb_stream_read()
180 lv_fs_read(stream->file, data, to_read, &br); in ttf_cb_stream_read()
192 if(stream->file != NULL) { in ttf_cb_stream_seek()
193 lv_fs_seek(stream->file, position, LV_FS_SEEK_SET); in ttf_cb_stream_seek()
373 if(LV_FS_RES_OK != lv_fs_open(&dsc->file, path, LV_FS_MODE_RD)) { in lv_tiny_ttf_create()
378 dsc->stream.file = &dsc->file; in lv_tiny_ttf_create()

123456