Home
last modified time | relevance | path

Searched refs:decls (Results 1 – 25 of 157) sorted by relevance

1234567

/external/selinux/libsepol/tests/
Dtest-linker-types.c100 static void test_type_datum(policydb_t * p, char *id, unsigned int *decls, int len, unsigned int pr… in test_type_datum() argument
116 type = hashtab_search(p->decl_val_to_struct[decls[i] - 1]->p_types.table, id); in test_type_datum()
127 unsigned int decls[2]; in base_type_tests() local
136 decls[0] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_g_b"))->decl_id; in base_type_tests()
137 test_sym_presence(base, "g_b_type_1", SYM_TYPES, SCOPE_DECL, decls, 1); in base_type_tests()
140 test_sym_presence(base, "g_b_attr_1", SYM_TYPES, SCOPE_DECL, decls, 1); in base_type_tests()
145 decls[0] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_o1_b"))->decl_id; in base_type_tests()
146 test_sym_presence(base, "o1_b_type_1", SYM_TYPES, SCOPE_DECL, decls, 1); in base_type_tests()
149 test_sym_presence(base, "o1_b_attr_1", SYM_TYPES, SCOPE_DECL, decls, 1); in base_type_tests()
151 test_attr_types(base, "o1_b_attr_1", base->decl_val_to_struct[decls[0] - 1], types, 1); in base_type_tests()
[all …]
Dtest-linker-roles.c74 unsigned int decls[2]; in base_role_tests() local
81 decls[0] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_g_b"))->decl_id; in base_role_tests()
82 test_sym_presence(base, "g_b_role_1", SYM_ROLES, SCOPE_DECL, decls, 1); in base_role_tests()
91 decls[0] = decl->decl_id; in base_role_tests()
92 test_sym_presence(base, "o1_b_role_1", SYM_ROLES, SCOPE_DECL, decls, 1); in base_role_tests()
104 unsigned int decls[3]; in module_role_tests() local
112 decls[0] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_g_m1"))->decl_id; in module_role_tests()
113 test_sym_presence(base, "g_m1_role_1", SYM_ROLES, SCOPE_DECL, decls, 1); in module_role_tests()
122 decls[0] = decl->decl_id; in module_role_tests()
123 test_sym_presence(base, "o1_m1_role_1", SYM_ROLES, SCOPE_DECL, decls, 1); in module_role_tests()
[all …]
Dtest-linker-cond-map.c90 unsigned int decls[1]; in base_cond_tests() local
98 decls[0] = d->decl_id; in base_cond_tests()
99 test_sym_presence(base, "g_b_bool_1", SYM_BOOLS, SCOPE_DECL, decls, 1); in base_cond_tests()
108 decls[0] = d->decl_id; in base_cond_tests()
109 test_sym_presence(base, "o1_b_bool_1", SYM_BOOLS, SCOPE_DECL, decls, 1); in base_cond_tests()
121 unsigned int decls[1]; in module_cond_tests() local
126 decls[0] = d->decl_id; in module_cond_tests()
127 test_sym_presence(base, "g_m1_bool_1", SYM_BOOLS, SCOPE_DECL, decls, 1); in module_cond_tests()
136 decls[0] = d->decl_id; in module_cond_tests()
137 test_sym_presence(base, "o1_m1_bool_1", SYM_BOOLS, SCOPE_DECL, decls, 1); in module_cond_tests()
[all …]
Dtest-common.h37 …ydb_t * p, char *id, int sym_type, unsigned int scope_type, unsigned int *decls, unsigned int len);
/external/clang/include/clang/AST/
DUnresolvedSet.h71 iterator begin() { return iterator(decls().begin()); } in begin()
72 iterator end() { return iterator(decls().end()); } in end()
74 const_iterator begin() const { return const_iterator(decls().begin()); } in begin()
75 const_iterator end() const { return const_iterator(decls().end()); } in end()
82 decls().push_back(DeclAccessPair::make(D, AS)); in addDecl()
89 for (DeclsTy::iterator I = decls().begin(), E = decls().end(); I != E; ++I) in replace()
103 void erase(unsigned I) { decls()[I] = decls().pop_back_val(); } in erase()
105 void erase(iterator I) { *I.I = decls().pop_back_val(); } in erase()
109 void clear() { decls().clear(); } in clear()
110 void set_size(unsigned N) { decls().set_size(N); } in set_size()
[all …]
/external/antlr/antlr-3.4/runtime/Perl5/examples/tweak/
DT.g2 * convert method with "public void", add decls. This shows how to insert
29 // decls is on body's local variable stack but is visible to
31 // it is referenced as $body::decls
32 // From within rule body, you can use $decls shorthand
33 decls;
36 $body::decls = [];
41 foreach my $id ($body::decls) {
47 stat: ID '=' expr ';' { $body::decls->add($ID.text); } // track left-hand-sides
/external/clang/lib/AST/
DDeclGroup.cpp30 DeclGroup::DeclGroup(unsigned numdecls, Decl** decls) : NumDecls(numdecls) { in DeclGroup() argument
32 assert(decls); in DeclGroup()
33 memcpy(this+1, decls, numdecls * sizeof(*decls)); in DeclGroup()
/external/antlr/antlr-3.4/runtime/Python/tests/
Dt046rewrite.g24 decls
27 $body::decls = set()
31 for it in $body::decls:
36 stat: ID '=' expr ';' {$body::decls.add($ID.text);}
/external/antlr/antlr-3.4/runtime/JavaScript/tests/functional/
Dt046rewrite.g24 decls
27 $body::decls = {};
32 for (it in $body::decls) {
38 stat: ID '=' expr ';' {$body::decls[$ID.text] = true;}
/external/v8/test/mjsunit/es6/
Dblock-const-assign-sloppy.js32 const decls = [ variable
148 for (var d = 0; d < decls.length; d += 2) {
152 Test(declcontexts[o](decls[d](usecontexts[i](uses[u]))), decls[d + 1]);
Dblock-const-assign.js34 const decls = [ variable
150 for (var d = 0; d < decls.length; d += 2) {
154 Test(declcontexts[o](decls[d](usecontexts[i](uses[u]))), decls[d + 1]);
/external/mesa3d/src/glsl/tests/
Dsexps.py95 decls = []
99 decls.append(s)
102 return sorted(decls) + other_code
/external/mesa3d/src/gallium/drivers/svga/svgadump/
Dsvga_dump.py166 def dump_struct(decls, class_): argument
322 decls = parser.parse(headers, config, parser.COMPILATION_MODE.ALL_AT_ONCE)
323 global_ns = declarations.get_global_namespace(decls)
334 dump_struct(decls, class_)
/external/llvm/test/TableGen/
Dforeach.td14 class decls {
18 def Decls : decls;
DTargetInstrSpec.td72 class decls {
78 def Decls : decls;
/external/v8/test/webkit/fast/js/kde/
Dfunc-decl-expected.txt35 PASS function decls have no execution content
39 PASS function decls have no execution content
43 PASS function decls have no execution content
/external/clang/test/Rewriter/
Drewrite-modern-block.mm28 // rewriting multiple __block decls on wintin same decl stmt.
38 // rewriting multiple __block decls on wintin same decl stmt
/external/clang/test/Modules/Inputs/
Dmodule.map77 module redecl_add_after_load_decls { header "redecl-add-after-load-decls.h" }
242 header "cxx-decls-unimported.h"
245 header "cxx-decls-imported.h"
250 header "cxx-decls-premerged.h"
254 header "cxx-decls-merged.h"
/external/selinux/libselinux/utils/
DMakefile13 -Wredundant-decls -Wnested-externs -Winline -Winvalid-pch -Wvolatile-register-var \
25 -Werror -Wno-aggregate-return -Wno-redundant-decls
/external/v8/test/unittests/wasm/
Dast-decoder-unittest.cc2335 LocalTypeMap Expand(AstLocalDecls& decls) { in Expand() argument
2337 for (auto p : decls.local_types) { in Expand()
2345 AstLocalDecls decls(zone()); in TEST_F() local
2346 bool result = DecodeLocalDecls(decls, nullptr, nullptr); in TEST_F()
2352 AstLocalDecls decls(zone()); in TEST_F() local
2353 bool result = DecodeLocalDecls(decls, data, data + sizeof(data)); in TEST_F()
2355 EXPECT_EQ(0, decls.total_local_count); in TEST_F()
2363 AstLocalDecls decls(zone()); in TEST_F() local
2364 bool result = DecodeLocalDecls(decls, data, data + sizeof(data)); in TEST_F()
2366 EXPECT_EQ(1, decls.total_local_count); in TEST_F()
[all …]
/external/clang/test/Modules/Inputs/no-linkage/
Dmodule.modulemap1 module M { module E { header "empty.h" } module D { header "decls.h" } }
/external/v8/test/cctest/
Dcctest.status265 'test-decls/CrossScriptReferences_Simple2': [PASS, SLOW],
468 'test-decls/Unknown' : [SKIP],
469 'test-decls/Present' : [SKIP],
470 'test-decls/Absent' : [SKIP],
471 'test-decls/Appearing' : [SKIP],
472 'test-decls/Reappearing' : [SKIP],
473 'test-decls/ExistsInPrototype' : [SKIP],
474 'test-decls/AbsentInPrototype' : [SKIP],
475 'test-decls/ExistsInHiddenPrototype' : [SKIP],
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/builds/compiler/
Dgcc-dev.mk78 -Wredundant-decls \
/external/llvm/test/Assembler/
Dglobal-addrspace-forwardref.ll4 ; Make sure the address space of forward decls is preserved
/external/avahi/avahi-utils/
DAndroid.mk33 -Wredundant-decls \

1234567