Searched refs:fmt (Results 1 – 8 of 8) sorted by relevance
/lvgl-3.4.0/src/misc/ |
D | lv_printf.h | 67 const char * fmt; member
|
D | lv_txt.h | 147 char * _lv_txt_set_text_vfmt(const char * fmt, va_list ap) LV_FORMAT_ATTRIBUTE(1, 0);
|
D | lv_txt.c | 449 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()
|
D | lv_printf.c | 757 idx += _vsnprintf(out, buffer + idx, maxlen - idx, vaf->fmt, copy); in _vsnprintf()
|
/lvgl-3.4.0/src/widgets/ |
D | lv_table.h | 104 void lv_table_set_cell_value_fmt(lv_obj_t * obj, uint16_t row, uint16_t col, const char * fmt, ...);
|
D | lv_label.h | 109 void lv_label_set_text_fmt(lv_obj_t * obj, const char * fmt, ...) LV_FORMAT_ATTRIBUTE(2, 3);
|
D | lv_table.c | 114 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()
|
D | lv_label.c | 147 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()
|