Lines Matching refs:funs
77 across to the standard sscanf or fscanf via funs->scan, for ease of
81 Because funs->scan doesn't get the whole input it can't put the right
85 supports our %n output, but for sscanf it lets funs->step move us
100 For standard % conversions, funs->scan is called once for each
202 (c) = (*funs->get) (data); \
221 gmpscan (const struct gmp_doscan_funs_t *funs, void *data,
233 c = (*funs->get) (data);
425 (*funs->unget) (c, data);
445 it's not necessary to watch for EOF from funs->get, */
447 skip_white (const struct gmp_doscan_funs_t *funs, void *data)
454 c = (funs->get) (data);
459 (funs->unget) (c, data);
468 __gmp_doscan (const struct gmp_doscan_funs_t *funs, void *data,
482 if (funs->scan == (gmp_doscan_scan_t) sscanf)
514 chars += skip_white (funs, data);
522 c = (funs->get) (data);
525 (funs->unget) (c, data);
592 if (funs->scan == (gmp_doscan_scan_t) sscanf)
598 new_fields = (*funs->scan) (data, alloc_fmt, &new_chars, NULL);
604 new_fields = (*funs->scan) (data, alloc_fmt, arg, &new_chars);
626 (*funs->step) (data, new_chars);
648 chars += skip_white (funs, data);
650 new_chars = gmpscan (funs, data, ¶m,