Home
last modified time | relevance | path

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

/kvm-unit-tests/lib/
H A Dprintf.c35 static void print_str(pstream_t *p, const char *s, strprops_t props) in print_str() argument
38 int npad = props.npad; in print_str()
43 addchar(p, props.pad); in print_str()
48 while (*s && props.precision--) in print_str()
52 props.pad = ' '; /* ignore '0' flag with '-' flag */ in print_str()
55 addchar(p, props.pad); in print_str()
120 static void print_wstring(pstream_t *p, const u16 *s, strprops_t props) in print_wstring() argument
123 size_t pos = 0, size = p->remain + 1, len = utf16s_utf8nlen(ws, props.precision); in print_wstring()
159 static void print_int(pstream_t *ps, long long n, int base, strprops_t props) in print_int() argument
174 while (p == buf || (p - buf < props.precision)) in print_int()
[all …]