Lines Matching refs:fmt
1068 _mkarglst(char *fmt, stva_list args, stva_list arglst[])
1079 * 2. walk through fmt putting arg types in typelst[].
1088 while ((fmt = strchr(fmt, '%')) != 0) {
1091 fmt++; /* skip % */
1092 if (fmt[sz = strspn(fmt, digits)] == '$') {
1093 curargno = atoi(fmt) - 1;
1097 fmt += sz + 1;
1101 fmt += strspn(fmt, skips);
1102 switch (*fmt++) {
1110 if (isdigit(*fmt)) {
1112 targno = atoi(fmt) - 1;
1113 fmt += strspn(fmt, digits);
1114 if (*fmt == '$')
1115 fmt++; /* skip '$' */
1206 _getarg(char *fmt, stva_list *pargs, int argno)
1211 char *sfmt = fmt;
1217 fmt = sfmt;
1219 while ((i != argno) && (fmt = strchr(fmt, '%')) != 0) {
1220 fmt++; /* skip % */
1221 if (fmt[n = strspn(fmt, digits)] == '$') {
1222 curargno = atoi(fmt);
1225 fmt += n + 1;
1236 fmt += strspn(fmt, skips);
1237 switch (*fmt++) {
1249 if (isdigit(*fmt)) {
1250 fmt += strspn(fmt, digits);
1251 if (*fmt == '$')
1252 fmt++; /* skip '$' */