HomeSort by relevance Sort by last modified time
    Searched refs:tc (Results 1 - 25 of 886) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/selinux/libsepol/cil/test/unit/
test_cil_post.h 35 void test_cil_post_filecon_compare_meta_a_not_b(CuTest *tc);
36 void test_cil_post_filecon_compare_meta_b_not_a(CuTest *tc);
37 void test_cil_post_filecon_compare_meta_a_and_b_strlen_a_greater_b(CuTest *tc);
38 void test_cil_post_filecon_compare_meta_a_and_b_strlen_b_greater_a(CuTest *tc);
39 void test_cil_post_filecon_compare_type_atype_greater_btype(CuTest *tc);
40 void test_cil_post_filecon_compare_type_btype_greater_atype(CuTest *tc);
41 void test_cil_post_filecon_compare_stemlen_a_greater_b(CuTest *tc);
42 void test_cil_post_filecon_compare_stemlen_b_greater_a(CuTest *tc);
43 void test_cil_post_filecon_compare_equal(CuTest *tc);
45 void test_cil_post_portcon_compare_atotal_greater_btotal(CuTest *tc);
    [all...]
test_cil_copy_ast.h 41 void test_cil_copy_node_helper_block(CuTest *tc);
42 void test_cil_copy_node_helper_block_merge(CuTest *tc);
45 void test_cil_copy_node_helper_perm(CuTest *tc);
46 void test_cil_copy_node_helper_perm_neg(CuTest *tc);
49 void test_cil_copy_node_helper_class(CuTest *tc);
50 void test_cil_copy_node_helper_class_dup_neg(CuTest *tc);
53 void test_cil_copy_node_helper_common(CuTest *tc);
54 void test_cil_copy_node_helper_common_dup_neg(CuTest *tc);
57 void test_cil_copy_node_helper_classcommon(CuTest *tc);
60 void test_cil_copy_node_helper_sid(CuTest *tc);
    [all...]
test_cil_build_ast.h 130 void test_cil_gen_classmap_perm_dbnull_neg(CuTest *tc);
131 void test_cil_gen_classmap_perm_currnull_neg(CuTest *tc);
132 void test_cil_gen_classmap_perm_astnull_neg(CuTest *tc);
138 void test_cil_gen_classmap_dbnull_neg(CuTest *tc);
139 void test_cil_gen_classmap_currnull_neg(CuTest *tc);
140 void test_cil_gen_classmap_astnull_neg(CuTest *tc);
149 void test_cil_gen_classmapping_dbnull_neg(CuTest *tc);
150 void test_cil_gen_classmapping_currnull_neg(CuTest *tc);
151 void test_cil_gen_classmapping_astnull_neg(CuTest *tc);
154 void test_cil_gen_common_dbnull_neg(CuTest *tc);
    [all...]
