Home
last modified time | relevance | path

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

12345678910>>...19

/external/libcxx/test/std/numerics/numeric.ops/numeric.ops.gcd/
Dgcd.pass.cpp55 for (auto TC : Cases) { in do_test() local
58 accumulate &= test0<S1, S2, Output>(TC.x, TC.y, TC.expect); in do_test()
59 accumulate &= test0<S1, S2, Output>(-TC.x, TC.y, TC.expect); in do_test()
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<S2, S1, Output>(TC.x, TC.y, TC.expect); in do_test()
63 accumulate &= test0<S2, S1, 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()
69 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.cpp53 for (auto TC : Cases) { in do_test() local
56 accumulate &= test0<S1, S2, Output>(TC.x, TC.y, TC.expect); in do_test()
57 accumulate &= test0<S1, S2, Output>(-TC.x, TC.y, TC.expect); in do_test()
58 accumulate &= test0<S1, S2, Output>(TC.x, -TC.y, TC.expect); in do_test()
59 accumulate &= test0<S1, S2, Output>(-TC.x, -TC.y, TC.expect); in do_test()
60 accumulate &= test0<S2, S1, Output>(TC.x, TC.y, TC.expect); in do_test()
61 accumulate &= test0<S2, S1, Output>(-TC.x, TC.y, TC.expect); in do_test()
62 accumulate &= test0<S2, S1, Output>(TC.x, -TC.y, TC.expect); in do_test()
63 accumulate &= test0<S2, S1, Output>(-TC.x, -TC.y, TC.expect); in do_test()
67 accumulate &= test0<U1, U2, Output>(TC.x, TC.y, TC.expect); in do_test()
[all …]
/external/libcxx/test/std/experimental/numeric/numeric.ops/numeric.ops.gcd/
Dgcd.pass.cpp54 for (auto TC : Cases) { in do_test() local
57 accumulate &= test0<S1, S2, Output>(TC.x, TC.y, TC.expect); in do_test()
58 accumulate &= test0<S1, S2, Output>(-TC.x, TC.y, TC.expect); in do_test()
59 accumulate &= test0<S1, S2, Output>(TC.x, -TC.y, TC.expect); in do_test()
60 accumulate &= test0<S1, S2, Output>(-TC.x, -TC.y, TC.expect); in do_test()
61 accumulate &= test0<S2, S1, Output>(TC.x, TC.y, TC.expect); in do_test()
62 accumulate &= test0<S2, S1, Output>(-TC.x, TC.y, TC.expect); in do_test()
63 accumulate &= test0<S2, S1, 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()
68 accumulate &= test0<U1, U2, Output>(TC.x, TC.y, TC.expect); in do_test()
[all …]
/external/libcxx/test/std/experimental/numeric/numeric.ops/numeric.ops.lcm/
Dlcm.pass.cpp53 for (auto TC : Cases) { in do_test() local
56 accumulate &= test0<S1, S2, Output>(TC.x, TC.y, TC.expect); in do_test()
57 accumulate &= test0<S1, S2, Output>(-TC.x, TC.y, TC.expect); in do_test()
58 accumulate &= test0<S1, S2, Output>(TC.x, -TC.y, TC.expect); in do_test()
59 accumulate &= test0<S1, S2, Output>(-TC.x, -TC.y, TC.expect); in do_test()
60 accumulate &= test0<S2, S1, Output>(TC.x, TC.y, TC.expect); in do_test()
61 accumulate &= test0<S2, S1, Output>(-TC.x, TC.y, TC.expect); in do_test()
62 accumulate &= test0<S2, S1, Output>(TC.x, -TC.y, TC.expect); in do_test()
63 accumulate &= test0<S2, S1, Output>(-TC.x, -TC.y, TC.expect); in do_test()
67 accumulate &= test0<U1, U2, Output>(TC.x, TC.y, TC.expect); in do_test()
[all …]
/external/ltp/testcases/kernel/syscalls/ipc/shmat/
Dshmat01.c66 } *TC; variable
85 if (TC[i].getbase) { in main()
87 attchaddr = base_addr + TC[i].offset; in main()
92 addr = shmat(*(TC[i].shmid), attchaddr, TC[i].flags); in main()
164 orig_add = addr + ((unsigned long)TC[2].offset % SHMLBA); in check_functionality()
165 if (orig_add != base_addr + TC[2].offset) { in check_functionality()
195 TC = malloc(TST_TOTAL * sizeof(struct test_case_t)); in setup()
196 if (TC == NULL) in setup()
200 TC[0].shmid = &shm_id_1; in setup()
201 TC[0].offset = 0; in setup()
[all …]
/external/libcxx/test/std/experimental/filesystem/class.path/path.member/path.decompose/
Dpath.decompose.pass.cpp122 for (auto const & TC : PathTestCases) { in decompPathTest() local
123 path p(TC.raw); in decompPathTest()
124 assert(p == TC.raw); in decompPathTest()
126 assert(p.root_path() == TC.root_path); in decompPathTest()
127 assert(p.has_root_path() != TC.root_path.empty()); in decompPathTest()
129 assert(p.root_name() == TC.root_name); in decompPathTest()
130 assert(p.has_root_name() != TC.root_name.empty()); in decompPathTest()
132 assert(p.root_directory() == TC.root_directory); in decompPathTest()
133 assert(p.has_root_directory() != TC.root_directory.empty()); in decompPathTest()
135 assert(p.relative_path() == TC.relative_path); 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 …]
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 …]
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 …]
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 ".
Def-prio2 $TC = "/root/DS-6-beta/iproute2-990530-dsing/tc/tc";
6 print "$TC qdisc add $DEV handle 1:0 root dsmark indices 64 set_tc_index\n";
7 print "$TC filter add $DEV parent 1:0 protocol ip prio 1 tcindex ".
9 print "$TC qdisc add $DEV parent 1:0 handle 2:0 prio\n";
13 print "$TC qdisc add $DEV parent 2:1 tbf rate $efrate burst $MTU limit 1.6kB\n";
14 print "$TC filter add $DEV parent 2:0 protocol ip prio 1 ".
20 print "$TC qdisc add $DEV parent 2:2 red limit 60KB ".
24 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/experimental/filesystem/class.path/path.member/
Dpath.concat.pass.cpp83 void doConcatSourceAllocTest(ConcatOperatorTestcase const& TC) in doConcatSourceAllocTest() argument
91 const Ptr L = TC.lhs; in doConcatSourceAllocTest()
92 const Ptr R = TC.rhs; in doConcatSourceAllocTest()
93 const Ptr E = TC.expect; in doConcatSourceAllocTest()
164 void doConcatSourceTest(ConcatOperatorTestcase const& TC) in doConcatSourceTest() argument
171 const Ptr L = TC.lhs; in doConcatSourceTest()
172 const Ptr R = TC.rhs; in doConcatSourceTest()
173 const Ptr E = TC.expect; in doConcatSourceTest()
251 void doConcatECharTest(ConcatOperatorTestcase const& TC) in doConcatECharTest() argument
255 const Ptr RStr = TC.rhs; in doConcatECharTest()
[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/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/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/ltp/testcases/kernel/syscalls/open/
Dopen07.c89 } TC[] = { variable
114 if (TC[i].setupfunc != NULL) in main()
115 TC[i].setupfunc(); in main()
121 for (i = 0; TC[i].desc != NULL; ++i) { in main()
122 TEST(open(TC[i].filename, TC[i].flags, TC[i].mode)); in main()
124 if (TC[i].exp_errno != 0) { in main()
130 if (TEST_ERRNO != TC[i].exp_errno) { in main()
134 TC[i].exp_errno, TEST_ERRNO); in main()
172 strcpy(TC[0].filename, file2); in setupfunc_test1()
187 strcpy(TC[1].filename, file2); in setupfunc_test2()
[all …]
/external/ltp/testcases/kernel/syscalls/sysctl/
Dsysctl01.c86 } TC[] = { variable
130 TEST(sysctl(TC[i].name, TC[i].size, TC[i].oldval, in main()
131 TC[i].oldlen, TC[i].newval, TC[i].newlen)); in main()
146 if (strcmp(TC[i].oldval, comp_string) != 0) { in main()
148 TC[i].oldval, comp_string); in main()
150 tst_resm(TPASS, "%s is correct", TC[i].desc); in main()
152 if (TC[i].cleanup) { in main()
153 (void)TC[i].cleanup(); in main()
/external/libcxx/test/std/experimental/filesystem/class.path/path.member/path.modifiers/
Dreplace_extension.pass.cpp59 for (auto const & TC : TestCases) { in main() local
60 path p(TC.value); in main()
61 assert(p == TC.value); in main()
62 path& Ref = (p.replace_extension(TC.extension)); in main()
63 assert(p == TC.expect); in main()
66 for (auto const& TC : NoArgCases) { in main() local
67 path p(TC.value); in main()
68 assert(p == TC.value); in main()
70 assert(p == TC.expect); in main()

12345678910>>...19