• Home
  • Raw
  • Download

Lines Matching refs:leftovers

54 	char *leftovers;  in fill_cld_args()  local
189 args->ltrsiz = strtoul(optarg, &leftovers, 10); in fill_cld_args()
190 if (leftovers == strchr(leftovers, 'k')) { /* first value had a 'k' */ in fill_cld_args()
192 leftovers++; in fill_cld_args()
193 } else if (leftovers == strchr(leftovers, 'm')) { /* first value had a 'm' */ in fill_cld_args()
195 leftovers++; in fill_cld_args()
200 if (!isdigit(leftovers[1])) { in fill_cld_args()
207 atol((char *)strchr(leftovers, ':') + 1); in fill_cld_args()
208 if ((strchr(leftovers, 'k')) != NULL) { /* second value had a 'k' */ in fill_cld_args()
210 } else if ((strchr(leftovers, 'm')) != NULL) { /* second value had a 'm' */ in fill_cld_args()
339 args->retries = strtol(optarg, &leftovers, 10); in fill_cld_args()
341 (time_t) atol((char *)strchr(leftovers, ':') in fill_cld_args()
510 strtoul(optarg, &leftovers, 10); in fill_cld_args()
518 strchr(leftovers, in fill_cld_args()
523 strtoul(leftovers + 1, &leftovers, in fill_cld_args()
527 strchr(leftovers, in fill_cld_args()
530 if (strchr(leftovers, 'm')) { /* multiply by sec */ in fill_cld_args()
532 } else if (strchr(leftovers, 'h')) { /* multiply sec*min */ in fill_cld_args()
534 } else if (strchr(leftovers, 'd')) { /* multiply by sec*min*hours */ in fill_cld_args()
660 (OFF_T) strtoul(optarg, &leftovers, 0); in fill_cld_args()
661 if (leftovers == strchr(leftovers, 'k')) { /* multiply by 2^10 */ in fill_cld_args()
663 leftovers++; /* at the ':' */ in fill_cld_args()
664 } else if (leftovers == strchr(leftovers, 'K')) { /* multiply 10^3 */ in fill_cld_args()
666 leftovers++; /* at the ':' */ in fill_cld_args()
667 } else if (leftovers == strchr(leftovers, 'm')) { /* multiply by 2^20 */ in fill_cld_args()
669 leftovers++; /* at the ':' */ in fill_cld_args()
670 } else if (leftovers == strchr(leftovers, 'M')) { /* multiply by 10^6 */ in fill_cld_args()
672 leftovers++; /* at the ':' */ in fill_cld_args()
673 } else if (leftovers == strchr(leftovers, 'g')) { /* multiply by 2^30 */ in fill_cld_args()
675 leftovers++; /* at the ':' */ in fill_cld_args()
676 } else if (leftovers == strchr(leftovers, 'G')) { /* multiply by 10^9 */ in fill_cld_args()
678 leftovers++; /* at the ':' */ in fill_cld_args()
680 leftovers++; /* should be at the next value */ in fill_cld_args()
681 if (!isdigit((int)leftovers[0])) { in fill_cld_args()
688 (OFF_T) strtoul(leftovers, &leftovers, 0); in fill_cld_args()
689 if (leftovers == strchr(leftovers, 'k')) { /* multiply by 2^10 */ in fill_cld_args()
691 } else if (leftovers == strchr(leftovers, 'K')) { /* multiply 10^3 */ in fill_cld_args()
693 } else if (leftovers == strchr(leftovers, 'm')) { /* multiply by 2^20 */ in fill_cld_args()
695 } else if (leftovers == strchr(leftovers, 'M')) { /* multiply by 10^6 */ in fill_cld_args()
697 } else if (leftovers == strchr(leftovers, 'g')) { /* multiply by 2^30 */ in fill_cld_args()
699 } else if (leftovers == strchr(leftovers, 'G')) { /* multiply by 10^9 */ in fill_cld_args()
704 (OFF_T) strtoul(optarg, &leftovers, 0); in fill_cld_args()
705 if (leftovers == strchr(leftovers, 'k')) { /* multiply by 2^10 */ in fill_cld_args()
707 } else if (leftovers == strchr(leftovers, 'K')) { /* multiply 10^3 */ in fill_cld_args()
709 } else if (leftovers == strchr(leftovers, 'm')) { /* multiply by 2^20 */ in fill_cld_args()
711 } else if (leftovers == strchr(leftovers, 'M')) { /* multiply by 10^6 */ in fill_cld_args()
713 } else if (leftovers == strchr(leftovers, 'g')) { /* multiply by 2^30 */ in fill_cld_args()
715 } else if (leftovers == strchr(leftovers, 'G')) { /* multiply by 10^9 */ in fill_cld_args()
729 (OFF_T) strtoul(optarg, &leftovers, 0); in fill_cld_args()
730 if (leftovers == strchr(leftovers, 'k')) { /* multiply by 2^10 */ in fill_cld_args()
732 leftovers++; /* at the ':' */ in fill_cld_args()
733 } else if (leftovers == strchr(leftovers, 'K')) { /* multiply 10^3 */ in fill_cld_args()
735 leftovers++; /* at the ':' */ in fill_cld_args()
736 } else if (leftovers == strchr(leftovers, 'm')) { /* multiply by 2^20 */ in fill_cld_args()
738 leftovers++; /* at the ':' */ in fill_cld_args()
739 } else if (leftovers == strchr(leftovers, 'M')) { /* multiply by 10^6 */ in fill_cld_args()
741 leftovers++; /* at the ':' */ in fill_cld_args()
742 } else if (leftovers == strchr(leftovers, 'g')) { /* multiply by 2^30 */ in fill_cld_args()
744 leftovers++; /* at the ':' */ in fill_cld_args()
745 } else if (leftovers == strchr(leftovers, 'G')) { /* multiply by 10^9 */ in fill_cld_args()
747 leftovers++; /* at the ':' */ in fill_cld_args()
749 leftovers++; /* should be at the next value */ in fill_cld_args()
750 if (!isdigit((int)leftovers[0])) { in fill_cld_args()
757 (OFF_T) strtoul(leftovers, &leftovers, 0); in fill_cld_args()
758 if (leftovers == strchr(leftovers, 'k')) { /* multiply by 2^10 */ in fill_cld_args()
760 } else if (leftovers == strchr(leftovers, 'K')) { /* multiply 10^3 */ in fill_cld_args()
762 } else if (leftovers == strchr(leftovers, 'm')) { /* multiply by 2^20 */ in fill_cld_args()
764 } else if (leftovers == strchr(leftovers, 'M')) { /* multiply by 10^6 */ in fill_cld_args()
766 } else if (leftovers == strchr(leftovers, 'g')) { /* multiply by 2^30 */ in fill_cld_args()
768 } else if (leftovers == strchr(leftovers, 'G')) { /* multiply by 10^9 */ in fill_cld_args()
773 (OFF_T) strtoul(optarg, &leftovers, 0); in fill_cld_args()
774 if (leftovers == strchr(leftovers, 'k')) { /* multiply by 2^10 */ in fill_cld_args()
776 } else if (leftovers == strchr(leftovers, 'K')) { /* multiply 10^3 */ in fill_cld_args()
778 } else if (leftovers == strchr(leftovers, 'm')) { /* multiply by 2^20 */ in fill_cld_args()
780 } else if (leftovers == strchr(leftovers, 'M')) { /* multiply by 10^6 */ in fill_cld_args()
782 } else if (leftovers == strchr(leftovers, 'g')) { /* multiply by 2^30 */ in fill_cld_args()
784 } else if (leftovers == strchr(leftovers, 'G')) { /* multiply by 10^9 */ in fill_cld_args()