Lines Matching refs:endptr

340 	char *endptr, *ptr;
351 v = strtoul(ptr, &endptr, 10);
356 if (*endptr != '-')
364 ptr = endptr + 1;
366 v = strtoul(ptr, &endptr, 10);
371 if (*endptr != '-')
377 ptr = endptr + 1;
379 v = strtoul(ptr, &endptr, 10);
384 if (*endptr != '-')
390 ptr = endptr + 1;
392 v = strtoul(ptr, &endptr, 10);
397 if (*endptr != ':')
403 ptr = endptr + 1;
405 v = strtoul(ptr, &endptr, 10);
410 if (*endptr != ':')
416 ptr = endptr + 1;
418 v = strtoul(ptr, &endptr, 10);
423 if (*endptr != '.')
429 ptr = endptr + 1;
431 v = strtoul(ptr, &endptr, 10);
436 if (*endptr != ',')
442 ptr = endptr + 1;
454 ptr = endptr + 1;
456 v = strtoul(ptr, &endptr, 10);
461 if (*endptr != ':')
466 /* 'MM' - last one - ignore endptr here. */
467 ptr = endptr + 1;
469 v = strtoul(ptr, &endptr, 10);
477 return (endptr);
490 char *endptr;
495 v = strtoul(val, &endptr, 10);
496 if (v > 0xffff || *endptr != '-')
500 val = endptr + 1;
503 v = strtoul(val, &endptr, 10);
504 if (v == 0 || v > 12 || *endptr != '-')
507 val = endptr + 1;
510 v = strtoul(val, &endptr, 10);
511 if (v == 0 || v > 31 || *endptr != ',')
514 val = endptr + 1;
517 v = strtoul(val, &endptr, 10);
518 if (v > 23 || *endptr != ':')
521 val = endptr + 1;
524 v = strtoul(val, &endptr, 10);
525 if (v > 59 || *endptr != ':')
528 val = endptr + 1;
531 v = strtoul(val, &endptr, 10);
532 if (v > 60 || *endptr != '.')
535 val = endptr + 1;
538 v = strtoul(val, &endptr, 10);
539 if (v > 9 || *endptr != ',')
542 val = endptr + 1;
548 val = endptr + 1;
551 v = strtoul(val, &endptr, 10);
552 if (v > 13 || *endptr != ':')
555 val = endptr + 1;
558 v = strtoul(val, &endptr, 10);
559 if (v > 59 || *endptr != '\0')
603 char *endptr, *ptr;
613 v = strtoul(ptr, &endptr, 16);
619 if (*endptr != ':') {
625 ptr = endptr + 1;
630 v = strtoul(ptr, &endptr, 16);
639 return (endptr);
645 char *endptr;
651 v = strtoul(val, &endptr, 16);
656 if(*endptr != ':') {
661 val = endptr + 1;
665 v = strtoul(val, &endptr, 16);
717 char *endptr, *ptr;
727 v = strtoul(ptr, &endptr, 10);
735 if (*endptr != '.') {
749 ptr = endptr + 1;
751 v = strtoul(ptr, &endptr, 10);
766 return (endptr);
772 char *endptr;
778 v = strtoul(val, &endptr, 10);
786 if (*endptr != '.') {
796 val = endptr + 1;
799 v = strtoul(val, &endptr, 10);
871 char *endptr, *ptr;
881 v = strtoul(ptr, &endptr, 10);
884 if (v > SNMP_MAX_BRIDGE_PRIORITY || errno != 0 || *endptr != '.') {
896 ptr = endptr + 1;
899 v = strtoul(ptr, &endptr, 16);
905 if (*endptr != ':') {
911 ptr = endptr + 1;
916 v = strtoul(ptr, &endptr, 16);
925 return (endptr);
931 char *ptr, *endptr;
940 v = strtoul(string, &endptr, 10);
943 if (v > SNMP_MAX_BRIDGE_PRIORITY || errno != 0 || *endptr != '.') {
952 string = endptr + 1;
955 v = strtoul(string, &endptr, 16);
960 if(*endptr != ':') {
965 string = endptr + 1;
969 v = strtoul(string, &endptr, 16);
1019 char *endptr, *ptr;
1029 v = strtoul(ptr, &endptr, 10);
1032 if (v > SNMP_MAX_BPORT_PRIORITY || errno != 0 || *endptr != '.') {
1042 v = strtoul(ptr, &endptr, 16);
1053 return (endptr);
1059 char *ptr, *endptr;
1068 v = strtoul(string, &endptr, 10);
1071 if (v > SNMP_MAX_BPORT_PRIORITY || errno != 0 || *endptr != '.') {
1079 string = endptr + 1;
1080 v = strtoul(string, &endptr, 16);
1212 char *endptr;
1219 v = strtoull(str, &endptr, 16);
1245 return (endptr);
1251 char *endptr;
1258 v = strtoull(string, &endptr, 16);