Home
last modified time | relevance | path

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

/third_party/musl/src/stdio/
Dvfwprintf.c17 #define LEFT_ADJ (1U<<'-'-' ') macro
22 #define FLAGMASK (ALT_FORM|ZERO_PAD|LEFT_ADJ|PAD_POS|MARK_POS|GROUPED)
203 if (w<0) fl|=LEFT_ADJ, w=-w; in wprintf_core()
262 if (w>1 && !(fl&LEFT_ADJ)) fprintf(f, "%*s", w-1, ""); in wprintf_core()
264 if (w>1 && (fl&LEFT_ADJ)) fprintf(f, "%*s", w-1, ""); in wprintf_core()
277 if (!(fl&LEFT_ADJ)) fprintf(f, "%*s", w-p, ""); in wprintf_core()
279 if ((fl&LEFT_ADJ)) fprintf(f, "%*s", w-p, ""); in wprintf_core()
292 if (!(fl&LEFT_ADJ)) fprintf(f, "%*s", w-p, ""); in wprintf_core()
299 if ((fl&LEFT_ADJ)) fprintf(f, "%*s", w-p, ""); in wprintf_core()
308 "-"+!(fl & LEFT_ADJ), in wprintf_core()
Dvfprintf.c24 #define LEFT_ADJ (1U<<'-'-' ') macro
29 #define FLAGMASK (ALT_FORM|ZERO_PAD|LEFT_ADJ|PAD_POS|MARK_POS|GROUPED)
141 if (fl & (LEFT_ADJ | ZERO_PAD) || l >= w) return; in pad()
206 pad(f, ' ', w, 3+pl, fl^LEFT_ADJ); in fmt_fp()
263 pad(f, ' ', w, pl+l, fl^LEFT_ADJ); in fmt_fp()
416 pad(f, ' ', w, pl+l, fl^LEFT_ADJ); in fmt_fp()
488 if (w<0) fl|=LEFT_ADJ, w=-w; in printf_core()
540 if (fl & LEFT_ADJ) fl &= ~ZERO_PAD; in printf_core()
614 pad(f, ' ', w, p, fl^LEFT_ADJ); in printf_core()
635 pad(f, ' ', w, pl+p, fl^LEFT_ADJ); in printf_core()
/third_party/musl/porting/uniproton/kernel/src/stdio/
Dvfprintf.c25 #define LEFT_ADJ (1U<<('-'-' ')) macro
30 #define FLAGMASK (ALT_FORM|ZERO_PAD|LEFT_ADJ|PAD_POS|MARK_POS|GROUPED)
146 if (fl & (LEFT_ADJ | ZERO_PAD) || l >= w) return; in pad()
212 pad(f, ' ', w, 3+pl, fl^LEFT_ADJ); in fmt_fp()
269 pad(f, ' ', w, pl+l, fl^LEFT_ADJ); in fmt_fp()
422 pad(f, ' ', w, pl+l, fl^LEFT_ADJ); in fmt_fp()
503 if (w<0) fl|=LEFT_ADJ, w=-w; in printf_core()
555 if (fl & LEFT_ADJ) fl &= ~ZERO_PAD; in printf_core()
629 pad(f, ' ', w, p, fl^LEFT_ADJ); in printf_core()
650 pad(f, ' ', w, pl+p, fl^LEFT_ADJ); in printf_core()
/third_party/musl/porting/liteos_a/kernel/src/stdio/
Dvfprintf.c25 #define LEFT_ADJ (1U<<'-'-' ') macro
30 #define FLAGMASK (ALT_FORM|ZERO_PAD|LEFT_ADJ|PAD_POS|MARK_POS|GROUPED)
146 if (fl & (LEFT_ADJ | ZERO_PAD) || l >= w) return; in pad()
211 pad(f, ' ', w, 3+pl, fl^LEFT_ADJ); in fmt_fp()
268 pad(f, ' ', w, pl+l, fl^LEFT_ADJ); in fmt_fp()
421 pad(f, ' ', w, pl+l, fl^LEFT_ADJ); in fmt_fp()
502 if (w<0) fl|=LEFT_ADJ, w=-w; in printf_core()
554 if (fl & LEFT_ADJ) fl &= ~ZERO_PAD; in printf_core()
628 pad(f, ' ', w, p, fl^LEFT_ADJ); in printf_core()
649 pad(f, ' ', w, pl+p, fl^LEFT_ADJ); in printf_core()
/third_party/musl/porting/liteos_m/kernel/src/stdio/
Dvfprintf.c25 #define LEFT_ADJ (1U<<('-'-' ')) macro
30 #define FLAGMASK (ALT_FORM|ZERO_PAD|LEFT_ADJ|PAD_POS|MARK_POS|GROUPED)
146 if (fl & (LEFT_ADJ | ZERO_PAD) || l >= w) return; in pad()
212 pad(f, ' ', w, 3+pl, fl^LEFT_ADJ); in fmt_fp()
269 pad(f, ' ', w, pl+l, fl^LEFT_ADJ); in fmt_fp()
422 pad(f, ' ', w, pl+l, fl^LEFT_ADJ); in fmt_fp()
503 if (w<0) fl|=LEFT_ADJ, w=-w; in printf_core()
555 if (fl & LEFT_ADJ) fl &= ~ZERO_PAD; in printf_core()
629 pad(f, ' ', w, p, fl^LEFT_ADJ); in printf_core()
650 pad(f, ' ', w, pl+p, fl^LEFT_ADJ); in printf_core()