Home
last modified time | relevance | path

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

12345

/external/cronet/buildtools/third_party/libc++/trunk/test/std/numerics/bit/
Dbyteswap.pass.cpp29 constexpr void test_num(T in, T expected) { in test_num() function
53 test_num<T>(in, expected); in test_implementation_defined_size()
57 test_num<std::uint8_t>(0xAB, 0xAB); in test()
58 test_num<std::uint16_t>(0xCDEF, 0xEFCD); in test()
59 test_num<std::uint32_t>(0x01234567, 0x67452301); in test()
60 test_num<std::uint64_t>(0x0123456789ABCDEF, 0xEFCDAB8967452301); in test()
62 test_num<std::int8_t>(static_cast<std::int8_t>(0xAB), static_cast<std::int8_t>(0xAB)); in test()
63 test_num<std::int16_t>(static_cast<std::int16_t>(0xCDEF), static_cast<std::int16_t>(0xEFCD)); in test()
64 test_num<std::int32_t>(0x01234567, 0x67452301); in test()
65 test_num<std::int64_t>(0x0123456789ABCDEF, 0xEFCDAB8967452301); in test()
[all …]
/external/linux-kselftest/tools/testing/selftests/kselftest/
Drunner.sh70 echo "not ok $test_num $TEST_HDR_MSG"
81 echo "not ok $test_num $TEST_HDR_MSG"
89 echo "ok $test_num $TEST_HDR_MSG") ||
92 echo "ok $test_num $TEST_HDR_MSG # SKIP"
95 echo "not ok $test_num $TEST_HDR_MSG # TIMEOUT $kselftest_timeout seconds"
97 echo "not ok $test_num $TEST_HDR_MSG # exit=$rc"
107 test_num=0
112 test_num=$(( test_num + 1 ))
117 run_one "$DIR" "$TEST" "$test_num"
/external/ltp/testcases/kernel/syscalls/inotify/
Dinotify04.c76 int i = 0, test_num = 0, len; in verify_inotify() local
126 if (test_num >= test_cnt) { in verify_inotify()
133 } else if ((event_set[test_num].mask == event->mask) in verify_inotify()
136 (event_set[test_num].name, event->name, in verify_inotify()
149 event_set[test_num].mask, in verify_inotify()
152 event_set[test_num].name, in verify_inotify()
153 strncmp(event_set[test_num].name, event->name, event->len)); in verify_inotify()
155 test_num++; in verify_inotify()
159 for (; test_num < test_cnt; test_num++) { in verify_inotify()
161 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()
143 } else if ((event_set[test_num].mask == event->mask) in verify_inotify()
146 (event_set[test_num].name, event->name, in verify_inotify()
185 event_set[test_num].mask, in verify_inotify()
187 event_set[test_num].name, in verify_inotify()
188 strcmp(event_set[test_num].name, in verify_inotify()
191 test_num++; in verify_inotify()
195 for (; test_num < test_cnt; test_num++) { in verify_inotify()
197 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.c88 int len, i = 0, test_num = 0; in verify_inotify() local
102 if (test_num >= test_cnt) { in verify_inotify()
108 } else if (event_set[test_num] == event->mask) { in verify_inotify()
126 event_set[test_num], in verify_inotify()
129 test_num++; in verify_inotify()
132 for (; test_num < test_cnt; test_num++) { in verify_inotify()
134 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()
Dinotify10.c86 int i = 0, test_num = 0, len; in verify_inotify() local
150 struct event_t *expected = &event_set[test_num]; in verify_inotify()
153 if (test_num >= test_cnt) { in verify_inotify()
178 test_num++; in verify_inotify()
182 for (; test_num < test_cnt; test_num++) { in verify_inotify()
184 event_set[test_num].mask); in verify_inotify()
/external/linux-kselftest/tools/testing/selftests/exec/
Dbinfmt_script18 test_num=0 variable
45 global test_num, tests, NAME_MAX
46 test_num += 1
47 if test_num > tests:
49 % (test_num, tests))
82 % (test_num, name))
85 % (test_num, name))
89 % (test_num, name, proc.returncode))
92 % (test_num, name))
169 if test_num != tests:
[all …]
/external/ltp/testcases/kernel/syscalls/fanotify/
Dfanotify02.c46 int ret, len, i = 0, test_num = 0; in test01() local
137 if (test_num >= TST_TOTAL) { in test01()
143 } else if (!(event->mask & event_set[test_num])) { in test01()
148 event_set[test_num], in test01()
164 event->mask &= ~event_set[test_num]; in test01()
171 test_num++; in test01()
173 for (; test_num < TST_TOTAL; test_num++) { in test01()
175 event_set[test_num]); in test01()
Dfanotify03.c233 int ret, len = 0, i = 0, test_num = 0; in test_fanotify() local
248 while (test_num < tc->event_count + 1 && fd_notify != -1) { in test_fanotify()
270 if (event->mask != event_set[test_num].mask) { in test_fanotify()
275 event_set[test_num].mask, in test_fanotify()
293 if (event_set[test_num].mask & LTP_ALL_PERM_EVENTS) { in test_fanotify()
297 resp.response = event_set[test_num].response; in test_fanotify()
306 test_num++; in test_fanotify()
309 for (; test_num < tc->event_count; test_num++) { in test_fanotify()
311 event_set[test_num].mask); in test_fanotify()
Dfanotify01.c89 int fd, ret, len, i = 0, test_num = 0; in test_fanotify() local
250 if (test_num >= TST_TOTAL) { in test_fanotify()
256 } else if (!(event->mask & event_set[test_num])) { in test_fanotify()
261 event_set[test_num], in test_fanotify()
309 event->mask &= ~event_set[test_num]; in test_fanotify()
315 test_num++; in test_fanotify()
318 for (; test_num < TST_TOTAL; test_num++) { in test_fanotify()
320 event_set[test_num]); in test_fanotify()
/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/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/cronet/third_party/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/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.c86 int test_num; in main() local
107 test_num = 0; in main()
119 || (test_num = atoi(argv[5])) <= 0) { in main()
123 if (test_num == 1) /* Test 01 & Test 02 */ in main()
125 else if (test_num == 3) /* Test 03 */ in main()
216 if (test_num == 1) { in main()
229 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.c87 int num_cpus, test_num, len; /* Total time = TIME_INTERVAL*num_cpus */ in main() local
106 test_num = 0; in main()
119 (test_num = atoi(argv[5])) <= 0) in main()
122 if (test_num == 1) in main()
124 else if (test_num == 3) in main()
230 if (test_num == 1) { in main()
/external/libaom/test/
Dconvolve_round_test.cc89 int test_num = 0; in ConvolveRoundingRun() local
106 while (test_num < kTestNum) { in ConvolveRoundingRun()
107 int block_size = test_num % BLOCK_SIZES_ALL; in ConvolveRoundingRun()
111 if (test_num % 2 == 0) in ConvolveRoundingRun()
127 << " h: " << h << " test: " << test_num; in ConvolveRoundingRun()
135 << " h: " << h << " test: " << test_num; in ConvolveRoundingRun()
140 test_num++; in ConvolveRoundingRun()
/external/cronet/third_party/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/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/bc/scripts/
Dkaratsuba.py79 test_num = int(sys.argv[2]) variable
81 test_num = 0 variable
149 if test_num != 0:
150 mx2 = test_num
174 if (test_num >= i):
208 elif test_num == 0:
241 if test_num == 0:

12345