/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/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/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 | 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 …]
|
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 …]
|
/external/linux-kselftest/tools/testing/selftests/x86/ |
D | entry_from_vm86.c | 135 static bool do_test(struct vm86plus_struct *v86, unsigned long eip, in do_test() function 204 do_test(vm86, vmcode_umip - vmcode, VM86_TRAP, 3, "UMIP tests"); in do_umip_tests() 241 do_test(vm86, vmcode_umip_str - vmcode, VM86_SIGNAL, 0, in do_umip_tests() 246 do_test(vm86, vmcode_umip_sldt - vmcode, VM86_SIGNAL, 0, in do_umip_tests() 277 do_test(&v86, vmcode_bound - vmcode, VM86_INTx, 5, "#BR"); in main() 286 do_test(&v86, vmcode_sysenter - vmcode, -1, 0, "SYSENTER"); in main() 297 do_test(&v86, vmcode_syscall - vmcode, VM86_SIGNAL, 0, "SYSCALL"); in main() 303 do_test(&v86, vmcode_sti - vmcode, VM86_STI, 0, "STI with VIP set"); in main() 308 do_test(&v86, vmcode_popf_hlt - vmcode, VM86_UNKNOWN, 0, "POPF with VIP set and IF clear"); in main() 313 do_test(&v86, vmcode_popf_hlt - vmcode, VM86_STI, 0, "POPF with VIP and IF set"); in main() [all …]
|
/external/tensorflow/tensorflow/python/data/kernel_tests/ |
D | skip_test.py | 34 def do_test(count): function 46 do_test(4) 49 do_test(25) 52 do_test(10) 55 do_test(-1) 58 do_test(0)
|
D | take_test.py | 34 def do_test(count): function 44 do_test(4) 47 do_test(25) 50 do_test(-1) 53 do_test(0)
|
D | repeat_test.py | 38 def do_test(count): function 46 do_test(3) 49 do_test(7) 52 do_test(0)
|
/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/linux-kselftest/tools/testing/selftests/uevent/ |
D | uevent_filtering.c | 241 static int do_test(unsigned long pre_flags, unsigned long post_flags, in do_test() function 388 ret = do_test(0, 0, true, sync_fd); in TEST() 402 ret = do_test(CLONE_NEWNET, 0, true, sync_fd); in TEST() 417 ret = do_test(CLONE_NEWUSER, 0, true, sync_fd); in TEST() 431 ret = do_test(CLONE_NEWUSER | CLONE_NEWNET, 0, false, sync_fd); in TEST() 446 ret = do_test(0, CLONE_NEWNET, true, sync_fd); in TEST() 461 ret = do_test(0, CLONE_NEWUSER, true, sync_fd); in TEST() 477 ret = do_test(0, CLONE_NEWUSER | CLONE_NEWNET, true, sync_fd); in TEST()
|
/external/libcxx/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.completion/ |
D | done.pass.cpp | 32 void do_test(coro::coroutine_handle<Promise> const& H) { in do_test() function 42 do_test(coro::coroutine_handle<>{}); in main() 43 do_test(coro::coroutine_handle<int>{}); in main()
|
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rcssmin/ |
D | run_tests.py | 73 def do_test(cssmin, output, **options): function 88 erred, out = do_test(py_cssmin, output) 89 erred, c_out = do_test(c_cssmin, output) 90 erred, out_b = do_test(py_cssmin, output_b, keep_bang_comments=True) 91 erred, c_out_b = do_test(c_cssmin, output_b, keep_bang_comments=True)
|
/external/libcxx/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.export/ |
D | from_address.pass.cpp | 27 void do_test() { in do_test() function 44 do_test<coro::coroutine_handle<>>(); in main() 45 do_test<coro::coroutine_handle<int>>(); in main()
|
D | address.pass.cpp | 29 void do_test() { in do_test() function 49 do_test<coro::coroutine_handle<>>(); in main() 50 do_test<coro::coroutine_handle<int>>(); in main()
|
/external/libcxx/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.con/ |
D | construct.pass.cpp | 28 void do_test() { in do_test() function 51 do_test<coro::coroutine_handle<>>(); in main() 52 do_test<coro::coroutine_handle<int>>(); in main()
|
D | assign.pass.cpp | 27 void do_test() { in do_test() function 52 do_test<coro::coroutine_handle<>>(); in main() 53 do_test<coro::coroutine_handle<int>>(); in main()
|
/external/libcxx/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.capacity/ |
D | operator_bool.pass.cpp | 29 void do_test() { in do_test() function 56 do_test<coro::coroutine_handle<>>(); in main() 57 do_test<coro::coroutine_handle<int>>(); in main()
|
/external/ltp/testcases/kernel/syscalls/accept4/ |
D | accept4_01.c | 102 do_test(int lfd, struct sockaddr_in *conn_addr, in do_test() function 235 do_test(lfd, &conn_addr, 0, 0); in main() 236 do_test(lfd, &conn_addr, SOCK_CLOEXEC, 0); in main() 237 do_test(lfd, &conn_addr, 0, SOCK_NONBLOCK); in main() 238 do_test(lfd, &conn_addr, SOCK_CLOEXEC, SOCK_NONBLOCK); in main()
|
/external/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.array/ |
D | new_align_val_t_nothrow.pass.cpp | 73 auto do_test = []() { in test_max_alloc() local 83 do_test(); in test_max_alloc() 90 do_test(); in test_max_alloc()
|
/external/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.single/ |
D | new_align_val_t_nothrow.pass.cpp | 73 auto do_test = []() { in test_max_alloc() local 83 do_test(); in test_max_alloc() 90 do_test(); in test_max_alloc()
|
/external/libcxx/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.resumption/ |
D | destroy.pass.cpp | 42 void do_test(coro::coroutine_handle<Promise>&& H) { in do_test() function 59 do_test(coro::coroutine_handle<>{}); in main() 60 do_test(coro::coroutine_handle<int>{}); in main()
|
/external/ltp/testcases/kernel/syscalls/epoll_pwait/ |
D | epoll_pwait01.c | 52 static void do_test(sigset_t *); 67 do_test(&signalset); in main() 68 do_test(NULL); in main() 153 static void do_test(sigset_t *sigmask) in do_test() function
|