Home
last modified time | relevance | path

Searched refs:unit_atoi (Results 1 – 4 of 4) sorted by relevance

/external/iperf3/src/
Dt_units.c56 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()
Dunits.h33 iperf_size_t unit_atoi( const char *s );
Dunits.c170 iperf_size_t unit_atoi(const char *s) in unit_atoi() function
Diperf_api.c1045 test->settings->num_ostreams = unit_atoi(optarg); in iperf_parse_arguments()
1092 test->settings->bytes = unit_atoi(optarg); in iperf_parse_arguments()
1096 test->settings->blocks = unit_atoi(optarg); in iperf_parse_arguments()
1100 blksize = unit_atoi(optarg); in iperf_parse_arguments()
1339 test->settings->pacing_timer = unit_atoi(optarg); in iperf_parse_arguments()
1343 test->settings->connect_timeout = unit_atoi(optarg); in iperf_parse_arguments()