/external/libcxx/test/std/numerics/numeric.ops/numeric.ops.gcd/ |
D | gcd.pass.cpp | 60 for (auto TC : Cases) { in do_test() local 63 accumulate &= test0<S1, S2, Output>(TC.x, TC.y, TC.expect); in do_test() 64 accumulate &= test0<S1, S2, Output>(-TC.x, TC.y, TC.expect); in do_test() 65 accumulate &= test0<S1, S2, Output>(TC.x, -TC.y, TC.expect); in do_test() 66 accumulate &= test0<S1, S2, Output>(-TC.x, -TC.y, TC.expect); in do_test() 67 accumulate &= test0<S2, S1, Output>(TC.x, TC.y, TC.expect); in do_test() 68 accumulate &= test0<S2, S1, Output>(-TC.x, TC.y, TC.expect); in do_test() 69 accumulate &= test0<S2, S1, Output>(TC.x, -TC.y, TC.expect); in do_test() 70 accumulate &= test0<S2, S1, Output>(-TC.x, -TC.y, TC.expect); in do_test() 74 accumulate &= test0<U1, U2, Output>(TC.x, TC.y, TC.expect); in do_test() [all …]
|
/external/llvm-project/libcxx/test/std/numerics/numeric.ops/numeric.ops.gcd/ |
D | gcd.pass.cpp | 60 for (auto TC : Cases) { in do_test() local 63 accumulate &= test0<S1, S2, Output>(TC.x, TC.y, TC.expect); in do_test() 64 accumulate &= test0<S1, S2, Output>(-TC.x, TC.y, TC.expect); in do_test() 65 accumulate &= test0<S1, S2, Output>(TC.x, -TC.y, TC.expect); in do_test() 66 accumulate &= test0<S1, S2, Output>(-TC.x, -TC.y, TC.expect); in do_test() 67 accumulate &= test0<S2, S1, Output>(TC.x, TC.y, TC.expect); in do_test() 68 accumulate &= test0<S2, S1, Output>(-TC.x, TC.y, TC.expect); in do_test() 69 accumulate &= test0<S2, S1, Output>(TC.x, -TC.y, TC.expect); in do_test() 70 accumulate &= test0<S2, S1, Output>(-TC.x, -TC.y, TC.expect); in do_test() 74 accumulate &= test0<U1, U2, Output>(TC.x, TC.y, TC.expect); in do_test() [all …]
|
/external/libcxx/test/std/numerics/numeric.ops/numeric.ops.lcm/ |
D | lcm.pass.cpp | 59 for (auto TC : Cases) { in do_test() local 62 accumulate &= test0<S1, S2, Output>(TC.x, TC.y, TC.expect); in do_test() 63 accumulate &= test0<S1, S2, Output>(-TC.x, TC.y, TC.expect); in do_test() 64 accumulate &= test0<S1, S2, Output>(TC.x, -TC.y, TC.expect); in do_test() 65 accumulate &= test0<S1, S2, Output>(-TC.x, -TC.y, TC.expect); in do_test() 66 accumulate &= test0<S2, S1, Output>(TC.x, TC.y, TC.expect); in do_test() 67 accumulate &= test0<S2, S1, Output>(-TC.x, TC.y, TC.expect); in do_test() 68 accumulate &= test0<S2, S1, Output>(TC.x, -TC.y, TC.expect); in do_test() 69 accumulate &= test0<S2, S1, Output>(-TC.x, -TC.y, TC.expect); in do_test() 73 accumulate &= test0<U1, U2, Output>(TC.x, TC.y, TC.expect); in do_test() [all …]
|
/external/llvm-project/libcxx/test/std/numerics/numeric.ops/numeric.ops.lcm/ |
D | lcm.pass.cpp | 57 for (auto TC : Cases) { in do_test() local 60 accumulate &= test0<S1, S2, Output>(TC.x, TC.y, TC.expect); in do_test() 61 accumulate &= test0<S1, S2, Output>(-TC.x, TC.y, TC.expect); in do_test() 62 accumulate &= test0<S1, S2, Output>(TC.x, -TC.y, TC.expect); in do_test() 63 accumulate &= test0<S1, S2, Output>(-TC.x, -TC.y, TC.expect); in do_test() 64 accumulate &= test0<S2, S1, Output>(TC.x, TC.y, TC.expect); in do_test() 65 accumulate &= test0<S2, S1, Output>(-TC.x, TC.y, TC.expect); in do_test() 66 accumulate &= test0<S2, S1, Output>(TC.x, -TC.y, TC.expect); in do_test() 67 accumulate &= test0<S2, S1, Output>(-TC.x, -TC.y, TC.expect); in do_test() 71 accumulate &= test0<U1, U2, Output>(TC.x, TC.y, TC.expect); in do_test() [all …]
|
/external/libcxx/test/std/input.output/filesystems/class.path/path.member/path.decompose/ |
D | path.decompose.pass.cpp | 123 for (auto const & TC : PathTestCases) { in decompPathTest() local 124 CHECKPOINT(TC.raw.c_str()); in decompPathTest() 125 fs::path p(TC.raw); in decompPathTest() 126 ASSERT(p == TC.raw); in decompPathTest() 128 ASSERT_EQ(p.root_path(), TC.root_path); in decompPathTest() 129 ASSERT_NEQ(p.has_root_path(), TC.root_path.empty()); in decompPathTest() 133 ASSERT_EQ(p.root_name(),TC.root_name); in decompPathTest() 134 ASSERT_NEQ(p.has_root_name(), TC.root_name.empty()); in decompPathTest() 136 ASSERT_EQ(p.root_directory(), TC.root_directory); in decompPathTest() 137 ASSERT_NEQ(p.has_root_directory(), TC.root_directory.empty()); in decompPathTest() [all …]
|
/external/llvm-project/libcxx/test/std/input.output/filesystems/class.path/path.member/path.decompose/ |
D | path.decompose.pass.cpp | 123 for (auto const & TC : PathTestCases) { in decompPathTest() local 124 fs::path p(TC.raw); in decompPathTest() 125 assert(p == TC.raw); in decompPathTest() 127 assert(p.root_path() == TC.root_path); in decompPathTest() 128 assert(p.has_root_path() != TC.root_path.empty()); in decompPathTest() 131 assert(p.root_name() == TC.root_name); in decompPathTest() 132 assert(p.has_root_name() != TC.root_name.empty()); in decompPathTest() 134 assert(p.root_directory() == TC.root_directory); in decompPathTest() 135 assert(p.has_root_directory() != TC.root_directory.empty()); in decompPathTest() 137 assert(p.relative_path() == TC.relative_path); in decompPathTest() [all …]
|
/external/iproute2/examples/diffserv/ |
D | Edge32-ca-u32 | 15 TC=$IPROUTE/tc/tc 46 $TC qdisc add dev $INDEV handle ffff: ingress 57 $TC filter add dev $INDEV parent ffff: protocol ip prio 1 u32 \ 61 $TC filter add dev $INDEV parent ffff: protocol ip prio 2 u32 \ 70 $TC filter add dev $INDEV parent ffff: protocol ip prio 3 u32 \ 74 $TC filter add dev $INDEV parent ffff: protocol ip prio 4 u32 \ 82 $TC filter add dev $INDEV parent ffff: protocol ip prio 5 u32 \ 86 $TC filter add dev $INDEV parent ffff: protocol ip prio 6 u32 \ 97 $TC filter add dev $INDEV parent ffff: protocol ip prio 8 u32 \ 101 $TC filter add dev $INDEV parent ffff: protocol ip prio 9 u32 \ [all …]
|
D | Edge31-ca-u32 | 15 TC=$IPROUTE/tc/tc 29 $TC qdisc add dev $INDEV handle ffff: ingress 33 $TC filter add dev $INDEV parent ffff: protocol ip prio 4 handle 1: u32 \ 53 $TC filter add dev $INDEV parent ffff: protocol ip prio 4 u32 \ 62 $TC filter add dev $INDEV parent ffff: protocol ip prio 5 u32 \ 70 $TC filter add dev $INDEV parent ffff: protocol ip prio 6 u32 \ 82 $TC filter add dev $INDEV parent ffff: protocol ip prio 5 u32 \ 90 $TC filter add dev $INDEV parent ffff: protocol ip prio 6 u32 \ 101 $TC filter add dev $INDEV parent ffff: protocol ip prio 6 u32 \ 113 $TC filter add dev $INDEV parent ffff: protocol ip prio 7 u32 \ [all …]
|
D | afcbq | 30 $TC = "/usr/src/iproute2-current/tc/tc"; 53 print "$TC qdisc add $DEV handle 1:0 root dsmark indices 64 set_tc_index\n"; 54 print "$TC filter add $DEV parent 1:0 protocol ip prio 1 tcindex mask 0xfc " . 57 print "$TC qdisc add $DEV parent 1:0 handle 2:0 cbq bandwidth $linerate ". 59 print "$TC filter add $DEV parent 2:0 protocol ip prio 1 tcindex ". 64 print "$TC class add $DEV parent 2:0 classid 2:$class cbq ". 67 print "$TC filter add $DEV parent 2:0 protocol ip prio 1 handle $class ". 69 print "$TC qdisc add $DEV parent 2:$class gred setup DPs 3 default 2 ". 78 print "$TC filter add $DEV parent 1:0 protocol ip prio 1 ". 83 print "$TC qdisc change $DEV parent 2:$class gred limit 60KB min 15KB ". [all …]
|
D | Edge32-cb-chains | 14 TC=$IPROUTE/tc/tc 43 $TC qdisc add dev $INDEV handle ffff: ingress 55 $TC filter add dev $INDEV parent ffff: protocol ip prio 1 handle 1 fw \ 58 $TC filter add dev $INDEV parent ffff: protocol ip prio 2 handle 1 fw \ 65 $TC filter add dev $INDEV parent ffff: protocol ip prio 3 handle 1 fw \ 68 $TC filter add dev $INDEV parent ffff: protocol ip prio 4 handle 1 fw \ 75 $TC filter add dev $INDEV parent ffff: protocol ip prio 5 handle 1 fw \ 78 $TC filter add dev $INDEV parent ffff: protocol ip prio 6 handle 1 fw \ 85 $TC filter add dev $INDEV parent ffff: protocol ip prio 7 handle 2 fw \ 95 $TC qdisc add $EGDEV handle 1:0 root dsmark indices 64 [all …]
|
D | Edge32-cb-u32 | 14 TC=$IPROUTE/tc/tc 44 $TC qdisc add dev $INDEV handle ffff: ingress 55 $TC filter add dev $INDEV parent ffff: protocol ip prio 1 u32 \ 58 $TC filter add dev $INDEV parent ffff: protocol ip prio 2 u32 \ 66 $TC filter add dev $INDEV parent ffff: protocol ip prio 3 u32 \ 69 $TC filter add dev $INDEV parent ffff: protocol ip prio 4 u32 \ 76 $TC filter add dev $INDEV parent ffff: protocol ip prio 5 u32 \ 79 $TC filter add dev $INDEV parent ffff: protocol ip prio 6 u32 \ 87 $TC filter add dev $INDEV parent ffff: protocol ip prio 7 u32 \ 97 $TC qdisc add $EGDEV handle 1:0 root dsmark indices 64 [all …]
|
D | Edge31-cb-chains | 14 TC=$IPROUTE/tc/tc 40 $TC qdisc add dev $INDEV handle ffff: ingress 52 $TC filter add dev $INDEV parent ffff: protocol ip prio 4 handle 1 fw \ 59 $TC filter add dev $INDEV parent ffff: protocol ip prio 5 handle 1 fw \ 66 $TC filter add dev $INDEV parent ffff: protocol ip prio 6 handle 1 fw \ 73 $TC filter add dev $INDEV parent ffff: protocol ip prio 6 handle 2 fw \ 83 $TC qdisc add $EGDEV handle 1:0 root dsmark indices 64 90 $TC class change $EGDEV classid 1:1 dsmark mask 0x3 \ 93 $TC class change $EGDEV classid 1:2 dsmark mask 0x3 \ 96 $TC class change $EGDEV classid 1:3 dsmark mask 0x3 \ [all …]
|
D | Edge2 | 13 TC=$IPROUTE/tc/tc 31 $TC qdisc add dev $INDEV handle ffff: ingress 43 $TC filter add dev $INDEV parent ffff: protocol ip prio 50 handle 3 fw \ 52 $TC qdisc add $EGDEV handle 1:0 root dsmark indices 64 56 $TC class change $EGDEV classid 1:1 dsmark mask 0x3 \ 58 $TC class change $EGDEV classid 1:2 dsmark mask 0x3 \ 60 $TC class change $EGDEV classid 1:3 dsmark mask 0x3 \ 66 $TC filter add $EGDEV parent 1:0 protocol ip prio 4 handle 1 fw classid 1:1 67 $TC filter add $EGDEV parent 1:0 protocol ip prio 4 handle 2 fw classid 1:2 68 $TC filter add $EGDEV parent 1:0 protocol ip prio 4 handle 3 fw classid 1:3 [all …]
|
D | Edge1 | 12 TC=$IPROUTE/tc/tc 33 $TC qdisc add $EGDEV handle 1:0 root dsmark indices 64 set_tc_index 38 $TC class change $EGDEV classid 1:1 dsmark mask 0x3 \ 41 $TC class change $EGDEV classid 1:2 dsmark mask 0x3 \ 44 $TC class change $EGDEV classid 1:3 dsmark mask 0x3 \ 50 $TC filter add $EGDEV parent 1:0 protocol ip prio 4 handle 1 fw classid 1:1 51 $TC filter add $EGDEV parent 1:0 protocol ip prio 4 handle 2 fw classid 1:2 52 $TC filter add $EGDEV parent 1:0 protocol ip prio 4 handle 3 fw classid 1:3 57 $TC qdisc ls dev $INDEV 59 $TC class ls dev $INDEV [all …]
|
D | efcbq | 3 $TC = "/root/DS-6-beta/iproute2-990530-dsing/tc/tc"; 5 print "$TC qdisc add $DEV handle 1:0 root dsmark indices 64 set_tc_index\n"; 6 print "$TC filter add $DEV parent 1:0 protocol ip prio 1 tcindex ". 8 print "$TC qdisc add $DEV parent 1:0 handle 2:0 cbq bandwidth ". 13 print "$TC class add $DEV parent 2:0 classid 2:1 cbq bandwidth ". 17 print "$TC qdisc add $DEV parent 2:1 pfifo limit 5\n"; 18 print "$TC filter add $DEV parent 2:0 protocol ip prio 1 ". 24 print "$TC class add $DEV parent 2:0 classid 2:2 cbq bandwidth ". 27 print "$TC qdisc add $DEV parent 2:2 red limit 60KB ". 30 print "$TC filter add $DEV parent 2:0 protocol ip prio 2 ".
|
/external/clang/lib/Driver/ |
D | Tools.h | 41 SmallString<128> getCompilerRT(const ToolChain &TC, 109 Clang(const ToolChain &TC) : Tool("clang", "clang frontend", TC, RF_Full) {} in Clang() argument 125 ClangAs(const ToolChain &TC) in ClangAs() argument 126 : Tool("clang::as", "clang integrated assembler", TC, RF_Full) {} in ClangAs() 145 GnuTool(const char *Name, const char *ShortName, const ToolChain &TC) in GnuTool() argument 146 : Tool(Name, ShortName, TC, RF_Full, llvm::sys::WEM_CurrentCodePage) {} in GnuTool() 153 Common(const char *Name, const char *ShortName, const ToolChain &TC) in Common() argument 154 : GnuTool(Name, ShortName, TC) {} in Common() 173 Preprocessor(const ToolChain &TC) in Preprocessor() argument 174 : Common("gcc::Preprocessor", "gcc preprocessor", TC) {} in Preprocessor() [all …]
|
/external/libcxx/test/std/language.support/cmp/cmp.weakord/ |
D | weakord.pass.cpp | 106 for (auto TC : TestCases) { in test_constexpr() local 107 auto V = TC.Value; in test_constexpr() 108 assert((V == 0) == TC.ExpectEq); in test_constexpr() 109 assert((0 == V) == TC.ExpectEq); in test_constexpr() 110 assert((V != 0) == TC.ExpectNeq); in test_constexpr() 111 assert((0 != V) == TC.ExpectNeq); in test_constexpr() 113 assert((V < 0) == TC.ExpectLess); in test_constexpr() 114 assert((V > 0) == TC.ExpectGreater); in test_constexpr() 115 assert((V <= 0) == (TC.ExpectLess || TC.ExpectEq)); in test_constexpr() 116 assert((V >= 0) == (TC.ExpectGreater || TC.ExpectEq)); in test_constexpr() [all …]
|
/external/libcxx/test/std/language.support/cmp/cmp.partialord/ |
D | partialord.pass.cpp | 92 for (auto TC : TestCases) { in test_constexpr() local 93 auto V = TC.Value; in test_constexpr() 94 assert((V == 0) == TC.ExpectEq); in test_constexpr() 95 assert((0 == V) == TC.ExpectEq); in test_constexpr() 96 assert((V != 0) == TC.ExpectNeq); in test_constexpr() 97 assert((0 != V) == TC.ExpectNeq); in test_constexpr() 99 assert((V < 0) == TC.ExpectLess); in test_constexpr() 100 assert((V > 0) == TC.ExpectGreater); in test_constexpr() 101 assert((V <= 0) == (TC.ExpectLess || TC.ExpectEq)); in test_constexpr() 102 assert((V >= 0) == (TC.ExpectGreater || TC.ExpectEq)); in test_constexpr() [all …]
|
/external/libcxx/test/std/input.output/filesystems/class.path/path.member/ |
D | path.concat.pass.cpp | 82 void doConcatSourceAllocTest(ConcatOperatorTestcase const& TC) in doConcatSourceAllocTest() argument 90 const Ptr L = TC.lhs; in doConcatSourceAllocTest() 91 const Ptr R = TC.rhs; in doConcatSourceAllocTest() 92 const Ptr E = TC.expect; in doConcatSourceAllocTest() 163 void doConcatSourceTest(ConcatOperatorTestcase const& TC) in doConcatSourceTest() argument 170 const Ptr L = TC.lhs; in doConcatSourceTest() 171 const Ptr R = TC.rhs; in doConcatSourceTest() 172 const Ptr E = TC.expect; in doConcatSourceTest() 250 void doConcatECharTest(ConcatOperatorTestcase const& TC) in doConcatECharTest() argument 254 const Ptr RStr = TC.rhs; in doConcatECharTest() [all …]
|
/external/llvm-project/libcxx/test/std/input.output/filesystems/class.path/path.member/ |
D | path.concat.pass.cpp | 84 void doConcatSourceAllocTest(ConcatOperatorTestcase const& TC) in doConcatSourceAllocTest() argument 92 const Ptr L = TC.lhs; in doConcatSourceAllocTest() 93 const Ptr R = TC.rhs; in doConcatSourceAllocTest() 94 const Ptr E = TC.expect; in doConcatSourceAllocTest() 165 void doConcatSourceTest(ConcatOperatorTestcase const& TC) in doConcatSourceTest() argument 172 const Ptr L = TC.lhs; in doConcatSourceTest() 173 const Ptr R = TC.rhs; in doConcatSourceTest() 174 const Ptr E = TC.expect; in doConcatSourceTest() 252 void doConcatECharTest(ConcatOperatorTestcase const& TC) in doConcatECharTest() argument 256 const Ptr RStr = TC.rhs; in doConcatECharTest() [all …]
|
/external/llvm-project/libcxx/test/std/language.support/cmp/cmp.weakord/ |
D | weakord.pass.cpp | 105 for (auto TC : TestCases) { in test_constexpr() local 106 auto V = TC.Value; in test_constexpr() 107 assert((V == 0) == TC.ExpectEq); in test_constexpr() 108 assert((0 == V) == TC.ExpectEq); in test_constexpr() 109 assert((V != 0) == TC.ExpectNeq); in test_constexpr() 110 assert((0 != V) == TC.ExpectNeq); in test_constexpr() 112 assert((V < 0) == TC.ExpectLess); in test_constexpr() 113 assert((V > 0) == TC.ExpectGreater); in test_constexpr() 114 assert((V <= 0) == (TC.ExpectLess || TC.ExpectEq)); in test_constexpr() 115 assert((V >= 0) == (TC.ExpectGreater || TC.ExpectEq)); in test_constexpr() [all …]
|
/external/ltp/testcases/kernel/syscalls/munlock/ |
D | munlock01.c | 84 } TC[] = { variable 107 if (TC[i].setupfunc != NULL) in main() 108 TC[i].setupfunc(i); in main() 110 TEST(munlock(*(TC[i].addr), TC[i].len)); in main() 116 "return=%ld", TC[i].addr, TC[i].len, in main() 120 i, TC[i].len); in main() 133 addr1 = malloc(TC[i].len); in setup1() 136 TEST(mlock(*(TC[i].addr), TC[i].len)); in setup1() 141 "mlock(%p, %d) Failed with return=%ld", TC[i].addr, in setup1() 142 TC[i].len, TEST_RETURN); in setup1()
|
/external/ltp/pan/cgi/ |
D | reconsile.cgi | 88 $rec->{TC} = $tc; 105 || $a->{TC} <=> $b->{TC} 106 || $a->{TC} cmp $b->{TC} 160 || $a->{TC} <=> $b->{TC} 161 || $a->{TC} cmp $b->{TC} 172 && @$rtcs[0]->{TC} eq $LCR->{TC} 203 && @$rtcs[0]->{TC} eq $LCR->{TC}) { 208 $match->{TC} = '*' if ($match->{TC} eq '{'); 209 $match->{TC} = '-' if ($match->{TC} eq '}'); 245 $copy->{TC} = $rec->{TC};
|
/external/libcxx/test/std/language.support/cmp/cmp.strongord/ |
D | strongord.pass.cpp | 149 for (auto TC : TestCases) { in test_constexpr() local 150 auto V = TC.Value; in test_constexpr() 151 assert((V == 0) == TC.ExpectEq); in test_constexpr() 152 assert((0 == V) == TC.ExpectEq); in test_constexpr() 153 assert((V != 0) == TC.ExpectNeq); in test_constexpr() 154 assert((0 != V) == TC.ExpectNeq); in test_constexpr() 156 assert((V < 0) == TC.ExpectLess); in test_constexpr() 157 assert((V > 0) == TC.ExpectGreater); in test_constexpr() 158 assert((V <= 0) == (TC.ExpectLess || TC.ExpectEq)); in test_constexpr() 159 assert((V >= 0) == (TC.ExpectGreater || TC.ExpectEq)); in test_constexpr() [all …]
|
/external/llvm-project/clang/test/SemaCXX/ |
D | coroutines.cpp | 1108 auto TC = co_yield 0; in test_qual() local 1109 static_assert(TC.MatchesArgs<TestType &>, ""); in test_qual() 1110 static_assert(!TC.MatchesArgs<TestType>, ""); in test_qual() 1111 static_assert(!TC.MatchesArgs<TestType *>, ""); in test_qual() 1115 auto TC = co_yield 0; in test_sanity() local 1116 static_assert(TC.MatchesArgs<const TestType &>, ""); // expected-error {{static_assert failed}} in test_sanity() 1117 static_assert(TC.MatchesArgs<const TestType &>, ""); // expected-error {{static_assert failed}} in test_sanity() 1118 static_assert(TC.MatchesArgs<const TestType &, int *>, ""); in test_sanity() 1122 auto TC = co_yield 0; in test_qual() local 1123 …static_assert(TC.MatchesArgs<const TestType &, int *, const float &&, volatile void *volatile>, ""… in test_qual() [all …]
|