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

1 2 3 4 5 6 7 8 91011>>

  /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)
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));
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;
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);
flashctl.c 232 char *endptr; local
238 *num = strtoimax(str, &endptr, 16);
242 *num = strtoimax(str, &endptr, 10);
  /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) {
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) {
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) {
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...]
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...]
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')
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) {
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;
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')

Completed in 54 milliseconds

1 2 3 4 5 6 7 8 91011>>