| /src/external/bsd/mdocml/dist/ |
| test-strtonum.c | 1 /* Id: test-strtonum.c,v 1.2 2015/10/06 18:32:20 schwarze Exp */ 25 if (strtonum("1", 0, 2, &errstr) != 1) 29 if (strtonum("1x", 0, 2, &errstr) != 0) 33 if (strtonum("2", 0, 1, &errstr) != 0) 37 if (strtonum("0", 1, 2, &errstr) != 0)
|
| compat_strtonum.c | 2 /* $OpenBSD: strtonum.c,v 1.8 2015/09/13 08:31:48 guenther Exp $ */ 31 strtonum(const char *numstr, long long minval, long long maxval, function
|
| manpath.c | 296 conf->indent = strtonum(cp, 0, 1000, &errstr); 307 conf->width = strtonum(cp, 1, 1000, &errstr);
|
| mandocd.c | 169 clientfd = strtonum(argv[0], 3, INT_MAX, &errstr);
|
| /src/usr.bin/m4/lib/ |
| strtonum.c | 1 /* $OpenBSD: strtonum.c,v 1.6 2004/08/03 19:38:01 millert Exp $ */ 23 __RCSID("$NetBSD: strtonum.c,v 1.2 2009/10/26 21:14:18 christos Exp $"); 33 strtonum(const char *numstr, long long minval, long long maxval, 36 strtonum(const char *numstr, long long minval, long long maxval, function
|
| /src/lib/libc/stdlib/ |
| strtonum.c | 1 /* $NetBSD: strtonum.c,v 1.8 2025/09/20 12:19:31 christos Exp $ */ 37 __RCSID("$NetBSD: strtonum.c,v 1.8 2025/09/20 12:19:31 christos Exp $"); 49 strtonum(const char *nptr, long long minval, long long maxval, function
|
| Makefile.inc | 16 strtoi.c strtou.c strtonum.c \ 61 strtonum.3 system.3 \
|
| /src/external/bsd/tmux/dist/ |
| cmd-resize-window.c | 61 adjust = strtonum(args_string(args, 0), 1, INT_MAX, &errstr);
|
| style.c | 145 n = strtonum(found + 1, 0, UINT_MAX, &errstr); 154 n = strtonum(found, 0, UINT_MAX, &errstr); 165 n = strtonum(found + 1, 0, UINT_MAX, &errstr); 229 n = strtonum(tmp + 6, 0, UINT_MAX, &errstr); 234 n = strtonum(tmp + 4, 0, UINT_MAX, &errstr);
|
| cmd-new-session.c | 213 dsx = strtonum(tmp, 1, USHRT_MAX, &errstr); 229 dsy = strtonum(tmp, 1, USHRT_MAX, &errstr);
|
| arguments.c | 918 ll = strtonum(value->string, minval, maxval, &errstr); 952 ll = strtonum(formatted, minval, maxval, &errstr); 1001 ll = strtonum(copy, 0, 100, &errstr); 1017 ll = strtonum(value, minval, maxval, &errstr); 1069 ll = strtonum(f, 0, 100, &errstr); 1087 ll = strtonum(f, minval, maxval, &errstr);
|
| cmd-resize-pane.c | 101 adjust = strtonum(args_string(args, 0), 1, INT_MAX, &errstr);
|
| compat.h | 321 /* strtonum.c */ 322 long long strtonum(const char *, long long, long long, const char **);
|
| cmd-find.c | 376 n = strtonum(window + 1, 1, INT_MAX, NULL); 431 idx = strtonum(window, 0, INT_MAX, &errstr); 614 n = strtonum(pane + 1, 1, INT_MAX, NULL); 627 idx = strtonum(pane, 0, INT_MAX, &errstr);
|
| cmd-refresh-client.c | 245 adjust = strtonum(args_string(args, 0), 1, INT_MAX,
|
| /src/external/cddl/osnet/dist/uts/common/fs/zfs/ |
| spa_errlog.c | 76 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);
|
| dsl_deadlist.c | 86 dle->dle_mintxg = strtonum(za.za_name, NULL); 481 uint64_t mintxg = strtonum(za.za_name, NULL);
|
| /src/crypto/external/bsd/openssh/dist/ |
| dh.c | 86 n = strtonum(arg, 0, 5, &errstr); 95 n = strtonum(arg, 0, 0x1f, &errstr); 104 n = strtonum(arg, 0, 1<<30, &errstr); 111 (dhg->size = (int)strtonum(strsize, 0, 64*1024, &errstr)) == 0 ||
|
| /src/usr.sbin/gpioctl/ |
| gpioctl.c | 140 ga_offset = strtonum(offset, 0, INT_MAX, &errstr); 171 pin = strtonum(argv[1], 0, INT_MAX, &errstr); 192 value = strtonum(argv[2], INT_MIN, INT_MAX,
|
| /src/usr.bin/sdiff/ |
| sdiff.c | 235 wflag = strtonum(optarg, WIDTH_MIN, 586 file1start = strtonum(line, 0, INT_MAX, &errstr); 599 file1end = strtonum(q, 0, INT_MAX, &errstr); 619 file2start = strtonum(q, 0, INT_MAX, &errstr); 632 file2end = strtonum(p, 0, INT_MAX, &errstr);
|
| /src/external/bsd/tmux/ |
| prepare-import.sh | 71 rm dist/compat/strtonum.c
|
| /src/include/ |
| stdlib.h | 126 long long strtonum(const char *, long long, long long, const char **);
|
| /src/dist/pf/sbin/pflogd/ |
| pflogd.c | 641 delay = strtonum(optarg, 5, 60*60, &errstr); 655 snaplen = strtonum(optarg, 0, PFLOGD_MAXSNAPLEN,
|
| /src/tools/compat/ |
| Makefile | 26 strsep.c strsuftoll.c strtonum.c strtoll.c \
|
| /src/dist/pf/usr.sbin/ftp-proxy/ |
| ftp-proxy.c | 660 loglevel = strtonum(optarg, LOG_EMERG, LOG_DEBUG, 675 max_sessions = strtonum(optarg, 1, 500, &errstr); 708 timeout = strtonum(optarg, 0, 86400, &errstr);
|