/netbsd-current/external/bsd/flex/dist/examples/manual/ |
H A D | numbers.lex | 45 sscanf(&yytext[2],"%lx",&yylval.yunsigned_long); 49 sscanf(&yytext[2],"%lx",&yylval.ysigned_long); 53 sscanf(&yytext[2],"%x",&yylval.yunsigned); 57 sscanf(&yytext[2],"%lx",&yylval.ysigned_long); 61 sscanf(yytext,"%lo",&yylval.yunsigned_long); 65 sscanf(yytext,"%lo",&yylval.ysigned_long); 69 sscanf(yytext,"%o",&yylval.yunsigned); 73 sscanf(yytext,"%lo",&yylval.ysigned_long); 77 sscanf(yytext,"%ld",&yylval.yunsigned_long); 81 sscanf(yytex [all...] |
H A D | expr.lex | 17 sscanf(yytext,"%f",&yylval.val);
|
/netbsd-current/tests/lib/libc/stdio/ |
H A D | t_scanf.c | 48 sscanf(STRNUM, "%i", &i); 51 sscanf(STRNUM, "%x", &i); 59 atf_tc_set_md_var(tc, "descr", "verify sscanf skips all whitespace"); 69 (void)sscanf(str, "%%%c", &c);
|
/netbsd-current/external/lgpl3/gmp/dist/scanf/ |
H A D | Makefile.am | 37 doscan.c fscanf.c fscanffuns.c scanf.c sscanf.c sscanffuns.c \
|
/netbsd-current/lib/libc/compat/net/ |
H A D | compat_ns_addr.c | 118 (1 < (i = sscanf(buf, "%d-%d-%d-%d-%d", 126 if (1 < (i = sscanf(buf,"%x.%x.%x.%x.%x.%x", 134 if (1 < (i = sscanf(buf,"%x:%x:%x:%x:%x:%x", 143 if (1 < (i = sscanf(buf,"%x,%x,%x", 197 (void)sscanf(bp, "%3x", hp); 199 (void)sscanf(bp, "%3d", hp); 201 (void)sscanf(bp, "%3o", hp); 208 (void)sscanf(buf, "%3x", hp); 210 (void)sscanf(buf, "%3d", hp); 212 (void)sscanf(bu [all...] |
/netbsd-current/lib/libc/quad/TESTS/ |
H A D | mul.c | 62 if (sscanf(buf, "%u:%u %u:%u", 64 sscanf(buf, "0x%x:%x 0x%x:%x",
|
H A D | divrem.c | 63 if (sscanf(buf, "%u:%u %u:%u", 65 sscanf(buf, "0x%x:%x 0x%x:%x",
|
/netbsd-current/bin/stty/ |
H A D | gfmt.c | 89 (void)sscanf(ep, "%lx", &tmp); 102 (void)sscanf(ep, "%ld", &tmp); 117 (void)sscanf(ep, "%ld", &tmp); 125 (void)sscanf(ep, "%ld", &tmp);
|
/netbsd-current/external/bsd/ntp/dist/util/ |
H A D | lsf-times.c | 84 scount = sscanf(argv[1], "%u", &year); 92 scount = sscanf(argv[2], "%u", &mon); 108 scount = sscanf(argv[1], "%u", &year); 116 scount = sscanf(argv[2], "%u", &mon); 129 scount = sscanf(argv[3], "%u", &dom);
|
/netbsd-current/external/gpl2/gmake/dist/ |
H A D | arscan.c | 401 sscanf (fl_header_big.fl_fstmoff, "%20ld", &member_offset); 402 sscanf (fl_header_big.fl_lstmoff, "%20ld", &last_member_offset); 407 sscanf (fl_header.fl_fstmoff, "%12ld", &member_offset); 408 sscanf (fl_header.fl_lstmoff, "%12ld", &last_member_offset); 469 sscanf (member_header_big.ar_namlen, "%4d", &name_len); 480 sscanf (member_header_big.ar_date, "%12ld", &dateval); 481 sscanf (member_header_big.ar_uid, "%12d", &uidval); 482 sscanf (member_header_big.ar_gid, "%12d", &gidval); 483 sscanf (member_header_big.ar_mode, "%12o", &eltmode); 484 sscanf (member_header_bi [all...] |
/netbsd-current/tests/lib/libc/locale/ |
H A D | t_sprintf.c | 186 sscanf(t->int_input, "%d", &int_reported); 188 sscanf(t->double_input, "%lf", &double_reported); 220 ATF_TC(sscanf); variable 221 ATF_TC_HEAD(sscanf, tc) 224 "Checks sscanf under different locales"); 226 ATF_TC_BODY(sscanf, tc) 238 ATF_TP_ADD_TC(tp, sscanf);
|
/netbsd-current/external/gpl3/gdb.old/dist/sim/cris/ |
H A D | rvdummy.c | 234 sscanf (s, "%02x%n", &data, &n); 255 sscanf (s, "%02x%n", &data, &n); 279 sscanf (s, "%x,%x%n", &addr, &data, &n); 298 sscanf (s, "%x,%x%n", &addr, &data, &n); 318 sscanf (s, "%d%n", &del, &n); 350 sscanf (s, "%x%n", &data, &n); 366 sscanf (s, "%x,%n", &addr, &n); 374 sscanf (s, "%02x%n", &data, &n); 404 sscanf (s, "%x,%n", &addr, &n); 412 sscanf ( [all...] |
/netbsd-current/external/gpl3/gdb/dist/sim/cris/ |
H A D | rvdummy.c | 231 sscanf (s, "%02x%n", &data, &n); 252 sscanf (s, "%02x%n", &data, &n); 276 sscanf (s, "%x,%x%n", &addr, &data, &n); 295 sscanf (s, "%x,%x%n", &addr, &data, &n); 315 sscanf (s, "%d%n", &del, &n); 347 sscanf (s, "%x%n", &data, &n); 363 sscanf (s, "%x,%n", &addr, &n); 371 sscanf (s, "%02x%n", &data, &n); 401 sscanf (s, "%x,%n", &addr, &n); 409 sscanf ( [all...] |
/netbsd-current/lib/libc/uuid/ |
H A D | uuid_from_string.c | 80 n = sscanf(s,
|
/netbsd-current/lib/libc/stdio/ |
H A D | sscanf.c | 1 /* $NetBSD: sscanf.c,v 1.22 2018/02/04 01:13:45 mrg Exp $ */ 38 static char sccsid[] = "@(#)sscanf.c 8.1 (Berkeley) 6/4/93"; 40 __RCSID("$NetBSD: sscanf.c,v 1.22 2018/02/04 01:13:45 mrg Exp $"); 58 sscanf(const char *str, char const *fmt, ...)
|
/netbsd-current/usr.sbin/wsmuxctl/ |
H A D | wsmuxctl.c | 60 if (sscanf(dev, "wsmouse%d", &mdev->idx) == 1) { 64 if (sscanf(dev, "wskbd%d", &mdev->idx) == 1) { 68 if (sscanf(dev, "wsmux%d", &mdev->idx) == 1) { 72 if (sscanf(dev, "wsbell%d", &mdev->idx) == 1) {
|
/netbsd-current/external/bsd/unbound/dist/testcode/ |
H A D | memstats.c | 136 if(sscanf(line, "%s %s %n", codeline, name, &skip) != 2) { 140 if(sscanf(line+skip+7, "%ld", &num) != 1) { 161 if(sscanf(line, "%s %s %n", codeline, name, &skip) != 2) { 165 if(sscanf(line+skip+7, "%ld, %ld", &num, &sz) != 2) {
|
/netbsd-current/external/gpl3/gcc.old/dist/gcc/config/gcn/ |
H A D | mkoffload.c | 248 if (sscanf (buf, " ;; OPENACC-DIMS: %d, %d, %d : %ms\n", 254 else if (sscanf (buf, " .amdgpu_hsa_kernel %ms\n", 263 if (sscanf (buf, " wavefront_sgpr_count = %d\n", 266 else if (sscanf (buf, " workitem_vgpr_count = %d\n", 276 if (sscanf (buf, " .8byte %ms\n", &varname)) 280 if (!sscanf (buf, " .8byte %u\n", &varsize)) 294 if (sscanf (buf, "\t.8byte\t%ms\n", &funcname)) 305 if (sscanf (buf, " .section .gnu.offload_vars%c", &dummy) > 0) 307 else if (sscanf (buf, " .section .gnu.offload_funcs%c", &dummy) > 0) 309 else if (sscanf (bu [all...] |
/netbsd-current/crypto/external/bsd/openssl.old/dist/apps/ |
H A D | errstr.c | 53 if (sscanf(*argv, "%lx", &l) == 0) {
|
/netbsd-current/crypto/external/bsd/openssl/dist/apps/ |
H A D | errstr.c | 65 if (sscanf(*argv, "%lx", &l) <= 0) {
|
/netbsd-current/external/lgpl3/gmp/dist/tune/ |
H A D | freq.c | 342 if (sscanf (p, "%u MHz%n", &val, &end) == 1 && end != 0) 391 if (sscanf (buf, "cycle frequency [Hz] : %lf", &val) == 1 400 if (sscanf (buf, "cpu MHz : %lf\n", &val) == 1) 409 if (sscanf (buf, "clock : %lfMHz\n%n", &val, &end) == 1 && end != 0) 417 if (sscanf (buf, "bogomips : %lf\n", &val) == 1 418 || sscanf (buf, "BogoMIPS : %lf\n", &val) == 1) 454 if (sscanf (buf, " cpu0 is a \"%lf MHz%n", &val, &end) == 1 493 if (sscanf (buf, " The speed of the CPU is approximately %lfMHz%n", 579 if (sscanf (p, "(%lf-MHz%n", &val, &end) == 1 && end != 0) 625 if (sscanf (bu [all...] |
/netbsd-current/games/battlestar/ |
H A D | cypher.c | 417 sscanf(buffer, "%d", &position); 421 sscanf(buffer, "%d", &ourtime); 425 sscanf(buffer, "%d", &fuel); 429 sscanf(buffer, "%d", &torps); 433 sscanf(buffer, "%d", &CUMBER); 437 sscanf(buffer, "%d", &WEIGHT); 441 sscanf(buffer, "%d", &ourclock); 445 sscanf(buffer, "%d", &junk);
|
/netbsd-current/external/ibm-public/postfix/dist/src/qmgr/ |
H A D | qmgr_feedback.c | 78 #include <stdio.h> /* sscanf() */ 135 * We use some sscanf() fu to parse the value into numerator and optional 144 switch (sscanf(fbck_val, "%lf %1[/] %30s%c", 155 && sscanf(denom_str, "%lf%c", &denom_val, &junk) == 1
|
/netbsd-current/external/ibm-public/postfix/dist/src/oqmgr/ |
H A D | qmgr_feedback.c | 78 #include <stdio.h> /* sscanf() */ 135 * We use some sscanf() fu to parse the value into numerator and optional 144 switch (sscanf(fbck_val, "%lf %1[/] %30s%c", 155 && sscanf(denom_str, "%lf%c", &denom_val, &junk) == 1
|
/netbsd-current/usr.bin/cdplay/ |
H A D | cdplay.c | 618 if (sscanf(arg, "%d %d", &l, &r) != 2) { 619 if (sscanf(arg, "%d", &l) == 1) 674 if (2 != sscanf(arg, "#%d%d", &blk, &len) && 675 1 != sscanf(arg, "#%d", &blk)) 695 if (8 == sscanf(arg, "%u %u:%u.%u %u %u:%u.%u", &tr1, &m1, 700 if (7 == sscanf(arg, "%u %u:%u %u %u:%u.%u", &tr1, &m1, &s1, 705 if (7 == sscanf(arg, "%u %u:%u.%u %u %u:%u", &tr1, &m1, &s1, 710 if (7 == sscanf(arg, "%u %u:%u.%u %u:%u.%u", &tr1, &m1, &s1, 715 if (6 == sscanf(arg, "%u %u:%u.%u %u:%u", &tr1, &m1, &s1, &f1, 720 if (6 == sscanf(ar [all...] |