Home
last modified time | relevance | path

Searched refs:maxlen (Results 1 – 2 of 2) sorted by relevance

/lvgl-3.7.0/src/misc/
Dlv_printf.c116 typedef void (*out_fct_type)(char character, void * buffer, size_t idx, size_t maxlen);
125 static inline void _out_buffer(char character, void * buffer, size_t idx, size_t maxlen) in _out_buffer() argument
127 if(idx < maxlen) { in _out_buffer()
133 static inline void _out_null(char character, void * buffer, size_t idx, size_t maxlen) in _out_null() argument
138 LV_UNUSED(maxlen); in _out_null()
168 static size_t _out_rev(out_fct_type out, char * buffer, size_t idx, size_t maxlen, const char * buf… in _out_rev() argument
177 out(' ', buffer, idx++, maxlen); in _out_rev()
183 out(buf[--len], buffer, idx++, maxlen); in _out_rev()
189 out(' ', buffer, idx++, maxlen); in _out_rev()
197 static size_t _ntoa_format(out_fct_type out, char * buffer, size_t idx, size_t maxlen, char * buf, … in _ntoa_format() argument
[all …]
/lvgl-3.7.0/src/extra/libs/png/
Dlodepng.c759 unsigned maxlen = tree->table_len[index]; in HuffmanTree_makeTable() local
761 unsigned tablelen = maxlen - FIRSTBITS; in HuffmanTree_makeTable()
765 if(maxlen < l) return 55; /*invalid tree: long symbol shares prefix with short symbol*/ in HuffmanTree_makeTable()