Home
last modified time | relevance | path

Searched refs:testcases (Results 1 – 25 of 1155) sorted by relevance

12345678910>>...47

/external/ltp/android/
DAndroid.ltp.mk16 module_prebuilt := testcases/data/stress_floppy/dumpdir/1K_file
17 module_src_files := testcases/kernel/io/stress_floppy/datafiles/dumpdir/1K_file
20 module_prebuilt := testcases/data/mc_member/ManyGroups
21 module_src_files := testcases/network/multicast/mc_member/datafiles/ManyGroups
24 module_prebuilt := testcases/data/mc_member/TooManyGroups
25 module_src_files := testcases/network/multicast/mc_member/datafiles/TooManyGroups
28 module_prebuilt := testcases/data/ld01/d1.c
29 module_src_files := testcases/commands/ld/datafiles/d1.c
32 module_prebuilt := testcases/data/stress_floppy/dd_file
33 module_src_files := testcases/kernel/io/stress_floppy/datafiles/dd_file
[all …]
/external/ltp/
Dgen.bp24 "testcases/kernel/controllers/libcontrollers/libcontrollers.c",
36 "testcases/kernel/controllers/cpuset/cpuset_lib/cpuinfo.c",
37 "testcases/kernel/controllers/cpuset/cpuset_lib/libbitmask.c",
38 "testcases/kernel/controllers/cpuset/cpuset_lib/libcpuset.c",
39 "testcases/kernel/controllers/cpuset/cpuset_lib/meminfo.c",
49 "testcases/kernel/include",
50 "testcases/kernel/mem/include",
53 "testcases/kernel/mem/hugetlb/lib/hugetlb.c",
65 "testcases/kernel/syscalls/ipc/lib/libipc.c",
66 "testcases/kernel/syscalls/ipc/lib/libmsgctl.c",
[all …]
/external/libcxx/test/std/numerics/complex.number/complex.transcendentals/
Dexp.pass.cpp37 const unsigned N = sizeof(testcases) / sizeof(testcases[0]); in test_edges()
40 std::complex<double> r = exp(testcases[i]); in test_edges()
41 if (testcases[i].real() == 0 && testcases[i].imag() == 0) in test_edges()
45 assert(std::signbit(testcases[i].imag()) == std::signbit(r.imag())); in test_edges()
47 else if (std::isfinite(testcases[i].real()) && std::isinf(testcases[i].imag())) in test_edges()
52 else if (std::isfinite(testcases[i].real()) && std::isnan(testcases[i].imag())) in test_edges()
57 … else if (std::isinf(testcases[i].real()) && testcases[i].real() > 0 && testcases[i].imag() == 0) in test_edges()
62 assert(std::signbit(testcases[i].imag()) == std::signbit(r.imag())); in test_edges()
64 …else if (std::isinf(testcases[i].real()) && testcases[i].real() < 0 && std::isinf(testcases[i].ima… in test_edges()
69 …else if (std::isinf(testcases[i].real()) && testcases[i].real() > 0 && std::isinf(testcases[i].ima… in test_edges()
[all …]
Dacos.pass.cpp38 const unsigned N = sizeof(testcases) / sizeof(testcases[0]); in test_edges()
41 std::complex<double> r = acos(testcases[i]); in test_edges()
42 if (testcases[i].real() == 0 && testcases[i].imag() == 0) in test_edges()
46 assert(std::signbit(testcases[i].imag()) != std::signbit(r.imag())); in test_edges()
48 else if (testcases[i].real() == 0 && std::isnan(testcases[i].imag())) in test_edges()
53 else if (std::isfinite(testcases[i].real()) && std::isinf(testcases[i].imag())) in test_edges()
57 assert(std::signbit(testcases[i].imag()) != std::signbit(r.imag())); in test_edges()
59 …else if (std::isfinite(testcases[i].real()) && testcases[i].real() != 0 && std::isnan(testcases[i]… in test_edges()
64 …else if (std::isinf(testcases[i].real()) && testcases[i].real() < 0 && std::isfinite(testcases[i].… in test_edges()
68 assert(std::signbit(testcases[i].imag()) != std::signbit(r.imag())); in test_edges()
[all …]
Dlog.pass.cpp38 const unsigned N = sizeof(testcases) / sizeof(testcases[0]); in test_edges()
41 std::complex<double> r = log(testcases[i]); in test_edges()
42 if (testcases[i].real() == 0 && testcases[i].imag() == 0) in test_edges()
44 if (std::signbit(testcases[i].real())) in test_edges()
48 if (std::signbit(testcases[i].imag())) in test_edges()
58 assert(std::signbit(testcases[i].imag()) == std::signbit(r.imag())); in test_edges()
61 else if (std::isfinite(testcases[i].real()) && std::isinf(testcases[i].imag())) in test_edges()
65 if (testcases[i].imag() > 0) in test_edges()
70 else if (std::isfinite(testcases[i].real()) && std::isnan(testcases[i].imag())) in test_edges()
75 …else if (std::isinf(testcases[i].real()) && testcases[i].real() < 0 && std::isfinite(testcases[i].… in test_edges()
[all …]
Dasinh.pass.cpp38 const unsigned N = sizeof(testcases) / sizeof(testcases[0]); in test_edges()
41 std::complex<double> r = asinh(testcases[i]); in test_edges()
42 if (testcases[i].real() == 0 && testcases[i].imag() == 0) in test_edges()
44 assert(std::signbit(r.real()) == std::signbit(testcases[i].real())); in test_edges()
45 assert(std::signbit(r.imag()) == std::signbit(testcases[i].imag())); in test_edges()
47 else if (testcases[i].real() == 0 && std::abs(testcases[i].imag()) == 1) in test_edges()
50 assert(std::signbit(testcases[i].imag()) == std::signbit(r.imag())); in test_edges()
51 if (std::signbit(testcases[i].imag())) in test_edges()
56 else if (std::isfinite(testcases[i].real()) && std::isinf(testcases[i].imag())) in test_edges()
59 assert(std::signbit(testcases[i].real()) == std::signbit(r.real())); in test_edges()
[all …]
Datanh.pass.cpp38 const unsigned N = sizeof(testcases) / sizeof(testcases[0]); in test_edges()
41 std::complex<double> r = atanh(testcases[i]); in test_edges()
42 if (testcases[i].real() == 0 && testcases[i].imag() == 0) in test_edges()
44 assert(std::signbit(r.real()) == std::signbit(testcases[i].real())); in test_edges()
45 assert(std::signbit(r.imag()) == std::signbit(testcases[i].imag())); in test_edges()
47 else if ( testcases[i].real() == 0 && std::isnan(testcases[i].imag())) in test_edges()
50 assert(std::signbit(testcases[i].real()) == std::signbit(r.real())); in test_edges()
53 else if (std::abs(testcases[i].real()) == 1 && testcases[i].imag() == 0) in test_edges()
56 assert(std::signbit(testcases[i].real()) == std::signbit(r.real())); in test_edges()
58 assert(std::signbit(testcases[i].imag()) == std::signbit(r.imag())); in test_edges()
[all …]
Dacosh.pass.cpp38 const unsigned N = sizeof(testcases) / sizeof(testcases[0]); in test_edges()
41 std::complex<double> r = acosh(testcases[i]); in test_edges()
42 if (testcases[i].real() == 0 && testcases[i].imag() == 0) in test_edges()
45 if (std::signbit(testcases[i].imag())) in test_edges()
50 else if (testcases[i].real() == 1 && testcases[i].imag() == 0) in test_edges()
55 assert(std::signbit(r.imag()) == std::signbit(testcases[i].imag())); in test_edges()
57 else if (testcases[i].real() == -1 && testcases[i].imag() == 0) in test_edges()
61 if (std::signbit(testcases[i].imag())) in test_edges()
66 else if (std::isfinite(testcases[i].real()) && std::isinf(testcases[i].imag())) in test_edges()
70 if (std::signbit(testcases[i].imag())) in test_edges()
[all …]
Dasin.pass.cpp38 const unsigned N = sizeof(testcases) / sizeof(testcases[0]); in test_edges()
41 std::complex<double> r = asin(testcases[i]); in test_edges()
42 if (testcases[i].real() == 0 && testcases[i].imag() == 0) in test_edges()
44 assert(std::signbit(r.real()) == std::signbit(testcases[i].real())); in test_edges()
45 assert(std::signbit(r.imag()) == std::signbit(testcases[i].imag())); in test_edges()
47 else if (std::isfinite(testcases[i].real()) && std::isinf(testcases[i].imag())) in test_edges()
50 assert(std::signbit(testcases[i].real()) == std::signbit(r.real())); in test_edges()
52 assert(std::signbit(testcases[i].imag()) == std::signbit(r.imag())); in test_edges()
54 else if ( testcases[i].real() == 0 && std::isnan(testcases[i].imag())) in test_edges()
57 assert(std::signbit(testcases[i].real()) == std::signbit(r.real())); in test_edges()
[all …]
Dsinh.pass.cpp37 const unsigned N = sizeof(testcases) / sizeof(testcases[0]); in test_edges()
40 std::complex<double> r = sinh(testcases[i]); in test_edges()
41 if (testcases[i].real() == 0 && testcases[i].imag() == 0) in test_edges()
44 assert(std::signbit(r.real()) == std::signbit(testcases[i].real())); in test_edges()
46 assert(std::signbit(r.imag()) == std::signbit(testcases[i].imag())); in test_edges()
48 else if (testcases[i].real() == 0 && std::isinf(testcases[i].imag())) in test_edges()
53 else if (std::isfinite(testcases[i].real()) && std::isinf(testcases[i].imag())) in test_edges()
58 else if (testcases[i].real() == 0 && std::isnan(testcases[i].imag())) in test_edges()
63 else if (std::isfinite(testcases[i].real()) && std::isnan(testcases[i].imag())) in test_edges()
68 else if (std::isinf(testcases[i].real()) && testcases[i].imag() == 0) in test_edges()
[all …]
Dcosh.pass.cpp37 const unsigned N = sizeof(testcases) / sizeof(testcases[0]); in test_edges()
40 std::complex<double> r = cosh(testcases[i]); in test_edges()
41 if (testcases[i].real() == 0 && testcases[i].imag() == 0) in test_edges()
45 assert(std::signbit(r.imag()) == std::signbit(testcases[i].imag())); in test_edges()
47 else if (testcases[i].real() == 0 && std::isinf(testcases[i].imag())) in test_edges()
52 else if (testcases[i].real() == 0 && std::isnan(testcases[i].imag())) in test_edges()
57 else if (std::isfinite(testcases[i].real()) && std::isinf(testcases[i].imag())) in test_edges()
62 else if (std::isfinite(testcases[i].real()) && std::isnan(testcases[i].imag())) in test_edges()
67 else if (std::isinf(testcases[i].real()) && testcases[i].imag() == 0) in test_edges()
72 assert(std::signbit(r.imag()) == std::signbit(testcases[i].imag())); in test_edges()
[all …]
Dsqrt.pass.cpp39 const unsigned N = sizeof(testcases) / sizeof(testcases[0]); in test_edges()
42 std::complex<double> r = sqrt(testcases[i]); in test_edges()
43 if (testcases[i].real() == 0 && testcases[i].imag() == 0) in test_edges()
46 assert(std::signbit(r.imag()) == std::signbit(testcases[i].imag())); in test_edges()
48 else if (std::isinf(testcases[i].imag())) in test_edges()
53 assert(std::signbit(r.imag()) == std::signbit(testcases[i].imag())); in test_edges()
55 else if (std::isfinite(testcases[i].real()) && std::isnan(testcases[i].imag())) in test_edges()
60 …else if (std::isinf(testcases[i].real()) && testcases[i].real() < 0 && std::isfinite(testcases[i].… in test_edges()
65 assert(std::signbit(testcases[i].imag()) == std::signbit(r.imag())); in test_edges()
67 …else if (std::isinf(testcases[i].real()) && testcases[i].real() > 0 && std::isfinite(testcases[i].… in test_edges()
[all …]
Dtanh.pass.cpp37 const unsigned N = sizeof(testcases) / sizeof(testcases[0]); in test_edges()
40 std::complex<double> r = tanh(testcases[i]); in test_edges()
41 if (testcases[i].real() == 0 && testcases[i].imag() == 0) in test_edges()
44 assert(std::signbit(r.real()) == std::signbit(testcases[i].real())); in test_edges()
46 assert(std::signbit(r.imag()) == std::signbit(testcases[i].imag())); in test_edges()
48 else if (std::isfinite(testcases[i].real()) && std::isinf(testcases[i].imag())) in test_edges()
53 else if (std::isfinite(testcases[i].real()) && std::isnan(testcases[i].imag())) in test_edges()
58 else if (std::isinf(testcases[i].real()) && std::isfinite(testcases[i].imag())) in test_edges()
62 assert(std::signbit(r.imag()) == std::signbit(sin(2*testcases[i].imag()))); in test_edges()
64 else if (std::isinf(testcases[i].real()) && std::isinf(testcases[i].imag())) in test_edges()
[all …]
/external/llvm-project/libcxx/test/std/numerics/complex.number/complex.transcendentals/
Dexp.pass.cpp37 const unsigned N = sizeof(testcases) / sizeof(testcases[0]); in test_edges()
40 std::complex<double> r = exp(testcases[i]); in test_edges()
41 if (testcases[i].real() == 0 && testcases[i].imag() == 0) in test_edges()
45 assert(std::signbit(testcases[i].imag()) == std::signbit(r.imag())); in test_edges()
47 else if (std::isfinite(testcases[i].real()) && std::isinf(testcases[i].imag())) in test_edges()
52 else if (std::isfinite(testcases[i].real()) && std::isnan(testcases[i].imag())) in test_edges()
57 … else if (std::isinf(testcases[i].real()) && testcases[i].real() > 0 && testcases[i].imag() == 0) in test_edges()
62 assert(std::signbit(testcases[i].imag()) == std::signbit(r.imag())); in test_edges()
64 …else if (std::isinf(testcases[i].real()) && testcases[i].real() < 0 && std::isinf(testcases[i].ima… in test_edges()
69 …else if (std::isinf(testcases[i].real()) && testcases[i].real() > 0 && std::isinf(testcases[i].ima… in test_edges()
[all …]
Dacos.pass.cpp38 const unsigned N = sizeof(testcases) / sizeof(testcases[0]); in test_edges()
41 std::complex<double> r = acos(testcases[i]); in test_edges()
42 if (testcases[i].real() == 0 && testcases[i].imag() == 0) in test_edges()
46 assert(std::signbit(testcases[i].imag()) != std::signbit(r.imag())); in test_edges()
48 else if (testcases[i].real() == 0 && std::isnan(testcases[i].imag())) in test_edges()
53 else if (std::isfinite(testcases[i].real()) && std::isinf(testcases[i].imag())) in test_edges()
57 assert(std::signbit(testcases[i].imag()) != std::signbit(r.imag())); in test_edges()
59 …else if (std::isfinite(testcases[i].real()) && testcases[i].real() != 0 && std::isnan(testcases[i]… in test_edges()
64 …else if (std::isinf(testcases[i].real()) && testcases[i].real() < 0 && std::isfinite(testcases[i].… in test_edges()
68 assert(std::signbit(testcases[i].imag()) != std::signbit(r.imag())); in test_edges()
[all …]
Dlog.pass.cpp38 const unsigned N = sizeof(testcases) / sizeof(testcases[0]); in test_edges()
41 std::complex<double> r = log(testcases[i]); in test_edges()
42 if (testcases[i].real() == 0 && testcases[i].imag() == 0) in test_edges()
44 if (std::signbit(testcases[i].real())) in test_edges()
48 if (std::signbit(testcases[i].imag())) in test_edges()
58 assert(std::signbit(testcases[i].imag()) == std::signbit(r.imag())); in test_edges()
61 else if (std::isfinite(testcases[i].real()) && std::isinf(testcases[i].imag())) in test_edges()
65 if (testcases[i].imag() > 0) in test_edges()
70 else if (std::isfinite(testcases[i].real()) && std::isnan(testcases[i].imag())) in test_edges()
75 …else if (std::isinf(testcases[i].real()) && testcases[i].real() < 0 && std::isfinite(testcases[i].… in test_edges()
[all …]
Dasinh.pass.cpp38 const unsigned N = sizeof(testcases) / sizeof(testcases[0]); in test_edges()
41 std::complex<double> r = asinh(testcases[i]); in test_edges()
42 if (testcases[i].real() == 0 && testcases[i].imag() == 0) in test_edges()
44 assert(std::signbit(r.real()) == std::signbit(testcases[i].real())); in test_edges()
45 assert(std::signbit(r.imag()) == std::signbit(testcases[i].imag())); in test_edges()
47 else if (testcases[i].real() == 0 && std::abs(testcases[i].imag()) == 1) in test_edges()
50 assert(std::signbit(testcases[i].imag()) == std::signbit(r.imag())); in test_edges()
51 if (std::signbit(testcases[i].imag())) in test_edges()
56 else if (std::isfinite(testcases[i].real()) && std::isinf(testcases[i].imag())) in test_edges()
59 assert(std::signbit(testcases[i].real()) == std::signbit(r.real())); in test_edges()
[all …]
Datanh.pass.cpp38 const unsigned N = sizeof(testcases) / sizeof(testcases[0]); in test_edges()
41 std::complex<double> r = atanh(testcases[i]); in test_edges()
42 if (testcases[i].real() == 0 && testcases[i].imag() == 0) in test_edges()
44 assert(std::signbit(r.real()) == std::signbit(testcases[i].real())); in test_edges()
45 assert(std::signbit(r.imag()) == std::signbit(testcases[i].imag())); in test_edges()
47 else if ( testcases[i].real() == 0 && std::isnan(testcases[i].imag())) in test_edges()
50 assert(std::signbit(testcases[i].real()) == std::signbit(r.real())); in test_edges()
53 else if (std::abs(testcases[i].real()) == 1 && testcases[i].imag() == 0) in test_edges()
56 assert(std::signbit(testcases[i].real()) == std::signbit(r.real())); in test_edges()
58 assert(std::signbit(testcases[i].imag()) == std::signbit(r.imag())); in test_edges()
[all …]
Dacosh.pass.cpp38 const unsigned N = sizeof(testcases) / sizeof(testcases[0]); in test_edges()
41 std::complex<double> r = acosh(testcases[i]); in test_edges()
42 if (testcases[i].real() == 0 && testcases[i].imag() == 0) in test_edges()
45 if (std::signbit(testcases[i].imag())) in test_edges()
50 else if (testcases[i].real() == 1 && testcases[i].imag() == 0) in test_edges()
55 assert(std::signbit(r.imag()) == std::signbit(testcases[i].imag())); in test_edges()
57 else if (testcases[i].real() == -1 && testcases[i].imag() == 0) in test_edges()
61 if (std::signbit(testcases[i].imag())) in test_edges()
66 else if (std::isfinite(testcases[i].real()) && std::isinf(testcases[i].imag())) in test_edges()
70 if (std::signbit(testcases[i].imag())) in test_edges()
[all …]
Dsinh.pass.cpp37 const unsigned N = sizeof(testcases) / sizeof(testcases[0]); in test_edges()
40 std::complex<double> r = sinh(testcases[i]); in test_edges()
41 if (testcases[i].real() == 0 && testcases[i].imag() == 0) in test_edges()
44 assert(std::signbit(r.real()) == std::signbit(testcases[i].real())); in test_edges()
46 assert(std::signbit(r.imag()) == std::signbit(testcases[i].imag())); in test_edges()
48 else if (testcases[i].real() == 0 && std::isinf(testcases[i].imag())) in test_edges()
53 else if (std::isfinite(testcases[i].real()) && std::isinf(testcases[i].imag())) in test_edges()
58 else if (testcases[i].real() == 0 && std::isnan(testcases[i].imag())) in test_edges()
63 else if (std::isfinite(testcases[i].real()) && std::isnan(testcases[i].imag())) in test_edges()
68 else if (std::isinf(testcases[i].real()) && testcases[i].imag() == 0) in test_edges()
[all …]
Dasin.pass.cpp38 const unsigned N = sizeof(testcases) / sizeof(testcases[0]); in test_edges()
41 std::complex<double> r = asin(testcases[i]); in test_edges()
42 if (testcases[i].real() == 0 && testcases[i].imag() == 0) in test_edges()
44 assert(std::signbit(r.real()) == std::signbit(testcases[i].real())); in test_edges()
45 assert(std::signbit(r.imag()) == std::signbit(testcases[i].imag())); in test_edges()
47 else if (std::isfinite(testcases[i].real()) && std::isinf(testcases[i].imag())) in test_edges()
50 assert(std::signbit(testcases[i].real()) == std::signbit(r.real())); in test_edges()
52 assert(std::signbit(testcases[i].imag()) == std::signbit(r.imag())); in test_edges()
54 else if ( testcases[i].real() == 0 && std::isnan(testcases[i].imag())) in test_edges()
57 assert(std::signbit(testcases[i].real()) == std::signbit(r.real())); in test_edges()
[all …]
Dcosh.pass.cpp37 const unsigned N = sizeof(testcases) / sizeof(testcases[0]); in test_edges()
40 std::complex<double> r = cosh(testcases[i]); in test_edges()
41 if (testcases[i].real() == 0 && testcases[i].imag() == 0) in test_edges()
45 assert(std::signbit(r.imag()) == std::signbit(testcases[i].imag())); in test_edges()
47 else if (testcases[i].real() == 0 && std::isinf(testcases[i].imag())) in test_edges()
52 else if (testcases[i].real() == 0 && std::isnan(testcases[i].imag())) in test_edges()
57 else if (std::isfinite(testcases[i].real()) && std::isinf(testcases[i].imag())) in test_edges()
62 else if (std::isfinite(testcases[i].real()) && std::isnan(testcases[i].imag())) in test_edges()
67 else if (std::isinf(testcases[i].real()) && testcases[i].imag() == 0) in test_edges()
72 assert(std::signbit(r.imag()) == std::signbit(testcases[i].imag())); in test_edges()
[all …]
Dsqrt.pass.cpp39 const unsigned N = sizeof(testcases) / sizeof(testcases[0]); in test_edges()
42 std::complex<double> r = sqrt(testcases[i]); in test_edges()
43 if (testcases[i].real() == 0 && testcases[i].imag() == 0) in test_edges()
46 assert(std::signbit(r.imag()) == std::signbit(testcases[i].imag())); in test_edges()
48 else if (std::isinf(testcases[i].imag())) in test_edges()
53 assert(std::signbit(r.imag()) == std::signbit(testcases[i].imag())); in test_edges()
55 else if (std::isfinite(testcases[i].real()) && std::isnan(testcases[i].imag())) in test_edges()
60 …else if (std::isinf(testcases[i].real()) && testcases[i].real() < 0 && std::isfinite(testcases[i].… in test_edges()
65 assert(std::signbit(testcases[i].imag()) == std::signbit(r.imag())); in test_edges()
67 …else if (std::isinf(testcases[i].real()) && testcases[i].real() > 0 && std::isfinite(testcases[i].… in test_edges()
[all …]
/external/libcxx/test/std/numerics/complex.number/complex.value.ops/
Darg.pass.cpp32 const unsigned N = sizeof(testcases) / sizeof(testcases[0]); in test_edges()
35 double r = arg(testcases[i]); in test_edges()
36 if (std::isnan(testcases[i].real()) || std::isnan(testcases[i].imag())) in test_edges()
40 switch (classify(testcases[i])) in test_edges()
43 if (std::signbit(testcases[i].real())) in test_edges()
45 if (std::signbit(testcases[i].imag())) in test_edges()
52 assert(std::signbit(testcases[i].imag()) == std::signbit(r)); in test_edges()
56 if (testcases[i].real() == 0) in test_edges()
58 if (testcases[i].imag() < 0) in test_edges()
63 else if (testcases[i].imag() == 0) in test_edges()
[all …]
/external/llvm-project/libcxx/test/std/numerics/complex.number/complex.value.ops/
Darg.pass.cpp32 const unsigned N = sizeof(testcases) / sizeof(testcases[0]); in test_edges()
35 double r = arg(testcases[i]); in test_edges()
36 if (std::isnan(testcases[i].real()) || std::isnan(testcases[i].imag())) in test_edges()
40 switch (classify(testcases[i])) in test_edges()
43 if (std::signbit(testcases[i].real())) in test_edges()
45 if (std::signbit(testcases[i].imag())) in test_edges()
52 assert(std::signbit(testcases[i].imag()) == std::signbit(r)); in test_edges()
56 if (testcases[i].real() == 0) in test_edges()
58 if (testcases[i].imag() < 0) in test_edges()
63 else if (testcases[i].imag() == 0) in test_edges()
[all …]

12345678910>>...47