Home
last modified time | relevance | path

Searched refs:fmt (Results 1 – 18 of 18) sorted by relevance

/lvgl-latest/src/libs/thorvg/
DtvgCommon.h71 …#define TVGERR(tag, fmt, ...) fprintf(stderr, "%s[E]%s %s" tag "%s (%s %d): %s" fmt "\n", ErrorBgC… argument
72 …#define TVGLOG(tag, fmt, ...) fprintf(stdout, "%s[L]%s %s" tag "%s (%s %d): %s" fmt "\n", LogBgCol… argument
/lvgl-latest/src/draw/vg_lite/
Dlv_vg_lite_utils.h62 #define LV_VG_LITE_IS_INDEX_FMT(fmt) \ argument
63 ((fmt) == VG_LITE_INDEX_1 \
64 || (fmt) == VG_LITE_INDEX_2 \
65 || (fmt) == VG_LITE_INDEX_4 \
66 || (fmt) == VG_LITE_INDEX_8)
/lvgl-latest/src/drivers/nuttx/
Dlv_nuttx_fbdev.c54 static lv_color_format_t fb_fmt_to_color_format(int fmt);
117 LV_LOG_USER(" fmt: %u", dsc->vinfo.fmt); in lv_nuttx_fbdev_set_file()
126 lv_color_format_t color_format = fb_fmt_to_color_format(dsc->vinfo.fmt); in lv_nuttx_fbdev_set_file()
292 static lv_color_format_t fb_fmt_to_color_format(int fmt) in fb_fmt_to_color_format() argument
294 switch(fmt) { in fb_fmt_to_color_format()
307 LV_LOG_ERROR("Unsupported color format: %d", fmt); in fb_fmt_to_color_format()
/lvgl-latest/src/others/observer/
Dlv_observer.c475 lv_observer_t * lv_label_bind_text(lv_obj_t * obj, lv_subject_t * subject, const char * fmt) in lv_label_bind_text() argument
480 if(fmt == NULL) { in lv_label_bind_text()
494 …rver_t * observer = lv_subject_add_observer_obj(subject, label_text_observer_cb, obj, (void *)fmt); in lv_label_bind_text()
673 const char * fmt = observer->user_data; in label_text_observer_cb() local
675 if(fmt == NULL) { in label_text_observer_cb()
681 lv_label_set_text_fmt(observer->target, fmt, subject->value.num); in label_text_observer_cb()
685 lv_label_set_text_fmt(observer->target, fmt, subject->value.pointer); in label_text_observer_cb()
Dlv_observer.h360 lv_observer_t * lv_label_bind_text(lv_obj_t * obj, lv_subject_t * subject, const char * fmt);
/lvgl-latest/src/misc/
Dlv_text_private.h72 char * lv_text_set_text_vfmt(const char * fmt, va_list ap) LV_FORMAT_ATTRIBUTE(1, 0);
Dlv_text.c496 char * lv_text_set_text_vfmt(const char * fmt, va_list ap) in lv_text_set_text_vfmt() argument
501 uint32_t len = lv_vsnprintf(NULL, 0, fmt, ap_copy); in lv_text_set_text_vfmt()
513 lv_vsnprintf(raw_txt, len + 1, fmt, ap); in lv_text_set_text_vfmt()
532 lv_vsnprintf(text, len + 1, fmt, ap); in lv_text_set_text_vfmt()
/lvgl-latest/src/widgets/label/
Dlv_label.h100 void lv_label_set_text_fmt(lv_obj_t * obj, const char * fmt, ...) LV_FORMAT_ATTRIBUTE(2, 3);
Dlv_label.c175 void lv_label_set_text_fmt(lv_obj_t * obj, const char * fmt, ...) in lv_label_set_text_fmt() argument
178 LV_ASSERT_NULL(fmt); in lv_label_set_text_fmt()
184 if(fmt == NULL) { in lv_label_set_text_fmt()
195 va_start(args, fmt); in lv_label_set_text_fmt()
196 label->text = lv_text_set_text_vfmt(fmt, args); in lv_label_set_text_fmt()
/lvgl-latest/src/widgets/table/
Dlv_table.h81 void lv_table_set_cell_value_fmt(lv_obj_t * obj, uint32_t row, uint32_t col, const char * fmt,
Dlv_table.c126 void lv_table_set_cell_value_fmt(lv_obj_t * obj, uint32_t row, uint32_t col, const char * fmt, ...) in lv_table_set_cell_value_fmt() argument
129 LV_ASSERT_NULL(fmt); in lv_table_set_cell_value_fmt()
153 va_start(ap, fmt); in lv_table_set_cell_value_fmt()
157 uint32_t len = lv_vsnprintf(NULL, 0, fmt, ap); in lv_table_set_cell_value_fmt()
169 lv_vsnprintf(raw_txt, len + 1, fmt, ap2); in lv_table_set_cell_value_fmt()
193 lv_vsnprintf(table->cell_data[cell]->txt, len + 1, fmt, ap2); in lv_table_set_cell_value_fmt()
/lvgl-latest/tests/
Dmain.py204 for fmt in formats:
206 img = LVGLImage().from_png(png, cf=fmt, background=0xffffff)
/lvgl-latest/src/draw/nxp/vglite/
Dlv_draw_vglite_img.c42 #define VGLITE_TRACE(fmt, ...) \ argument
44 LV_LOG(fmt, ##__VA_ARGS__); \
47 #define VGLITE_TRACE(fmt, ...) \ argument
/lvgl-latest/src/stdlib/builtin/
Dlv_sprintf_builtin.c111 const char * fmt; member
762 idx += lv_vsnprintf_inner(out, buffer + idx, maxlen - idx, vaf->fmt, copy); in lv_vsnprintf_inner()
/lvgl-latest/demos/ebike/
Dlv_demo_ebike_stats.c522 … * stat_card_create(lv_obj_t * parent, const char * name, lv_subject_t * subject, const char * fmt) in stat_card_create() argument
537 lv_label_bind_text(label, subject, fmt); in stat_card_create()
/lvgl-latest/src/others/vg_lite_tvg/
Dvg_lite_tvg.cpp32 #define TVG_IS_VG_FMT_SUPPORT(fmt) ((fmt) == VG_LITE_BGRA8888 || (fmt) == VG_LITE_BGRX8888) argument
53 #define IS_INDEX_FMT(fmt) \ argument
54 ((fmt) == VG_LITE_INDEX_1 \
55 || (fmt) == VG_LITE_INDEX_2 \
56 || (fmt) == VG_LITE_INDEX_4 \
57 || (fmt) == VG_LITE_INDEX_8)
/lvgl-latest/docs/details/widgets/
Dlabel.rst43 With :cpp:expr:`lv_label_set_text_fmt(label, fmt, ...)` printf formatting
/lvgl-latest/src/libs/tiny_ttf/
Dstb_truetype_htcw.h2222 int nranges, start, end, v, fmt, fdselector = -1, i; local
2225 fmt = stbtt__buf_get8(&fdselect);
2226 if(fmt == 0) {
2231 else if(fmt == 3) {