HomeSort by: relevance | last modified time | path
    Searched defs:endptr (Results 1 - 25 of 160) sorted by relevancy

1 2 3 4 5 6 7

  /src/external/bsd/ipf/dist/lib/
genmask.c 19 char *endptr = 0L; local
46 bits = (int)strtol(msk, &endptr, 0);
51 if ((*endptr != '\0') || (bits < 0) || (bits > 128))
56 if (*endptr != '\0' || bits > 32 || bits < 0)
  /src/external/gpl2/grep/dist/lib/
strtoumax.c 57 strtoumax (char const *ptr, char **endptr, int base)
60 if (sizeof (uintmax_t) == sizeof function (ptr, endptr, base)) \
61 return function (ptr, endptr, base);
77 char *p, *endptr; local
79 printf ("sizeof strtoull(): %d\n", sizeof strtoull(p, &endptr, 10));
80 printf ("sizeof strtoul(): %d\n", sizeof strtoul(p, &endptr, 10));
  /src/bin/ls/
util.c 120 const char *endptr = src + strlen(src) + 1; local
130 while (src < endptr) {
132 size_t rv, span = endptr - src;
  /src/usr.sbin/flashctl/
flashctl.c 232 char *endptr; local
238 *num = strtoimax(str, &endptr, 16);
242 *num = strtoimax(str, &endptr, 10);
  /src/crypto/external/apache2/openssl/dist/crypto/x509/
v3_tlsf.c 89 char *extval, *endptr; local
114 tlsextid = strtol(extval, &endptr, 10);
115 if (((*endptr) != '\0') || (extval == endptr) || (tlsextid < 0) || (tlsextid > 65535)) {
  /src/crypto/external/apache2/openssl/dist/test/
strtoultest.c 19 size_t expect_endptr_offset; /* the expected endptr offset, +1 for NULL */
32 /* pass on base 10 translation, endptr points to 'x' */
60 char *endptr = NULL; local
67 err = OPENSSL_strtoul(test->input, &endptr, test->base, &val);
75 * Confirm that the endptr points to where we expect
77 if (!TEST_ptr_eq(endptr, &test->input[test->expect_endptr_offset]))
bio_prefix_text.c 145 char *endptr; local
165 amount = strtoul(arg, &endptr, 10);
166 if (endptr[0] != '\0') {
192 idx = strtoul(arg, &endptr, 10);
193 if (endptr[0] != ':') {
203 indent = strtoul(colon, &endptr, 10);
204 if (endptr[0] != '\0') {
230 idx = strtoul(arg, &endptr, 10);
231 if (endptr[0] != ':') {
  /src/crypto/external/bsd/heimdal/dist/lib/asn1/
der_format.c 137 char *s, *w, *brkt, *endptr; local
162 l = strtol(w, &endptr, 10);
163 if (*endptr != '\0' || l < 0 || l > INT_MAX) {
  /src/crypto/external/bsd/openssl/dist/crypto/x509/
v3_tlsf.c 91 char *extval, *endptr; local
116 tlsextid = strtol(extval, &endptr, 10);
117 if (((*endptr) != '\0') || (extval == endptr) || (tlsextid < 0) ||
  /src/crypto/external/bsd/openssl.old/dist/crypto/x509v3/
v3_tlsf.c 91 char *extval, *endptr; local
116 tlsextid = strtol(extval, &endptr, 10);
117 if (((*endptr) != '\0') || (extval == endptr) || (tlsextid < 0) ||
  /src/external/bsd/libevent/dist/test/
bench_http.c 95 char *endptr = NULL; local
125 port = (int)strtol(argv[i+1], &endptr, 10);
126 if (*endptr != '\0') {
136 content_len = (size_t)strtol(argv[i+1], &endptr, 10);
137 if (*endptr != '\0' || content_len == 0) {
  /src/external/bsd/ntp/dist/sntp/libevent/test/
bench_http.c 96 char *endptr = NULL; local
126 port = (int)strtol(argv[i+1], &endptr, 10);
127 if (*endptr != '\0') {
137 content_len = (size_t)strtol(argv[i+1], &endptr, 10);
138 if (*endptr != '\0' || content_len == 0) {
  /src/external/cddl/osnet/lib/libzfs/
mkdirp.c 57 char *endptr, *ptr, *slash, *str; local
76 endptr = strrchr(str, '\0');
110 while ((ptr = strchr(str, '\0')) != endptr) {
  /src/external/mpl/bind/dist/lib/isccfg/
duration.c 49 char *endptr; local
81 endptr = NULL;
82 lli = strtoll(str + 1, &endptr, 10);
83 if (*endptr != *X) {
103 lli = strtoll(str + 1, &endptr, 10);
104 if (*endptr != *X) {
119 lli = strtoll(str + 1, &endptr, 10);
120 if (*endptr != *X) {
141 lli = strtoll(str + 1, &endptr, 10);
142 if (*endptr != *X)
    [all...]
  /src/external/bsd/am-utils/dist/libamu/
mtab.c 173 char *eq, *endptr; local
189 endptr = NULL;
190 i = strtol(eq, &endptr, 0); /* hex and octal allowed ;-) */
191 if (!endptr ||
192 (endptr != eq && (*endptr == ',' || *endptr == '\0'))) {
194 * endptr set means strtol saw a non-digit. If the non-digit is a
232 char *endptr = strchr(eq, ','); local
235 if (!endptr)
    [all...]
  /src/external/bsd/atf/dist/atf-c/detail/
text.c 169 char *endptr; local
173 tmp = strtol(str, &endptr, 10);
174 if (str[0] == '\0' || *endptr != '\0')
  /src/external/bsd/file/dist/src/
print.c 361 char *endptr; local
365 val = strtoull(us, &endptr, base);
366 if (*endptr || errno) {
  /src/external/bsd/mdocml/dist/
tbl_layout.c 68 char *endptr; local
100 if ((spacing = strtoul(p + *pos, &endptr, 10)) > 9)
105 *pos = endptr - p;
  /src/external/bsd/kyua-testers/dist/
cli.c 97 char *endptr; local
100 const unsigned long value = strtoul(str, &endptr, 10);
101 if (str[0] == '\0' || *endptr != '\0')
  /src/external/bsd/tmux/dist/
cmd-send-keys.c 111 char *endptr; local
116 n = strtol(s, &endptr, 16);
117 if (*s =='\0' || n < 0 || n > 0xff || *endptr != '\0')
  /src/external/gpl3/gdb/dist/sim/or1k/
sim-if.c 96 char *endptr;
98 n = strtoull (arg, &endptr, 0);
99 if (*arg != '\0' && *endptr == '\0')
112 char *endptr;
114 n = strtoull (arg, &endptr, 0);
115 if (*arg != '\0' && *endptr == '\0')
132 char *endptr;
134 n = strtoull (arg, &endptr, 0);
135 if (*arg != '\0' && *endptr == '\0')
95 char *endptr; local
111 char *endptr; local
131 char *endptr; local
  /src/external/gpl3/gdb.old/dist/sim/or1k/
sim-if.c 96 char *endptr;
98 n = strtoull (arg, &endptr, 0);
99 if (*arg != '\0' && *endptr == '\0')
112 char *endptr;
114 n = strtoull (arg, &endptr, 0);
115 if (*arg != '\0' && *endptr == '\0')
132 char *endptr;
134 n = strtoull (arg, &endptr, 0);
135 if (*arg != '\0' && *endptr == '\0')
95 char *endptr; local
111 char *endptr; local
131 char *endptr; local
  /src/external/lgpl2/userspace-rcu/dist/src/
compat-smp.h 69 char *endptr; local
72 cpu_id = strtol(entry->d_name + 3, &endptr, 10);
73 if ((cpu_id < LONG_MAX) && (endptr != entry->d_name + 3)
74 && (*endptr == '\0')) {
215 char *endptr; local
230 cpu_index = strtoul(&pmask[i], &endptr, 10);
232 if ((&pmask[i] != endptr) && (cpu_index < INT_MAX))
  /src/external/mpl/bind/dist/tests/dns/
badcache_test.c 128 char *endptr; local
184 ttl = strtol(pos, &endptr, 0);
185 assert_ptr_not_equal(pos, endptr);
187 pos = endptr;
  /src/crypto/external/bsd/openssl/dist/test/
bio_prefix_text.c 143 char *endptr; local
164 amount = strtoul(arg, &endptr, 10);
165 if (endptr[0] != '\0') {
191 idx = strtoul(arg, &endptr, 10);
192 if (endptr[0] != ':') {
202 indent = strtoul(colon, &endptr, 10);
203 if (endptr[0] != '\0') {
229 idx = strtoul(arg, &endptr, 10);
230 if (endptr[0] != ':') {

Completed in 49 milliseconds

1 2 3 4 5 6 7