Home | History | Annotate | Download | only in io

Lines Matching refs:spec

101     u_scanf_spec_info    fInfo;        /* Information on this spec */
108 * @param spec A pointer to a <TT>u_scanf_spec</TT> to receive the parsed
114 u_scanf_spec *spec)
118 u_scanf_spec_info *info = &(spec->fInfo);
120 /* initialize spec to default values */
121 spec->fArgPos = -1;
145 spec->fArgPos = (int) (*s++ - DIGIT_ZERO);
148 spec->fArgPos *= 10;
149 spec->fArgPos += (int) (*s++ - DIGIT_ZERO);
155 spec->fArgPos = -1;
289 * following the spec.
1274 u_scanf_spec spec;
1299 count = u_scanf_parse_spec(alias, &spec);
1304 handlerNum = (uint16_t)(spec.fInfo.fSpec - USCANF_BASE_FMT_HANDLERS);
1312 else if(spec.fInfo.fSkipArg) {
1318 /* set the spec's width to the # of items converted */
1319 spec.fInfo.fWidth = cpConsumed;
1346 cpConsumed += (*handler)(f, &spec.fInfo, &args, alias, &count, &argConsumed);