Lines Matching refs:fmt
221 char *fmt = (char *)format; in parsefmt() local
235 char *start = fmt; in parsefmt()
240 while(*fmt) { in parsefmt()
241 if(*fmt == '%') { in parsefmt()
244 fmt++; in parsefmt()
245 outlen = (size_t)(fmt - start - 1); in parsefmt()
246 if(*fmt == '%') { in parsefmt()
258 start = fmt; in parsefmt()
259 fmt++; in parsefmt()
267 param = dollarstring(fmt, &fmt); in parsefmt()
285 switch(*fmt++) { in parsefmt()
300 if('*' == *fmt) { in parsefmt()
303 fmt++; in parsefmt()
306 precision = dollarstring(fmt, &fmt); in parsefmt()
319 if('-' == *fmt) { in parsefmt()
321 fmt++; in parsefmt()
323 while(ISDIGIT(*fmt)) { in parsefmt()
327 precision += *fmt - '0'; in parsefmt()
328 fmt++; in parsefmt()
345 if((fmt[0] == '3') && (fmt[1] == '2')) { in parsefmt()
347 fmt += 2; in parsefmt()
349 else if((fmt[0] == '6') && (fmt[1] == '4')) { in parsefmt()
351 fmt += 2; in parsefmt()
398 fmt--; in parsefmt()
403 width += *fmt - '0'; in parsefmt()
404 fmt++; in parsefmt()
405 } while(ISDIGIT(*fmt)); in parsefmt()
410 width = dollarstring(fmt, &fmt); in parsefmt()
421 fmt--; in parsefmt()
426 switch(*fmt) { in parsefmt()
563 fmt++; in parsefmt()
573 start = fmt; in parsefmt()
576 fmt++; in parsefmt()
580 outlen = (size_t)(fmt - start); in parsefmt()