Searched defs:tc (Results 1 - 25 of 237) sorted by relevance

12345678910

/external/testng/src/test/java/test/inject/
H A DSample.java11 public void f(ITestContext tc) { argument
12 Assert.assertNotNull(tc);
13 ITestNGMethod[] allMethods = tc.getAllTestMethods();
H A DInjectTestContextTest.java16 public void verifyTestContextInjection(ITestContext tc, XmlTest xmlTest) { argument
/external/selinux/libsepol/cil/test/unit/
H A Dtest_cil_fqn.c38 void test_cil_qualify_name(CuTest *tc) { argument
58 CuAssertIntEquals(tc, SEPOL_OK, rc);
61 void test_cil_qualify_name_cil_flavor(CuTest *tc) { argument
74 CuAssertIntEquals(tc, SEPOL_OK, rc);
H A Dtest_cil_parser.c40 void test_cil_parser(CuTest *tc) { argument
53 CuAssertIntEquals(tc, SEPOL_OK, rc);
54 CuAssertPtrNotNull(tc, test_parse_root);
H A Dtest_cil_tree.c37 void test_cil_tree_node_init(CuTest *tc) { argument
42 CuAssertPtrNotNull(tc, test_node);
43 CuAssertPtrEquals(tc, NULL, test_node->cl_head);
44 CuAssertPtrEquals(tc, NULL, test_node->cl_tail);
45 CuAssertPtrEquals(tc, NULL, test_node->parent);
46 CuAssertPtrEquals(tc, NULL, test_node->data);
47 CuAssertPtrEquals(tc, NULL, test_node->next);
48 CuAssertIntEquals(tc, 0, test_node->flavor);
49 CuAssertIntEquals(tc, 0, test_node->line);
54 void test_cil_tree_init(CuTest *tc) { argument
[all...]
H A Dtest_integration.c40 void test_integration(CuTest *tc) { argument
58 CuAssertIntEquals(tc, 1, WIFEXITED(status));
59 CuAssertIntEquals(tc, 0, WEXITSTATUS(status));
60 CuAssertIntEquals(tc, 1, WIFEXITED(status1));
61 CuAssertIntEquals(tc, 0, WEXITSTATUS(status1));
62 CuAssertIntEquals(tc, 1, WIFEXITED(status2));
63 CuAssertIntEquals(tc, 0, WEXITSTATUS(status2));
66 void test_min_policy(CuTest *tc) { argument
74 CuAssertIntEquals(tc, 1, WIFEXITED(status));
75 CuAssertIntEquals(tc,
[all...]
H A Dtest_cil_lexer.c37 void test_cil_lexer_setup(CuTest *tc) { argument
46 CuAssertIntEquals(tc, SEPOL_OK, rc);
51 void test_cil_lexer_next(CuTest *tc) { argument
64 CuAssertIntEquals(tc, SEPOL_OK, rc);
66 CuAssertIntEquals(tc, OPAREN, test_tok.type);
67 CuAssertStrEquals(tc, "(", test_tok.value);
68 CuAssertIntEquals(tc, 1, test_tok.line);
71 CuAssertIntEquals(tc, SEPOL_OK, rc);
73 CuAssertIntEquals(tc, SYMBOL, test_tok.type);
74 CuAssertStrEquals(tc, "tes
[all...]
H A Dtest_cil_symtab.c39 void test_cil_symtab_insert(CuTest *tc) { argument
60 CuAssertIntEquals(tc, SEPOL_OK, rc);
H A Dtest_cil.c38 void test_cil_symtab_array_init(CuTest *tc) { argument
43 CuAssertPtrNotNull(tc, test_new_db->symtab);
48 void test_cil_db_init(CuTest *tc) { argument
53 CuAssertPtrNotNull(tc, test_db->ast);
54 CuAssertPtrNotNull(tc, test_db->symtab);
55 CuAssertPtrNotNull(tc, test_db->symtab);
60 void test_cil_get_symtab_block(CuTest *tc) { argument
74 CuAssertIntEquals(tc, SEPOL_OK, rc);
75 CuAssertPtrNotNull(tc, symtab);
78 void test_cil_get_symtab_class(CuTest *tc) { argument
96 test_cil_get_symtab_root(CuTest *tc) argument
114 test_cil_get_symtab_flavor_neg(CuTest *tc) argument
132 test_cil_get_symtab_null_neg(CuTest *tc) argument
149 test_cil_get_symtab_node_null_neg(CuTest *tc) argument
163 test_cil_get_symtab_parent_null_neg(CuTest *tc) argument
[all...]
/external/testng/src/test/java/test/regression/
H A DMyTestngTest.java10 public void beforeSuite(ITestContext tc) throws Exception { argument
14 public void beforeTest(ITestContext tc) throws Exception { argument
H A DMyTestngTest2.java11 public void beforeClass(ITestContext tc) throws Exception { argument
15 public void beforeMethod(ITestContext tc) throws Exception { argument
19 public void test(ITestContext tc) { argument
/external/libnl/lib/cli/cls/
H A Dcgroup.c13 #include <netlink/cli/tc.h>
30 static void parse_argv(struct rtnl_tc *tc, int argc, char **argv) argument
32 struct rtnl_cls *cls = (struct rtnl_cls *) tc;
/external/libnl/lib/cli/qdisc/
H A Dbfifo.c13 #include <netlink/cli/tc.h>
30 static void bfifo_parse_argv(struct rtnl_tc *tc, int argc, char **argv) argument
32 struct rtnl_qdisc *qdisc = (struct rtnl_qdisc *) tc;
H A Dblackhole.c13 #include <netlink/cli/tc.h>
28 static void blackhole_parse_argv(struct rtnl_tc *tc, int argc, char **argv) argument
H A Dingress.c14 #include <netlink/cli/tc.h>
29 static void ingress_parse_argv(struct rtnl_tc *tc, int argc, char **argv) argument
H A Dpfifo.c14 #include <netlink/cli/tc.h>
31 static void pfifo_parse_argv(struct rtnl_tc *tc, int argc, char **argv) argument
33 struct rtnl_qdisc *qdisc = (struct rtnl_qdisc *) tc;
H A Dplug.c14 #include <netlink/cli/tc.h>
49 static void plug_parse_argv(struct rtnl_tc *tc, int argc, char **argv) argument
51 struct rtnl_qdisc *qdisc = (struct rtnl_qdisc *) tc;
/external/libnl/lib/route/qdisc/
H A Dingress.c20 #include <netlink-private/tc.h>
22 #include <netlink-private/route/tc-api.h>
30 static int dumb_msg_parser(struct rtnl_tc *tc, void *data) argument
35 static void dumb_dump_line(struct rtnl_tc *tc, void *data, argument
40 static int dumb_msg_fill(struct rtnl_tc *tc, void *data, struct nl_msg *msg) argument
H A Dplug.c64 #include <netlink-private/tc.h>
67 #include <netlink-private/route/tc-api.h>
70 static int plug_msg_fill(struct rtnl_tc *tc, void *data, struct nl_msg *msg) argument
/external/ltp/testcases/kernel/syscalls/futex/
H A Dfutex_wake01.c50 static void verify_futex_wake(struct testcase *tc) argument
54 res = futex_wake(tc->f_addr, tc->nr_wake, tc->opflags);
/external/ltp/testcases/kernel/syscalls/llistxattr/
H A Dllistxattr02.c52 } tc[] = { variable in typeref:struct:test_case
63 struct test_case *t = tc + n;
105 .tcnt = ARRAY_SIZE(tc),
/external/ltp/testcases/kernel/syscalls/ptrace/
H A Dptrace06.c175 struct test_case_t *tc = &test_cases[i]; local
179 ptrace(tc->request, pid, (void *)tc->addr,
180 (void *)tc->data);
185 strptrace(tc->request), tc->addr, tc->data,
190 strptrace(tc->request), tc->addr, tc
[all...]
/external/ltp/testcases/kernel/syscalls/removexattr/
H A Dremovexattr02.c50 } tc[] = { variable in typeref:struct:test_case
59 static void verify_removexattr(struct test_case *tc);
63 int TST_TOTAL = ARRAY_SIZE(tc);
77 verify_removexattr(&tc[i]);
84 static void verify_removexattr(struct test_case *tc) argument
87 TEST(removexattr(tc->path, tc->name));
98 if (TEST_ERRNO != tc->exp_err) {
100 " expected %s", tst_strerrno(tc->exp_err));
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_texture.c52 /* Compute sc = +/-scale and tc = +/-scale.
58 const float tc = (2 * in_st[1] - 1) * scale; local
63 ry = -tc;
68 ry = -tc;
74 rz = tc;
79 rz = -tc;
83 ry = -tc;
88 ry = -tc;
/external/libchrome/base/trace_event/
H A Dtrace_config_unittest.cc51 void CheckDefaultTraceConfigBehavior(const TraceConfig& tc) { argument
52 EXPECT_EQ(RECORD_UNTIL_FULL, tc.GetTraceRecordMode());
53 EXPECT_FALSE(tc.IsSamplingEnabled());
54 EXPECT_FALSE(tc.IsSystraceEnabled());
55 EXPECT_FALSE(tc.IsArgumentFilterEnabled());
59 EXPECT_TRUE(tc.IsCategoryGroupEnabled("Category1"));
60 EXPECT_TRUE(tc.IsCategoryGroupEnabled("not-excluded-category"));
61 EXPECT_FALSE(tc.IsCategoryGroupEnabled("disabled-by-default-cc"));
63 EXPECT_TRUE(tc.IsCategoryGroupEnabled("Category1,not-excluded-category"));
64 EXPECT_TRUE(tc
275 TraceConfig tc; local
545 TraceConfig tc; local
615 TraceConfig tc; local
[all...]

Completed in 340 milliseconds

12345678910