/third_party/ltp/testcases/kernel/mem/ksm/ |
D | ksm_common.h | 20 if(tst_parse_int(str_size, size, 1, INT_MAX)) in parse_ksm_options() 23 if(tst_parse_int(str_num, num, 3, INT_MAX)) in parse_ksm_options() 26 if(tst_parse_int(str_unit, unit, 1, *size)) in parse_ksm_options()
|
/third_party/ltp/testcases/kernel/io/ltp-aiodio/ |
D | dio_truncate.c | 90 if (tst_parse_int(str_numchildren, &numchildren, 1, INT_MAX)) in setup() 96 if (tst_parse_int(str_numappends, &numappends, 1, INT_MAX)) in setup() 99 if (tst_parse_int(str_numwrites, &numwrites, 1, INT_MAX)) in setup()
|
D | aiodio_append.c | 108 if (tst_parse_int(str_numaio, &numaio, 1, INT_MAX)) in setup() 117 if (tst_parse_int(str_numchildren, &numchildren, 1, INT_MAX)) in setup() 123 if (tst_parse_int(str_appends, &appends, 1, INT_MAX)) in setup()
|
D | dio_append.c | 38 if (tst_parse_int(str_numchildren, &numchildren, 1, INT_MAX)) in setup() 44 if (tst_parse_int(str_appends, &appends, 1, INT_MAX)) in setup()
|
D | dio_sparse.c | 63 if (tst_parse_int(str_numchildren, &numchildren, 1, INT_MAX)) in setup()
|
D | dio_read.c | 106 if (tst_parse_int(str_numchildren, &numchildren, 1, INT_MAX)) in setup()
|
/third_party/ltp/testcases/network/netstress/ |
D | netstress.c | 846 if (tst_parse_int(aarg, &clients_num, 1, INT_MAX)) in setup() 848 if (tst_parse_int(rarg, &client_max_requests, 1, INT_MAX)) in setup() 850 if (tst_parse_int(Rarg, &server_max_requests, 1, INT_MAX)) in setup() 852 if (tst_parse_int(narg, &init_cln_msg_len, min_msg_len, max_msg_len)) in setup() 854 if (tst_parse_int(Narg, &init_srv_msg_len, min_msg_len, max_msg_len)) in setup() 856 if (tst_parse_int(qarg, &tfo_queue_size, 1, INT_MAX)) in setup() 858 if (tst_parse_int(Targ, &wait_timeout, 0, INT_MAX)) in setup() 860 if (tst_parse_int(barg, &busy_poll, 0, INT_MAX)) in setup() 862 if (tst_parse_int(targ, &tfo_value, 0, INT_MAX)) in setup() 864 if (tst_parse_int(Aarg, &max_rand_msg_len, 10, max_msg_len)) in setup()
|
/third_party/ltp/testcases/kernel/connectors/pec/ |
D | event_generator.c | 143 if (tst_parse_int(optarg, &nr_event, 0, INT_MAX)) { in process_options() 149 if (tst_parse_int(optarg, &checkpoint_id, 0, INT_MAX)) { in process_options()
|
D | pec_listener.c | 240 if (tst_parse_int(optarg, &terminate_pid, 0, INT_MAX)) { in parse_args() 246 if (tst_parse_int(optarg, &checkpoint_id, 0, INT_MAX)) { in parse_args()
|
/third_party/ltp/testcases/kernel/mem/mtest06/ |
D | mmap3.c | 135 if (tst_parse_int(str_loops, &loops, 1, INT_MAX)) in setup() 138 if (tst_parse_int(str_threads, &threads, 1, INT_MAX)) in setup()
|
/third_party/ltp/testcases/kernel/mem/mtest01/ |
D | mtest01.c | 64 if (tst_parse_int(str_chunksize, chunksize, 1, INT_MAX)) in parse_mtest_options() 78 if (tst_parse_int(str_maxpercent, maxpercent, 1, 99)) { in parse_mtest_options()
|
/third_party/ltp/testcases/kernel/fs/lftest/ |
D | lftest.c | 31 if (tst_parse_int(str_bufnum, &bufnum, 0, INT_MAX)) { in setup()
|
/third_party/ltp/lib/ |
D | tst_timer_test.c | 424 if (tst_parse_int(str_sleep_time, &sleep_time, 0, INT_MAX)) { in parse_timer_opts() 431 if (tst_parse_int(str_sample_cnt, &sample_cnt, 1, INT_MAX)) { in parse_timer_opts()
|
D | tst_test.c | 636 int tst_parse_int(const char *str, int *val, int min, int max) in tst_parse_int() function
|
/third_party/ltp/testcases/kernel/syscalls/splice/ |
D | splice04.c | 29 if (tst_parse_int(str_len_data, &num_len_data, 1, pipe_limit)) { in setup()
|
D | splice05.c | 39 if (tst_parse_int(str_len_data, &num_len_data, 1, pipe_limit)) { in setup()
|
D | splice02.c | 46 if (tst_parse_int(sarg, &file_size, 1, INT_MAX)) in setup()
|
/third_party/ltp/testcases/network/stress/route/ |
D | route-change-netlink.c | 115 if (tst_parse_int(p_opt, &port, 1, 65535)) in setup() 118 if (tst_parse_int(c_opt, &num_loops, 1, INT_MAX)) { in setup()
|
/third_party/ltp/testcases/kernel/syscalls/tgkill/ |
D | tgkill01.c | 106 if (tst_parse_int(str_threads, &n_threads, 1, INT_MAX)) in setup()
|
/third_party/ltp/include/ |
D | tst_test.h | 122 int tst_parse_int(const char *str, int *val, int min, int max);
|
/third_party/ltp/testcases/network/sctp/ |
D | sctp_big_chunk.c | 141 if (tst_parse_int(addr_param, &addr_num, 1, INT_MAX)) in setup()
|
/third_party/ltp/testcases/kernel/fs/read_all/ |
D | read_all.c | 349 if (tst_parse_int(str_reads, &reads, 1, INT_MAX)) in setup()
|
/third_party/ltp/doc/ |
D | c-test-api.txt | 459 int tst_parse_int(const char *str, int *val, int min, int max); 495 if (tst_parse_int(str_threads, &threads, 1, INT_MAX))
|