Searched refs:unit_atoi (Results 1 – 4 of 4) sorted by relevance
56 assert(1024 * 0.5 == unit_atoi("0.5K")); in main()57 assert(1024 == unit_atoi("1K")); in main()58 assert(1024 * 1024 == unit_atoi("1M")); in main()61 assert(llu == unit_atoi("4G")); in main()64 assert(llu == unit_atoi("3T")); in main()66 assert(1024 * 0.5 == unit_atoi("0.5k")); in main()67 assert(1024 == unit_atoi("1k")); in main()68 assert(1024 * 1024 == unit_atoi("1m")); in main()71 assert(llu == unit_atoi("4g")); in main()74 assert(llu == unit_atoi("3t")); in main()
33 iperf_size_t unit_atoi( const char *s );
170 iperf_size_t unit_atoi(const char *s) in unit_atoi() function
915 test->settings->num_ostreams = unit_atoi(optarg); in iperf_parse_arguments()947 test->settings->bytes = unit_atoi(optarg); in iperf_parse_arguments()951 test->settings->blocks = unit_atoi(optarg); in iperf_parse_arguments()955 blksize = unit_atoi(optarg); in iperf_parse_arguments()1180 test->settings->pacing_timer = unit_atoi(optarg); in iperf_parse_arguments()1184 test->settings->connect_timeout = unit_atoi(optarg); in iperf_parse_arguments()