Home
last modified time | relevance | path

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

12

/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 …]
Dinotify02.c165 int len, i = 0, test_num = 0; in main() local
176 if (test_num >= TST_TOTAL) { in main()
199 } else if ((event_set[test_num].mask == event->mask) in main()
202 (event_set[test_num].name, event->name, in main()
241 event_set[test_num].mask, in main()
243 event_set[test_num].name, in main()
244 strcmp(event_set[test_num].name, in main()
247 test_num++; in main()
251 for (; test_num < TST_TOTAL; test_num++) { in main()
253 event_set[test_num].mask); in main()
Dinotify03.c83 int len, i, test_num; in main() local
121 test_num = 0; in main()
126 if (test_num >= (TST_TOTAL - 1)) { in main()
132 } else if (event_set[test_num] == event->mask) { in main()
142 event_set[test_num], in main()
145 test_num++; in main()
148 for (; test_num < TST_TOTAL - 1; test_num++) { in main()
150 event_set[test_num]); in main()
Dinotify01.c133 int len, i = 0, test_num = 0; in main() local
147 if (test_num >= TST_TOTAL) { in main()
153 } else if (event_set[test_num] == event->mask) { in main()
171 event_set[test_num], in main()
174 test_num++; in main()
177 for (; test_num < TST_TOTAL; test_num++) { in main()
179 event_set[test_num]); in main()
/external/ltp/testcases/kernel/syscalls/fanotify/
Dfanotify03.c145 int ret, len = 0, i = 0, test_num = 0; in test01() local
169 while (test_num < TST_TOTAL && fd_notify != -1) { in test01()
187 if (!(event->mask & event_set[test_num])) { in test01()
192 event_set[test_num], in test01()
209 if (event_set[test_num] & FAN_ALL_PERM_EVENTS) { in test01()
213 resp.response = event_resp[test_num]; in test01()
217 event->mask &= ~event_set[test_num]; in test01()
223 test_num++; in test01()
225 for (; test_num < TST_TOTAL - 1; test_num++) { in test01()
227 event_set[test_num]); in test01()
Dfanotify02.c63 int ret, len, i = 0, test_num = 0; in test01() local
166 if (test_num >= TST_TOTAL) { in test01()
172 } else if (!(event->mask & event_set[test_num])) { in test01()
177 event_set[test_num], in test01()
193 event->mask &= ~event_set[test_num]; in test01()
199 test_num++; in test01()
201 for (; test_num < TST_TOTAL; test_num++) { in test01()
203 event_set[test_num]); in test01()
Dfanotify01.c63 int ret, len, i = 0, test_num = 0; in test01() local
234 if (test_num >= TST_TOTAL) { in test01()
240 } else if (!(event->mask & event_set[test_num])) { in test01()
245 event_set[test_num], in test01()
290 event->mask &= ~event_set[test_num]; in test01()
295 test_num++; in test01()
297 for (; test_num < TST_TOTAL; test_num++) { in test01()
299 event_set[test_num]); in test01()
/external/linux-kselftest/tools/testing/selftests/
Dlib.mk23 @test_num=`echo 0`;
27 test_num=`echo $$test_num+1 | bc`; \
32 echo "not ok 1..$$test_num selftests: $$BASENAME_TEST [FAIL]"; \
35 …/$$BASENAME_TEST 2>&1 && echo "ok 1..$$test_num selftests: $$BASENAME_TEST [PASS]") || echo "not o…
37 …l; (./$$BASENAME_TEST && echo "ok 1..$$test_num selftests: $$BASENAME_TEST [PASS]") || echo "not o…
/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.c88 int test_num; in main() local
109 test_num = 0; in main()
121 || (test_num = atoi(argv[5])) <= 0) { in main()
125 if (test_num == 1) /* Test 01 & Test 02 */ in main()
127 else if (test_num == 3) /* Test 03 */ in main()
218 if (test_num == 1) { in main()
231 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.c89 int num_cpus, test_num, len; /* Total time = TIME_INTERVAL*num_cpus */ in main() local
108 test_num = 0; in main()
121 (test_num = atoi(argv[5])) <= 0) in main()
124 if (test_num == 1) in main()
126 else if (test_num == 3) in main()
232 if (test_num == 1) { in main()
Dcpuctl_test04.c85 int test_num; in main() local
110 test_num = 0; in main()
127 && (((test_num = atoi(test_num_p)) <= 10) in main()
128 && ((test_num = atoi(test_num_p)) >= 9))) { in main()
157 if (test_num == 9) in main()
231 switch (test_num) { in main()
Dcpuctl_def_task03.c84 int test_num, task_num, len, num_cpus; in main() local
107 test_num = 0; in main()
123 if ((test_num_p != NULL) && (((test_num = atoi(test_num_p)) <= 8) && in main()
124 ((test_num = atoi(test_num_p)) >= 6))) { in main()
230 switch (test_num) { in main()
Dcpuctl_def_task02.c84 int test_num; in main() local
111 test_num = 0; in main()
127 if ((test_num_p != NULL) && (((test_num = atoi(test_num_p)) == 4) || in main()
128 ((test_num = atoi(test_num_p)) == 5))) { in main()
233 switch (test_num) { in main()
Dcpuctl_test03.c84 int test_num; in main() local
109 test_num = 0; in main()
126 && (((test_num = atoi(test_num_p)) <= 8) in main()
127 && ((test_num = atoi(test_num_p)) >= 6))) { in main()
220 switch (test_num) { in main()
Dcpuctl_def_task04.c84 int test_num; in main() local
110 test_num = 0; in main()
126 if ((test_num_p != NULL) && (((test_num = atoi(test_num_p)) <= 10) && in main()
127 ((test_num = atoi(test_num_p)) >= 9))) { in main()
240 switch (test_num) { in main()
Dcpuctl_test02.c86 int test_num; in main() local
113 test_num = 0; in main()
130 && (((test_num = atoi(test_num_p)) == 4) in main()
131 || ((test_num = atoi(test_num_p)) == 5))) { in main()
224 switch (test_num) { in main()
/external/linux-kselftest/tools/testing/selftests/kmod/
Dkmod.sh497 function test_num() function
507 test_num $1
515 test_num $1
547 test_num $1
567 test_num $1
587 test_num $1
591 test_num $1
592 test_num $2
/external/ltp/testcases/kernel/syscalls/utimensat/
Dutimensat_tests.sh59 test_num=0
121 tst_resm TFAIL "FAILED test $test_num"
124 failed_list="$failed_list $test_num"
134 test_num=$(expr $test_num + 1)
191 tst_resm TPASS "PASSED test $test_num"
512 echo "Total tests: $test_num; passed: $passed_cnt; failed: $failed_cnt"
/external/linux-kselftest/tools/testing/selftests/sysctl/
Dsysctl.sh655 function test_num() function
665 test_num $1
673 test_num $1
705 test_num $1
725 test_num $1
745 test_num $1
749 test_num $1
750 test_num $2
/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 > (int)ARRAY_SIZE(test_ptr)) { in main()
714 test_num); in main()
717 run_test(test_num-1); in main()
/external/boringssl/src/decrepit/cfb/
Dcfb_test.cc49 unsigned test_num = 0; in TEST() local
51 test_num++; in TEST()
52 SCOPED_TRACE(test_num); in TEST()
/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()

12