Searched refs:endptr (Results 26 - 50 of 71) sorted by relevance

123

/opensolaris-onvv-gate/usr/src/cmd/svr4pkg/pkgadm/
H A Dlock.c226 char *endptr; local
281 endptr = 0;
282 pFlag = strtol(optarg, &endptr, 10);
283 if ((endptr != (char *)NULL) && (*endptr != '\0')) {
285 optarg, *endptr);
363 endptr = 0;
364 WFlag = strtol(optarg, &endptr, 10);
365 if ((endptr != (char *)NULL) && (*endptr !
[all...]
/opensolaris-onvv-gate/usr/src/uts/common/ipp/ipgpc/
H A Dclassifier.c509 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) {
/opensolaris-onvv-gate/usr/src/cmd/sgs/ar/common/
H A Dcmd.c91 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;
/opensolaris-onvv-gate/usr/src/lib/mpss/common/
H A Dmpss.c134 char *endptr, c; local
136 sz = strtoll(szstr, &endptr, 0);
138 while (c = *endptr++) {
/opensolaris-onvv-gate/usr/src/uts/common/fs/dev/
H A Dsdev_ptsops.c77 char *endptr = NULL; local
83 if (ddi_strtol(nm, &endptr, 10, &uminor) != 0 ||
84 *endptr != '\0' || uminor < 0) {
H A Dsdev_vtops.c76 char *endptr = NULL; local
82 if (ddi_strtol(nm, &endptr, 10, &uminor) != 0 ||
83 *endptr != '\0' || uminor < 0) {
/opensolaris-onvv-gate/usr/src/cmd/ipcs/
H A Dipcs.c121 char *endptr; /* terminator for strtol() */ local
147 mtype = strtol(optarg, &endptr, 0);
148 if (endptr == optarg || *endptr != '\0') {
/opensolaris-onvv-gate/usr/src/lib/libdhcputil/common/
H A Ddhcp_inittab.c1516 char *endptr; local
1542 *to = strtoul(from, &endptr, 0);
1543 if (errno != 0 || from == endptr) {
1549 uint16 = htons(strtoul(from, &endptr, 0));
1550 if (errno != 0 || from == endptr) {
1557 uint32 = htonl(strtoul(from, &endptr, 0));
1558 if (errno != 0 || from == endptr) {
1565 uint32 = htonl(strtoul(from, &endptr, 0));
1566 if (errno != 0 || from == endptr) {
1573 uint64 = htonll(strtoull(from, &endptr,
[all...]
/opensolaris-onvv-gate/usr/src/cmd/cmd-inet/usr.sbin/ping/
H A Dping_aux6.c951 uint8_t *endptr; local
956 endptr = ((uint8_t *)ip6h) + pkt_len;
961 if (whereptr >= endptr)
964 while (whereptr < endptr) {
970 if ((uchar_t *)hbhhdr + exthdrlength > endptr)
979 if ((uchar_t *)desthdr + exthdrlength > endptr)
988 if ((uchar_t *)rthdr + exthdrlength > endptr)
997 if ((uchar_t *)&fraghdr[1] > endptr)
/opensolaris-onvv-gate/usr/src/cmd/stat/fsstat/
H A Dfsstat.c593 char *endptr; local
604 *interval = strtol(argv[optind], &endptr, 10);
605 if (*endptr && !isdigit((int)*endptr)) {
645 *count = strtol(argv[optind + 1], &endptr, 10);
646 if (*endptr && !isdigit((int)*endptr)) {
/opensolaris-onvv-gate/usr/src/uts/common/io/mac/
H A Dmac_util.c481 mac_ip_hdr_length_v6(ip6_t *ip6h, uint8_t *endptr, uint16_t *hdr_length, argument
492 if (((uchar_t *)ip6h + IPV6_HDR_LEN) > endptr)
502 while (whereptr < endptr) {
504 if (whereptr + MIN_EHDR_LEN > endptr)
513 if ((uchar_t *)desthdr + ehdrlen > endptr)
520 if ((uchar_t *)rthdr + ehdrlen > endptr)
527 if ((uchar_t *)&fraghdr[1] > endptr)
/opensolaris-onvv-gate/usr/src/uts/common/ipp/flowacct/
H A Dflowacct.c131 uint8_t *nexthdrp, *whereptr, *endptr; local
137 endptr = mp->b_wptr;
139 while (whereptr < endptr) {
144 if ((uchar_t *)hbhhdr + ehdrlen > endptr)
151 if ((uchar_t *)desthdr + ehdrlen > endptr)
158 if ((uchar_t *)rthdr + ehdrlen > endptr)
173 ICMP_MIN_TP_HDR_LEN) > endptr) {
/opensolaris-onvv-gate/usr/src/cmd/cpc/common/
H A Dstrtoset.c268 char *endptr; local
277 tmp->val = strtoll(val, &endptr, 0);
278 if (endptr == val) {
/opensolaris-onvv-gate/usr/src/cmd/ppgsz/
H A Dppgsz.c90 char *endptr; local
95 sz = strtoll(optarg, &endptr, 0);
97 switch (*endptr) {
/opensolaris-onvv-gate/usr/src/cmd/svc/configd/
H A Dconfigd.c538 const char *endptr; local
617 privileged_privs = priv_str_to_set("zone", "", &endptr);
618 if (endptr != NULL && privileged_privs != NULL) {
H A Dobject.c114 char *endptr; local
136 strtoul(lnk_val_id, &endptr, 10);
137 if (elem->tx_orig_value_id == 0 || *endptr != 0 ||
/opensolaris-onvv-gate/usr/src/cmd/stat/vmstat/
H A Dvmstat.c158 char *endptr; local
161 interval = strtol(argv[0], &endptr, 10);
163 if (errno > 0 || *endptr != '\0' || interval <= 0 ||
172 if (errno > 0 || *endptr != '\0' || iter <= 0)
/opensolaris-onvv-gate/usr/src/cmd/svc/svccfg/
H A Dsvccfg_tmpl.c950 char *endptr; local
958 un = strtoull(value, &endptr, 0);
959 if ((endptr == value) || (*endptr != 0)) {
965 n = strtoll(value, &endptr, 0);
966 if ((endptr == value) || (*endptr != 0)) {
1165 char *endptr; local
1183 strtoll(value->sc_u.sc_string, &endptr, 0);
1186 strtoull(value->sc_u.sc_string, &endptr,
[all...]
H A Dsvccfg_xml.c535 char *endptr; local
553 v->sc_u.sc_count = strtoull((char *)value, &endptr, 10);
554 if (errno != 0 || endptr == (char *)value || *endptr)
563 v->sc_u.sc_integer = strtoll((char *)value, &endptr, 10);
564 if (errno != 0 || *endptr)
1077 char *endptr; local
1084 u_timeout = strtoull((char *)timeout, &endptr, 10);
1085 if (errno != 0 || endptr == (char *)timeout || *endptr)
1793 char *endptr; local
[all...]
/opensolaris-onvv-gate/usr/src/cmd/login/
H A Dlogin.c2194 char *endptr; local
2357 if ((endptr = strchr(*lenvp, '=')) == NULL) {
2360 length = endptr + 1 - *lenvp;
2396 if ((endptr = strchr(*envp, '=')) == NULL) {
2424 for (i = 0, length = endptr + 1 - *envp;
2509 char *endptr; local
2527 ((endptr = strchr(shell, '=')) != NULL))
2528 (*++endptr) = '\0';
/opensolaris-onvv-gate/usr/src/cmd/hal/hald/
H A Dutil.c607 gchar *endptr; local
617 value = strtol (strvalue, &endptr, base);
618 if (endptr == strvalue) {
694 gchar *endptr; local
705 value = strtol (strvalue, &endptr, base);
706 if (endptr == strvalue)
/opensolaris-onvv-gate/usr/src/lib/libresolv2/common/resolv/
H A Dres_debug.c1209 char *endptr; local
1220 result = strtoul(buf + 5, &endptr, 10);
1221 if (errno == 0 && *endptr == '\0' && result <= 0xffffU)
1232 char *endptr; local
1243 result = strtoul(buf + 4, &endptr, 10);
1244 if (errno == 0 && *endptr == '\0' && result <= 0xffffU)
/opensolaris-onvv-gate/usr/src/uts/common/inet/ip/
H A Dip6.c2611 uint8_t *whereptr, *endptr; local
2624 endptr = mp->b_wptr;
2627 while (whereptr < endptr) {
2629 if (whereptr + MIN_EHDR_LEN > endptr)
2641 if ((uchar_t *)tmphopopts + ehdrlen > endptr)
2678 if ((uchar_t *)tmpdstopts + ehdrlen > endptr)
2696 if ((uchar_t *)tmprthdr + ehdrlen > endptr)
2721 if ((uchar_t *)tmpfraghdr + ehdrlen > endptr)
2760 uint8_t *endptr; local
2768 endptr
3145 uint8_t *endptr; local
4702 ip_find_rthdr_v6(ip6_t *ip6h, uint8_t *endptr) argument
[all...]
/opensolaris-onvv-gate/usr/src/cmd/sgs/libld/common/
H A Dmap_core.c1625 * endptr - As documented for strtoul(3C). Either NULL, or
1631 * On success, *ret_value receives the result, *endptr is updated if
1632 * endptr is non-NULL, and STRTOXWORD_OK is returned.
1638 ld_map_strtoxword(const char *restrict str, char **restrict endptr, argument
1653 char *endptr_local; /* Used if endptr is NULL */
1655 if (endptr == NULL)
1656 endptr = &endptr_local;
1659 value = FUNC(str, endptr, 0);
1660 if ((errno != 0) || (str == *endptr)) {
1711 char *endptr; local
[all...]
/opensolaris-onvv-gate/usr/src/cmd/auditd/
H A Dauditd.c592 char *endptr; local
684 tmp = strtol(value, &endptr, 10);
685 if (*endptr == '\0' && tmp != 0) {

Completed in 235 milliseconds

123