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

/external/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);
/external/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.h193 long long strtonum(const char *, long long, long long, const char **);
/external/openssh/
H A Ddh.c67 n = strtonum(arg, 0, 5, &errstr);
74 n = strtonum(arg, 0, 0x1f, &errstr);
81 n = strtonum(arg, 0, 1<<30, &errstr);
86 (dhg->size = (int)strtonum(strsize, 0, 64*1024, &errstr)) == 0 ||
H A DAndroid.mk20 openbsd-compat/strtonum.c openbsd-compat/bsd-misc.c \
H A Dauth2-jpake.c237 rounds = strtonum(rounds_s, 1, 1<<31, NULL);
H A Dmisc.c239 port = strtonum(s, 0, 65535, &errstr);
269 tun = strtonum(s, 0, SSH_TUNID_MAX, &errstr);
H A Dssh-keygen.c1962 bits = (u_int32_t)strtonum(optarg, 256, 32768, &errstr);
2077 generator_wanted = (u_int32_t)strtonum(optarg, 1,
2084 trials = (u_int32_t)strtonum(optarg, 1, UINT_MAX, &errstr);
2090 memory = (u_int32_t)strtonum(optarg, 1, UINT_MAX, &errstr);
2115 cert_serial = strtonum(optarg, 0, LLONG_MAX, &errstr);
H A Dsshd.c1406 options.server_key_bits = (int)strtonum(optarg, 256,
1464 utmp_len = (u_int)strtonum(optarg, 0, MAXHOSTNAMELEN+1, NULL);
H A Dscp.c432 limit_kbps = strtonum(optarg, 1, 100 * 1024 * 1024,
H A Dsftp.c2178 limit_kbps = strtonum(optarg, 1, 100 * 1024 * 1024,
H A Dssh-agent.c1217 pid = (int)strtonum(pidstr, 2, INT_MAX, &errstr);
H A Dchannels.c3586 screen_number = (u_int)strtonum(cp + 1, 0, 400, NULL);
H A Dconfigure9064 strtonum \
/external/netcat/
H A Dnetcat.c175 iflag = strtonum(optarg, 0, UINT_MAX, &errstr);
214 rtableid = (unsigned int)strtonum(optarg, 0,
227 timeout = strtonum(optarg, 0, INT_MAX / 1000, &errstr);
250 Iflag = strtonum(optarg, 1, 65536 << 14, &errstr);
260 Oflag = strtonum(optarg, 1, 65536 << 14, &errstr);
279 Tflag = (int)strtonum(optarg, 0, 255,
875 hi = strtonum(n, 1, PORT_MAX, &errstr);
882 lo = strtonum(p, 1, PORT_MAX, &errstr);
918 hi = strtonum(p, 1, PORT_MAX, &errstr);

Completed in 1075 milliseconds