Lines Matching refs:c

88   int c;            /* character from format, or conversion */  in __svfscanf()  local
112 c = *fmt++; in __svfscanf()
113 if (c == 0) return nassigned; in __svfscanf()
114 if (isspace(c)) { in __svfscanf()
118 if (c != '%') goto literal; in __svfscanf()
126 c = *fmt++; in __svfscanf()
127 switch (c) { in __svfscanf()
131 if (*fp->_p != c) goto match_failure; in __svfscanf()
184 width = width * 10 + c - '0'; in __svfscanf()
195 c = CT_INT; in __svfscanf()
200 c = CT_INT; in __svfscanf()
208 c = CT_INT; in __svfscanf()
214 c = CT_INT; in __svfscanf()
222 c = CT_INT; in __svfscanf()
235 c = CT_FLOAT; in __svfscanf()
241 c = CT_STRING; in __svfscanf()
247 c = CT_CCL; in __svfscanf()
252 c = CT_CHAR; in __svfscanf()
257 c = CT_INT; in __svfscanf()
290 if (isupper(c)) flags |= LONG; in __svfscanf()
291 c = CT_INT; in __svfscanf()
296 if ((flags & ALLOCATE) != 0 && c > CT_STRING) { in __svfscanf()
331 switch (c) { in __svfscanf()
434 while ((c == CT_CCL || !isspace(*fp->_p)) && width != 0) { in __svfscanf()
450 … if ((c == CT_CCL && wctob(wc) != EOF && !ccltab[wctob(wc)]) || (c == CT_STRING && iswspace(wc))) { in __svfscanf()
478 if (c == CT_CCL && bytes != 0) { in __svfscanf()
492 if (c == CT_CCL && n == 0) goto input_failure; in __svfscanf()
517 if (c == CT_CCL && n == 0) goto input_failure; in __svfscanf()
527 if (c == CT_CCL && n == 0) goto match_failure; in __svfscanf()
549 c = *fp->_p; in __svfscanf()
554 switch (c) { in __svfscanf()
649 *p++ = c; in __svfscanf()
665 c = ((u_char*)p)[-1]; in __svfscanf()
666 if (c == 'x' || c == 'X') { in __svfscanf()
668 (void)ungetc(c, fp); in __svfscanf()
740 int c, n, v; in __sccl() local
743 c = *fmt++; /* first char hat => negated scanset */ in __sccl()
744 if (c == '^') { in __sccl()
746 c = *fmt++; /* get new first char */ in __sccl()
751 if (c == 0) return (fmt - 1); /* format ended before closing ] */ in __sccl()
762 tab[c] = v; /* take character c */ in __sccl()
789 if (n == ']' || n < c) { in __sccl()
790 c = '-'; in __sccl()
795 tab[++c] = v; in __sccl()
796 } while (c < n); in __sccl()
805 c = *fmt++; in __sccl()
806 if (c == 0) return (fmt - 1); in __sccl()
807 if (c == ']') return (fmt); in __sccl()
815 c = n; in __sccl()