/external/ltp/android/ |
D | Android.ltp.mk | 16 module_prebuilt := testcases/bin/tcp4-uni-tso08 17 module_src_files := testcases/network/stress/tcp/uni-tso/tcp4-uni-tso08 20 module_prebuilt := testcases/bin/ssh02_s1 21 module_src_files := testcases/network/tcp_cmds/ssh/ssh02_s1 24 module_prebuilt := testcases/bin/tcp6-uni-sackoff11 25 module_src_files := testcases/network/stress/tcp/uni-sackoff/tcp6-uni-sackoff11 28 module_prebuilt := testcases/bin/tcp6-uni-sackoff10 29 module_src_files := testcases/network/stress/tcp/uni-sackoff/tcp6-uni-sackoff10 32 module_prebuilt := testcases/bin/tcp6-uni-sackoff13 33 module_src_files := testcases/network/stress/tcp/uni-sackoff/tcp6-uni-sackoff13 [all …]
|
/external/ltp/ |
D | gen.bp | 100 srcs: ["testcases/kernel/io/ltp-aiodio/dio_append.c"], 113 srcs: ["testcases/kernel/syscalls/acct/acct01.c"], 123 srcs: ["testcases/kernel/io/ltp-aiodio/aiodio_sparse.c"], 136 srcs: ["testcases/kernel/syscalls/umount2/umount2_01.c"], 146 srcs: ["testcases/kernel/syscalls/rename/rename05.c"], 156 srcs: ["testcases/kernel/syscalls/umount2/umount2_03.c"], 166 srcs: ["testcases/network/nfs/nfs_stress/nfs04_create_file.c"], 180 srcs: ["testcases/kernel/mem/tunable/overcommit_memory.c"], 183 "testcases/kernel/mem/include", 184 "testcases/kernel/include", [all …]
|
/external/libcxx/test/std/numerics/complex.number/complex.transcendentals/ |
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 | 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 | 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 | 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 (std::isfinite(testcases[i].real()) && std::isinf(testcases[i].imag())) in test_edges() 61 if (std::signbit(testcases[i].imag())) in test_edges() 66 else if (std::isfinite(testcases[i].real()) && std::isnan(testcases[i].imag())) in test_edges() 71 …else if (std::isinf(testcases[i].real()) && testcases[i].real() < 0 && std::isfinite(testcases[i].… 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 | 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 (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() 51 if (std::signbit(testcases[i].imag())) in test_edges() 56 else if (std::isfinite(testcases[i].real()) && std::isnan(testcases[i].imag())) in test_edges() 61 else if (std::isinf(testcases[i].real()) && std::isfinite(testcases[i].imag())) 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/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 …]
|
D | proj.pass.cpp | 40 const unsigned N = sizeof(testcases) / sizeof(testcases[0]); in test_edges() 43 std::complex<double> r = proj(testcases[i]); in test_edges() 44 switch (classify(testcases[i])) in test_edges() 48 assert(r == testcases[i]); in test_edges() 49 assert(std::signbit(real(r)) == std::signbit(real(testcases[i]))); in test_edges() 50 assert(std::signbit(imag(r)) == std::signbit(imag(testcases[i]))); in test_edges() 55 assert(std::signbit(imag(r)) == std::signbit(imag(testcases[i]))); in test_edges() 59 assert(classify(r) == classify(testcases[i])); in test_edges()
|
/external/ltp/testcases/kernel/controllers/ |
D | test_controllers.sh | 55 $LTPROOT/testcases/bin/run_cpuctl_test.sh 1; 56 $LTPROOT/testcases/bin/run_cpuctl_test.sh 3; 57 $LTPROOT/testcases/bin/run_cpuctl_test.sh 4; 58 $LTPROOT/testcases/bin/run_cpuctl_test.sh 5; 59 $LTPROOT/testcases/bin/run_cpuctl_stress_test.sh 6; 60 $LTPROOT/testcases/bin/run_cpuctl_stress_test.sh 7; 61 $LTPROOT/testcases/bin/run_cpuctl_stress_test.sh 8; 62 $LTPROOT/testcases/bin/run_cpuctl_stress_test.sh 9; 63 $LTPROOT/testcases/bin/run_cpuctl_stress_test.sh 10; 65 $LTPROOT/testcases/bin/run_cpuctl_latency_test.sh 1; [all …]
|
/external/protobuf/python/google/protobuf/internal/ |
D | _parameterized.py | 194 def __init__(self, test_method, testcases, naming_type): argument 209 self.testcases = testcases 253 return (MakeBoundParamTest(c) for c in self.testcases) 256 def _IsSingletonList(testcases): argument 258 return len(testcases) == 1 and not isinstance(testcases[0], tuple) 261 def _ModifyClass(class_object, testcases, naming_type): argument 275 _ParameterizedTestIter(obj, testcases, naming_type)) 280 def _ParameterDecorator(naming_type, testcases): argument 294 list(testcases) if not isinstance(testcases, collections.Sequence) 295 else testcases, [all …]
|
/external/ltp/testcases/kernel/syscalls/sysctl/ |
D | sysctl05.c | 78 struct testcases { struct 89 } testcases[] = { argument 120 TEST(sysctl(testcases[i].name, testcases[i].size, in main() 121 testcases[i].oldval, testcases[i].oldlen, in main() 122 testcases[i].newval, testcases[i].newlen)); in main() 124 if (TEST_RETURN != testcases[i].exp_retval) { in main() 127 testcases[i].exp_retval, ret); in main() 135 } else if (TEST_ERRNO != testcases[i].exp_errno) { in main() 138 testcases[i].exp_errno, errno); in main() 141 "to %d", testcases[i].exp_errno); in main() [all …]
|
/external/ltp/testcases/kernel/syscalls/getdents/ |
D | getdents01.c | 68 struct testcase testcases[] = { variable 172 for (i = 0; i < ARRAY_SIZE(testcases); i++) in reset_flags() 173 testcases[i].found = 0; in reset_flags() 180 for (i = 0; i < ARRAY_SIZE(testcases); i++) { in check_flags() 181 if (!testcases[i].found) { in check_flags() 182 tst_resm(TINFO, "Entry '%s' not found", testcases[i].name); in check_flags() 197 for (i = 0; i < ARRAY_SIZE(testcases); i++) { in set_flag() 198 if (!strcmp(name, testcases[i].name)) { in set_flag() 199 testcases[i].found = 1; in set_flag() 215 for (i = 0; i < ARRAY_SIZE(testcases); i++) { in setup() [all …]
|
/external/autotest/client/tests/ltp/patches/ |
D | sysctl.patch | 11 testcases/kernel/syscalls/sysctl/sysctl01.c | 15 +++++++++++++++ 12 testcases/kernel/syscalls/sysctl/sysctl03.c | 15 +++++++++++++++ 13 testcases/kernel/syscalls/sysctl/sysctl04.c | 15 +++++++++++++++ 14 testcases/kernel/syscalls/sysctl/sysctl05.c | 15 +++++++++++++++ 17 diff --git a/testcases/kernel/syscalls/sysctl/sysctl01.c b/testcases/kernel/syscalls/sysctl/sysctl0… 19 --- a/testcases/kernel/syscalls/sysctl/sysctl01.c 20 +++ b/testcases/kernel/syscalls/sysctl/sysctl01.c 47 diff --git a/testcases/kernel/syscalls/sysctl/sysctl03.c b/testcases/kernel/syscalls/sysctl/sysctl0… 49 --- a/testcases/kernel/syscalls/sysctl/sysctl03.c 50 +++ b/testcases/kernel/syscalls/sysctl/sysctl03.c [all …]
|
/external/libexif/test/nls/ |
D | test-codeset.c | 46 const TestCase testcases[] = { variable 80 const char *orig = testcases[i].orig; in check() 81 const char *transl = gettext(testcases[i].orig); in check() 82 const char *latin1 = testcases[i].latin1; in check() 83 const char *utf8 = testcases[i].utf8; in check() 166 for (i=0; testcases[i].locale != NULL; i++) { in checks() 167 const int localelen = strlen(testcases[i].locale); in checks() 168 if (strncmp(newlocale, testcases[i].locale, localelen) == 0) { in checks() 183 for (i=0; testcases[i].locale != NULL; i++) { in main() 184 printf("%s\n", testcases[i].locale); in main()
|
/external/libcxx/test/std/numerics/complex.number/complex.ops/ |
D | complex_times_complex.pass.cpp | 42 const unsigned N = sizeof(testcases) / sizeof(testcases[0]); in test_edges() 47 std::complex<double> r = testcases[i] * testcases[j]; in test_edges() 48 switch (classify(testcases[i])) in test_edges() 51 switch (classify(testcases[j])) in test_edges() 71 switch (classify(testcases[j])) in test_edges() 91 switch (classify(testcases[j])) in test_edges() 111 switch (classify(testcases[j])) in test_edges() 131 switch (classify(testcases[j])) in test_edges()
|
D | complex_divide_complex.pass.cpp | 40 const unsigned N = sizeof(testcases) / sizeof(testcases[0]); in test_edges() 45 std::complex<double> r = testcases[i] / testcases[j]; in test_edges() 46 switch (classify(testcases[i])) in test_edges() 49 switch (classify(testcases[j])) in test_edges() 69 switch (classify(testcases[j])) in test_edges() 89 switch (classify(testcases[j])) in test_edges() 109 switch (classify(testcases[j])) in test_edges() 129 switch (classify(testcases[j])) in test_edges()
|
/external/ltp/testcases/kernel/syscalls/sendfile/ |
D | sendfile03.c | 79 } testcases[] = { variable 103 if (testcases[i].setupfunc != NULL) { in main() 104 testcases[i].setupfunc(); in main() 107 TEST(sendfile(testcases[i].out_fd, testcases[i].in_fd, in main() 108 testcases[i].offset, testcases[i].count)); in main() 115 if (TEST_ERRNO != testcases[i].exp_errno) { in main() 118 testcases[i].exp_errno, TEST_ERRNO); in main()
|
/external/ltp/testcases/kernel/syscalls/sched_setparam/ |
D | sched_setparam02.c | 86 } testcases[] = { variable 93 int TST_TOTAL = sizeof(testcases) / sizeof(testcases[0]); 115 if ((sched_setscheduler(0, testcases[i].policy, in main() 120 param.sched_priority = testcases[i].priority; in main() 128 tst_resm(TPASS, "%s Passed", testcases[i].desc); in main() 132 " returned %ld", testcases[i].desc, in main() 173 if (p.sched_priority == testcases[i].priority) { in verify_priority()
|