Home
last modified time | relevance | path

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

/lvgl-3.4.0/src/misc/
Dlv_printf.h67 const char * fmt; member
Dlv_txt.h147 char * _lv_txt_set_text_vfmt(const char * fmt, va_list ap) LV_FORMAT_ATTRIBUTE(1, 0);
Dlv_txt.c449 char * _lv_txt_set_text_vfmt(const char * fmt, va_list ap) in _lv_txt_set_text_vfmt() argument
454 uint32_t len = lv_vsnprintf(NULL, 0, fmt, ap_copy); in _lv_txt_set_text_vfmt()
466 lv_vsnprintf(raw_txt, len + 1, fmt, ap); in _lv_txt_set_text_vfmt()
486 lv_vsnprintf(text, len + 1, fmt, ap); in _lv_txt_set_text_vfmt()
Dlv_printf.c757 idx += _vsnprintf(out, buffer + idx, maxlen - idx, vaf->fmt, copy); in _vsnprintf()
/lvgl-3.4.0/src/widgets/
Dlv_table.h104 void lv_table_set_cell_value_fmt(lv_obj_t * obj, uint16_t row, uint16_t col, const char * fmt, ...);
Dlv_label.h109 void lv_label_set_text_fmt(lv_obj_t * obj, const char * fmt, ...) LV_FORMAT_ATTRIBUTE(2, 3);
Dlv_table.c114 void lv_table_set_cell_value_fmt(lv_obj_t * obj, uint16_t row, uint16_t col, const char * fmt, ...) in lv_table_set_cell_value_fmt() argument
117 LV_ASSERT_NULL(fmt); in lv_table_set_cell_value_fmt()
137 va_start(ap, fmt); in lv_table_set_cell_value_fmt()
141 uint32_t len = lv_vsnprintf(NULL, 0, fmt, ap); in lv_table_set_cell_value_fmt()
153 lv_vsnprintf(raw_txt, len + 1, fmt, ap2); in lv_table_set_cell_value_fmt()
176 lv_vsnprintf(&table->cell_data[cell][1], len + 1, fmt, ap2); in lv_table_set_cell_value_fmt()
Dlv_label.c147 void lv_label_set_text_fmt(lv_obj_t * obj, const char * fmt, ...) in lv_label_set_text_fmt() argument
150 LV_ASSERT_NULL(fmt); in lv_label_set_text_fmt()
156 if(fmt == NULL) { in lv_label_set_text_fmt()
167 va_start(args, fmt); in lv_label_set_text_fmt()
168 label->text = _lv_txt_set_text_vfmt(fmt, args); in lv_label_set_text_fmt()