/illumos-gate/usr/src/cmd/ipf/lib/common/ |
H A D | genmask.c | 16 char *endptr = 0L; local 34 bits = (int)strtol(msk, &endptr, 0); 36 if ((*endptr != '\0') || 40 if (*endptr != '\0' || bits > 32 || bits < 0)
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | strtoimax.c | 39 strtoimax(const char *nptr, char **endptr, int base) argument 41 return ((intmax_t)strtoll(nptr, endptr, base)); 55 _strtoimax_c89(const char *nptr, char **endptr, int base) argument 57 return ((int32_t)strtol(nptr, endptr, base));
|
H A D | strtoumax.c | 39 strtoumax(const char *nptr, char **endptr, int base) argument 41 return ((uintmax_t)strtoull(nptr, endptr, base)); 55 _strtoumax_c89(const char *nptr, char **endptr, int base) argument 57 return ((uint32_t)strtoul(nptr, endptr, base));
|
H A D | priv_str_xlate.c | 70 * *endptr == NULL and errno set: resource error. 71 * *endptr != NULL: parse error. 76 const char **endptr) 86 if (endptr != NULL) 87 *endptr = NULL; 126 if (endptr != NULL) 127 *endptr = priv_names + slen; 74 priv_str_to_set(const char *priv_names, const char *separators, const char **endptr) argument
|
/illumos-gate/usr/src/lib/libc/port/i18n/ |
H A D | wcstoimax.c | 54 wcstoimax(const wchar_t *nptr, wchar_t **endptr, int base) argument 56 return ((intmax_t)wcstoll(nptr, endptr, base)); 61 wcstoumax(const wchar_t *nptr, wchar_t **endptr, int base) argument 63 return ((uintmax_t)wcstoull(nptr, endptr, base)); 69 _wcstoimax_c89(const wchar_t *nptr, wchar_t **endptr, int base) argument 71 return ((int32_t)wcstol(nptr, endptr, base)); 76 _wcstoumax_c89(const wchar_t *nptr, wchar_t **endptr, int base) argument 78 return ((uint32_t)wcstoul(nptr, endptr, base));
|
/illumos-gate/usr/src/lib/libgen/common/ |
H A D | mkdirp.c | 54 char *endptr, *ptr, *slash, *str; local 73 endptr = strrchr(str, '\0'); 107 while ((ptr = strchr(str, '\0')) != endptr) {
|
/illumos-gate/usr/src/lib/libresolv2/common/bsd/ |
H A D | strtoul.c | 62 strtoul(const char *nptr, char **endptr, int base) { argument 112 if (endptr != 0) 113 DE_CONST((any ? s - 1 : nptr), *endptr);
|
/illumos-gate/usr/src/boot/lib/libstand/ |
H A D | strtoul.c | 51 strtoul(const char * __restrict nptr, char ** __restrict endptr, int base) argument 118 if (endptr != NULL) 119 *endptr = (char *)(any ? s - 1 : nptr);
|
/illumos-gate/usr/src/cmd/hal/hald/ |
H A D | util_helper.c | 139 char **new_environ, *endptr; local 148 endptr = i ? environ[i-1] + strlen (environ[i-1]) : argv[argc-1] + strlen (argv[argc-1]); 151 argv_size = endptr - argv_buffer[0];
|
/illumos-gate/usr/src/cmd/mandoc/ |
H A D | tbl_layout.c | 64 char *endptr; local 93 cp->spacing = strtoull(p + *pos, &endptr, 10); 94 *pos = endptr - p;
|
H A D | out.c | 49 char *endptr; local 52 dst->scale = strtod(src, &endptr); 53 if (endptr == src) 56 switch (*endptr++) { 88 endptr--; 97 return *endptr == '\0' ? 2 : 1;
|
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | ipcsum.c | 135 #define INC_ENDPTR(cnt) endptr += cnt 137 uint32_t *endptr = (uint32_t *)endp; local 142 #define endptr ((uint32_t *)endp) macro 193 if (ptr <= endptr) { 205 } while (ptr <= endptr); 208 switch ((endptr + 8) - ptr) { 220 if (ptr <= endptr) { 229 if (ptr < endptr) { 234 } while (ptr < endptr); 265 #undef endptr macro [all...] |
/illumos-gate/usr/src/lib/krb5/plugins/preauth/pkinit/ |
H A D | pkinit_profile.c | 206 char *endptr; local 208 l = strtol(string, &endptr, 0); 209 if (endptr == string) 369 char *endptr; local 371 l = strtol(string, &endptr, 0); 372 if (endptr == string)
|
/illumos-gate/usr/src/cmd/ndmpstat/ |
H A D | ndmpstat_main.c | 87 char *endptr; local 90 interval = strtol(argv[0], &endptr, 10); 92 if (errno > 0 || *endptr != '\0' || interval <= 0 || 105 if (errno > 0 || *endptr != '\0' || iter <= 0) {
|
/illumos-gate/usr/src/uts/common/io/mac/plugins/ |
H A D | mac_ipv6.c | 180 uint8_t *whereptr, *endptr; local 197 endptr = mp->b_wptr; 201 if (whereptr + sizeof (ip6_dest_t) >= endptr) 207 if (whereptr > endptr) 231 uint8_t *whereptr, *endptr; local 257 endptr = (uint8_t *)pdata + pdata_size; 259 while (nexthdr != IPPROTO_NONE && whereptr < endptr) { 263 if (whereptr + sizeof (ip6_dest_t) > endptr) 269 return (nexthdr == IPPROTO_NONE && whereptr == endptr);
|
/illumos-gate/usr/src/cmd/ppgsz/ |
H A D | ppgsz.c | 90 char *endptr; local 95 sz = strtoll(optarg, &endptr, 0); 97 switch (*endptr) {
|
/illumos-gate/usr/src/cmd/sgs/ar/common/ |
H A D | cmd.c | 91 ARFILE *endptr; local 206 endptr = listend; 208 if (cmd_info->ponam && endptr && 209 (((moved_files = endptr->ar_next) != NULL) || new_listhead)) { 215 endptr->ar_next = NULL; 237 listend = endptr;
|
/illumos-gate/usr/src/cmd/stat/mpstat/ |
H A D | mpstat.c | 74 char *endptr; local 112 (optarg, &endptr, 10); 113 if (*endptr != NULL) 145 interval = (int)strtol(argv[optind], &endptr, 10); 146 if (*endptr != NULL) 151 (argv[optind + 1], &endptr, 10); 152 if (*endptr != NULL || iter < 0)
|
/illumos-gate/usr/src/uts/common/fs/dev/ |
H A D | sdev_ptsops.c | 77 char *endptr = NULL; local 83 if (ddi_strtol(nm, &endptr, 10, &uminor) != 0 || 84 *endptr != '\0' || uminor < 0) {
|
H A D | sdev_vtops.c | 76 char *endptr = NULL; local 82 if (ddi_strtol(nm, &endptr, 10, &uminor) != 0 || 83 *endptr != '\0' || uminor < 0) {
|
/illumos-gate/usr/src/uts/common/ipp/ipgpc/ |
H A D | classifier.c | 509 uint8_t *nexthdrp, *whereptr, *endptr; local 515 endptr = mp->b_wptr; 517 while (whereptr < endptr) { 522 if ((uchar_t *)hbhhdr + ehdrlen > endptr) 529 if ((uchar_t *)desthdr + ehdrlen > endptr) 536 if ((uchar_t *)rthdr + ehdrlen > endptr) 551 ICMP_MIN_TP_HDR_LEN) > endptr) {
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ping/ |
H A D | ping_aux6.c | 953 uint8_t *endptr; local 958 endptr = ((uint8_t *)ip6h) + pkt_len; 963 if (whereptr >= endptr) 966 while (whereptr < endptr) { 972 if ((uchar_t *)hbhhdr + exthdrlength > endptr) 981 if ((uchar_t *)desthdr + exthdrlength > endptr) 990 if ((uchar_t *)rthdr + exthdrlength > endptr) 999 if ((uchar_t *)&fraghdr[1] > endptr)
|
/illumos-gate/usr/src/cmd/powertop/common/ |
H A D | powertop.c | 99 char *endptr, key; local 148 dump_count = (int)strtod(optarg, &endptr); 150 if (dump_count <= 0 || *endptr != NULL) { 164 &endptr); 166 if (*endptr != NULL || interval < 1 || 188 g_observed_cpu = (uint_t)strtod(optarg, &endptr);
|
/illumos-gate/usr/src/lib/mpss/common/ |
H A D | mpss.c | 134 char *endptr, c; local 136 sz = strtoll(szstr, &endptr, 0); 138 while (c = *endptr++) {
|
/illumos-gate/usr/src/lib/libkmf/libkmf/common/ |
H A D | rdn_parser.c | 104 skipSpace(char **pbp, char *endptr) argument 107 while (bp < endptr && OPTIONAL_SPACE(*bp)) { 114 scanTag(char **pbp, char *endptr, char *tagBuf, int tagBufSize) argument 123 skipSpace(pbp, endptr); 124 if (*pbp == endptr) { 133 while (bp < endptr && !OPTIONAL_SPACE(*bp) && (*bp != C_EQUAL)) { 148 skipSpace(pbp, endptr); 149 if (*pbp == endptr) { 164 scanVal(char **pbp, char *endptr, char *valBuf, int valBufSize) argument 174 skipSpace(pbp, endptr); 322 ParseRdnAttribute(char **pbp, char *endptr, boolean_t singleAVA, KMF_X509_TYPE_VALUE_PAIR **a) argument [all...] |