Lines Matching refs:fmt

104 	int		n, v, w, k, n_s, base, fmt, flags;
236 switch((fmt = *form++) )
329 thousand = fmt;
359 { fmt = *form++;
382 fmt = ft->fmt;
395 for(v = fmt - '0'; isdigit(*form); ++form)
484 { if((_Sftype[fmt]&(SFFMT_INT|SFFMT_UINT)) || fmt == 'n')
505 else if(_Sftype[fmt]&SFFMT_FLOAT)
517 else if(_Sftype[fmt]&SFFMT_CHAR)
520 if((flags&SFFMT_LONG) || fmt == 'C')
532 { if(ft && ft->extf && fp[argp].ft.fmt != fp[argp].fmt)
533 fmt = fp[argp].ft.fmt;
538 { FMTSET(ft, form,args, fmt, size,flags, width,precis,base,
551 { FMTGET(ft, form,args, fmt, size,flags, width,precis,base);
555 else if(_Sftype[fmt]&(SFFMT_INT|SFFMT_UINT) )
557 { if(_Sftype[fmt]&SFFMT_INT)
562 { if(_Sftype[fmt]&SFFMT_INT)
567 else if(_Sftype[fmt]&SFFMT_FLOAT )
571 else if(_Sftype[fmt]&SFFMT_CHAR)
579 switch(_Sftype[fmt])
606 else if((flags & SFFMT_LONG) || fmt == 'C')
619 switch(fmt) /* PRINTF DIRECTIVES */
844 { fmt = *sp++;
872 { SFnputc(f, fmt, v);
901 fmt = 'x';
928 fmt = 'd';
958 { if(fmt == 'd')
973 if(lv < 0 && fmt == 'd' )
999 { if(fmt == 'd')
1005 { if(fmt != 'd')
1033 if(v < 0 && fmt == 'd' )
1079 { if(fmt == 'o')
1086 if(fmt == 'x' || fmt == 'X')
1097 if(fmt == 'x' || fmt == 'X')
1098 { *--sp = (char)fmt;
1133 if(fmt == 'e' || fmt == 'E' && (v |= SFFMT_UPPER))
1140 else if(fmt == 'f' || fmt == 'F' && (v |= SFFMT_UPPER))
1146 else if(fmt == 'a' || fmt == 'A' && (v |= SFFMT_UPPER))
1159 *endsp++ = fmt == 'a' ? 'x' : 'X';
1166 if(fmt == 'G')
1229 *--ep = fmt == 'a' ? 'p' : fmt == 'A' ? 'P' :
1230 isupper(fmt) ? 'E' : 'e';
1293 fmt = (flags&SFFMT_MINUS) ? '-' : (flags&SFFMT_SIGN) ? '+' : ' ';
1303 { *--sp = fmt;
1309 { SFputc(f,fmt);
1310 if(fmt != ' ')