• Home
  • Raw
  • Download

Lines Matching refs:strchr

108 			if (strchr(optarg, 'g')) {  in fill_cld_args()
111 if (strchr(optarg, 'c')) { in fill_cld_args()
114 if (strchr(optarg, 'm')) { in fill_cld_args()
117 if (strchr(optarg, 'r')) { in fill_cld_args()
120 if (strchr(optarg, 's')) { in fill_cld_args()
123 if (strchr(optarg, 'S')) { in fill_cld_args()
126 if (strchr(optarg, 'w')) { in fill_cld_args()
129 if (strchr(optarg, 'W')) { in fill_cld_args()
132 if (strchr(optarg, 't')) { in fill_cld_args()
157 if (strchr(optarg, 'L')) in fill_cld_args()
159 else if (strchr(optarg, 'l')) in fill_cld_args()
162 else if (strchr(optarg, 'R')) in fill_cld_args()
164 else if (strchr(optarg, 'r')) in fill_cld_args()
172 if (strchr(optarg, 'U') || strchr(optarg, 'u')) in fill_cld_args()
176 if (strchr(optarg, 'D') || strchr(optarg, 'd')) in fill_cld_args()
187 if (strchr(optarg, ':') != NULL) { /* we are given a range of transfer sizes */ in fill_cld_args()
190 if (leftovers == strchr(leftovers, 'k')) { /* first value had a 'k' */ in fill_cld_args()
193 } else if (leftovers == strchr(leftovers, 'm')) { /* first value had a 'm' */ 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()
218 if (strchr(optarg, 'k')) { in fill_cld_args()
220 } else if (strchr(optarg, 'm')) { in fill_cld_args()
293 if (strchr(optarg, 'm')) { /* multiply by sec */ in fill_cld_args()
295 } else if (strchr(optarg, 'h')) { /* multiply sec*min */ in fill_cld_args()
297 } else if (strchr(optarg, 'd')) { /* multiply by sec*min*hours */ in fill_cld_args()
314 args->wperc = atoi((char *)(strchr(optarg, ':') + 1)); in fill_cld_args()
338 if (strchr(optarg, ':') != NULL) { /* we are given a retry delay */ in fill_cld_args()
341 (time_t) atol((char *)strchr(leftovers, ':') in fill_cld_args()
363 if (strchr(optarg, 'l')) { /* returns NULL if char is not found */ in fill_cld_args()
366 if (strchr(optarg, 'p')) { in fill_cld_args()
369 if (strchr(optarg, 't')) { in fill_cld_args()
372 if (strchr(optarg, 's')) { in fill_cld_args()
375 if (strchr(optarg, 'h')) { in fill_cld_args()
378 if (strchr(optarg, 'f')) { in fill_cld_args()
381 if (strchr(optarg, 'a')) { in fill_cld_args()
384 if (!strchr(optarg, 'l') && in fill_cld_args()
385 !strchr(optarg, 'p') && in fill_cld_args()
386 !strchr(optarg, 't') && in fill_cld_args()
387 !strchr(optarg, 's') && in fill_cld_args()
388 !strchr(optarg, 'h') && in fill_cld_args()
389 !strchr(optarg, 'f') && !strchr(optarg, 'a')) { in fill_cld_args()
409 if (strchr(optarg, 'k')) { /* multiply by 2^10 */ in fill_cld_args()
411 } else if (strchr(optarg, 'K')) { /* multiply 10^3 */ in fill_cld_args()
413 } else if (strchr(optarg, 'm')) { /* multiply by 2^20 */ in fill_cld_args()
415 } else if (strchr(optarg, 'M')) { /* multiply by 10^6 */ in fill_cld_args()
432 if (strchr(optarg, 'k')) { /* multiply by 2^10 */ in fill_cld_args()
434 } else if (strchr(optarg, 'K')) { /* multiply 10^3 */ in fill_cld_args()
436 } else if (strchr(optarg, 'm')) { /* multiply by 2^20 */ in fill_cld_args()
438 } else if (strchr(optarg, 'M')) { /* multiply by 10^6 */ in fill_cld_args()
440 } else if (strchr(optarg, 'g')) { /* multiply by 2^30 */ in fill_cld_args()
442 } else if (strchr(optarg, 'G')) { /* multiply by 10^9 */ in fill_cld_args()
452 if (strchr(optarg, 'R') || strchr(optarg, 'r')) { in fill_cld_args()
462 if (strchr(optarg, 'B') || strchr(optarg, 'b')) { in fill_cld_args()
472 if (strchr(optarg, 'F') || strchr(optarg, 'f')) { in fill_cld_args()
482 if (strchr(optarg, 'D') || strchr(optarg, 'd')) { in fill_cld_args()
485 if (strchr(optarg, 's')) { in fill_cld_args()
487 strtoul((char *)strchr(optarg, 's') + 1, in fill_cld_args()
508 if (strchr(optarg, ':') != NULL) { /* we are given a option for delay & timeout */ in fill_cld_args()
512 if ((char *)strchr(optarg, ':') == in fill_cld_args()
518 strchr(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()
552 if (strchr(optarg, 'm')) { /* multiply by sec */ in fill_cld_args()
554 } else if (strchr(optarg, 'h')) { /* multiply sec*min */ in fill_cld_args()
556 } else if (strchr(optarg, 'd')) { /* multiply by sec*min*hours */ in fill_cld_args()
568 if (strchr(optarg, 'k')) { /* multiply by 2^10 */ in fill_cld_args()
570 } else if (strchr(optarg, 'K')) { /* multiply 10^3 */ in fill_cld_args()
572 } else if (strchr(optarg, 'm')) { /* multiply by 2^20 */ in fill_cld_args()
574 } else if (strchr(optarg, 'M')) { /* multiply by 10^6 */ in fill_cld_args()
576 } else if (strchr(optarg, 'g')) { /* multiply by 2^30 */ in fill_cld_args()
578 } else if (strchr(optarg, 'G')) { /* multiply by 10^9 */ in fill_cld_args()
623 if (strchr(optarg, 'X')) { /* returns NULL if char is not found */ in fill_cld_args()
626 if (strchr(optarg, 'T')) { in fill_cld_args()
629 if (strchr(optarg, 'P')) { in fill_cld_args()
632 if (strchr(optarg, 'R')) { in fill_cld_args()
635 if (strchr(optarg, 'C')) { in fill_cld_args()
638 if (strchr(optarg, 'A')) { in fill_cld_args()
641 if (!strchr(optarg, 'P') && in fill_cld_args()
642 !strchr(optarg, 'A') && in fill_cld_args()
643 !strchr(optarg, 'X') && in fill_cld_args()
644 !strchr(optarg, 'R') && in fill_cld_args()
645 !strchr(optarg, 'C') && !strchr(optarg, 'T')) { in fill_cld_args()
658 if (strchr(optarg, ':') != NULL) { /* we are given a range */ in fill_cld_args()
661 if (leftovers == strchr(leftovers, 'k')) { /* multiply by 2^10 */ in fill_cld_args()
664 } else if (leftovers == strchr(leftovers, 'K')) { /* multiply 10^3 */ in fill_cld_args()
667 } else if (leftovers == strchr(leftovers, 'm')) { /* multiply by 2^20 */ in fill_cld_args()
670 } else if (leftovers == strchr(leftovers, 'M')) { /* multiply by 10^6 */ in fill_cld_args()
673 } else if (leftovers == strchr(leftovers, 'g')) { /* multiply by 2^30 */ in fill_cld_args()
676 } else if (leftovers == strchr(leftovers, 'G')) { /* multiply by 10^9 */ 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()
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()
727 if (strchr(optarg, ':') != NULL) { /* we are given a range */ in fill_cld_args()
730 if (leftovers == strchr(leftovers, 'k')) { /* multiply by 2^10 */ in fill_cld_args()
733 } else if (leftovers == strchr(leftovers, 'K')) { /* multiply 10^3 */ in fill_cld_args()
736 } else if (leftovers == strchr(leftovers, 'm')) { /* multiply by 2^20 */ in fill_cld_args()
739 } else if (leftovers == strchr(leftovers, 'M')) { /* multiply by 10^6 */ in fill_cld_args()
742 } else if (leftovers == strchr(leftovers, 'g')) { /* multiply by 2^30 */ in fill_cld_args()
745 } else if (leftovers == strchr(leftovers, 'G')) { /* multiply by 10^9 */ 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()
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()