/titanic_50/usr/src/lib/libc/port/i18n/ |
H A D | wcstoimax.c | 54 wcstoimax(const wchar_t *nptr, wchar_t **endptr, int base) in wcstoimax() argument 56 return ((intmax_t)wcstoll(nptr, endptr, base)); in wcstoimax() 61 wcstoumax(const wchar_t *nptr, wchar_t **endptr, int base) in wcstoumax() argument 63 return ((uintmax_t)wcstoull(nptr, endptr, base)); in wcstoumax() 69 _wcstoimax_c89(const wchar_t *nptr, wchar_t **endptr, int base) in _wcstoimax_c89() argument 71 return ((int32_t)wcstol(nptr, endptr, base)); in _wcstoimax_c89() 76 _wcstoumax_c89(const wchar_t *nptr, wchar_t **endptr, int base) in _wcstoumax_c89() argument 78 return ((uint32_t)wcstoul(nptr, endptr, base)); in _wcstoumax_c89()
|
/titanic_50/usr/src/cmd/prctl/ |
H A D | utils.c | 114 char *endptr; in scaledtouint64() local 138 *uint64out = strtoull(scaledin, &endptr, 16); in scaledtouint64() 145 if (*endptr != '\0') in scaledtouint64() 159 value = strtod(scaledin, &endptr); in scaledtouint64() 167 if (endptr == scaledin) in scaledtouint64() 179 *widthout = (int)(endptr - scaledin); in scaledtouint64() 182 if (*endptr != '\0') { in scaledtouint64() 186 cmp = strncasecmp(modifiers[index], endptr, in scaledtouint64() 189 cmp = strncmp(modifiers[index], endptr, in scaledtouint64() 195 endptr += strlen(modifiers[index]); in scaledtouint64() [all …]
|
/titanic_50/usr/src/lib/libkmf/libkmf/common/ |
H A D | rdn_parser.c | 104 skipSpace(char **pbp, char *endptr) in skipSpace() argument 107 while (bp < endptr && OPTIONAL_SPACE(*bp)) { in skipSpace() 114 scanTag(char **pbp, char *endptr, char *tagBuf, int tagBufSize) in scanTag() argument 123 skipSpace(pbp, endptr); in scanTag() 124 if (*pbp == endptr) { in scanTag() 133 while (bp < endptr && !OPTIONAL_SPACE(*bp) && (*bp != C_EQUAL)) { in scanTag() 148 skipSpace(pbp, endptr); in scanTag() 149 if (*pbp == endptr) { in scanTag() 164 scanVal(char **pbp, char *endptr, char *valBuf, int valBufSize) in scanVal() argument 174 skipSpace(pbp, endptr); in scanVal() [all …]
|
/titanic_50/usr/src/cmd/sendmail/libsm/ |
H A D | strto.c | 46 sm_strtoll(nptr, endptr, base) 48 char **endptr; variable 163 if (endptr != 0) 164 *endptr = (char *) (any ? s - 1 : nptr); 187 sm_strtoull(nptr, endptr, base) in sm_strtoull() argument 189 char **endptr; 253 if (endptr != 0) 254 *endptr = (char *) (any ? s - 1 : nptr);
|
/titanic_50/usr/src/uts/common/io/mac/plugins/ |
H A D | mac_ipv6.c | 180 uint8_t *whereptr, *endptr; in mac_ipv6_header_info() local 197 endptr = mp->b_wptr; in mac_ipv6_header_info() 201 if (whereptr + sizeof (ip6_dest_t) >= endptr) in mac_ipv6_header_info() 207 if (whereptr > endptr) in mac_ipv6_header_info() 231 uint8_t *whereptr, *endptr; in mac_ipv6_pdata_verify() local 257 endptr = (uint8_t *)pdata + pdata_size; in mac_ipv6_pdata_verify() 259 while (nexthdr != IPPROTO_NONE && whereptr < endptr) { in mac_ipv6_pdata_verify() 263 if (whereptr + sizeof (ip6_dest_t) > endptr) in mac_ipv6_pdata_verify() 269 return (nexthdr == IPPROTO_NONE && whereptr == endptr); in mac_ipv6_pdata_verify()
|
/titanic_50/usr/src/lib/libc/port/gen/ |
H A D | strtoimax.c | 39 strtoimax(const char *nptr, char **endptr, int base) in strtoimax() argument 41 return ((intmax_t)strtoll(nptr, endptr, base)); in strtoimax() 55 _strtoimax_c89(const char *nptr, char **endptr, int base) in _strtoimax_c89() argument 57 return ((int32_t)strtol(nptr, endptr, base)); in _strtoimax_c89()
|
H A D | strtoumax.c | 39 strtoumax(const char *nptr, char **endptr, int base) in strtoumax() argument 41 return ((uintmax_t)strtoull(nptr, endptr, base)); in strtoumax() 55 _strtoumax_c89(const char *nptr, char **endptr, int base) in _strtoumax_c89() argument 57 return ((uint32_t)strtoul(nptr, endptr, base)); in _strtoumax_c89()
|
H A D | priv_str_xlate.c | 76 const char **endptr) in priv_str_to_set() argument 86 if (endptr != NULL) in priv_str_to_set() 87 *endptr = NULL; in priv_str_to_set() 126 if (endptr != NULL) in priv_str_to_set() 127 *endptr = priv_names + slen; in priv_str_to_set()
|
/titanic_50/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) 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
|
/titanic_50/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)
|
/titanic_50/usr/src/cmd/picl/plugins/lib/picld_pluginutil/ |
H A D | picld_pluginutil.c | 218 char *endptr; in parse_version() local 230 cmds->version_no = (float)strtod(vertok, &endptr); in parse_version() 231 if (endptr != (vertok + strlen(vertok))) in parse_version() 415 char *endptr; in validate_size_and_cvt_val() local 423 llval = strtoll(val, &endptr, 0); in validate_size_and_cvt_val() 424 if (endptr != (val + strlen(val))) in validate_size_and_cvt_val() 429 intval = strtol(val, &endptr, 0); in validate_size_and_cvt_val() 430 if (endptr != (val + strlen(val))) in validate_size_and_cvt_val() 435 sval = (int16_t)strtol(val, &endptr, 0); in validate_size_and_cvt_val() 436 if (endptr != (val + strlen(val))) in validate_size_and_cvt_val() [all …]
|
/titanic_50/usr/src/cmd/powertop/common/ |
H A D | powertop.c | 101 char *endptr, key; in main() local 150 dump_count = (int)strtod(optarg, &endptr); in main() 152 if (dump_count <= 0 || *endptr != NULL) { in main() 166 &endptr); in main() 168 if (*endptr != NULL || interval < 1 || in main() 190 g_observed_cpu = (uint_t)strtod(optarg, &endptr); in main()
|
/titanic_50/usr/src/lib/krb5/plugins/preauth/pkinit/ |
H A D | pkinit_profile.c | 206 char *endptr; in pkinit_kdcdefault_integer() local 208 l = strtol(string, &endptr, 0); in pkinit_kdcdefault_integer() 209 if (endptr == string) in pkinit_kdcdefault_integer() 369 char *endptr; in pkinit_libdefault_integer() local 371 l = strtol(string, &endptr, 0); in pkinit_libdefault_integer() 372 if (endptr == string) in pkinit_libdefault_integer()
|
/titanic_50/usr/src/cmd/mandoc/ |
H A D | out.c | 49 char *endptr; in a2roffsu() local 52 dst->scale = strtod(src, &endptr); in a2roffsu() 53 if (endptr == src) in a2roffsu() 56 switch (*endptr++) { in a2roffsu() 88 endptr--; in a2roffsu() 97 return(*endptr == '\0' ? 2 : 1); in a2roffsu()
|
/titanic_50/usr/src/lib/libresolv2/common/bsd/ |
H A D | strtoul.c | 62 strtoul(const char *nptr, char **endptr, int base) { in strtoul() argument 112 if (endptr != 0) in strtoul() 113 DE_CONST((any ? s - 1 : nptr), *endptr); in strtoul()
|
/titanic_50/usr/src/cmd/sgs/elfdump/common/ |
H A D | main.c | 256 char *endptr; in process_index_opt() local 258 rec->value.ndx.start = strtol(str, &endptr, 10); in process_index_opt() 260 if ((str == endptr) || (rec->value.ndx.start < 0)) in process_index_opt() 262 str = endptr; in process_index_opt() 274 rec->value.ndx.end = strtol(str, &endptr, 10); in process_index_opt() 275 if ((str == endptr) || (rec->value.ndx.end < 0)) in process_index_opt() 277 str = endptr; in process_index_opt() 316 char *endptr; in atoui() local 349 *v = strtoull(str, &endptr, 0); in atoui() 352 for (; *endptr; endptr++) in atoui() [all …]
|
/titanic_50/usr/src/cmd/ptools/pmadvise/ |
H A D | pmadvise.c | 368 atosz(char *optarg, char **endptr) in atosz() argument 375 sz = strtoll(optarg, endptr, 0); in atosz() 377 switch (**endptr) { in atosz() 404 (*endptr)++; in atosz() 494 char *endptr; in parse_suboptions() local 501 strtoull(value, &endptr, 16); in parse_suboptions() 509 if ((psaddr->addr == 0) || (*endptr != ':' && *endptr != '=')) { in parse_suboptions() 522 value = endptr; in parse_suboptions() 528 psaddr->length = atosz(value, &endptr); in parse_suboptions() 531 if (*endptr != '=') { in parse_suboptions() [all …]
|
/titanic_50/usr/src/cmd/sgs/elfedit/common/ |
H A D | util.c | 240 char *endptr; in elfedit_atoi2() local 245 *v = strtoll(str, &endptr, 0); in elfedit_atoi2() 248 for (; *endptr; endptr++) in elfedit_atoi2() 249 if (!isspace(*endptr)) in elfedit_atoi2() 266 char *endptr; in elfedit_atoui2() local 271 *v = strtoull(str, &endptr, 0); in elfedit_atoui2() 274 for (; *endptr; endptr++) in elfedit_atoui2() 275 if (!isspace(*endptr)) in elfedit_atoui2()
|
/titanic_50/usr/src/cmd/ndmpstat/ |
H A D | ndmpstat_main.c | 87 char *endptr; in main() local 90 interval = strtol(argv[0], &endptr, 10); in main() 92 if (errno > 0 || *endptr != '\0' || interval <= 0 || in main() 105 if (errno > 0 || *endptr != '\0' || iter <= 0) { in main()
|
/titanic_50/usr/src/lib/libgen/common/ |
H A D | mkdirp.c | 54 char *endptr, *ptr, *slash, *str; in mkdirp() local 73 endptr = strrchr(str, '\0'); in mkdirp() 107 while ((ptr = strchr(str, '\0')) != endptr) { in mkdirp()
|
/titanic_50/usr/src/lib/libumem/common/ |
H A D | envvar.c | 299 char *endptr = ""; in item_uint_process() local 309 result = strtoul(item_arg, &endptr, 10); in item_uint_process() 317 if (*endptr != '\0') in item_uint_process() 339 char *endptr = ""; in item_size_process() local 348 result_arg = strtoul(item_arg, &endptr, 10); in item_size_process() 358 switch (*endptr) { in item_size_process() 382 endptr++; /* skip over the size character */ in item_size_process() 388 if (*endptr != '\0') in item_size_process()
|
/titanic_50/usr/src/cmd/hal/hald/ |
H A D | util_helper.c | 139 char **new_environ, *endptr; in hal_set_proc_title_init() local 148 endptr = i ? environ[i-1] + strlen (environ[i-1]) : argv[argc-1] + strlen (argv[argc-1]); in hal_set_proc_title_init() 151 argv_size = endptr - argv_buffer[0]; in hal_set_proc_title_init()
|
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/traceroute/ |
H A D | traceroute_aux6.c | 548 uint8_t *endptr; in IPv6_hdrlen() local 553 endptr = ((uint8_t *)ip6h) + pkt_len; in IPv6_hdrlen() 558 if (whereptr >= endptr) in IPv6_hdrlen() 561 while (whereptr < endptr) { in IPv6_hdrlen() 567 if ((uchar_t *)hbhhdr + exthdrlength > endptr) in IPv6_hdrlen() 576 if ((uchar_t *)desthdr + exthdrlength > endptr) in IPv6_hdrlen() 585 if ((uchar_t *)rthdr + exthdrlength > endptr) in IPv6_hdrlen() 594 if ((uchar_t *)&fraghdr[1] > endptr) in IPv6_hdrlen()
|
/titanic_50/usr/src/cmd/svr4pkg/pkgadm/ |
H A D | lock.c | 226 char *endptr; in admin_lock() local 281 endptr = 0; in admin_lock() 282 pFlag = strtol(optarg, &endptr, 10); in admin_lock() 283 if ((endptr != (char *)NULL) && (*endptr != '\0')) { in admin_lock() 285 optarg, *endptr); in admin_lock() 363 endptr = 0; in admin_lock() 364 WFlag = strtol(optarg, &endptr, 10); in admin_lock() 365 if ((endptr != (char *)NULL) && (*endptr != '\0')) { in admin_lock() 367 optarg, *endptr); in admin_lock() 381 endptr = 0; in admin_lock() [all …]
|
/titanic_50/usr/src/cmd/stat/mpstat/ |
H A D | mpstat.c | 74 char *endptr; in main() local 112 (optarg, &endptr, 10); in main() 113 if (*endptr != NULL) in main() 145 interval = (int)strtol(argv[optind], &endptr, 10); in main() 146 if (*endptr != NULL) in main() 151 (argv[optind + 1], &endptr, 10); in main() 152 if (*endptr != NULL || iter < 0) in main()
|