Searched refs:strtonum (Results 1 - 25 of 35) sorted by relevance

12

/freebsd-10.0-release/crypto/openssh/openbsd-compat/regress/
H A Dstrtonumtest.c18 /* OPENBSD ORIGINAL: regress/lib/libc/strtonum/strtonumtest.c */
36 long long strtonum(const char *, long long, long long, const char **);
46 val = strtonum(p, lb, ub, &q);
/freebsd-10.0-release/crypto/openssh/openbsd-compat/
H A Dstrtonum.c1 /* $OpenBSD: strtonum.c,v 1.6 2004/08/03 19:38:01 millert Exp $ */
20 /* OPENBSD ORIGINAL: lib/libc/stdlib/strtonum.c */
34 strtonum(const char *numstr, long long minval, long long maxval, function
H A Dopenbsd-compat.h207 long long strtonum(const char *, long long, long long, const char **);
/freebsd-10.0-release/lib/libc/stdlib/
H A DMakefile.inc13 strtol.c strtoll.c strtoq.c strtoul.c strtonum.c strtoull.c \
28 realpath.3 strfmon.3 strtod.3 strtol.3 strtonum.3 strtoul.3 system.3 \
H A Dstrtonum.c17 * $OpenBSD: strtonum.c,v 1.6 2004/08/03 19:38:01 millert Exp $
32 strtonum(const char *numstr, long long minval, long long maxval, function
H A DSymbol.map74 strtonum;
/freebsd-10.0-release/crypto/openssh/
H A Ddh.c68 n = strtonum(arg, 0, 5, &errstr);
77 n = strtonum(arg, 0, 0x1f, &errstr);
86 n = strtonum(arg, 0, 1<<30, &errstr);
93 (dhg->size = (int)strtonum(strsize, 0, 64*1024, &errstr)) == 0 ||
H A Dauth2-jpake.c237 rounds = strtonum(rounds_s, 1, 1<<31, NULL);
H A Dmisc.c240 port = strtonum(s, 0, 65535, &errstr);
270 tun = strtonum(s, 0, SSH_TUNID_MAX, &errstr);
H A Dssh-keygen.c2232 bits = (u_int32_t)strtonum(optarg, 256, 32768, &errstr);
2362 generator_wanted = (u_int32_t)strtonum(optarg, 1,
2369 trials = (u_int32_t)strtonum(optarg, 1, UINT_MAX, &errstr);
2375 memory = (u_int32_t)strtonum(optarg, 1, UINT_MAX, &errstr);
H A Dsshd.c1481 options.server_key_bits = (int)strtonum(optarg, 256,
1528 utmp_len = (u_int)strtonum(optarg, 0, MAXHOSTNAMELEN+1, NULL);
H A Dscp.c432 limit_kbps = strtonum(optarg, 1, 100 * 1024 * 1024,
/freebsd-10.0-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dspa_errlog.c76 zb->zb_objset = strtonum(buf, &buf);
78 zb->zb_object = strtonum(buf + 1, &buf);
80 zb->zb_level = (int)strtonum(buf + 1, &buf);
82 zb->zb_blkid = strtonum(buf + 1, &buf);
H A Ddsl_deadlist.c84 dle->dle_mintxg = strtonum(za.za_name, NULL);
476 uint64_t mintxg = strtonum(za.za_name, NULL);
H A Ddsl_userhold.c342 return (dsl_dataset_hold_obj(dp, strtonum(dsobj, NULL), tag, dsp));
/freebsd-10.0-release/contrib/netcat/
H A Dnetcat.c201 iflag = strtonum(optarg, 0, UINT_MAX, &errstr);
241 rtableid = (unsigned int)strtonum(optarg, 0,
250 timeout = strtonum(optarg, 0, INT_MAX / 1000, &errstr);
267 Iflag = strtonum(optarg, 1, 65536 << 14, &errstr);
273 Oflag = strtonum(optarg, 1, 65536 << 14, &errstr);
292 Tflag = (int)strtonum(optarg, 0, 255,
902 hi = strtonum(n, 1, PORT_MAX, &errstr);
905 lo = strtonum(p, 1, PORT_MAX, &errstr);
937 hi = strtonum(p, 1, PORT_MAX, &errstr);
/freebsd-10.0-release/include/
H A Dstdlib.h299 strtonum(const char *, long long, long long, const char **);
/freebsd-10.0-release/secure/lib/libssh/
H A DMakefile25 openssl-compat.c port-tun.c strtonum.c timingsafe_bcmp.c \
/freebsd-10.0-release/usr.bin/m4/
H A Deval.c185 base = strtonum(argv[3], 2, 36, &errstr);
191 maxdigits = strtonum(argv[4], 0, INT_MAX, &errstr);
846 n = strtonum(argv[ind], 1, INT_MAX, &errstr);
/freebsd-10.0-release/sbin/ifconfig/
H A Daf_inet.c124 masklen = (int)strtonum(p + 1, 0, 32, &errstr);
/freebsd-10.0-release/contrib/pf/pflogd/
H A Dpflogd.c662 delay = strtonum(optarg, 5, 60*60, &errstr);
676 snaplen = strtonum(optarg, 0, PFLOGD_MAXSNAPLEN,
/freebsd-10.0-release/sbin/ipfw/
H A Dmain.c377 co.use_set = strtonum(av[1], 0, resvd_set_number,
/freebsd-10.0-release/tools/regression/sockets/unix_cmsg/
H A Dunix_cmsg.c538 ipc_msg.msg_num = strtonum(optarg, 1,
545 ipc_msg.buf_size = strtonum(optarg, 0,
561 zvalue = strtonum(optarg, 0, 3, &errstr);
578 testno = strtonum(argv[optind], 0, UINT_MAX, &errstr);
/freebsd-10.0-release/contrib/pf/ftp-proxy/
H A Dftp-proxy.c644 loglevel = strtonum(optarg, LOG_EMERG, LOG_DEBUG,
653 max_sessions = strtonum(optarg, 1, 500, &errstr);
680 timeout = strtonum(optarg, 0, 86400, &errstr);
/freebsd-10.0-release/sbin/pfctl/
H A Dpfctl_table.c267 lifetime = strtonum(*argv, 0, UINT_MAX, &errstr);

Completed in 340 milliseconds

12