/external/ltp/android/ |
D | Android.ltp.mk | 16 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/ |
D | gen.bp | 24 "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/ |
D | exp.pass.cpp | 37 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 …]
|
D | acos.pass.cpp | 38 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 …]
|
D | log.pass.cpp | 38 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 …]
|
D | asinh.pass.cpp | 38 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 …]
|
D | atanh.pass.cpp | 38 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 …]
|
D | acosh.pass.cpp | 38 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 …]
|
D | asin.pass.cpp | 38 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 …]
|
D | sinh.pass.cpp | 37 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 …]
|
D | cosh.pass.cpp | 37 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 …]
|
D | sqrt.pass.cpp | 39 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 …]
|
D | tanh.pass.cpp | 37 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/ |
D | exp.pass.cpp | 37 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 …]
|
D | acos.pass.cpp | 38 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 …]
|
D | log.pass.cpp | 38 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 …]
|
D | asinh.pass.cpp | 38 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 …]
|
D | atanh.pass.cpp | 38 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 …]
|
D | acosh.pass.cpp | 38 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 …]
|
D | sinh.pass.cpp | 37 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 …]
|
D | asin.pass.cpp | 38 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 …]
|
D | cosh.pass.cpp | 37 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 …]
|
D | sqrt.pass.cpp | 39 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/ |
D | arg.pass.cpp | 32 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/ |
D | arg.pass.cpp | 32 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 …]
|