/external/cronet/buildtools/third_party/libc++/trunk/test/std/numerics/numeric.ops/numeric.ops.gcd/ |
D | gcd.pass.cpp | 53 constexpr bool do_test(int = 0) in do_test() function 99 static_assert(do_test<signed char>(), ""); in main() 100 static_assert(do_test<short>(), ""); in main() 101 static_assert(do_test<int>(), ""); in main() 102 static_assert(do_test<long>(), ""); in main() 103 static_assert(do_test<long long>(), ""); in main() 105 assert(do_test<signed char>(non_cce)); in main() 106 assert(do_test<short>(non_cce)); in main() 107 assert(do_test<int>(non_cce)); in main() 108 assert(do_test<long>(non_cce)); in main() [all …]
|
/external/libcxx/test/std/numerics/numeric.ops/numeric.ops.gcd/ |
D | gcd.pass.cpp | 53 constexpr bool do_test(int = 0) in do_test() function 99 static_assert(do_test<signed char>(), ""); in main() 100 static_assert(do_test<short>(), ""); in main() 101 static_assert(do_test<int>(), ""); in main() 102 static_assert(do_test<long>(), ""); in main() 103 static_assert(do_test<long long>(), ""); in main() 105 assert(do_test<signed char>(non_cce)); in main() 106 assert(do_test<short>(non_cce)); in main() 107 assert(do_test<int>(non_cce)); in main() 108 assert(do_test<long>(non_cce)); in main() [all …]
|
/external/cronet/buildtools/third_party/libc++/trunk/test/std/numerics/numeric.ops/numeric.ops.lcm/ |
D | lcm.pass.cpp | 50 constexpr bool do_test(int = 0) in do_test() function 96 static_assert(do_test<signed char>(), ""); in main() 97 static_assert(do_test<short>(), ""); in main() 98 static_assert(do_test<int>(), ""); in main() 99 static_assert(do_test<long>(), ""); in main() 100 static_assert(do_test<long long>(), ""); in main() 102 assert(do_test<signed char>(non_cce)); in main() 103 assert(do_test<short>(non_cce)); in main() 104 assert(do_test<int>(non_cce)); in main() 105 assert(do_test<long>(non_cce)); in main() [all …]
|
/external/libcxx/test/std/numerics/numeric.ops/numeric.ops.lcm/ |
D | lcm.pass.cpp | 52 constexpr bool do_test(int = 0) in do_test() function 98 static_assert(do_test<signed char>(), ""); in main() 99 static_assert(do_test<short>(), ""); in main() 100 static_assert(do_test<int>(), ""); in main() 101 static_assert(do_test<long>(), ""); in main() 102 static_assert(do_test<long long>(), ""); in main() 104 assert(do_test<signed char>(non_cce)); in main() 105 assert(do_test<short>(non_cce)); in main() 106 assert(do_test<int>(non_cce)); in main() 107 assert(do_test<long>(non_cce)); in main() [all …]
|
/external/linux-kselftest/tools/testing/selftests/net/ |
D | tcp_fastopen_backup_key.sh | 26 do_test() { function 39 do_test "-4" 40 do_test "-6" 41 do_test "-4" 42 do_test "-6" 43 do_test "-4s" 44 do_test "-6s" 45 do_test "-4s" 46 do_test "-6s" 47 do_test "-4r" [all …]
|
D | so_txtime.sh | 49 do_test() { function 73 do_test 4 mono a,-1 a,-1 74 do_test 6 mono a,0 a,0 75 do_test 6 mono a,10 a,10 76 do_test 4 mono a,10,b,20 a,10,b,20 77 do_test 6 mono a,20,b,10 b,20,a,20 80 ! do_test 4 tai a,-1 a,-1 81 ! do_test 6 tai a,0 a,0 82 do_test 6 tai a,10 a,10 83 do_test 4 tai a,10,b,20 a,10,b,20 [all …]
|
/external/ltp/testcases/kernel/syscalls/fcntl/ |
D | fcntl11.c | 66 void do_test(struct flock *, short, short, int, int); 139 void do_test(struct flock *fl, short type, short whence, int start, int len) in do_test() function 183 do_test(&fl, F_WRLCK, 0, 0, 0); in unlock_file() 292 do_test(&tl, F_WRLCK, 0, 0, 0); in main() 298 do_test(&tl, F_WRLCK, 0, 6, 0); in main() 304 do_test(&tl, F_WRLCK, 0, 15, 0); in main() 330 do_test(&tl, (short)F_WRLCK, (short)0, 0, 0); in main() 336 do_test(&tl, (short)F_WRLCK, (short)0, 10, 0); in main() 342 do_test(&tl, (short)F_WRLCK, (short)0, 15, 0); in main() 368 do_test(&tl, (short)F_WRLCK, (short)0, 0, 0); in main() [all …]
|
D | fcntl21.c | 65 void do_test(struct flock *, short, short, int, int); 160 void do_test(struct flock *fl, short type, short whence, int start, int len) in do_test() function 216 do_test(&fl, F_WRLCK, 0, 0, 0); in unlock_file() 341 do_test(&tl, (short)F_WRLCK, (short)0, 0, 0); in main() 372 do_test(&tl, (short)F_WRLCK, (short)0, 0, 0); in main() 411 do_test(&tl, F_WRLCK, 0, 0, 0); in main() 417 do_test(&tl, F_WRLCK, 0, 6, 0); in main() 423 do_test(&tl, F_WRLCK, 0, 15, 0); in main() 461 do_test(&tl, (short)F_WRLCK, (short)0, 0, 0); in main() 467 do_test(&tl, (short)F_WRLCK, (short)0, 10, 0); in main() [all …]
|
D | fcntl19.c | 70 void do_test(struct flock *, short, short, int, int); 153 void do_test(struct flock *fl, short type, short whence, int start, int len) in do_test() function 209 do_test(&fl, F_WRLCK, 0, 0, 0); in unlock_file() 341 do_test(&tl, (short)F_WRLCK, (short)0, 0, 0); in main() 347 do_test(&tl, (short)F_WRLCK, (short)0, 15, 0); in main() 384 do_test(&tl, (short)F_WRLCK, (short)0, 0, 0); in main() 390 do_test(&tl, (short)F_WRLCK, (short)0, 15, 0); in main() 428 do_test(&tl, (short)F_WRLCK, (short)0, 0, 0); in main() 434 do_test(&tl, (short)F_WRLCK, (short)0, 15, 0); in main() 472 do_test(&tl, (short)F_WRLCK, (short)0, 0, 0); in main() [all …]
|
D | fcntl20.c | 66 void do_test(struct flock *, short, short, int, int); 152 void do_test(struct flock *fl, short type, short whence, int start, int len) in do_test() function 208 do_test(&fl, F_WRLCK, 0, 0, 0); in unlock_file() 340 do_test(&tl, (short)F_WRLCK, (short)0, 0, 0); in main() 346 do_test(&tl, (short)F_WRLCK, (short)0, 15, 0); in main() 383 do_test(&tl, (short)F_WRLCK, (short)0, 0, 0); in main() 389 do_test(&tl, (short)F_WRLCK, (short)0, 15, 0); in main() 426 do_test(&tl, (short)F_WRLCK, (short)0, 0, 0); in main() 432 do_test(&tl, (short)F_WRLCK, (short)0, 15, 0); in main() 469 do_test(&tl, (short)F_WRLCK, (short)0, 0, 0); in main() [all …]
|
/external/iptables/iptables/tests/shell/testcases/nft-only/ |
D | 0006-policy-override_0 | 10 do_test() { function 21 do_test iptables -A OUTPUT -j ACCEPT 22 do_test iptables -F 23 do_test iptables -N foo 24 do_test iptables -E foo foo2 25 do_test iptables -I OUTPUT -j ACCEPT 26 do_test iptables -nL 27 do_test iptables -S
|
/external/linux-kselftest/tools/testing/selftests/x86/ |
D | entry_from_vm86.c | 134 static bool do_test(struct vm86plus_struct *v86, unsigned long eip, in do_test() function 203 do_test(vm86, vmcode_umip - vmcode, VM86_TRAP, 3, "UMIP tests"); in do_umip_tests() 240 do_test(vm86, vmcode_umip_str - vmcode, VM86_SIGNAL, 0, in do_umip_tests() 245 do_test(vm86, vmcode_umip_sldt - vmcode, VM86_SIGNAL, 0, in do_umip_tests() 276 do_test(&v86, vmcode_bound - vmcode, VM86_INTx, 5, "#BR"); in main() 285 do_test(&v86, vmcode_sysenter - vmcode, -1, 0, "SYSENTER"); in main() 296 do_test(&v86, vmcode_syscall - vmcode, VM86_SIGNAL, 0, "SYSCALL"); in main() 302 do_test(&v86, vmcode_sti - vmcode, VM86_STI, 0, "STI with VIP set"); in main() 307 do_test(&v86, vmcode_popf_hlt - vmcode, VM86_UNKNOWN, 0, "POPF with VIP set and IF clear"); in main() 312 do_test(&v86, vmcode_popf_hlt - vmcode, VM86_STI, 0, "POPF with VIP and IF set"); in main() [all …]
|
/external/python/cpython3/Lib/test/ |
D | test_audit.py | 19 def do_test(self, *args): member in AuditTest 49 self.do_test("test_basic") 52 self.do_test("test_block_add_hook") 55 self.do_test("test_block_add_hook_baseexception") 60 self.do_test("test_marshal") 65 self.do_test("test_pickle") 68 self.do_test("test_monkeypatch") 71 self.do_test("test_open", os_helper.TESTFN) 74 self.do_test("test_cantrace") 77 self.do_test("test_mmap")
|
/external/cronet/buildtools/third_party/libc++/trunk/test/std/language.support/support.coroutines/coroutine.handle/coroutine.handle.con/ |
D | construct.pass.cpp | 27 constexpr bool do_test() { in do_test() function 43 do_test<std::coroutine_handle<>>(); in main() 44 do_test<std::coroutine_handle<int>>(); in main() 45 static_assert(do_test<std::coroutine_handle<>>()); in main() 46 static_assert(do_test<std::coroutine_handle<int>>()); in main()
|
/external/cronet/buildtools/third_party/libc++/trunk/test/std/language.support/support.coroutines/coroutine.handle/coroutine.handle.export/ |
D | address.pass.cpp | 26 constexpr bool do_test() { in do_test() function 47 do_test<std::coroutine_handle<>>(); in main() 48 do_test<std::coroutine_handle<int>>(); in main() 49 static_assert(do_test<std::coroutine_handle<>>()); in main() 50 static_assert(do_test<std::coroutine_handle<int>>()); in main()
|
/external/cronet/buildtools/third_party/libc++/trunk/test/std/language.support/support.coroutines/coroutine.handle/coroutine.handle.capacity/ |
D | operator_bool.pass.cpp | 26 constexpr bool do_test() { in do_test() function 50 do_test<std::coroutine_handle<>>(); in main() 51 do_test<std::coroutine_handle<int>>(); in main() 52 static_assert(do_test<std::coroutine_handle<>>()); in main() 53 static_assert(do_test<std::coroutine_handle<int>>()); in main()
|
/external/linux-kselftest/tools/testing/selftests/powerpc/ptrace/ |
D | ptrace-perf-hwbreak.c | 571 static int do_test(const char *msg, int (*fun)(pid_t arg), pid_t arg) in do_test() function 604 ret |= do_test(desc[0], test1, child_pid); in test() 605 ret |= do_test(desc[1], test2, child_pid); in test() 606 ret |= do_test(desc[2], test3, child_pid); in test() 607 ret |= do_test(desc[3], test4, child_pid); in test() 608 ret |= do_test(desc[4], test5, child_pid); in test() 609 ret |= do_test(desc[5], test6, child_pid); in test() 610 ret |= do_test(desc[6], test7, child_pid); in test() 611 ret |= do_test(desc[7], test8, child_pid); in test() 612 ret |= do_test(desc[8], test9, child_pid); in test() [all …]
|
/external/linux-kselftest/tools/testing/selftests/arm64/bti/ |
D | test.c | 147 #define do_test(expect_sigill_br_x0, \ macro 219 do_test(1, 1, 1, nohint_func); in start() 220 do_test(1, 1, 1, bti_none_func); in start() 221 do_test(1, 0, 0, bti_c_func); in start() 222 do_test(0, 0, 1, bti_j_func); in start() 223 do_test(0, 0, 0, bti_jc_func); in start() 224 do_test(1, 0, 0, paciasp_func); in start()
|
/external/igt-gpu-tools/tests/ |
D | kms_cursor_crc.c | 245 static void do_test(data_t *data, in do_test() function 264 do_test(data, left, right, top, bottom); in test_crc_onscreen() 267 …do_test(data, left - (cursor_w-2), right + (cursor_w-2), top , bottom … in test_crc_onscreen() 268 …do_test(data, left , right , top - (cursor_h-2), bottom + (cursor_h-2)… in test_crc_onscreen() 269 …do_test(data, left - (cursor_w-2), right + (cursor_w-2), top - (cursor_h-2), bottom + (cursor_h-2)… in test_crc_onscreen() 272 …do_test(data, left - (cursor_w-1), right + (cursor_w-1), top , bottom … in test_crc_onscreen() 273 …do_test(data, left , right , top - (cursor_h-1), bottom + (cursor_h-1)… in test_crc_onscreen() 274 …do_test(data, left - (cursor_w-1), right + (cursor_w-1), top - (cursor_h-1), bottom + (cursor_h-1)… in test_crc_onscreen() 287 do_test(data, left - (cursor_w), right + (cursor_w), top , bottom ); in test_crc_offscreen() 288 do_test(data, left , right , top - (cursor_h), bottom + (cursor_h)); in test_crc_offscreen() [all …]
|
/external/cronet/buildtools/third_party/libc++/trunk/test/std/utilities/function.objects/bind/func.bind/func.bind.bind/ |
D | bind_return_type.pass.cpp | 50 void do_test(Fn* func) { in do_test() function 121 do_test<int>(return_value); in main() 122 do_test<int&>(return_lvalue); in main() 123 do_test<const int&>(return_const_lvalue); in main() 124 do_test<int&&>(return_rvalue); in main() 125 do_test<const int&&>(return_const_rvalue); in main()
|
/external/libcxx/test/std/utilities/function.objects/bind/func.bind/func.bind.bind/ |
D | bind_return_type.pass.cpp | 50 void do_test(Fn* func) { in do_test() function 121 do_test<int>(return_value); in main() 122 do_test<int&>(return_lvalue); in main() 123 do_test<const int&>(return_const_lvalue); in main() 124 do_test<int&&>(return_rvalue); in main() 125 do_test<const int&&>(return_const_rvalue); in main()
|
/external/libevent/test/ |
D | test.sh | 133 do_test() { function 177 [ $timerfd -eq 0 ] || do_test EPOLL "(timerfd)" 178 [ $changelist -eq 0 ] || do_test EPOLL "(changelist)" 179 [ $timerfd_changelist -eq 0 ] || do_test EPOLL "(timerfd+changelist)" 181 do_test $i
|
/external/igt-gpu-tools/tests/i915/ |
D | gem_reloc_vs_gpu.c | 196 static void do_test(int fd, bool faulting_reloc, in do_test() function 284 do_test(fd, flags & FAULTING, flags & HANG ? bcs_hang : no_hang); in do_forked_test() 315 do_test(fd, false, no_hang); 318 do_test(fd, true, no_hang); 322 do_test(fd, false, no_hang); 325 do_test(fd, false, bcs_hang); 328 do_test(fd, true, no_hang); 331 do_test(fd, true, bcs_hang);
|
/external/linux-kselftest/tools/testing/selftests/uevent/ |
D | uevent_filtering.c | 240 static int do_test(unsigned long pre_flags, unsigned long post_flags, in do_test() function 387 ret = do_test(0, 0, true, sync_fd); in TEST() 401 ret = do_test(CLONE_NEWNET, 0, true, sync_fd); in TEST() 416 ret = do_test(CLONE_NEWUSER, 0, true, sync_fd); in TEST() 430 ret = do_test(CLONE_NEWUSER | CLONE_NEWNET, 0, false, sync_fd); in TEST() 445 ret = do_test(0, CLONE_NEWNET, true, sync_fd); in TEST() 460 ret = do_test(0, CLONE_NEWUSER, true, sync_fd); in TEST() 476 ret = do_test(0, CLONE_NEWUSER | CLONE_NEWNET, true, sync_fd); in TEST()
|
/external/cronet/buildtools/third_party/libc++/trunk/test/std/language.support/support.coroutines/coroutine.handle/coroutine.handle.completion/ |
D | done.pass.cpp | 29 void do_test(std::coroutine_handle<Promise> const& H) { in do_test() function 39 do_test(std::coroutine_handle<>{}); in main() 40 do_test(std::coroutine_handle<int>{}); in main()
|