Home
last modified time | relevance | path

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

/ndk/sources/android/support/src/stdio/
Dvfprintf.c196 static void pad(FILE *f, char c, int w, int l, int fl) in pad() argument
199 if (fl & (LEFT_ADJ | ZERO_PAD) || l >= w) return; in pad()
231 static int fmt_fp(FILE *f, long double y, int w, int p, int fl, int t) in fmt_fp() argument
244 } else if (fl & MARK_POS) { in fmt_fp()
246 } else if (fl & PAD_POS) { in fmt_fp()
253 pad(f, ' ', w, 3+pl, fl&~ZERO_PAD); in fmt_fp()
256 pad(f, ' ', w, 3+pl, fl^LEFT_ADJ); in fmt_fp()
296 if (s-buf==1 && (y||p>0||(fl&ALT_FORM))) *s++='.'; in fmt_fp()
304 pad(f, ' ', w, pl+l, fl); in fmt_fp()
306 pad(f, '0', w, pl+l, fl^ZERO_PAD); in fmt_fp()
[all …]
Dvfwprintf.c202 unsigned l10n=0, litpct, fl; in wprintf_core() local
243 for (fl=0; (unsigned)*s-' '<32 && (FLAGMASK&(1U<<*s-' ')); s++) in wprintf_core()
244 fl |= 1U<<*s-' '; in wprintf_core()
257 if (w<0) fl|=LEFT_ADJ, w=-w; in wprintf_core()
327 if (!(fl&LEFT_ADJ)) fprintf(f, "%.*s", w-p, ""); in wprintf_core()
329 if ((fl&LEFT_ADJ)) fprintf(f, "%.*s", w-p, ""); in wprintf_core()
339 if (!(fl&LEFT_ADJ)) fprintf(f, "%.*s", w-p, ""); in wprintf_core()
346 if ((fl&LEFT_ADJ)) fprintf(f, "%.*s", w-p, ""); in wprintf_core()
352 "#"+!(fl & ALT_FORM), in wprintf_core()
353 "+"+!(fl & MARK_POS), in wprintf_core()
[all …]
/ndk/tests/
Dprinters.py27 fl=fail_label, f=stats['fail'],