Home
last modified time | relevance | path

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

123456

/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/harmony/
Dblock-const-assign.js96 let decls = [ constDecl0, variable
126 for (var d = 0; d < decls.length; ++d) {
128 Test(decls[d], uses[u]);
/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/v8/test/webkit/fast/js/kde/
Dfunc-decl-expected.txt32 PASS function decls have no execution content
36 PASS function decls have no execution content
40 PASS function decls have no execution content
/external/llvm/test/TableGen/
Dforeach.td14 class decls {
18 def Decls : decls;
DTargetInstrSpec.td72 class decls {
78 def Decls : decls;
DMultiPat.td76 class decls {
82 def Decls : decls;
/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/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/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/cctest/
Dcctest.status403 'test-decls/Unknown' : [SKIP],
404 'test-decls/Present' : [SKIP],
405 'test-decls/Absent' : [SKIP],
406 'test-decls/Appearing' : [SKIP],
407 'test-decls/Reappearing' : [SKIP],
408 'test-decls/ExistsInPrototype' : [SKIP],
409 'test-decls/AbsentInPrototype' : [SKIP],
410 'test-decls/ExistsInHiddenPrototype' : [SKIP],
/external/llvm/test/Assembler/
Dglobal-addrspace-forwardref.ll4 ; Make sure the address space of forward decls is preserved
/external/chromium-trace/trace-viewer/tracing/third_party/tvcm/tvcm/
Dparse_html_deps.py80 decls = [x for x in self._soup.contents
82 return len(decls) == 1
/external/lldb/include/lldb/Expression/
DClangASTSource.h462 llvm::SmallVectorImpl<clang::NamedDecl*> &decls, in NameSearchContext()
466 m_decls(decls), in NameSearchContext()
/external/clang/lib/Analysis/
DUninitializedValues.cpp147 unsigned decls = declToIndex.size(); in computeSetOfDeclarations() local
148 scratch.resize(decls); in computeSetOfDeclarations()
154 vals[i].resize(decls); in computeSetOfDeclarations()
409 for (auto *DI : DS->decls()) { in VisitDeclStmt()
754 for (auto *DI : DS->decls()) { in VisitDeclStmt()
/external/mesa3d/src/mapi/mapi/
Dmapi_abi.py333 decls = []
338 decls.append(self._c_decl(ent, prefix, True, export) + ';')
340 return "\n".join(decls)
416 decls = [self._c_decl(ent, prefix) + ';'
419 return "\n".join(decls)

123456