Searched refs:tst_parse_int (Results 1 – 9 of 9) sorted by relevance
/external/ltp/testcases/kernel/mem/ksm/ |
D | ksm_common.h | 36 if(tst_parse_int(str_size, size, 1, INT_MAX)) in parse_ksm_options() 39 if(tst_parse_int(str_num, num, 3, INT_MAX)) in parse_ksm_options() 42 if(tst_parse_int(str_unit, unit, 1, *size)) in parse_ksm_options()
|
/external/ltp/testcases/network/netstress/ |
D | netstress.c | 713 if (tst_parse_int(aarg, &clients_num, 1, INT_MAX)) in setup() 715 if (tst_parse_int(rarg, &client_max_requests, 1, INT_MAX)) in setup() 717 if (tst_parse_int(Rarg, &server_max_requests, 1, INT_MAX)) in setup() 719 if (tst_parse_int(narg, &init_cln_msg_len, min_msg_len, max_msg_len)) in setup() 721 if (tst_parse_int(Narg, &init_srv_msg_len, min_msg_len, max_msg_len)) in setup() 723 if (tst_parse_int(qarg, &tfo_queue_size, 1, INT_MAX)) in setup() 725 if (tst_parse_int(Targ, &wait_timeout, 0, INT_MAX)) in setup() 727 if (tst_parse_int(barg, &busy_poll, 0, INT_MAX)) in setup() 729 if (tst_parse_int(targ, &tfo_value, 0, INT_MAX)) in setup() 731 if (tst_parse_int(Aarg, &max_rand_msg_len, 10, max_msg_len)) in setup()
|
/external/ltp/testcases/kernel/mem/mtest06/ |
D | mmap3.c | 152 if (tst_parse_int(str_loops, &loops, 1, INT_MAX)) in setup() 155 if (tst_parse_int(str_threads, &threads, 1, INT_MAX)) in setup()
|
/external/ltp/lib/ |
D | tst_timer_test.c | 428 if (tst_parse_int(str_sleep_time, &sleep_time, 0, INT_MAX)) { in parse_timer_opts() 435 if (tst_parse_int(str_sample_cnt, &sample_cnt, 1, INT_MAX)) { in parse_timer_opts()
|
D | tst_test.c | 510 int tst_parse_int(const char *str, int *val, int min, int max) in tst_parse_int() function
|
/external/ltp/testcases/kernel/syscalls/splice/ |
D | splice04.c | 51 if (tst_parse_int(str_len_data, &num_len_data, 1, pipe_limit)) { in setup()
|
D | splice05.c | 57 if (tst_parse_int(str_len_data, &num_len_data, 1, pipe_limit)) { in setup()
|
/external/ltp/include/ |
D | tst_test.h | 103 int tst_parse_int(const char *str, int *val, int min, int max);
|
/external/ltp/doc/ |
D | test-writing-guidelines.txt | 543 int tst_parse_int(const char *str, int *val, int min, int max); 573 if (tst_parse_int(str_threads, &threads, 1, INT_MAX))
|