Lines Matching refs:fmt
42 const unsigned char *fmt = (const unsigned char *)sfmt;
52 for (; *fmt; fmt++) {
53 if (*fmt == '%') {
54 if (*++fmt == '%')
56 if (!*fmt)
62 while (*fmt && isdigit(*fmt))
63 t = t * 10 + *fmt++ - '0';
65 if (*fmt == '$') {
67 fmt++;
70 if (!*fmt)
78 while ((c = *fmt) != '\0') {
81 fmt++;
87 while (*fmt && isdigit(*fmt))
88 fmt++;
90 if (*fmt == '*') {
91 if (isdigit(*(fmt + 1))) {
92 fmt++;
94 while (*fmt && isdigit(*fmt))
95 t = t * 10 + *fmt++ - '0';
97 if (*fmt == '$') {
122 if (*(fmt + 1) == '$') {
123 fmt++;
140 fmt++;
143 if ((*fmt == '.') || (*fmt == '*')) {
147 fmt++;
151 if (!*fmt)
154 while (*fmt) {
155 switch (*fmt) {
197 if (isdigit(*fmt))
202 fmt++;
205 if (!*fmt)
208 if ((c = *fmt) == 'C') {