Home
last modified time | relevance | path

Searched refs:TC (Results 1 – 25 of 670) sorted by relevance

12345678910>>...27

/external/libcxx/test/std/numerics/numeric.ops/numeric.ops.gcd/
Dgcd.pass.cpp60 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/
Dlcm.pass.cpp59 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/libcxx/test/std/input.output/filesystems/class.path/path.member/path.decompose/
Dpath.decompose.pass.cpp123 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/iproute2/examples/diffserv/
DEdge32-ca-u3215 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 …]
DEdge31-ca-u3215 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 …]
DEdge32-cb-chains14 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 …]
DEdge32-cb-u3214 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 …]
DEdge31-cb-chains14 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 …]
Dafcbq30 $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 …]
DEdge213 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 …]
DEdge112 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 …]
Defcbq3 $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/
DTools.h41 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/input.output/filesystems/class.path/path.member/
Dpath.concat.pass.cpp82 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 …]
Dpath.compare.pass.cpp87 for (auto const & TC : CompareTestCases) { in test_compare_basic() local
88 const path p1(TC.LHS); in test_compare_basic()
89 const path p2(TC.RHS); in test_compare_basic()
90 const std::string R(TC.RHS); in test_compare_basic()
91 const std::string_view RV(TC.RHS); in test_compare_basic()
92 const int E = TC.expect; in test_compare_basic()
99 int ret3 = normalize_ret(p1.compare(TC.RHS)); in test_compare_basic()
107 << DISPLAY(TC.LHS) << DISPLAY(TC.RHS); in test_compare_basic()
178 for (auto &TC : TestCases) { in test_compare_elements() local
179 fs::path LHS = BuildPath(TC.LHSElements); in test_compare_elements()
[all …]
/external/libcxx/test/std/language.support/cmp/cmp.partialord/
Dpartialord.pass.cpp92 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/language.support/cmp/cmp.weakord/
Dweakord.pass.cpp106 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/ltp/pan/cgi/
Dreconsile.cgi88 $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/
Dstrongord.pass.cpp149 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/ltp/testcases/kernel/syscalls/munlock/
Dmunlock01.c84 } 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()
Dmunlock02.c92 } TC[] = { variable
112 TC[0].len = 8 * getpagesize(); in main()
114 TEST(munlock(TC[i].addr, TC[i].len)); in main()
118 if (TEST_ERRNO != TC[i].error) in main()
123 TC[i].edesc, TEST_ERRNO, in main()
155 TC[0].len = 8 * getpagesize(); in setup()
156 address = mmap(0, TC[0].len, PROT_READ | PROT_WRITE, in setup()
160 memset(address, 0x20, TC[0].len); in setup()
161 TEST(mlock(address, TC[0].len)); in setup()
167 TC[0].len, TEST_RETURN); in setup()
[all …]
/external/ltp/testcases/kernel/syscalls/open/
Dopen07.c90 } TC[] = { variable
115 if (TC[i].setupfunc != NULL) in main()
116 TC[i].setupfunc(); in main()
122 for (i = 0; TC[i].desc != NULL; ++i) { in main()
123 TEST(open(TC[i].filename, TC[i].flags, TC[i].mode)); in main()
125 if (TC[i].exp_errno != 0) { in main()
131 if (TEST_ERRNO != TC[i].exp_errno) { in main()
135 TC[i].exp_errno, TEST_ERRNO); in main()
170 strcpy(TC[0].filename, file2); in setupfunc_test1()
183 strcpy(TC[1].filename, file2); in setupfunc_test2()
[all …]
/external/iproute2/testsuite/tests/tc/
Dpolicer.t2 $TC qdisc del dev $DEV root >/dev/null 2>&1
3 $TC qdisc add dev $DEV root handle 10:0 cbq bandwidth 100Mbit avpkt 1400 mpu 64
4 $TC class add dev $DEV parent 10:0 classid 10:12 cbq bandwidth 100mbit rate 100mbit allot 1514 p…
5 $TC filter add dev $DEV parent 10:0 protocol ip prio 10 u32 match ip protocol 1 0xff police rate 2k…
6 $TC qdisc list dev $DEV
7 $TC filter list dev $DEV parent 10:0
8 $TC qdisc del dev $DEV root
9 $TC qdisc list dev $DEV
10 $TC qdisc add dev $DEV root handle 10:0 cbq bandwidth 100Mbit avpkt 1400 mpu 64
11 $TC class add dev $DEV parent 10:0 classid 10:12 cbq bandwidth 100mbit rate 100mbit allot 1514 p…
[all …]
/external/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.proximate/
Dproximate.pass.cpp104 for (auto& TC : TestCases) { in TEST_CASE() local
107 fs::path p(TC.input); in TEST_CASE()
108 const fs::path output = fs::proximate(p, TC.base, ec); in TEST_CASE()
112 std::cerr << " Input: '" << TC.input << "'\n"; in TEST_CASE()
113 std::cerr << " Base: '" << TC.base << "'\n"; in TEST_CASE()
114 std::cerr << " Expected: '" << TC.expect << "'\n"; in TEST_CASE()
117 } else if (!PathEq(output, TC.expect)) { in TEST_CASE()
118 TEST_CHECK(PathEq(output, TC.expect)); in TEST_CASE()
120 const path canon_input = fs::weakly_canonical(TC.input); in TEST_CASE()
121 const path canon_base = fs::weakly_canonical(TC.base); in TEST_CASE()
[all …]
/external/libcxx/test/std/input.output/filesystems/class.path/path.member/path.modifiers/
Dreplace_filename.pass.cpp54 for (auto const & TC : TestCases) { in main() local
55 path p(TC.value); in main()
56 ASSERT_EQ(p, TC.value); in main()
57 path& Ref = (p.replace_filename(TC.filename)); in main()
58 ASSERT_EQ(p, TC.expect) in main()
59 << DISPLAY(TC.value) in main()
60 << DISPLAY(TC.filename); in main()
64 path p2(TC.value); in main()
65 path replace(TC.filename); in main()

12345678910>>...27