Searched refs:sscanf (Results 1 - 25 of 554) sorted by relevance

1234567891011>>

/netbsd-current/external/bsd/flex/dist/examples/manual/
H A Dnumbers.lex45 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 Dexpr.lex17 sscanf(yytext,"%f",&yylval.val);
/netbsd-current/tests/lib/libc/stdio/
H A Dt_scanf.c48 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 DMakefile.am37 doscan.c fscanf.c fscanffuns.c scanf.c sscanf.c sscanffuns.c \
/netbsd-current/lib/libc/compat/net/
H A Dcompat_ns_addr.c118 (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 Dmul.c62 if (sscanf(buf, "%u:%u %u:%u",
64 sscanf(buf, "0x%x:%x 0x%x:%x",
H A Ddivrem.c63 if (sscanf(buf, "%u:%u %u:%u",
65 sscanf(buf, "0x%x:%x 0x%x:%x",
/netbsd-current/bin/stty/
H A Dgfmt.c89 (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/gpl2/gmake/dist/
H A Darscan.c401 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 Dt_sprintf.c186 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 Drvdummy.c247 sscanf (s, "%02x%n", &data, &n);
268 sscanf (s, "%02x%n", &data, &n);
292 sscanf (s, "%x,%x%n", &addr, &data, &n);
311 sscanf (s, "%x,%x%n", &addr, &data, &n);
331 sscanf (s, "%d%n", &del, &n);
363 sscanf (s, "%x%n", &data, &n);
379 sscanf (s, "%x,%n", &addr, &n);
387 sscanf (s, "%02x%n", &data, &n);
417 sscanf (s, "%x,%n", &addr, &n);
425 sscanf (
[all...]
/netbsd-current/external/gpl3/gdb/dist/sim/cris/
H A Drvdummy.c234 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/lib/libc/uuid/
H A Duuid_from_string.c80 n = sscanf(s,
/netbsd-current/lib/libc/stdio/
H A Dsscanf.c1 /* $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 Dwsmuxctl.c60 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 Dmemstats.c136 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 Dmkoffload.c248 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 Derrstr.c53 if (sscanf(*argv, "%lx", &l) == 0) {
/netbsd-current/crypto/external/bsd/openssl/dist/apps/
H A Derrstr.c65 if (sscanf(*argv, "%lx", &l) <= 0) {
/netbsd-current/external/lgpl3/gmp/dist/tune/
H A Dfreq.c342 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 Dcypher.c417 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 Dqmgr_feedback.c78 #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 Dqmgr_feedback.c78 #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 Dcdplay.c618 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...]
/netbsd-current/external/bsd/tmux/dist/
H A Dcmd-refresh-client.c66 else if (sscanf(what, "%%%d", &subid) == 1 && subid >= 0)
70 else if (sscanf(what, "@%d", &subid) == 1 && subid >= 0)
89 if (sscanf(size, "@%u:%ux%u", &w, &x, &y) == 3) {
104 if (sscanf(size, "@%u:", &w) == 1) {
116 if (sscanf(size, "%u,%u", &x, &y) != 2 &&
117 sscanf(size, "%ux%u", &x, &y) != 2) {
146 if (sscanf(copy, "%%%u", &pane) != 1)

Completed in 373 milliseconds

1234567891011>>