Home
last modified time | relevance | path

Searched refs:do_test (Results 1 – 25 of 335) sorted by relevance

12345678910>>...14

/external/libcxx/test/std/numerics/numeric.ops/numeric.ops.gcd/
Dgcd.pass.cpp53 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/linux-kselftest/tools/testing/selftests/net/
Dtcp_fastopen_backup_key.sh26 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 …]
/external/libcxx/test/std/numerics/numeric.ops/numeric.ops.lcm/
Dlcm.pass.cpp52 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/
Dfcntl11.c66 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 …]
Dfcntl21.c65 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 …]
Dfcntl19.c70 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 …]
Dfcntl20.c66 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/
D0006-policy-override_010 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/
Dentry_from_vm86.c134 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/
Dtest_audit.py19 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/igt-gpu-tools/tests/
Dkms_cursor_crc.c245 static void do_test(data_t *data, in do_test() function
264 do_test(data, left, right, top, bottom); in test_crc_onscreen()
267do_test(data, left - (cursor_w-2), right + (cursor_w-2), top , bottom … in test_crc_onscreen()
268do_test(data, left , right , top - (cursor_h-2), bottom + (cursor_h-2)… in test_crc_onscreen()
269do_test(data, left - (cursor_w-2), right + (cursor_w-2), top - (cursor_h-2), bottom + (cursor_h-2)… in test_crc_onscreen()
272do_test(data, left - (cursor_w-1), right + (cursor_w-1), top , bottom … in test_crc_onscreen()
273do_test(data, left , right , top - (cursor_h-1), bottom + (cursor_h-1)… in test_crc_onscreen()
274do_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/libcxx/test/std/utilities/function.objects/bind/func.bind/func.bind.bind/
Dbind_return_type.pass.cpp50 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/
Dtest.sh133 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/
Dgem_reloc_vs_gpu.c196 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/
Duevent_filtering.c241 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/
Ddone.pass.cpp32 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/libcxx/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.export/
Dfrom_address.pass.cpp27 void do_test() { in do_test() function
44 do_test<coro::coroutine_handle<>>(); in main()
45 do_test<coro::coroutine_handle<int>>(); in main()
Daddress.pass.cpp29 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/chromium-trace/catapult/common/py_vulcanize/third_party/rcssmin/
Drun_tests.py73 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.con/
Dconstruct.pass.cpp28 void do_test() { in do_test() function
51 do_test<coro::coroutine_handle<>>(); in main()
52 do_test<coro::coroutine_handle<int>>(); in main()
Dassign.pass.cpp27 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/
Doperator_bool.pass.cpp29 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/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.array/
Dnew_align_val_t_nothrow.pass.cpp73 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/
Dnew_align_val_t_nothrow.pass.cpp73 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/
Ddestroy.pass.cpp42 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()

12345678910>>...14