Searched refs:sscanf (Results 101 - 125 of 545) sorted by relevance

1234567891011>>

/netbsd-current/external/gpl2/groff/dist/src/libs/libgroff/
H A Dfont.cpp524 if (sscanf(pp, "%lf%1[ipPc],%lf%1[ipPc]", &l, lu, &w, wu) == 4
595 if (p == 0 || sscanf(p, "%d", &n) != 1 || n <= 0) {
604 if (p == 0 || sscanf(p, "%lf", &n) != 1 || n >= 90.0 || n <= -90.0) {
677 if (sscanf(p, "%d", &n) != 1) {
733 int nparms = sscanf(p, "%d,%d,%d,%d,%d,%d",
748 if (sscanf(p, "%d", &type) != 1) {
855 if (sscanf(q, "%d", ptr) != 1) {
872 if (!p || sscanf(p, "%d", &nfonts) != 1 || nfonts <= 0) {
938 switch (sscanf(p, "%d-%d", &lower, &upper)) {
/netbsd-current/external/bsd/ntp/dist/ntpq/
H A Dntpq-subs.c2328 if (1 == sscanf(resp, "column %d syntax error", &col)
2784 } else if (1 != sscanf(tag, "addr.%d", &si)
2831 } else if (1 != sscanf(tag, "last.%d", &si) ||
2849 if (1 != sscanf(tag, "first.%d", &si) ||
2871 if (1 != sscanf(tag, "ct.%d", &si) ||
2873 1 != sscanf(val, "%d", &mon->count)
2880 if (1 != sscanf(tag, "mv.%d", &si) ||
2882 1 != sscanf(val, "%d", &mv))
2890 if (1 != sscanf(tag, "rs.%d", &si) ||
2892 1 != sscanf(va
[all...]
/netbsd-current/lib/libc/gdtoa/test/
H A Ddt.c208 /* sscanf(buf+1, "%lx %lx:%d %d", &x, &y, &mode, &ndigits); */
213 sscanf(se, ":%d %d", &mode, &ndigits);
230 sscanf(se+1,"%d %d", &mode, &ndigits);
/netbsd-current/lib/libc/net/
H A Dethers.c68 if (sscanf(s, " %x:%x:%x:%x:%x:%x ", &i[0], &i[1],
209 if (sscanf(l, fmt,
/netbsd-current/external/gpl2/groff/dist/src/preproc/eqn/
H A Dmain.cpp318 if (sscanf(optarg, "%d", &n) == 1)
327 if (sscanf(optarg, "%d", &n) == 1)
/netbsd-current/external/gpl2/groff/dist/src/utils/xtotroff/
H A Dxtotroff.c246 sscanf(optarg, "%u", &resolution);
249 sscanf(optarg, "%u", &point_size);
/netbsd-current/external/gpl2/groff/dist/src/preproc/grn/
H A Dhdb.cpp149 (void) sscanf(string, "%lf%lf", &x, &y);
179 (void) sscanf(string, "%lf%lf", &x, &y);
/netbsd-current/usr.sbin/lpr/pac/
H A Dpac.c219 if (sscanf(linebuf, "%f %d%1023s", &t, &ic, who) == 0) {
220 sscanf(linebuf, "%f %1023s", &t, who);
/netbsd-current/external/bsd/ntp/dist/ntpsnmpd/
H A DntpSnmpSubagentObject.c438 if (1 != sscanf(ntpvalue, "%d", &precision))
481 if (1 != sscanf(ntpvalue, "%d", &precision))
/netbsd-current/usr.bin/jot/
H A Djot.c196 if (!sscanf(argv[2], "%lf", &ender))
205 if (!sscanf(argv[1], "%lf", &begin))
/netbsd-current/external/bsd/openldap/dist/tests/progs/
H A Dslapd-auth.c117 if ( sscanf(optarg, "%d:%d", &r1lo, &r1hi) != 2 ) {
123 if ( sscanf(optarg, "%d:%d:%d", &r2per, &r2lo, &r2hi) != 3 ) {
/netbsd-current/tests/fs/puffs/h_dtfs/
H A Ddtfs_vfsops.c51 if (sscanf(str, "%*s %256s", ltarg) != 1)
72 if (sscanf(str, "%*s %d %d", &major, &minor) != 2)
/netbsd-current/crypto/external/bsd/openssl/dist/test/testutil/
H A Dprovider.c89 || sscanf(vs, "%d.%d.%d", &vers->major, &vers->minor, &vers->patch) != 3)
210 if (sscanf(p, "%d.%d.%d", &major, &minor, &patch) != 3) {
/netbsd-current/crypto/external/bsd/openssl/dist/crypto/http/
H A Dhttp_lib.c10 #include <stdio.h> /* for sscanf() */
121 if (sscanf(port, "%u", &portnum) <= 0 || portnum > 65535) {
223 if (!ossl_assert(sscanf(port, "%d", &portnum) == 1))
/netbsd-current/external/bsd/tmux/dist/
H A Dcolour.c199 n = sscanf(s + 1, "%2hhx%2hhx%2hhx", &r, &g, &b);
973 if ((len == 12 && sscanf(p, "rgb:%02x/%02x/%02x", &r, &g, &b) == 3) ||
974 (len == 7 && sscanf(p, "#%02x%02x%02x", &r, &g, &b) == 3) ||
975 sscanf(p, "%d,%d,%d", &r, &g, &b) == 3)
978 sscanf(p, "rgb:%04x/%04x/%04x", &r, &g, &b) == 3) ||
979 (len == 13 && sscanf(p, "#%04x%04x%04x", &r, &g, &b) == 3))
981 else if ((sscanf(p, "cmyk:%lf/%lf/%lf/%lf", &c, &m, &y, &k) == 4 ||
982 sscanf(p, "cmy:%lf/%lf/%lf", &c, &m, &y) == 3) &&
H A Dlayout-custom.c165 if (sscanf(layout, "%hx,", &csum) != 1) {
292 if (sscanf(*layout, "%ux%u,%u,%u", &sx, &sy, &xoff, &yoff) != 4)
/netbsd-current/external/gpl3/binutils.old/dist/opcodes/
H A Ds390-mkopc.c221 if (sscanf (number, "%d", &mask_start) != 1)
341 sscanf (currentLine, "%15s %15s %15s \"%79[^\"]\" %15s %15s %79[^\n]",
/netbsd-current/external/gpl3/gdb/dist/gdb/testsuite/gdb.arch/
H A Ds390-multiarch.c300 if (sscanf (argv[3], "%u", &note_type) != 1)
305 if (sscanf (argv[4], "%lu", &hwcap_mask) != 1)
/netbsd-current/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.arch/
H A Ds390-multiarch.c300 if (sscanf (argv[3], "%u", &note_type) != 1)
305 if (sscanf (argv[4], "%lu", &hwcap_mask) != 1)
/netbsd-current/external/gpl3/gdb.old/dist/opcodes/
H A Ds390-mkopc.c221 if (sscanf (number, "%d", &mask_start) != 1)
341 sscanf (currentLine, "%15s %15s %15s \"%79[^\"]\" %15s %15s %79[^\n]",
/netbsd-current/external/bsd/ntp/dist/ntpd/
H A Drefclock_chronolog.c221 if (sscanf(pp->a_lastcode, "Y %d/%d/%d", &up->year,&up->month,&up->day))
229 if (sscanf(pp->a_lastcode,"Z %02d:%02d:%02d",
H A Dntp_scanner.c510 if (1 == sscanf(lexeme, "%u", &u_val))
836 converted = sscanf(&yytext[2], "%x",
839 converted = sscanf(yytext, "%u",
/netbsd-current/crypto/external/bsd/heimdal/dist/lib/roken/
H A Dgetarg.c412 if(sscanf(goptarg + 1, "%d", &tmp) != 1)
449 else if(sscanf(goptarg + 1, "%d", &val) != 1)
457 if(sscanf(goptarg + 1, "%lf", &tmp) != 1)
521 if(sscanf(goptarg, "%d", &tmp) != 1)
532 if(sscanf(goptarg, "%lf", &tmp) != 1)
/netbsd-current/usr.sbin/altq/libaltq/
H A Dquip_server.c224 if (sscanf(fltr_field, "%lx", &handle) != 1)
233 if (sscanf(class_field, "%lx", &handle) != 1)
277 if (sscanf(fltr_field, "%lx", &handle) != 1)
/netbsd-current/external/bsd/openldap/dist/libraries/liblmdb/
H A Dmdb_load.c109 i = sscanf((char *)dbuf.mv_data+STRLENOF("mapaddr="), "%p", &info.me_mapaddr);
119 i = sscanf((char *)dbuf.mv_data+STRLENOF("mapsize="), "%" Z "u", &info.me_mapsize);
129 i = sscanf((char *)dbuf.mv_data+STRLENOF("maxreaders="), "%u", &info.me_maxreaders);

Completed in 263 milliseconds

1234567891011>>