Home
last modified time | relevance | path

Searched refs:test_num (Results 1 – 23 of 23) sorted by relevance

/external/ltp/testcases/kernel/syscalls/inotify/
Dinotify04.c152 int i, test_num, len; in main() local
155 test_num = 0; in main()
208 if (test_num >= TST_TOTAL) { in main()
229 } else if ((event_set[test_num].mask == event->mask) in main()
232 (event_set[test_num].name, event->name, in main()
245 event_set[test_num].mask, in main()
248 event_set[test_num].name, in main()
249 strncmp(event_set[test_num].name, event->name, event->len)); in main()
251 test_num++; in main()
255 for (; test_num < TST_TOTAL; test_num++) { in main()
[all …]
Dinotify03.c82 int len, i, test_num; in main() local
120 test_num = 0; in main()
125 if (test_num >= (TST_TOTAL - 1)) { in main()
131 } else if (event_set[test_num] == event->mask) { in main()
141 event_set[test_num], in main()
144 test_num++; in main()
147 for (; test_num < TST_TOTAL - 1; test_num++) { in main()
149 event_set[test_num]); in main()
Dinotify02.c185 int len, i = 0, test_num = 0; in main() local
196 if (test_num >= TST_TOTAL) { in main()
219 } else if ((event_set[test_num].mask == event->mask) in main()
222 (event_set[test_num].name, event->name, in main()
261 event_set[test_num].mask, in main()
263 event_set[test_num].name, in main()
264 strcmp(event_set[test_num].name, in main()
267 test_num++; in main()
271 for (; test_num < TST_TOTAL; test_num++) { in main()
273 event_set[test_num].mask); in main()
Dinotify01.c139 int len, i = 0, test_num = 0; in main() local
153 if (test_num >= TST_TOTAL) { in main()
159 } else if (event_set[test_num] == event->mask) { in main()
177 event_set[test_num], in main()
180 test_num++; in main()
183 for (; test_num < TST_TOTAL; test_num++) { in main()
185 event_set[test_num]); in main()
/external/ltp/testcases/kernel/syscalls/fanotify/
Dfanotify03.c169 int ret, len = 0, i = 0, test_num = 0; in main() local
196 while (test_num < TST_TOTAL && fd_notify != -1) { in main()
214 if (!(event->mask & event_set[test_num])) { in main()
219 event_set[test_num], in main()
236 if (event_set[test_num] & FAN_ALL_PERM_EVENTS) { in main()
240 resp.response = event_resp[test_num]; in main()
244 event->mask &= ~event_set[test_num]; in main()
250 test_num++; in main()
252 for (; test_num < TST_TOTAL - 1; test_num++) { in main()
254 event_set[test_num]); in main()
Dfanotify02.c76 int ret, len, i = 0, test_num = 0; in main() local
179 if (test_num >= TST_TOTAL) { in main()
185 } else if (!(event->mask & event_set[test_num])) { in main()
190 event_set[test_num], in main()
206 event->mask &= ~event_set[test_num]; in main()
212 test_num++; in main()
214 for (; test_num < TST_TOTAL; test_num++) { in main()
216 event_set[test_num]); in main()
Dfanotify01.c76 int ret, len, i = 0, test_num = 0; in main() local
247 if (test_num >= TST_TOTAL) { in main()
253 } else if (!(event->mask & event_set[test_num])) { in main()
258 event_set[test_num], in main()
303 event->mask &= ~event_set[test_num]; in main()
308 test_num++; in main()
310 for (; test_num < TST_TOTAL; test_num++) { in main()
312 event_set[test_num]); in main()
/external/ltp/testcases/kernel/controllers/cpuctl/
Dcpuctl_latency_check_task.c77 int test_num; in main() local
88 test_num = atoi(argv[1]); in main()
91 if ((test_num < 0) || (script_pid < 0) || (ALLOWED < 0)) { in main()
96 if (test_num == 2) { in main()
139 printf("FAIL \tThe Latency test %d failed\n", test_num); in main()
144 printf("PASS \tThe Latency test %d passed\n", test_num); in main()
Dcpuctl_test01.c87 int test_num; in main() local
108 test_num = 0; in main()
120 || (test_num = atoi(argv[5])) <= 0) { in main()
124 if (test_num == 1) /* Test 01 & Test 02 */ in main()
126 else if (test_num == 3) /* Test 03 */ in main()
221 if (test_num == 1) { in main()
234 if (test_num == 3) { in main()
Dcpuctl_latency_test.c65 int test_num; in main() local
81 test_num = atoi(argv[1]); in main()
82 if (test_num < 0) { in main()
88 if (test_num == 2) { in main()
Dcpuctl_def_task01.c88 int num_cpus, test_num, len; /* Total time = TIME_INTERVAL*num_cpus */ in main() local
107 test_num = 0; in main()
120 (test_num = atoi(argv[5])) <= 0) in main()
123 if (test_num == 1) in main()
125 else if (test_num == 3) in main()
233 if (test_num == 1) { in main()
Dcpuctl_test04.c84 int test_num; in main() local
109 test_num = 0; in main()
126 && (((test_num = atoi(test_num_p)) <= 10) in main()
127 && ((test_num = atoi(test_num_p)) >= 9))) { in main()
156 if (test_num == 9) in main()
234 switch (test_num) { in main()
Dcpuctl_def_task02.c83 int test_num; in main() local
110 test_num = 0; in main()
126 if ((test_num_p != NULL) && (((test_num = atoi(test_num_p)) == 4) || in main()
127 ((test_num = atoi(test_num_p)) == 5))) { in main()
235 switch (test_num) { in main()
Dcpuctl_def_task04.c83 int test_num; in main() local
109 test_num = 0; in main()
125 if ((test_num_p != NULL) && (((test_num = atoi(test_num_p)) <= 10) && in main()
126 ((test_num = atoi(test_num_p)) >= 9))) { in main()
241 switch (test_num) { in main()
Dcpuctl_test03.c83 int test_num; in main() local
108 test_num = 0; in main()
125 && (((test_num = atoi(test_num_p)) <= 8) in main()
126 && ((test_num = atoi(test_num_p)) >= 6))) { in main()
223 switch (test_num) { in main()
Dcpuctl_def_task03.c83 int test_num, task_num, len, num_cpus; in main() local
106 test_num = 0; in main()
122 if ((test_num_p != NULL) && (((test_num = atoi(test_num_p)) <= 8) && in main()
123 ((test_num = atoi(test_num_p)) >= 6))) { in main()
231 switch (test_num) { in main()
Dcpuctl_test02.c85 int test_num; in main() local
112 test_num = 0; in main()
129 && (((test_num = atoi(test_num_p)) == 4) in main()
130 || ((test_num = atoi(test_num_p)) == 5))) { in main()
227 switch (test_num) { in main()
/external/ltp/testcases/kernel/syscalls/utimensat/
Dutimensat_tests.sh55 test_num=0
117 tst_resm TFAIL "FAILED test $test_num"
120 failed_list="$failed_list $test_num"
130 test_num=$(expr $test_num + 1)
187 tst_resm TPASS "PASSED test $test_num"
508 echo "Total tests: $test_num; passed: $passed_cnt; failed: $failed_cnt"
/external/boringssl/src/decrepit/ripemd/
Dripemd_test.cc60 unsigned test_num = 0; in TEST() local
64 test_num++; in TEST()
93 fprintf(stderr, "#%u: bad result with stride %u: ", test_num, in TEST()
/external/ltp/testcases/kernel/mem/mtest05/
Dmmstress.c636 int test_num = 0; in main() local
668 test_num = atoi(optarg); in main()
708 if (!test_num) { in main()
712 if (test_num >= MAXTEST) { in main()
714 test_num); in main()
717 run_test(test_num); in main()
/external/ltp/testcases/kernel/controllers/memctl/
Dmemctl_test01.c59 int num_of_chunks, chunk_size, test_num, limit; variable
84 test_num = atoi(test_num_p); in main()
154 if (test_num == 4) { in signal_handler_sigusr2()
/external/googletest/googletest/test/
Dgtest-param-test_test.cc873 for (int test_num = 0; in TEST() local
874 test_num < test_case->total_test_count(); in TEST()
875 ++test_num) { in TEST()
876 const ::testing::TestInfo* test_info = test_case->GetTestInfo(test_num); in TEST()
/external/v8/testing/gtest/test/
Dgtest-param-test_test.cc873 for (int test_num = 0; in TEST() local
874 test_num < test_case->total_test_count(); in TEST()
875 ++test_num) { in TEST()
876 const ::testing::TestInfo* test_info = test_case->GetTestInfo(test_num); in TEST()