Home
last modified time | relevance | path

Searched full:path (Results 1 – 25 of 105) sorted by relevance

12345

/lvgl-latest/src/misc/
Dlv_fs.c27 static const char * lv_fs_get_real_path(const char * path);
57 lv_fs_res_t lv_fs_open(lv_fs_file_t * file_p, const char * path, lv_fs_mode_t mode) in lv_fs_open() argument
59 if(path == NULL) { in lv_fs_open()
60 LV_LOG_WARN("Can't open file: path is NULL"); in lv_fs_open()
64 char letter = path[0]; in lv_fs_open()
68 LV_LOG_WARN("Can't open file (%s): unknown driver letter", path); in lv_fs_open()
74 LV_LOG_WARN("Can't open file (%s): driver not ready", path); in lv_fs_open()
80 LV_LOG_WARN("Can't open file (%s): open function not exists", path); in lv_fs_open()
84 const char * real_path = lv_fs_get_real_path(path); in lv_fs_open()
324 lv_fs_res_t lv_fs_dir_open(lv_fs_dir_t * rddir_p, const char * path) in lv_fs_dir_open() argument
[all …]
Dlv_fs.h74 void * (*open_cb)(struct _lv_fs_drv_t * drv, const char * path, lv_fs_mode_t mode);
81 void * (*dir_open_cb)(struct _lv_fs_drv_t * drv, const char * path);
151 * @param path path to the file beginning with the driver letter (e.g. S:/folder/file.txt)
155 lv_fs_res_t lv_fs_open(lv_fs_file_t * file_p, const char * path, lv_fs_mode_t mode);
204 * @param path path to a directory
207 lv_fs_res_t lv_fs_dir_open(lv_fs_dir_t * rddir_p, const char * path);
241 * @param path pointer to a file name
244 char * lv_fs_up(char * path);
247 * Get the last element of a path (e.g. U:/folder/file -> file)
248 * @param path pointer to a file name
[all …]
/lvgl-latest/src/draw/nxp/vglite/
Dlv_draw_vglite_rect.c47 /* Path data sizes for different elements */
52 /* Maximum possible rectangle path size
54 * - 1 move for the path start
57 * - 1 end for the path end */
69 * Generates path data for rectangle drawing.
71 * @param[in/out] path The path data to initialize
72 * @param[in/out] path_size The resulting size of the created path data
105 /*** Init path ***/ in lv_gpu_nxp_vglite_draw_bg()
111 vg_lite_path_t path; in lv_gpu_nxp_vglite_draw_bg() local
112 err = vg_lite_init_path(&path, VG_LITE_S32, path_quality, path_data_size, path_data, in lv_gpu_nxp_vglite_draw_bg()
[all …]
Dlv_draw_vglite_line.c68 vg_lite_path_t path; in lv_gpu_nxp_vglite_draw_line() local
89 /*** Init path ***/ in lv_gpu_nxp_vglite_draw_line()
92 int32_t line_path[] = { /*VG line path*/ in lv_gpu_nxp_vglite_draw_line()
98 err = vg_lite_init_path(&path, VG_LITE_S32, VG_LITE_HIGH, sizeof(line_path), line_path, in lv_gpu_nxp_vglite_draw_line()
101 VG_LITE_ERR_RETURN_INV(err, "Init path failed."); in lv_gpu_nxp_vglite_draw_line()
112 err = vg_lite_set_draw_path_type(&path, VG_LITE_DRAW_STROKE_PATH); in lv_gpu_nxp_vglite_draw_line()
113 VG_LITE_ERR_RETURN_INV(err, "Set draw path type failed."); in lv_gpu_nxp_vglite_draw_line()
115 …err = vg_lite_set_stroke(&path, cap_style, join_style, width, 8, stroke_dash_pattern, stroke_dash_… in lv_gpu_nxp_vglite_draw_line()
119 err = vg_lite_update_stroke(&path); in lv_gpu_nxp_vglite_draw_line()
124 err = vg_lite_draw(vgbuf, &path, VG_LITE_FILL_NON_ZERO, &matrix, vglite_blend_mode, vgcol); in lv_gpu_nxp_vglite_draw_line()
[all …]
Dlv_draw_vglite_arc.c111 vg_lite_path_t path; in lv_gpu_nxp_vglite_draw_arc() local
116 /* path: max size = 16 cubic bezier (7 words each) */ in lv_gpu_nxp_vglite_draw_arc()
120 /*** Init path ***/ in lv_gpu_nxp_vglite_draw_arc()
207 …err = vg_lite_init_path(&path, VG_LITE_S32, VG_LITE_HIGH, (uint32_t)pidx * sizeof(int32_t), arc_pa… in lv_gpu_nxp_vglite_draw_arc()
210 VG_LITE_ERR_RETURN_INV(err, "Init path failed."); in lv_gpu_nxp_vglite_draw_arc()
222 err = vg_lite_draw(vgbuf, &path, VG_LITE_FILL_NON_ZERO, &matrix, VG_LITE_BLEND_SRC_OVER, vgcol); in lv_gpu_nxp_vglite_draw_arc()
230 err = vg_lite_clear_path(&path); in lv_gpu_nxp_vglite_draw_arc()
231 VG_LITE_ERR_RETURN_INV(err, "Clear path failed."); in lv_gpu_nxp_vglite_draw_arc()
537 * Add the arc control points into the path data for vglite,
539 * arc_path: (in/out) the path data array for vglite
[all …]
/lvgl-latest/env_support/rt-thread/
DSConscript9 cwd = GetCurrentDir() # get current dir path
16 def check_h_hpp_exsit(path):
17 file_dirs = os.listdir(path)
19 if os.path.splitext(file_dir)[1] in ['.h', '.hpp']:
29 current_path = os.path.join(root, dir)
30 src = src + Glob(os.path.join(current_path,'*.c')) # add all .c files
31 if check_h_hpp_exsit(current_path): # add .h and .hpp path
40 current_path = os.path.join(root, dir)
41 src = src + Glob(os.path.join(current_path,'*.c'))
50 current_path = os.path.join(root, dir)
[all …]
/lvgl-latest/src/extra/libs/fsdrv/
Dlv_fs_posix.c37 static void * fs_open(lv_fs_drv_t * drv, const char * path, lv_fs_mode_t mode);
43 static void * fs_dir_open(lv_fs_drv_t * drv, const char * path);
97 * @param path path to the file beginning with the driver letter (e.g. S:/folder/file.txt)
101 static void * fs_open(lv_fs_drv_t * drv, const char * path, lv_fs_mode_t mode) in fs_open() argument
110 /*Make the path relative to the current directory (the projects root folder)*/ in fs_open()
112 lv_snprintf(buf, sizeof(buf), LV_FS_POSIX_PATH "%s", path); in fs_open()
205 * @param path path to a directory
208 static void * fs_dir_open(lv_fs_drv_t * drv, const char * path) in fs_dir_open() argument
213 /*Make the path relative to the current directory (the projects root folder)*/ in fs_dir_open()
215 lv_snprintf(buf, sizeof(buf), LV_FS_POSIX_PATH "%s", path); in fs_dir_open()
[all …]
Dlv_fs_stdio.c40 static void * fs_open(lv_fs_drv_t * drv, const char * path, lv_fs_mode_t mode);
46 static void * fs_dir_open(lv_fs_drv_t * drv, const char * path);
100 * @param path path to the file beginning with the driver letter (e.g. S:/folder/file.txt)
104 static void * fs_open(lv_fs_drv_t * drv, const char * path, lv_fs_mode_t mode) in fs_open() argument
114 /*Make the path relative to the current directory (the projects root folder)*/ in fs_open()
117 lv_snprintf(buf, sizeof(buf), LV_FS_STDIO_PATH "%s", path); in fs_open()
202 * @param path path to a directory
205 static void * fs_dir_open(lv_fs_drv_t * drv, const char * path) in fs_dir_open() argument
210 /*Make the path relative to the current directory (the projects root folder)*/ in fs_dir_open()
212 lv_snprintf(buf, sizeof(buf), LV_FS_STDIO_PATH "%s", path); in fs_dir_open()
[all …]
Dlv_fs_win32.c35 static void * fs_open(lv_fs_drv_t * drv, const char * path, lv_fs_mode_t mode);
41 static void * fs_dir_open(lv_fs_drv_t * drv, const char * path);
200 * @param path path to the file beginning with the driver letter (e.g. S:/folder/file.txt)
204 static void * fs_open(lv_fs_drv_t * drv, const char * path, lv_fs_mode_t mode) in fs_open() argument
218 /*Make the path relative to the current directory (the projects root folder)*/ in fs_open()
221 lv_snprintf(buf, sizeof(buf), LV_FS_WIN32_PATH "%s", path); in fs_open()
355 * @param path path to a directory
358 static void * fs_dir_open(lv_fs_drv_t * drv, const char * path) in fs_dir_open() argument
366 /*Make the path relative to the current directory (the projects root folder)*/ in fs_dir_open()
369 lv_snprintf(buf, sizeof(buf), LV_FS_WIN32_PATH "%s\\*", path); in fs_dir_open()
[all …]
Dlv_fs_fatfs.c31 static void * fs_open(lv_fs_drv_t * drv, const char * path, lv_fs_mode_t mode);
37 static void * fs_dir_open(lv_fs_drv_t * drv, const char * path);
100 * @param path path to the file beginning with the driver letter (e.g. S:/folder/file.txt)
104 static void * fs_open(lv_fs_drv_t * drv, const char * path, lv_fs_mode_t mode) in fs_open() argument
116 FRESULT res = f_open(f, path, flags); in fs_open()
222 * @param path path to a directory
225 static void * fs_dir_open(lv_fs_drv_t * drv, const char * path) in fs_dir_open() argument
231 FRESULT res = f_opendir(d, path); in fs_dir_open()
Dlv_fs_littlefs.c32 static void * fs_open(lv_fs_drv_t * drv, const char * path, lv_fs_mode_t mode);
41 static void * fs_dir_open(lv_fs_drv_t * drv, const char * path);
125 * @param path path to the file beginning with the driver letter (e.g. S:/folder/file.txt)
129 static void * fs_open(lv_fs_drv_t * drv, const char * path, lv_fs_mode_t mode) in fs_open() argument
141 int result = lfs_file_open(lfs_p, file_p, path, flags); in fs_open()
257 * @param path path to a directory
260 static void * fs_dir_open(lv_fs_drv_t * drv, const char * path) in fs_dir_open() argument
267 int result = lfs_dir_open(lfs_p, dir_p, path); in fs_dir_open()
/lvgl-latest/scripts/
DDoxyfile56 # The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) path
57 # into which the generated documentation will be written. If a relative path is
148 # If the FULL_PATH_NAMES tag is set to YES, doxygen will prepend the full path
150 # shortest path that makes the file name unique will be used
155 # The STRIP_FROM_PATH tag can be used to strip a user-defined part of the path.
157 # part of the path. The tag can be used to show relative paths in the file list.
158 # If left blank the directory from which doxygen is run is used as the path to
168 # path mentioned in the documentation of a class, which tells the reader which
714 # search path. See also \cite for info how to create references.
850 # Note that the wildcards are matched against the file with absolute path, so to
[all …]
/lvgl-latest/src/extra/libs/ffmpeg/
Dlv_ffmpeg.c76 static struct ffmpeg_context_s * ffmpeg_open_file(const char * path);
81 static int ffmpeg_get_img_header(const char * path, lv_img_header_t * header);
126 int lv_ffmpeg_get_frame_num(const char * path) in lv_ffmpeg_get_frame_num() argument
129 struct ffmpeg_context_s * ffmpeg_ctx = ffmpeg_open_file(path); in lv_ffmpeg_get_frame_num()
146 lv_res_t lv_ffmpeg_player_set_src(lv_obj_t * obj, const char * path) in lv_ffmpeg_player_set_src() argument
160 player->ffmpeg_ctx = ffmpeg_open_file(path); in lv_ffmpeg_player_set_src()
163 LV_LOG_ERROR("ffmpeg file open failed: %s", path); in lv_ffmpeg_player_set_src()
284 const char * path = dsc->src; in decoder_open() local
286 struct ffmpeg_context_s * ffmpeg_ctx = ffmpeg_open_file(path); in decoder_open()
671 struct ffmpeg_context_s * ffmpeg_open_file(const char * path) in ffmpeg_open_file() argument
[all …]
Dlv_ffmpeg.h56 * @param path image or video file name
59 int lv_ffmpeg_get_frame_num(const char * path);
69 * Set the path of the file to be played
71 * @param path video file path
74 lv_res_t lv_ffmpeg_player_set_src(lv_obj_t * obj, const char * path);
/lvgl-latest/env_support/cmsis-pack/
Dgen_pack.sh8 # - 7z in path (zip archiving utility)
10 # - PackChk in path with execute permission
12 # - xmllint in path (XML schema validation)
17 # Extend Path environment variable locally
27 [[ ":$PATH:" != *":$PATH_TO_ADD}:"* ]] && PATH="${PATH}:${PATH_TO_ADD}"
28 echo $PATH_TO_ADD appended to PATH
71 echo "Action: Add 7zip to your path"
83 echo "Action: Add PackChk to your path"
98 echo "Action: Add xmllint to your path"
DREADME.md26 * - add the path as include path
164 [[ ":$PATH:" != *":$PATH_TO_ADD}:"* ]] && PATH="${PATH}:${PATH_TO_ADD}"
165 echo $PATH_TO_ADD appended to PATH
/lvgl-latest/docs/
Dexample_list.py5 def process_index_rst(path): argument
6 # print(path)
7 with open(path) as fp:
76 def print_item(path, lvl, d, fout): argument
79 if k.startswith(path + "/lv_example_"):
91 for path in paths:
92 for root, dirs, files in os.walk(path):
95 filelist.append(os.path.join(root,f))
/lvgl-latest/src/extra/libs/tiny_ttf/
Dlv_tiny_ttf.c174 static lv_font_t * lv_tiny_ttf_create(const char * path, const void * data, size_t data_size, lv_co… in lv_tiny_ttf_create() argument
177 if((path == NULL && data == NULL) || 0 >= font_size) { in lv_tiny_ttf_create()
187 if(path != NULL) { in lv_tiny_ttf_create()
188 if(LV_FS_RES_OK != lv_fs_open(&dsc->file, path, LV_FS_MODE_RD)) { in lv_tiny_ttf_create()
189 LV_LOG_ERROR("tiny_ttf: unable to open %s\n", path); in lv_tiny_ttf_create()
238 lv_font_t * lv_tiny_ttf_create_file_ex(const char * path, lv_coord_t font_size, size_t cache_size) in lv_tiny_ttf_create_file_ex() argument
240 return lv_tiny_ttf_create(path, NULL, 0, font_size, cache_size); in lv_tiny_ttf_create_file_ex()
242 lv_font_t * lv_tiny_ttf_create_file(const char * path, lv_coord_t font_size) in lv_tiny_ttf_create_file() argument
244 return lv_tiny_ttf_create_file_ex(path, font_size, 4096); in lv_tiny_ttf_create_file()
/lvgl-latest/examples/porting/
Dlv_port_fs_template.c28 static void * fs_open(lv_fs_drv_t * drv, const char * path, lv_fs_mode_t mode);
36 static void * fs_dir_open(lv_fs_drv_t * drv, const char * path);
102 * @param path path to the file beginning with the driver letter (e.g. S:/folder/file.txt)
106 static void * fs_open(lv_fs_drv_t * drv, const char * path, lv_fs_mode_t mode)
214 * @param path path to a directory
217 static void * fs_dir_open(lv_fs_drv_t * drv, const char * path)
/lvgl-latest/scripts/release/
Dcom.py4 import os.path
5 from os import path
87 if os.path.exists("library.json"):
91 if path.exists("library.properties"):
95 if path.exists("conf.py"):
98 if path.exists("Kconfig"):
101 if path.exists("lvgl.h"):
/lvgl-latest/env_support/rt-thread/squareline/
DSConscript8 def check_h_hpp_exsit(path):
9 file_dirs = os.listdir(path)
11 if os.path.splitext(file_dir)[1] in ['.h', '.hpp']:
18 current_path = os.path.join(root, dir)
19 src = src + Glob(os.path.join(current_path,'*.c')) # add all .c files
20 if check_h_hpp_exsit(current_path): # add .h and .hpp path
/lvgl-latest/tests/unity/
Dunity_support.h16 # define TEST_ASSERT_EQUAL_SCREENSHOT(path) TEST_IGNORE_MESSAGE("Requires LV_COLOR_… argument
17 # define TEST_ASSERT_EQUAL_SCREENSHOT_MESSAGE(path, msg) TEST_PRINTF(msg); TEST_IGNORE_MESSAGE("… argument
20 # define TEST_ASSERT_EQUAL_SCREENSHOT(path) if(LV_HOR_RES != 800 || LV_VER_RES != 4… argument
23 … TEST_ASSERT(lv_test_assert_img_eq(path)); \
26 # define TEST_ASSERT_EQUAL_SCREENSHOT_MESSAGE(path, msg) if(LV_HOR_RES != 800 || LV_VER_RES != … argument
30 … TEST_ASSERT_MESSAGE(lv_test_assert_img_eq(path), msg); \
/lvgl-latest/
DKconfig220 Must deploy arm-2d library to your project and add include PATH for "arm_2d.h".
225 string "include path of CMSIS header of target processor"
229 Must be defined to include path of CMSIS header of target processor
235 string "include path of target processor"
239 Must be defined to include path of target processor
245 string "include path of CMSIS header of target processor"
249 Must be defined to include path of CMSIS header of target processor
274 string "include path of SDL header"
/lvgl-latest/src/extra/widgets/imgbtn/
Dlv_imgbtn.h70 * @param src_left pointer to an image source for the left side of the button (a C array or path to
73 * array or path to a file)
74 * @param src_right pointer to an image source for the right side of the button (a C array or path
95 * @return pointer to the left image source (a C array or path to a file)
103 * @return pointer to the middle image source (a C array or path to a file)
111 * @return pointer to the left image source (a C array or path to a file)
/lvgl-latest/docs/overview/
Dfile-system.md5 …an SD card is associated with the letter `'S'`, a file can be reached using `"S:path/to/file.txt"`.
48 void * (*open_cb)(lv_fs_drv_t * drv, const char * path, lv_fs_mode_t mode);
51 `path` is the path after the drive letter (e.g. "S:path/to/file.txt" -> "path/to/file.txt"). `mode`…

12345