test_cil_tree.c 37 void test_cil_tree_node_init(CuTest *tc) {
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) {
    [all...]
test_cil_lexer.c 37 void test_cil_lexer_setup(CuTest *tc) {
46 CuAssertIntEquals(tc, SEPOL_OK, rc);
51 void test_cil_lexer_next(CuTest *tc) {
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, "test", test_tok.value)
    [all...]
test_cil_fqn.h 36 void test_cil_qualify_name_cil_flavor(CuTest *tc);
CuTest.h 78 void CuTestRun(CuTest* tc);
82 void CuFail_Line(CuTest* tc, const char* file, int line, const char* message2, const char* message);
83 void CuAssert_Line(CuTest* tc, const char* file, int line, const char* message, int condition);
84 void CuAssertStrEquals_LineMsg(CuTest* tc,
87 void CuAssertIntEquals_LineMsg(CuTest* tc,
90 void CuAssertDblEquals_LineMsg(CuTest* tc,
93 void CuAssertPtrEquals_LineMsg(CuTest* tc,
99 #define CuFail(tc, ms) CuFail_Line( (tc), __FILE__, __LINE__, NULL, (ms))
100 #define CuAssert(tc, ms, cond) CuAssert_Line((tc), __FILE__, __LINE__, (ms), (cond)
    [all...]
  /external/mesa3d/src/gallium/drivers/ilo/shader/
toy_optimize.h 34 toy_compiler_optimize(struct toy_compiler *tc);
toy_legalize.h 35 toy_compiler_lower_to_send(struct toy_compiler *tc, struct toy_inst *inst,
39 toy_compiler_lower_math(struct toy_compiler *tc, struct toy_inst *inst);
42 toy_compiler_allocate_registers(struct toy_compiler *tc,
47 toy_compiler_legalize_for_ra(struct toy_compiler *tc);
50 toy_compiler_legalize_for_asm(struct toy_compiler *tc);
toy_compiler.h 174 tc_alloc_vrf(struct toy_compiler *tc, int count)
176 const int vrf = tc->next_vrf;
178 tc->next_vrf += count;
187 tc_alloc_tmp(struct toy_compiler *tc)
189 return tdst(TOY_FILE_VRF, tc_alloc_vrf(tc, 1), 0);
196 tc_alloc_tmp4(struct toy_compiler *tc, struct toy_dst *tmp)
198 tmp[0] = tc_alloc_tmp(tc);
199 tmp[1] = tc_alloc_tmp(tc);
200 tmp[2] = tc_alloc_tmp(tc);
201 tmp[3] = tc_alloc_tmp(tc);
    [all...]
toy_optimize.c 36 eliminate_dead_code(struct toy_compiler *tc)
40 tc_head(tc);
41 while ((inst = tc_next(tc)) != NULL) {
60 tc_discard_inst(tc, inst);
68 toy_compiler_optimize(struct toy_compiler *tc)
70 eliminate_dead_code(tc);
  /external/mesa3d/src/gallium/drivers/softpipe/
sp_tex_tile_cache.c 49 struct softpipe_tex_tile_cache *tc; local
55 tc = CALLOC_STRUCT( softpipe_tex_tile_cache );
56 if (tc) {
57 tc->pipe = pipe;
58 for (pos = 0; pos < ARRAY_SIZE(tc->entries); pos++) {
59 tc->entries[pos].addr.bits.invalid = 1;
61 tc->last_tile = &tc->entries[0]; /* any tile */
63 return tc;
68 sp_destroy_tex_tile_cache(struct softpipe_tex_tile_cache *tc)
    [all...]
sp_tile_cache.c 42 sp_alloc_tile(struct softpipe_tile_cache *tc);
93 struct softpipe_tile_cache *tc; local
107 tc = CALLOC_STRUCT( softpipe_tile_cache );
108 if (tc) {
109 tc->pipe = pipe;
110 for (pos = 0; pos < ARRAY_SIZE(tc->tile_addrs); pos++) {
111 tc->tile_addrs[pos].bits.invalid = 1;
113 tc->last_tile_addr.bits.invalid = 1;
118 tc->tile = MALLOC_STRUCT( softpipe_cached_tile );
119 if (!tc->tile
    [all...]
  /external/ltp/testcases/kernel/syscalls/getpriority/
getpriority02.c 52 struct tcase *tc = &tcases[n]; local
54 TEST(getpriority(tc->which, tc->who));
58 "returned %li", tc->which, tc->who, TEST_RETURN);
62 if (tc->exp_errno != TEST_ERRNO) {
65 tc->which, tc->who, tst_strerrno(tc->exp_errno));
70 tc->which, tc->who)
    [all...]
getpriority01.c 44 struct tcase *tc = &tcases[n]; local
46 TEST(getpriority(tc->which, 0));
50 tc->which);
54 if (TEST_RETURN < tc->min || TEST_RETURN > tc->max) {
57 tc->which, TEST_RETURN, tc->min, tc->max);
62 tc->which, TEST_RETURN);
  /external/ltp/testcases/kernel/syscalls/lseek/
lseek01.c 52 struct tcase *tc = &tcases[n]; local
59 TEST(lseek(fd, tc->off, tc->whence));
62 tc->off, tc->wname);
66 if (TEST_RETURN != tc->exp_off) {
68 TFILE, tc->off, tc->wname, TEST_RETURN, tc->exp_off);
72 SAFE_READ(1, fd, read_buf, tc->exp_size)
    [all...]
lseek07.c 52 struct tcase *tc = &tcases[n]; local
56 TEST(lseek(*tc->fd, tc->off, SEEK_SET));
59 tc->fname, tc->off);
63 if (TEST_RETURN != tc->exp_off) {
65 tc->fname, tc->off, TEST_RETURN, tc->exp_off);
69 SAFE_WRITE(1, *tc->fd, WR_STR2, sizeof(WR_STR2) - 1)
    [all...]
  /external/ltp/testcases/kernel/syscalls/setpriority/
setpriority02.c 67 static void setpriority_test(struct tcase *tc)
71 if (tc->unprivil)
74 TEST(setpriority(tc->which, tc->who, tc->prio));
79 "returned %ld", tc->which, tc->who, tc->prio, desc,
84 if (TEST_ERRNO != tc->exp_errno) {
87 tc->which, tc->who, tc->prio, desc
99 struct tcase *tc = &tcases[n]; local
    [all...]
  /external/expat/tests/
minicheck.c 59 TCase *tc = (TCase *) calloc(1, sizeof(TCase)); local
60 if (tc != NULL) {
61 tc->name = name;
63 return tc;
67 suite_add_tcase(Suite *suite, TCase *tc)
70 assert(tc != NULL);
71 assert(tc->next_tcase == NULL);
73 tc->next_tcase = suite->tests;
74 suite->tests = tc;
78 tcase_add_checked_fixture(TCase *tc,
168 TCase *tc; local
    [all...]
  /external/ltp/testcases/kernel/syscalls/mincore/
mincore01.c 61 static void setup1(struct test_case_t *tc);
62 static void setup2(struct test_case_t *tc);
63 static void setup3(struct test_case_t *tc);
64 static void setup4(struct test_case_t *tc);
71 void (*setupfunc) (struct test_case_t *tc);
72 } TC[] = {
79 static void mincore_verify(struct test_case_t *tc);
81 int TST_TOTAL = ARRAY_SIZE(TC);
95 mincore_verify(&TC[i]);
102 static void setup1(struct test_case_t *tc)
    [all...]
  /pdk/apps/TestingCamera2/src/com/android/testingcamera2/
BurstControlPane.java 35 public BurstControlPane(TestingCamera21 tc, AttributeSet attrs, StatusListener listener) {
36 super(tc, attrs, listener, tc.getPaneTracker());
38 this.setName(tc.getResources().getString(R.string.burst_pane_title));
41 public BurstControlPane(TestingCamera21 tc, XmlPullParser configParser, StatusListener listener)
43 super(tc, null, listener, tc.getPaneTracker());
45 this.setName(tc.getResources().getString(R.string.request_pane_title));
UtilControlPane.java 34 public UtilControlPane(TestingCamera21 tc, AttributeSet attrs, StatusListener listener) {
35 super(tc, attrs, listener, tc.getPaneTracker());
37 this.setName(tc.getResources().getString(R.string.util_pane_title));
40 public UtilControlPane(TestingCamera21 tc, XmlPullParser configParser, StatusListener listener)
42 super(tc, null, listener, tc.getPaneTracker());
44 this.setName(tc.getResources().getString(R.string.util_pane_title));
  /external/ltp/testcases/kernel/syscalls/access/
access03.c 48 static void access_test(struct tcase *tc, const char *user)
50 TEST(access(tc->addr, tc->mode));
54 tc->addr, tc->name, user);
61 tc->addr, tc->name, user);
66 tc->addr, tc->name, user);
71 struct tcase *tc = &tcases[n] local
    [all...]
  /external/libnl/lib/route/
tc.c 2 * lib/route/tc.c Traffic Control
14 * @defgroup tc Traffic Control
19 #include <netlink-private/tc.h>
24 #include <netlink/route/tc.h>
25 #include <netlink-private/route/tc-api.h>
61 int rtnl_tc_msg_parse(struct nlmsghdr *n, struct rtnl_tc *tc)
70 tc->ce_msgtype = n->nlmsg_type;
80 rtnl_tc_set_kind(tc, kind);
83 tc->tc_family = tm->tcm_family;
84 tc->tc_ifindex = tm->tcm_ifindex
735 struct rtnl_tc *tc = TC_CAST(obj); local
818 struct rtnl_tc *tc = TC_CAST(obj); local
852 struct rtnl_tc *tc = TC_CAST(obj); local
874 struct rtnl_tc *tc = TC_CAST(obj); local
    [all...]
  /external/ltp/testcases/kernel/syscalls/socket/
socket01.c 57 struct test_case_t *tc = &tdat[n]; local
59 TEST(fd = socket(tc->domain, tc->type, tc->proto));
66 if (TEST_RETURN != tc->retval) {
68 tc->desc, fd, tc->retval);
72 if (TEST_ERRNO != tc->experrno) {
74 tst_strerrno(tc->experrno), tc->experrno)
    [all...]

Completed in 202 milliseconds

1 2 3 4 5 6 7 8 91011>>