/external/cronet/stable/third_party/libc++/src/test/std/numerics/bit/ |
D | byteswap.pass.cpp | 30 constexpr void test_num(T in, T expected) { in test_num() function 54 test_num<T>(in, expected); in test_implementation_defined_size() 58 test_num<std::uint8_t>(0xAB, 0xAB); in test() 59 test_num<std::uint16_t>(0xCDEF, 0xEFCD); in test() 60 test_num<std::uint32_t>(0x01234567, 0x67452301); in test() 61 test_num<std::uint64_t>(0x0123456789ABCDEF, 0xEFCDAB8967452301); in test() 63 test_num<std::int8_t>(static_cast<std::int8_t>(0xAB), static_cast<std::int8_t>(0xAB)); in test() 64 test_num<std::int16_t>(static_cast<std::int16_t>(0xCDEF), static_cast<std::int16_t>(0xEFCD)); in test() 65 test_num<std::int32_t>(0x01234567, 0x67452301); in test() 66 test_num<std::int64_t>(0x0123456789ABCDEF, 0xEFCDAB8967452301); in test() [all …]
|
/external/cronet/tot/third_party/libc++/src/test/std/numerics/bit/ |
D | byteswap.pass.cpp | 30 constexpr void test_num(T in, T expected) { in test_num() function 54 test_num<T>(in, expected); in test_implementation_defined_size() 58 test_num<std::uint8_t>(0xAB, 0xAB); in test() 59 test_num<std::uint16_t>(0xCDEF, 0xEFCD); in test() 60 test_num<std::uint32_t>(0x01234567, 0x67452301); in test() 61 test_num<std::uint64_t>(0x0123456789ABCDEF, 0xEFCDAB8967452301); in test() 63 test_num<std::int8_t>(static_cast<std::int8_t>(0xAB), static_cast<std::int8_t>(0xAB)); in test() 64 test_num<std::int16_t>(static_cast<std::int16_t>(0xCDEF), static_cast<std::int16_t>(0xEFCD)); in test() 65 test_num<std::int32_t>(0x01234567, 0x67452301); in test() 66 test_num<std::int64_t>(0x0123456789ABCDEF, 0xEFCDAB8967452301); in test() [all …]
|
/external/linux-kselftest/tools/testing/selftests/kselftest/ |
D | runner.sh | 97 echo "not ok $test_num $TEST_HDR_MSG" 109 echo "not ok $test_num $TEST_HDR_MSG" 117 echo "ok $test_num $TEST_HDR_MSG") || 120 echo "ok $test_num $TEST_HDR_MSG # SKIP" 123 echo "not ok $test_num $TEST_HDR_MSG # TIMEOUT $kselftest_timeout seconds" 125 echo "not ok $test_num $TEST_HDR_MSG # exit=$rc" 135 test_num=0 140 test_num=$(( test_num + 1 )) 145 run_one "$DIR" "$TEST" "$test_num"
|
/external/ltp/testcases/kernel/syscalls/inotify/ |
D | inotify04.c | 80 int i = 0, test_num = 0, len; in verify_inotify() local 130 if (test_num >= test_cnt) { in verify_inotify() 137 } else if ((event_set[test_num].mask == event->mask) in verify_inotify() 140 (event_set[test_num].name, event->name, in verify_inotify() 153 event_set[test_num].mask, in verify_inotify() 156 event_set[test_num].name, in verify_inotify() 157 strncmp(event_set[test_num].name, event->name, event->len)); in verify_inotify() 159 test_num++; in verify_inotify() 163 for (; test_num < test_cnt; test_num++) { in verify_inotify() 165 event_set[test_num].mask); in verify_inotify()
|
D | inotify07.c | 100 int i = 0, test_num = 0; in verify_inotify() local 104 if (test_num >= test_cnt) { in verify_inotify() 111 } else if ((event_set[test_num].mask == event->mask) in verify_inotify() 114 (event_set[test_num].name, event->name, in verify_inotify() 127 event_set[test_num].mask, in verify_inotify() 129 event->name, event_set[test_num].name, in verify_inotify() 130 strcmp(event_set[test_num].name, in verify_inotify() 133 test_num++; in verify_inotify() 137 for (; test_num < test_cnt; test_num++) { in verify_inotify() 139 event_set[test_num].mask); in verify_inotify()
|
D | inotify02.c | 124 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()
|
D | inotify03.c | 53 int len, i, test_num; in verify_inotify() local 86 test_num = 0; in verify_inotify() 91 if (test_num >= (test_cnt - 1)) { in verify_inotify() 97 } else if (event_set[test_num] == event->mask) { in verify_inotify() 107 event_set[test_num], in verify_inotify() 110 test_num++; in verify_inotify() 113 for (; test_num < test_cnt - 1; test_num++) { in verify_inotify() 115 event_set[test_num]); in verify_inotify()
|
D | inotify01.c | 89 int len, i = 0, test_num = 0; in verify_inotify() local 103 if (test_num >= test_cnt) { in verify_inotify() 109 } else if (event_set[test_num] == event->mask) { in verify_inotify() 127 event_set[test_num], in verify_inotify() 130 test_num++; in verify_inotify() 133 for (; test_num < test_cnt; test_num++) { in verify_inotify() 135 event_set[test_num]); in verify_inotify()
|
D | inotify08.c | 98 int i = 0, test_num = 0; in verify_inotify() local 102 if (test_num >= test_cnt) { in verify_inotify() 109 } else if (event_set[test_num].mask == event->mask && in verify_inotify() 121 event_set[test_num].mask, in verify_inotify() 125 test_num++; in verify_inotify() 129 for (; test_num < test_cnt; test_num++) { in verify_inotify() 131 event_set[test_num].mask); in verify_inotify()
|
/external/flashrom/util/ubertest/ |
D | ubertest.sh | 667 local test_num=0 727 test_num=0 732 partial_write_test_helper "4k_test_${test_num}" 0 2 "0x00" 733 prev_test_num=$test_num 734 test_num=$(($test_num + 1)) 737 partial_write_test_helper "4k_test_${test_num}" 2 4 "0x11" 738 test_num=$(($test_num + 1)) 741 partial_write_test_helper "4k_test_${test_num}" 6 2 "0x22" 742 test_num=$(($test_num + 1)) 745 partial_write_test_helper "4k_test_${test_num}" 8 8 "0x33" [all …]
|
/external/linux-kselftest/tools/testing/selftests/exec/ |
D | binfmt_script.py | 18 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/ |
D | fanotify02.c | 46 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()
|
D | fanotify03.c | 233 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()
|
/external/ltp/testcases/kernel/controllers/cpuctl/ |
D | cpuctl_latency_check_task.c | 77 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()
|
D | cpuctl_test01.c | 86 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()
|
D | cpuctl_latency_test.c | 65 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()
|
D | cpuctl_def_task01.c | 87 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/rust/android-crates-io/crates/quiche/deps/boringssl/src/decrepit/blowfish/ |
D | blowfish_test.cc | 64 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/ |
D | blowfish_test.cc | 64 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/stable/third_party/boringssl/src/decrepit/blowfish/ |
D | blowfish_test.cc | 64 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/tot/third_party/boringssl/src/decrepit/blowfish/ |
D | blowfish_test.cc | 64 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/android-crates-io/crates/quiche/deps/boringssl/src/decrepit/cast/ |
D | cast_test.cc | 59 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/cronet/tot/third_party/boringssl/src/decrepit/cast/ |
D | cast_test.cc | 59 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/cronet/stable/third_party/boringssl/src/decrepit/cast/ |
D | cast_test.cc | 59 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/ |
D | cast_test.cc | 59 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()
|