Symbol: sscanf
bin/stty/gfmt.c
105
(void)sscanf(ep, "%ld", &tmp);
bin/stty/gfmt.c
80
(void)sscanf(ep, "%lx", &tmp);
bin/stty/gfmt.c
92
(void)sscanf(ep, "%ld", &tmp);
games/monop/execute.c
324
if (sscanf(st, "%d %d %d", &num_play, &player, &num_doub) != 3 ||
games/monop/execute.c
352
if (sscanf(st, "%d %hd %hd %hd", &(play[i].money), &t2,
games/monop/execute.c
368
if (sscanf(st, "%d %d %hd", &t1, &j, &t2) != 3 ||
games/monop/execute.c
396
if (sscanf(st, "%d %hd %hd %hd", &t1, &t2, &t3, &t4) != 4 ||
games/phantasia/fight.c
1434
sscanf(Databuf, "%lf %lf", &x, &y);
games/phantasia/interplayer.c
1016
sscanf(Databuf, "%lf %lf", &temp1, &temp2);
games/phantasia/interplayer.c
921
sscanf(Databuf, "%lf %lf", &temp1, &temp2);
games/phantasia/io.c
169
if (sscanf(Databuf, "%lf", &result) < 1)
games/phantasia/main.c
438
sscanf(Databuf, "%lf %lf", &Player.p_x, &Player.p_y);
games/phantasia/main.c
587
if (sscanf(Databuf, "%lf %lf", &x, &y) != 2)
games/phantasia/main.c
652
if (sscanf(Databuf, "%lf %lf", &x, &y) == 2) {
games/phantasia/setup.c
167
sscanf(&Databuf[24], "%lf%lf%lf%lf%lf%d%d%lf",
include/stdio.h
183
int sscanf(const char *, const char *, ...);
lib/libc/hidden/stdio.h
111
PROTO_NORMAL(sscanf);
lib/libc/stdio/sscanf.c
61
DEF_STRONG(sscanf);
lib/libc/uuid/uuid_from_string.c
88
n = sscanf(s,
lib/libcrypto/x509/x509_utl.c
1298
if (sscanf(in, "%d.%d.%d.%d", &a0, &a1, &a2, &a3) != 4)
lib/libcurses/base/lib_color.c
283
switch (sscanf(s, "%d/%d/%d", &red, &green, &blue)) {
lib/libcurses/base/lib_set_term.c
492
int count = sscanf(env, "%d%c%d%c", &fg, &sep1, &bg, &sep2);
lib/libcurses/base/vsscanf.c
204
if (sscanf("123", "%d%n", &check1, &check2) > 0
lib/libcurses/base/vsscanf.c
339
if (sscanf(str + consumed, my_fmt, pointer, &eaten) > 0)
lib/libcurses/tinfo/captoinfo.c
545
if (sscanf(str, fmt, &ch1, &ch2) == 2
lib/libcurses/tinfo/captoinfo.c
814
} else if (sscanf(str,
lib/libcurses/tinfo/captoinfo.c
833
} else if (sscanf(str, "%%?%%{%d}%%>%%t%%{%d}%%+%%;", &c1, &c2) == 2) {
lib/libcurses/tinfo/captoinfo.c
836
} else if (sscanf(str, "%%?%%{%d}%%>%%t%%'%c'%%+%%;", &c1, &ch2) == 2) {
lib/libcurses/tinfo/captoinfo.c
839
} else if (sscanf(str, "%%?%%'%c'%%>%%t%%{%d}%%+%%;", &ch1, &c2) == 2) {
lib/libcurses/tinfo/captoinfo.c
842
} else if (sscanf(str, "%%?%%'%c'%%>%%t%%'%c'%%+%%;", &ch1, &ch2) == 2) {
lib/libcurses/tinfo/captoinfo.c
848
} else if ((sscanf(str, "%%{%d}%%+%%%c", &c1, &ch2) == 2
lib/libcurses/tinfo/captoinfo.c
849
|| sscanf(str, "%%'%c'%%+%%%c", &ch1, &ch2) == 2)
lib/libcurses/tinfo/make_keys.c
105
scanned = sscanf(buffer, "%255s %255s", to, from);
lib/libcurses/tty/lib_mvcur.c
1231
} else if (sscanf(buf, "%d %d %d %d", &fy, &fx, &ty, &tx) == 4) {
lib/libcurses/tty/lib_mvcur.c
1244
} else if (sscanf(buf, "s %d %d %d %d", &fy, &fx, &ty, &tx) == 4) {
lib/libcurses/tty/lib_mvcur.c
1260
} else if (sscanf(buf, "l %s", tname) == 1) {
lib/libcurses/tty/lib_mvcur.c
1262
} else if (sscanf(buf, "d %s", capname) == 1) {
lib/libcurses/tty/lib_mvcur.c
1323
else if (sscanf(buf, "t %d", &n) == 1) {
lib/libcurses/tty/tty_update.c
165
if (sscanf(buf, "\033[%d;%dR", &y, &x) != 2) {
lib/libform/fty_ipv4.c
61
num = sscanf(bp, "%u.%u.%u.%u%n", &d1, &d2, &d3, &d4, &len);
lib/libfuse/debug.c
36
if (!dbg || sscanf(dbg, "%u", &ifuse_debug) != 1)
lib/libfuse/fuse_opt.c
239
if (sscanf(opt, o->templ, data + o->off) != 1) {
lib/libpcap/nametoaddr.c
299
if (sscanf((char *)s, "%d.%d", &area, &node) != 2)
lib/libsndio/debug.c
37
if (!dbg || sscanf(dbg, "%u", &_sndio_debug) != 1)
lib/libusbhid/usage.c
100
if (sscanf(line, " * %99[^\n]", name) == 1)
lib/libusbhid/usage.c
102
else if (sscanf(line, " 0x%x %99[^\n]", &no, name) != 2 &&
lib/libusbhid/usage.c
103
sscanf(line, " %d %99[^\n]", &no, name) != 2) {
lib/libutil/login_fbtab.c
104
sscanf(cp, "%o", &prot) == 0 ||
libexec/spamd-setup/spamd-setup.c
197
if (sscanf(buf, "%15[^/]/%u", astring, &maskbits) == 2) {
libexec/spamd-setup/spamd-setup.c
209
} else if (sscanf(buf, "%15[0123456789.]%*[ -]%15[0123456789.]",
libexec/spamd-setup/spamd-setup.c
224
} else if (sscanf(buf, "%15[0123456789.]", astring) == 1) {
libexec/spamd/sdl.c
169
j = sscanf(addr, "%15[^/]/%u", astring, &maskbits);
libexec/spamd/sdl.c
210
j = sscanf(addr, "%39[^/]/%u", astring, &maskbits);
libexec/spamd/spamd.c
1305
if (sscanf(optarg, "%lld:%lld:%lld", &passt, &greyt,
regress/lib/libc/cephes/ieetst.c
610
sscanf( str2, fformat, &sprec64 );
regress/lib/libc/cephes/ieetst.c
626
sscanf( str0, fformat, &sprec64 );
regress/lib/libc/cephes/ieetst.c
657
sscanf( str2, fformat, &sprec53 );
regress/lib/libc/cephes/ieetst.c
673
sscanf( str0, fformat, &sprec53 );
regress/lib/libc/cephes/ieetst.c
700
sscanf( str2, fformat, &sprec24 );
regress/lib/libc/cephes/ieetst.c
716
sscanf( str0, fformat, &sprec24 );
regress/lib/libc/fnmatch/fnm_test.c
38
got = sscanf(line, "%s %s 0x%x %d", pattern, string, &flags,
regress/lib/libc/sys/t_clock_gettime.c
179
for (p = ctrbuf, n = 0; sscanf(p, "%127[^(](q=%d, f=%*u Hz)%*[ ]%n",
regress/lib/libcrypto/evp/evptest.c
88
if (sscanf((char *)s, "%2x", &n) != 1) {
regress/lib/libcrypto/pbkdf2/pbkdf2.c
124
if (sscanf((char *)src, "%2x", &n) != 1)
regress/lib/libm/msun/nan_test.c
72
ATF_REQUIRE(sscanf(nan_str, "%e", &af[2]) == 1);
regress/lib/libm/msun/nan_test.c
85
ATF_REQUIRE(sscanf(nan_str, "%le", &ad[2]) == 1);
regress/lib/libm/msun/nan_test.c
98
ATF_REQUIRE(sscanf(nan_str, "%Le", &ald[2]) == 1);
regress/lib/libpthread/stdio/stdio.c
92
ASSERT(sscanf(str, "%d %lf", &i, &d) == 2);
regress/lib/libsndio/fd/fd.c
214
if (sscanf(optarg, "%u", &par.rate) != 1) {
regress/lib/libsndio/fd/fd.c
220
if (sscanf(optarg, "%u", &par.pchan) != 1) {
regress/lib/libsndio/fd/fd.c
226
if (sscanf(optarg, "%u", &par.rchan) != 1) {
regress/lib/libsndio/fd/fd.c
244
if (sscanf(optarg, "%u", &par.appbufsz) != 1) {
regress/lib/libsndio/play/play.c
59
if (sscanf(optarg, "%u", &par.rate) != 1) {
regress/lib/libsndio/play/play.c
65
if (sscanf(optarg, "%u", &par.pchan) != 1) {
regress/lib/libsndio/play/play.c
77
if (sscanf(optarg, "%u", &par.appbufsz) != 1) {
regress/lib/libsndio/rec/rec.c
56
if (sscanf(optarg, "%u", &par.rate) != 1) {
regress/lib/libsndio/rec/rec.c
62
if (sscanf(optarg, "%u", &par.rchan) != 1) {
regress/lib/libsndio/vol/vol.c
77
if (sscanf(optarg, "%u", &par.rate) != 1) {
regress/lib/libsndio/vol/vol.c
83
if (sscanf(optarg, "%u", &par.pchan) != 1) {
regress/usr.bin/ssh/modpipe.c
51
if ((n = sscanf(s, "%16[^:]%*[:]%llu%*[:]%i%*[:]%i",
sbin/dhcpleased/parse.y
232
if (sscanf(p, "%x%c", &val, &excess) != 1 ||
sbin/disklabel/disklabel.c
862
if (sscanf(cp, "%d partitions", &v) == 1) {
sbin/dump/itime.c
281
if (sscanf(tbuf, DUMPINFMT, ddp->dd_name, &ddp->dd_level, un_buf) != 3)
sbin/fdisk/gpt.c
343
fields = sscanf(line1, "%u: %36[^[] [%llu:%llu] 0x%llx %36[^\n]", &pn,
sbin/fdisk/gpt.c
359
fields = sscanf(line2, "%36s %36[^\n]", guid, name2);
sbin/fdisk/gpt.c
372
fields = sscanf(line3, "Attributes: (0x%llx)", &attrs2);
sbin/fdisk/mbr.c
173
if (sscanf(line, "%c%u: %2X %*u %*u %*u - %*u %*u %*u " "[ %llu: %llu ]",
sbin/ifconfig/ifconfig.c
4970
if (sscanf(str, "%u:%u", &vhid, &advskew) != 2) {
sbin/iked/parse.y
1114
if (sscanf($1, "%llu%c", &bytes, &unit) != 2) {
sbin/iked/parse.y
1144
if (sscanf($1, "%llu%c", &seconds, &unit) != 2) {
sbin/ipsecctl/parse.y
2105
ret = sscanf(value, "%d%c", &seconds, &unit);
sbin/isakmpd/conf.c
708
n = sscanf(value, "%d,%d:%d", &val, &min, &max);
sbin/isakmpd/isakmpd.c
154
if (sscanf(optarg, "%d=%d", &cls, &level) != 2) {
sbin/isakmpd/isakmpd.c
155
if (sscanf(optarg, "A=%d", &level) == 1) {
sbin/isakmpd/log.c
121
if (sscanf(logclass->field, "%d=%d", &class, &level) != 2) {
sbin/isakmpd/log.c
122
if (sscanf(logclass->field, "A=%d", &level) == 1)
sbin/isakmpd/ui.c
114
if (sscanf(cmd, "c %200s", name) != 1) {
sbin/isakmpd/ui.c
134
if (sscanf(cmd, "t main %200s", name) == 1)
sbin/isakmpd/ui.c
136
else if (sscanf(cmd, "t quick %200s", name) == 1)
sbin/isakmpd/ui.c
138
else if (sscanf(cmd, "t %200s", name) != 1) {
sbin/isakmpd/ui.c
229
if (sscanf(cmd, "C %200s", subcmd) != 1)
sbin/isakmpd/ui.c
233
if (sscanf(cmd, "C %*s [%200[^]]]:%200s", section, tag) != 2)
sbin/isakmpd/ui.c
248
items = sscanf(cmd, "C %*s [%200[^]]]:%200[^=]=%200s %200s",
sbin/isakmpd/ui.c
258
items = sscanf(cmd, "C %*s [%200[^]]]:%200[^=]=%200s %200s",
sbin/isakmpd/ui.c
297
items = sscanf(cmd, "C %*s [%200[^]]]:%200[^=]=%200s %200s",
sbin/isakmpd/ui.c
334
if (sscanf(cmd, "C %*s [%200[^]]]:%200s", section, tag) != 2)
sbin/isakmpd/ui.c
338
if (sscanf(cmd, "C %*s [%200[^]]]", section) != 1)
sbin/isakmpd/ui.c
364
if (sscanf(cmd, "d %32s %8s", cookies_str, message_id_str) != 2) {
sbin/isakmpd/ui.c
395
if (sscanf(cmd, "D %d %d", &cls, &level) == 2) {
sbin/isakmpd/ui.c
398
} else if (sscanf(cmd, "D %2s %d", subcmd, &level) == 2) {
sbin/isakmpd/ui.c
405
} else if (sscanf(cmd, "D %2s", subcmd) == 1) {
sbin/isakmpd/ui.c
420
if (sscanf(cmd, "p %200s", subcmd) != 1)
sbin/isakmpd/ui.c
481
if (sscanf(cmd, "M %10s", arg) != 1)
sbin/pfctl/parse.y
4111
if (sscanf($1, "0x%8x%8x%8x%8x",
sbin/pfctl/pfctl.c
722
if ((sscanf(state_kill[1], "%llx/%x",
sbin/pfctl/pfctl.c
725
else if ((sscanf(state_kill[1], "%llx", &psk.psk_pfcmp.id)) == 1) {
sbin/ping/ping.c
999
ii = sscanf(patp,
sbin/scsi/libscsi.c
1070
sscanf(p, "%d", &behave.db_level);
sbin/scsi/libscsi.c
1073
sscanf(p, "%d", &behave.db_trunc);
sbin/sysctl/sysctl.c
855
(void)sscanf(newval, "%lld", &quadval);
sbin/unwind/libunbound/sldns/str2wire.c
2153
if (strlen(str) == 14 && sscanf(str, "%4d%2d%2d%2d%2d%2d",
sbin/unwind/libunbound/sldns/str2wire.c
2724
if (sscanf(str, "%4x:%4x:%4x:%4x%n", &a, &b, &c, &d, &l) != 4 ||
sbin/unwind/libunbound/sldns/str2wire.c
2745
if (sscanf(str, "%2x-%2x-%2x-%2x-%2x-%2x%n",
sbin/unwind/libunbound/sldns/str2wire.c
2766
if (sscanf(str, "%2x-%2x-%2x-%2x-%2x-%2x-%2x-%2x%n",
sbin/unwind/libunbound/util/config_file.c
2240
if(sscanf(str, "%4d%2d%2d%2d%2d%2d", &tm.tm_year, &tm.tm_mon,
sbin/unwind/libunbound/util/config_file.c
2733
sscanf(ip, "%100s", buf);
sbin/wsconsctl/keysym.c
164
else if (sscanf(n, "unknown_%d", &res) == 1)
sbin/wsconsctl/mousecfg.c
270
switch (sscanf(tapping, "%d,%d,%d", &i1, &i2, &i3)) {
sbin/wsconsctl/mousecfg.c
294
if (sscanf(edges, "%f,%f,%f,%f", &f1, &f2, &f3, &f4) == 4) {
sbin/wsconsctl/mousecfg.c
314
n = sscanf(val, "%d:%d,%d:%d,%d:%d,%d:%d",
sbin/wsconsctl/mousecfg.c
328
n = sscanf(val, "%d,%d,%d,%d",
sbin/wsconsctl/mousecfg.c
398
if (sscanf(val, "%f", &f) == 1) {
sbin/wsconsctl/mousecfg.c
418
if (sscanf(s, (i > 0 ? ",%d" : "%d"), &n) != 1)
sbin/wsconsctl/util.c
341
if (sscanf(val, "%u", &u) != 1)
sbin/wsconsctl/util.c
349
if (sscanf(val, "%d", &i) != 1)
sbin/wsconsctl/util.c
364
if ((i = sscanf(val, "%u.%u%%", &u, &fr)) != 2 && i != 1)
sys/arch/hppa/stand/mkboot/mkboot.c
96
sscanf(optarg, "0x%x", &loadpoint);
sys/dev/pci/drm/amd/amdgpu/amdgpu_gfx.c
123
int ret = sscanf(p, "%u.%u.%u", &se, &sh, &cu);
sys/dev/pci/drm/amd/amdgpu/amdgpu_gfx.c
1687
ret = sscanf(input_buf, "%ld", &partition_values[i]);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
355
if (sscanf(str, "disable %32s", block_name) == 1)
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
357
else if (sscanf(str, "enable %32s %8s", block_name, err) == 2)
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
359
else if (sscanf(str, "inject %32s %8s", block_name, err) == 2)
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
371
if (sscanf(str, "%*s 0x%llx", &address) != 1 &&
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
372
sscanf(str, "%*s %llu", &address) != 1)
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
380
if (sscanf(str, "%*s 0x%llx 0x%llx", &address, &value) != 2 &&
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
381
sscanf(str, "%*s %llu %llu", &address, &value) != 2)
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
407
if (sscanf(str, "%*s %*s %*s 0x%x 0x%llx 0x%llx 0x%x",
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
409
sscanf(str, "%*s %*s %*s %u %llu %llu %u",
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
411
sscanf(str, "%*s %*s %*s 0x%x 0x%llx 0x%llx",
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
413
sscanf(str, "%*s %*s %*s %u %llu %llu",
sys/dev/pci/drm/amd/amdgpu/amdgpu_securedisplay.c
118
sscanf(str, "%u ", &op);
sys/dev/pci/drm/amd/amdgpu/amdgpu_securedisplay.c
120
sscanf(str, "%u %u", &op, &phy_id);
sys/dev/pci/drm/i915/display/intel_wm.c
304
ret = sscanf(tmp, "%hu %hu %hu %hu %hu %hu %hu %hu",
sys/dev/pci/drm/radeon/mkregtable.c
226
sscanf(buf, "%9s %9s", gpu_name, last_reg_s);
sys/dev/pci/drm/radeon/radeon_vce.c
107
if (sscanf(c, "%2hhd.%2hhd.%2hhd]", &start, &mid, &end) != 3)
sys/dev/pci/drm/radeon/radeon_vce.c
144
if (sscanf(c, "%2u]", &rdev->vce.fb_version) != 1)
sys/kern/subr_blist.c
1239
if (sscanf(buf + 1, "%li", &count) == 1) {
sys/kern/subr_blist.c
1249
if (sscanf(buf + 1, "%li %li", &count, &blkat) == 1) {
sys/kern/subr_blist.c
1256
} else if (sscanf(buf + 1, "%li %li", &count, &blkat) == 2) {
sys/kern/subr_blist.c
1267
if (sscanf(buf + 1, "%li %li", &da, &count) == 2) {
sys/kern/subr_blist.c
1281
if (sscanf(buf + 1, "%li %li", &da, &count) == 2) {
usr.bin/awk/maketab.c
142
n = sscanf(buf, "%1c %199s %199s %d", &c, def, name,
usr.bin/awk/maketab.c
152
n = sscanf(buf, "%199s = %d,\n", name, &tok);
usr.bin/awk/run.c
2222
t = sscanf(getsval(x), "%d %d %d %d %d %d %d",
usr.bin/cdio/cdio.c
491
if (2 != sscanf(arg, "%d%d", &l, &r)) {
usr.bin/cdio/cdio.c
727
if (2 != sscanf(arg, "#%u%u%c", &blk, &len, &c) &&
usr.bin/cdio/cdio.c
728
1 != sscanf(arg, "#%u%c", &blk, &c)) {
usr.bin/cdio/cdio.c
748
if (4 == sscanf(arg, "%u.%u%u.%u%c", &tr1, &i1, &tr2, &i2, &c))
usr.bin/cdio/cdio.c
752
if (3 == sscanf(arg, "%u.%u%u%c", &tr1, &i1, &tr2, &c))
usr.bin/cdio/cdio.c
756
if (3 == sscanf(arg, "%u%u.%u%c", &tr1, &tr2, &i2, &c))
usr.bin/cdio/cdio.c
761
if (2 == sscanf(arg, "%u.%u%c", &tr1, &i1, &c))
usr.bin/cdio/cdio.c
765
if (2 == sscanf(arg, "%u%u%c", &tr1, &tr2, &c))
usr.bin/cdio/cdio.c
770
if (1 == sscanf(arg, "%u%c", &tr1, &c))
usr.bin/cdio/cdio.c
823
if (8 == sscanf(arg, "%u%u:%u.%u%u%u:%u.%u%c",
usr.bin/cdio/cdio.c
829
if (7 == sscanf(arg, "%u%u:%u%u%u:%u.%u%c",
usr.bin/cdio/cdio.c
835
if (7 == sscanf(arg, "%u%u:%u.%u%u%u:%u%c",
usr.bin/cdio/cdio.c
841
if (7 == sscanf(arg, "%u:%u.%u%u%u:%u.%u%c",
usr.bin/cdio/cdio.c
847
if (7 == sscanf(arg, "%u%u:%u.%u%u:%u.%u%c",
usr.bin/cdio/cdio.c
853
if (6 == sscanf(arg, "%u:%u%u%u:%u.%u%c",
usr.bin/cdio/cdio.c
859
if (6 == sscanf(arg, "%u:%u.%u%u%u:%u%c",
usr.bin/cdio/cdio.c
865
if (6 == sscanf(arg, "%u:%u.%u%u:%u.%u%c",
usr.bin/cdio/cdio.c
871
if (6 == sscanf(arg, "%u%u:%u.%u%u:%u%c",
usr.bin/cdio/cdio.c
877
if (6 == sscanf(arg, "%u%u:%u%u:%u.%u%c",
usr.bin/cdio/cdio.c
883
if (6 == sscanf(arg, "%u%u:%u%u%u:%u%c",
usr.bin/cdio/cdio.c
889
if (5 == sscanf(arg, "%u:%u%u%u:%u%c", &m1, &s1, &tr2, &m2, &s2, &c))
usr.bin/cdio/cdio.c
894
if (5 == sscanf(arg, "%u%u:%u%u:%u%c", &tr1, &m1, &s1, &m2, &s2, &c))
usr.bin/cdio/cdio.c
899
if (5 == sscanf(arg, "%u:%u%u:%u.%u%c", &m1, &s1, &m2, &s2, &f2, &c))
usr.bin/cdio/cdio.c
904
if (5 == sscanf(arg, "%u:%u.%u%u:%u%c", &m1, &s1, &f1, &m2, &s2, &c))
usr.bin/cdio/cdio.c
909
if (5 == sscanf(arg, "%u%u:%u.%u%u%c", &tr1, &m1, &s1, &f1, &tr2, &c))
usr.bin/cdio/cdio.c
914
if (4 == sscanf(arg, "%u:%u%u:%u%c", &m1, &s1, &m2, &s2, &c))
usr.bin/cdio/cdio.c
919
if (4 == sscanf(arg, "%u%u:%u.%u%c", &tr1, &m1, &s1, &f1, &c))
usr.bin/cdio/cdio.c
924
if (4 == sscanf(arg, "%u%u:%u%u%c", &tr1, &m1, &s1, &tr2, &c))
usr.bin/cdio/cdio.c
929
if (4 == sscanf(arg, "%u%u:%u%u%c", &m1, &s1, &f1, &tr2, &c))
usr.bin/cdio/cdio.c
934
if (3 == sscanf(arg, "%u:%u.%u%c", &m1, &s1, &f1, &c))
usr.bin/cdio/cdio.c
939
if (3 == sscanf(arg, "%u%u:%u%c", &tr1, &m1, &s1, &c))
usr.bin/cdio/cdio.c
944
if (3 == sscanf(arg, "%u:%u%u%c", &m1, &s1, &tr2, &c))
usr.bin/cdio/cdio.c
949
if (2 == sscanf(arg, "%u:%u%c", &m1, &s1, &c))
usr.bin/cvs/entries.c
219
if (sscanf(fields[5] + 1, "%d.%d.%d.%d.%d.%d",
usr.bin/cvs/entries.c
472
if (sscanf(linebuf + 1, "%d.%d.%d.%d.%d.%d",
usr.bin/cvs/util.c
114
if (sscanf(sp, "%c=%3s", &type, ms) != 2 &&
usr.bin/cvs/util.c
115
sscanf(sp, "%c=", &type) != 1) {
usr.bin/dig/lib/dns/gen.c
300
if (sscanf(dp->d_name, TYPECLASSFMT, typename, &type) != 2)
usr.bin/dig/lib/dns/gen.c
410
if (sscanf(dp->d_name, TYPECLASSFMT, classname,
usr.bin/ftp/ftp.c
1399
error = sscanf(pasv, "%u,%u,%u,%u,%u,%u",
usr.bin/ftp/ftp.c
1421
error = sscanf(pasv,
usr.bin/ftp/ftp.c
1446
error = sscanf(pasv,
usr.bin/ftp/ftp.c
1492
if (sscanf(pasv, "%c%c%c%d%c", &delim[0],
usr.bin/ftp/util.c
642
sscanf(reply_string, "%*s %04d%02d%02d%02d%02d%02d", &yy, &mo,
usr.bin/jot/jot.c
136
if (!sscanf(argv[3], "%lf", &step))
usr.bin/jot/jot.c
144
if (!sscanf(argv[2], "%lf", &ender))
usr.bin/jot/jot.c
152
if (!sscanf(argv[1], "%lf", &begin))
usr.bin/lex/misc.c
365
(void) sscanf((char *) str, "%x", &result);
usr.bin/lex/misc.c
545
(void) sscanf(array, "%d", &val);
usr.bin/lex/misc.c
648
(void) sscanf((char *) str, "%o", &result);
usr.bin/mandoc/cgi.c
308
if (1 != sscanf(hex, "%x", &c))
usr.bin/mandoc/term_ps.c
582
} else if (sscanf(pp, "%ux%u", &pagex, &pagey) == 2)
usr.bin/openssl/apps.c
1758
if (sscanf(argn, "%lli", &timestamp) != 1) {
usr.bin/openssl/dhparam.c
256
if(sscanf(num_bits, "%d", &num) == 0 || num <= 0) {
usr.bin/openssl/genrsa.c
313
((sscanf(numbits, "%d", &num) == 0) || (num < 0))) {
usr.bin/openssl/rand.c
125
r = sscanf(num_bytes, "%d", &num);
usr.bin/pctr/pctr.c
108
if (sscanf(optarg, "%x", &masku) <= 0 || masku < 0 ||
usr.bin/pctr/pctr.c
88
if (sscanf(optarg, "%x", &func) <= 0 || func < 0 ||
usr.bin/rsync/socket.c
272
if (sscanf(cp, "%d.%d", &major, &minor) == 2) {
usr.bin/rsync/socket.c
275
} else if (sscanf(cp, "%d", &major) == 1) {
usr.bin/signify/signify.c
681
rv = sscanf(line, "%31s (%1023[^)]) = %223s",
usr.bin/signify/zsig.c
216
sscanf(p, "blocksize=%zu\n", &bufsize) > 0) {
usr.bin/sndioctl/sndioctl.c
547
if (sscanf(p, "%u%n", &val, &n) != 1) {
usr.bin/sndioctl/sndioctl.c
567
if (sscanf(p, "%g%n", &val, &n) != 1) {
usr.bin/ssh/auth-rhosts.c
103
switch (sscanf(buf, "%1023s %1023s %1023s", hostbuf, userbuf,
usr.bin/ssh/channels.c
5171
if (sscanf(strrchr(display, ':') + 1, "%u",
usr.bin/ssh/channels.c
5200
if (sscanf(cp + 1, "%u", &display_number) != 1 ||
usr.bin/ssh/channels.c
5283
if (sscanf(data + 2 * i, "%2x", &value) != 1) {
usr.bin/ssh/clientloop.c
400
sscanf(line, "%*s %511s %511s", proto, data) == 2)
usr.bin/ssh/kex.c
1383
if (sscanf(peer_version_string, "SSH-%d.%d-%[^\n]\n",
usr.bin/ssh/servconf.c
1942
if ((n = sscanf(arg, "%d:%d:%d",
usr.bin/ssh/servconf.c
1969
switch (n = sscanf(arg, "%d:%d", &value, &value2)) {
usr.bin/ssh/ssh-keyscan.c
504
if (sscanf(buf, "SSH-%d.%d-%[^\n]\n",
usr.bin/ssh/ssh_api.c
391
if (sscanf(cp, "SSH-%d.%d-%[^\n]\n",
usr.bin/tic/tic.c
1295
int code = sscanf(value, "%d/%d/%d%c", &r, &g, &b, &bad);
usr.bin/tic/tic.c
2193
int rc = sscanf(base, "%f%c", &check_f, &check_c);
usr.bin/tic/tic.c
2840
switch (sscanf(find + size, "%d%c", &value, &ch)) {
usr.bin/tmux/cmd-new-session.c
247
if (sscanf(tmp, "%ux%u", &sx, &sy) != 2) {
usr.bin/tmux/cmd-parse.y
1515
if ((size == 4 && sscanf(s, "%4x", &tmp) != 1) ||
usr.bin/tmux/cmd-parse.y
1516
(size == 8 && sscanf(s, "%8x", &tmp) != 1)) {
usr.bin/tmux/cmd-refresh-client.c
105
if (sscanf(size, "@%u:", &w) == 1) {
usr.bin/tmux/cmd-refresh-client.c
117
if (sscanf(size, "%u,%u", &x, &y) != 2 &&
usr.bin/tmux/cmd-refresh-client.c
118
sscanf(size, "%ux%u", &x, &y) != 2) {
usr.bin/tmux/cmd-refresh-client.c
147
if (sscanf(copy, "%%%u", &pane) != 1)
usr.bin/tmux/cmd-refresh-client.c
181
if (sscanf(copy, "%%%u", &pane) != 1)
usr.bin/tmux/cmd-refresh-client.c
67
else if (sscanf(what, "%%%d", &subid) == 1 && subid >= 0)
usr.bin/tmux/cmd-refresh-client.c
71
else if (sscanf(what, "@%d", &subid) == 1 && subid >= 0)
usr.bin/tmux/cmd-refresh-client.c
90
if (sscanf(size, "@%u:%ux%u", &w, &x, &y) == 3) {
usr.bin/tmux/colour.c
1018
if ((len == 12 && sscanf(p, "rgb:%02x/%02x/%02x", &r, &g, &b) == 3) ||
usr.bin/tmux/colour.c
1019
(len == 7 && sscanf(p, "#%02x%02x%02x", &r, &g, &b) == 3) ||
usr.bin/tmux/colour.c
1020
sscanf(p, "%d,%d,%d", &r, &g, &b) == 3)
usr.bin/tmux/colour.c
1023
sscanf(p, "rgb:%04x/%04x/%04x", &r, &g, &b) == 3) ||
usr.bin/tmux/colour.c
1024
(len == 13 && sscanf(p, "#%04x%04x%04x", &r, &g, &b) == 3))
usr.bin/tmux/colour.c
1026
else if ((sscanf(p, "cmyk:%lf/%lf/%lf/%lf", &c, &m, &y, &k) == 4 ||
usr.bin/tmux/colour.c
1027
sscanf(p, "cmy:%lf/%lf/%lf", &c, &m, &y) == 3) &&
usr.bin/tmux/colour.c
239
n = sscanf(s + 1, "%2hhx%2hhx%2hhx", &r, &g, &b);
usr.bin/tmux/key-string.c
205
if (sscanf(string, "User%u", &user) == 1 && user <= KEYC_NUSER)
usr.bin/tmux/key-string.c
261
if (sscanf(string + 2, "%x", &u) != 1)
usr.bin/tmux/layout-custom.c
165
if (sscanf(layout, "%hx,", &csum) != 1) {
usr.bin/tmux/layout-custom.c
292
if (sscanf(*layout, "%ux%u,%u,%u", &sx, &sy, &xoff, &yoff) != 4)
usr.bin/tmux/options.c
640
if (sscanf(cp, "[%d]", idx) != 1 || *idx < 0) {
usr.bin/tmux/resize.c
315
if (sscanf(value, "%ux%u", sx, sy) != 2) {
usr.bin/tmux/server-client.c
2538
if (sscanf(next, "pause-after=%u", &c->pause_age) == 1) {
usr.bin/tmux/tty-keys.c
1089
if (sscanf(tmp, "27;%u;%u", &modifiers, &number) != 2)
usr.bin/tmux/tty-keys.c
1092
if (sscanf(tmp ,"%u;%u", &number, &modifiers) != 2)
usr.bin/tmux/tty-keys.c
707
if (sscanf(tmp, "8;%u;%u", &sy, &sx) == 2) {
usr.bin/tmux/tty-keys.c
713
} else if (sscanf(tmp, "4;%u;%u", &ypixel, &xpixel) == 2) {
usr.bin/usbhidaction/usbhidaction.c
260
if (sscanf(buf, "%s %s %[^\n]", name, value, action) != 3) {
usr.bin/usbhidaction/usbhidaction.c
284
if (sscanf(value, "%d", &cmd->value) != 1) {
usr.bin/vi/common/exf.c
1076
if (sscanf(dp->d_name, p, &num) == 1 && num > maxnum)
usr.sbin/acme-client/http.c
448
rc = sscanf(st->val, "%*s %u %*s", &code);
usr.sbin/amd/amd/restart.c
75
if (colon && sscanf(colon, ":(pid%d)", &au_pid) == 1) {
usr.sbin/arp/arp.c
201
i = sscanf(line, "%49s %49s %49s %49s %49s", arg[0], arg[1],
usr.sbin/config/mkheaders.c
99
if (sscanf(buf, "#define %99s %d", nam, &cnt) != 2 ||
usr.sbin/edquota/edquota.c
455
cnt = sscanf(cp,
usr.sbin/edquota/edquota.c
473
cnt = sscanf(cp,
usr.sbin/edquota/edquota.c
594
cnt = sscanf(cp,
usr.sbin/eigrpd/tlv.c
108
if (sscanf(u.release, "%u.%u", &vendor_os_major,
usr.sbin/ftp-proxy/ftp-proxy.c
833
n = sscanf(p, " %u,%u,%u,%u,%u,%u", &v[0], &v[1], &v[2],
usr.sbin/ftp-proxy/ftp-proxy.c
840
n = sscanf(p, "(%u,%u,%u,%u,%u,%u)", &v[0], &v[1], &v[2],
usr.sbin/ftp-proxy/ftp-proxy.c
847
n = sscanf(p, "(|||%u|)", &port);
usr.sbin/ftp-proxy/ftp-proxy.c
852
n = sscanf(p, " |1|%u.%u.%u.%u|%u|", &v[0], &v[1], &v[2],
usr.sbin/ftp-proxy/ftp-proxy.c
857
n = sscanf(p, " |2|%*[a-fA-F0-9:]|%u|", &port);
usr.sbin/httpd/server_http.c
609
if (sscanf(line, "%llx", &llval) != 1 || llval < 0) {
usr.sbin/mkuboot/mkuboot.c
162
sscanf(optarg, "0x%x", &ep);
usr.sbin/mkuboot/mkuboot.c
165
sscanf(optarg, "0x%x", &load);
usr.sbin/mrouted/cfparse.y
488
if (sscanf(q,"%[.0-9]/%d%c",s1,&n,s2) == 2) {
usr.sbin/mrouted/cfparse.y
496
if (sscanf(q,"%[.0-9]%c",s1,s2) == 1) {
usr.sbin/mrouted/cfparse.y
503
if (sscanf(q,"0x%8x%c",&n,s1) == 1) {
usr.sbin/mrouted/cfparse.y
507
if (sscanf(q,"%d%c",&n,s1) == 1) {
usr.sbin/mrouted/inet.c
159
if (sscanf(s, "%u.%u.%u.%u%c", &a0, &a1, &a2, &a3, &c) != 4 ||
usr.sbin/ndp/ndp.c
257
i = sscanf(line, "%49s %49s %49s %49s %49s",
usr.sbin/ndp/ndp.c
708
i = sscanf(a, "%x:%x:%x:%x:%x:%x", &o[0], &o[1], &o[2],
usr.sbin/npppd/common/addr_range.c
243
if (sscanf(p1, "%d", &mask) != 1) {
usr.sbin/nsd/nsd.c
1034
sscanf(optarg, "%x", &nsd_debug_facilities);
usr.sbin/nsd/nsd.c
1037
sscanf(optarg, "%d", &nsd_debug_level);
usr.sbin/ocspcheck/http.c
464
rc = sscanf(st->val, "%*s %u %*s", &code);
usr.sbin/pppd/pppstats/pppstats.c
362
if (sscanf(interface, "ppp%d", &unit) != 1 || unit < 0)
usr.sbin/relayd/parse.y
881
if (sscanf($1, "0x%8x%8x%8x%8x",
usr.sbin/tokeninit/tokeninit.c
196
if ((i = sscanf(seed, "%02x %02x %02x %02x %02x %02x %02x %02x",
usr.sbin/tokeninit/tokeninit.c
201
if ((i = sscanf(seed, "%o %o %o %o %o %o %o %o",
usr.sbin/unbound/daemon/cachedump.c
594
if(sscanf(s, " " ARG_LL "d %u %u %u %u", &ttl, &rr_count, &rrsig_count,
usr.sbin/unbound/daemon/cachedump.c
726
if(sscanf(s, " %u", &flags) != 1) {
usr.sbin/unbound/daemon/cachedump.c
778
if(sscanf(s, " %u %u " ARG_LL "d %u %u %u %u %d %n", &flags, &qdcount, &ttl,
usr.sbin/unbound/ipsecmod/ipsecmod.c
223
if(sscanf(s, "%d %d %d %s ",
usr.sbin/unbound/sldns/str2wire.c
2153
if (strlen(str) == 14 && sscanf(str, "%4d%2d%2d%2d%2d%2d",
usr.sbin/unbound/sldns/str2wire.c
2724
if (sscanf(str, "%4x:%4x:%4x:%4x%n", &a, &b, &c, &d, &l) != 4 ||
usr.sbin/unbound/sldns/str2wire.c
2745
if (sscanf(str, "%2x-%2x-%2x-%2x-%2x-%2x%n",
usr.sbin/unbound/sldns/str2wire.c
2766
if (sscanf(str, "%2x-%2x-%2x-%2x-%2x-%2x-%2x-%2x%n",
usr.sbin/unbound/smallapp/unbound-anchor.c
1342
if(sscanf(s+1, "%d%n", &frac, &n) < 1) {
usr.sbin/unbound/smallapp/unbound-anchor.c
1356
if(sscanf(s+1, "%d:%d%n", &hr, &mn, &n) < 2) {
usr.sbin/unbound/testcode/memstats.c
136
if(sscanf(line, "%s %s %n", codeline, name, &skip) != 2) {
usr.sbin/unbound/testcode/memstats.c
140
if(sscanf(line+skip+7, "%ld", &num) != 1) {
usr.sbin/unbound/testcode/memstats.c
161
if(sscanf(line, "%s %s %n", codeline, name, &skip) != 2) {
usr.sbin/unbound/testcode/memstats.c
165
if(sscanf(line+skip+7, "%ld, %ld", &num, &sz) != 2) {
usr.sbin/unbound/testcode/perf.c
454
r = sscanf(p, " %1023s %1023s %1023s %1023s", nm, cl, tp, fl);
usr.sbin/unbound/testcode/replay.c
147
if(sscanf(remain, " %d %d", &rng->start_step, &rng->end_step)!=2) {
usr.sbin/unbound/testcode/replay.c
231
if(sscanf(remain, " %1023s %c %n", buf, &eq, &skip) != 2)
usr.sbin/unbound/testcode/replay.c
263
if(sscanf(remain, " %d%n", &mom->time_step, &skip) != 1) {
usr.sbin/unbound/testcode/replay.c
749
if(sscanf(at, " %lf %c %lf%n", &x, &operator, &y, &skip) != 3) {
usr.sbin/unbound/testcode/replay.c
779
if(sscanf(buf, " %lf %lf %lf", &x, &y, &z) != 3) {
usr.sbin/unbound/testcode/signit.c
85
if(sscanf(str, "%4d%2d%2d%2d%2d%2d", &tm.tm_year, &tm.tm_mon,
usr.sbin/unbound/util/config_file.c
2240
if(sscanf(str, "%4d%2d%2d%2d%2d%2d", &tm.tm_year, &tm.tm_mon,
usr.sbin/unbound/util/config_file.c
2733
sscanf(ip, "%100s", buf);
usr.sbin/user/user.c
773
if (up->u_rv && sscanf(cp, "%u..%u", &from, &to) == 2) {
usr.sbin/wsconscfg/wsconscfg.c
119
if (argc > 0 && sscanf(argv[0], "%d", &idx) != 1)
usr.sbin/wsfontload/wsfontload.c
250
if (sscanf(name, "%d", &i) != 1)
usr.sbin/zdump/zdump.c
163
if (sscanf(cutarg, "%"SCNdMAX"%c", &hi, &dummy) == 1) {
usr.sbin/zdump/zdump.c
165
} else if (sscanf(cutarg, "%"SCNdMAX",%"SCNdMAX"%c",
usr.sbin/zdump/zdump.c
180
if (sscanf(cuttimes, "%"SCNdMAX"%c", &hi, &dummy) == 1) {
usr.sbin/zdump/zdump.c
187
} else if (sscanf(cuttimes, "%"SCNdMAX",%"SCNdMAX"%c",
usr.sbin/zic/zic.c
1029
if (sscanf(cp, scheck(cp, "%"SCNdZIC), &year) != 1) {
usr.sbin/zic/zic.c
1064
if (sscanf(cp, scheck(cp, "%d"), &day) != 1 ||
usr.sbin/zic/zic.c
1195
} else if (sscanf(cp, scheck(cp, "%"SCNdZIC), &rp->r_loyear) != 1) {
usr.sbin/zic/zic.c
1214
} else if (sscanf(cp, scheck(cp, "%"SCNdZIC), &rp->r_hiyear) != 1) {
usr.sbin/zic/zic.c
1265
if (sscanf(ep, scheck(ep, "%d"), &rp->r_dayofmonth) != 1 ||
usr.sbin/zic/zic.c
483
if (sscanf(string, fbuf, &dummy) != 1)
usr.sbin/zic/zic.c
838
if (sscanf(string, scheck(string, "%"SCNdZIC), &hh) == 1)
usr.sbin/zic/zic.c
840
else if (sscanf(string, scheck(string, "%"SCNdZIC":%d"), &hh, &mm) == 2)
usr.sbin/zic/zic.c
842
else if (sscanf(string, scheck(string, "%"SCNdZIC":%d:%d"),