Home
last modified time | relevance | path

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

1234

/external/linux-kselftest/tools/testing/selftests/kselftest/
Drunner.sh71 echo "not ok $test_num $TEST_HDR_MSG"
77 echo "ok $test_num $TEST_HDR_MSG") ||
80 echo "not ok $test_num $TEST_HDR_MSG # SKIP"
83 echo "not ok $test_num $TEST_HDR_MSG # TIMEOUT"
85 echo "not ok $test_num $TEST_HDR_MSG # exit=$rc"
95 test_num=0
100 test_num=$(( test_num + 1 ))
105 run_one "$DIR" "$TEST" "$test_num"
/external/ltp/testcases/kernel/syscalls/inotify/
Dinotify04.c81 int i = 0, test_num = 0, len; in verify_inotify() local
133 if (test_num >= test_cnt) { in verify_inotify()
154 } else if ((event_set[test_num].mask == event->mask) in verify_inotify()
157 (event_set[test_num].name, event->name, in verify_inotify()
170 event_set[test_num].mask, in verify_inotify()
173 event_set[test_num].name, in verify_inotify()
174 strncmp(event_set[test_num].name, event->name, event->len)); in verify_inotify()
176 test_num++; in verify_inotify()
180 for (; test_num < test_cnt; test_num++) { in verify_inotify()
182 event_set[test_num].mask); in verify_inotify()
Dinotify07.c96 int i = 0, test_num = 0; in verify_inotify() local
100 if (test_num >= test_cnt) { in verify_inotify()
107 } else if ((event_set[test_num].mask == event->mask) in verify_inotify()
110 (event_set[test_num].name, event->name, in verify_inotify()
123 event_set[test_num].mask, in verify_inotify()
125 event->name, event_set[test_num].name, in verify_inotify()
126 strcmp(event_set[test_num].name, in verify_inotify()
129 test_num++; in verify_inotify()
133 for (; test_num < test_cnt; test_num++) { in verify_inotify()
135 event_set[test_num].mask); in verify_inotify()
Dinotify02.c124 int len, i = 0, test_num = 0; in verify_inotify() local
135 if (test_num >= test_cnt) { in verify_inotify()
158 } else if ((event_set[test_num].mask == event->mask) in verify_inotify()
161 (event_set[test_num].name, event->name, in verify_inotify()
200 event_set[test_num].mask, in verify_inotify()
202 event_set[test_num].name, in verify_inotify()
203 strcmp(event_set[test_num].name, in verify_inotify()
206 test_num++; in verify_inotify()
210 for (; test_num < test_cnt; test_num++) { in verify_inotify()
212 event_set[test_num].mask); in verify_inotify()
Dinotify03.c54 int len, i, test_num; in verify_inotify() local
87 test_num = 0; in verify_inotify()
92 if (test_num >= (test_cnt - 1)) { in verify_inotify()
98 } else if (event_set[test_num] == event->mask) { in verify_inotify()
108 event_set[test_num], in verify_inotify()
111 test_num++; in verify_inotify()
114 for (; test_num < test_cnt - 1; test_num++) { in verify_inotify()
116 event_set[test_num]); in verify_inotify()
Dinotify01.c94 int len, i = 0, test_num = 0; in verify_inotify() local
108 if (test_num >= test_cnt) { in verify_inotify()
114 } else if (event_set[test_num] == event->mask) { in verify_inotify()
132 event_set[test_num], in verify_inotify()
135 test_num++; in verify_inotify()
138 for (; test_num < test_cnt; test_num++) { in verify_inotify()
140 event_set[test_num]); in verify_inotify()
Dinotify08.c94 int i = 0, test_num = 0; in verify_inotify() local
98 if (test_num >= test_cnt) { in verify_inotify()
105 } else if (event_set[test_num].mask == event->mask && in verify_inotify()
117 event_set[test_num].mask, in verify_inotify()
121 test_num++; in verify_inotify()
125 for (; test_num < test_cnt; test_num++) { in verify_inotify()
127 event_set[test_num].mask); in verify_inotify()
/external/ltp/testcases/kernel/syscalls/fanotify/
Dfanotify02.c45 int ret, len, i = 0, test_num = 0; in test01() local
148 if (test_num >= TST_TOTAL) { in test01()
154 } else if (!(event->mask & event_set[test_num])) { in test01()
159 event_set[test_num], in test01()
175 event->mask &= ~event_set[test_num]; in test01()
182 test_num++; in test01()
184 for (; test_num < TST_TOTAL; test_num++) { in test01()
186 event_set[test_num]); in test01()
Dfanotify03.c260 int ret, len = 0, i = 0, test_num = 0; in test_fanotify() local
275 while (test_num < tc->event_count + 1 && fd_notify != -1) { in test_fanotify()
297 if (event->mask != event_set[test_num].mask) { in test_fanotify()
302 event_set[test_num].mask, in test_fanotify()
320 if (event_set[test_num].mask & LTP_ALL_PERM_EVENTS) { in test_fanotify()
324 resp.response = event_set[test_num].response; in test_fanotify()
333 test_num++; in test_fanotify()
336 for (; test_num < tc->event_count; test_num++) { in test_fanotify()
338 event_set[test_num].mask); in test_fanotify()
Dfanotify01.c86 int fd, ret, len, i = 0, test_num = 0; in test_fanotify() local
276 if (test_num >= TST_TOTAL) { in test_fanotify()
282 } else if (!(event->mask & event_set[test_num])) { in test_fanotify()
287 event_set[test_num], in test_fanotify()
334 event->mask &= ~event_set[test_num]; in test_fanotify()
339 test_num++; in test_fanotify()
341 for (; test_num < TST_TOTAL; test_num++) { in test_fanotify()
343 event_set[test_num]); in test_fanotify()
/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_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_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()
/external/rust/crates/quiche/deps/boringssl/src/decrepit/blowfish/
Dblowfish_test.cc64 unsigned test_num = 0; in TEST() local
66 test_num++; in TEST()
67 SCOPED_TRACE(test_num); in TEST()
100 unsigned test_num = 0; in TEST() local
102 test_num++; in TEST()
103 SCOPED_TRACE(test_num); in TEST()
133 unsigned test_num = 0; in TEST() local
135 test_num++; in TEST()
136 SCOPED_TRACE(test_num); in TEST()
/external/boringssl/src/decrepit/blowfish/
Dblowfish_test.cc64 unsigned test_num = 0; in TEST() local
66 test_num++; in TEST()
67 SCOPED_TRACE(test_num); in TEST()
100 unsigned test_num = 0; in TEST() local
102 test_num++; in TEST()
103 SCOPED_TRACE(test_num); in TEST()
133 unsigned test_num = 0; in TEST() local
135 test_num++; in TEST()
136 SCOPED_TRACE(test_num); in TEST()
/external/libaom/libaom/test/
Dconvolve_round_test.cc87 int test_num = 0; in ConvolveRoundingRun() local
104 while (test_num < kTestNum) { in ConvolveRoundingRun()
105 int block_size = test_num % BLOCK_SIZES_ALL; in ConvolveRoundingRun()
109 if (test_num % 2 == 0) in ConvolveRoundingRun()
125 << " h: " << h << " test: " << test_num; in ConvolveRoundingRun()
133 << " h: " << h << " test: " << test_num; in ConvolveRoundingRun()
138 test_num++; in ConvolveRoundingRun()
/external/rust/crates/quiche/deps/boringssl/src/decrepit/cast/
Dcast_test.cc59 unsigned test_num = 0; in TEST() local
61 test_num++; in TEST()
62 SCOPED_TRACE(test_num); in TEST()
95 unsigned test_num = 0; in TEST() local
97 test_num++; in TEST()
98 SCOPED_TRACE(test_num); in TEST()
/external/boringssl/src/decrepit/cast/
Dcast_test.cc59 unsigned test_num = 0; in TEST() local
61 test_num++; in TEST()
62 SCOPED_TRACE(test_num); in TEST()
95 unsigned test_num = 0; in TEST() local
97 test_num++; in TEST()
98 SCOPED_TRACE(test_num); in TEST()
/external/bc/
Dkaratsuba.py74 test_num = int(sys.argv[2]) variable
76 test_num = 0 variable
139 if test_num != 0:
140 mx2 = test_num
160 if (test_num >= i):
193 elif test_num == 0:
222 if test_num == 0:
/external/linux-kselftest/tools/testing/selftests/kmod/
Dkmod.sh500 function test_num() function
510 test_num $1
518 test_num $1
550 test_num $1
570 test_num $1
590 test_num $1
594 test_num $1
595 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"

1234