Lines Matching refs:format

188 #define	DOTSEEN 0x40	/* dot appeared in format specification */
401 _wdoprnt(const wchar_t *format, va_list in_args, FILE *iop)
403 return (_wndoprnt(format, in_args, iop, 0));
407 _doprnt(const char *format, va_list in_args, FILE *iop)
409 return (_ndoprnt(format, in_args, iop, 0));
416 _wndoprnt(const wchar_t *format, va_list in_args, FILE *iop, int prflag)
419 _ndoprnt(const char *format, va_list in_args, FILE *iop, int prflag)
487 /* and FSHARP are set if corresponding character is in format */
557 /* save the beginning of the format */
558 wchar_t *sformat = (wchar_t *)format;
561 char *sformat = (char *)format; /* save the beginning of the format */
575 int starflg = 0; /* set to 1 if * format specifier seen */
658 * for each string of ordinary characters or format specification.
663 if ((fcode = *format) != '\0' && fcode != '%') {
665 bp = (wchar_t *)format;
667 bp = (char *)format;
670 format++;
671 } while ((fcode = *format) != '\0' && fcode != '%');
673 count += (n = format - bp); /* n = no. of non-% chars */
676 if (fcode == '\0') { /* end of format; return */
706 * The following switch is used to parse the format
708 * by the format letter. The program repeatedly goes
709 * back to this switch until the format letter is
714 format++;
722 switch (fcode = *format++) {
748 if (_M_ISDIGIT(*format)) {
789 format--;
839 while (_M_ISDIGIT(fcode = *format)) {
841 format++;
915 * The character addressed by format must be
916 * the format letter -- there is nothing
1279 /* A format */
1405 * E-format. The general strategy
1407 * econvert gives us and re-format it.
1503 * F-format floating point. This is a
1504 * good deal less simple than E-format.
1600 * g-format. We play around a bit
2063 /* back up the format pointer to the offending char */
2064 /* and continue with the format scan */
2065 format--;
2103 if (sec_display) /* when format is %s or %ws or %S */