Home
last modified time | relevance | path

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

/DragonOS-0.1.5/user/libs/libc/src/
Dprintf.c9 static char *write_num(char *str, uint64_t num, int base, int field_width, int precision, int flags…
10 static char *write_float_point_num(char *str, double num, int field_width, int precision, int flags…
82 int field_width; //区域宽度 in vsprintf() local
101 field_width = flags = 0; in vsprintf()
150 field_width = -1; in vsprintf()
153 field_width = va_arg(args, int); in vsprintf()
158 field_width = skip_and_atoi(&fmt); in vsprintf()
159 if (field_width < 0) in vsprintf()
161 field_width = -field_width; in vsprintf()
206 while (--field_width > 0) in vsprintf()
[all …]
/DragonOS-0.1.5/kernel/src/libs/
Dprintk.c25 static char *write_num(char *str, ul num, int base, int field_width, int precision, int flags);
27 static char *write_float_point_num(char *str, double num, int field_width, int precision, int flags…
65 int field_width; //区域宽度 in __do_vsprintf() local
88 field_width = flags = 0; in __do_vsprintf()
137 field_width = -1; in __do_vsprintf()
140 field_width = va_arg(args, int); in __do_vsprintf()
145 field_width = skip_and_atoi(&fmt); in __do_vsprintf()
146 if (field_width < 0) in __do_vsprintf()
148 field_width = -field_width; in __do_vsprintf()
193 while (--field_width > 0) in __do_vsprintf()
[all …]
/DragonOS-0.1.5/docs/community/code_contribution/
Dc-coding-style.md89 field_width = skip_and_atoi(&fmt);