Home
last modified time | relevance | path

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

1234

/external/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[2]; 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.h108 iterator begin() { return iterator(decls().begin()); } in begin()
109 iterator end() { return iterator(decls().end()); } in end()
111 const_iterator begin() const { return const_iterator(decls().begin()); } in begin()
112 const_iterator end() const { return const_iterator(decls().end()); } in end()
119 decls().push_back(DeclAccessPair::make(D, AS)); in addDecl()
126 for (DeclsTy::iterator I = decls().begin(), E = decls().end(); I != E; ++I) in replace()
143 decls()[I] = decls().back(); in erase()
144 decls().pop_back(); in erase()
148 *I.ir = decls().back(); in erase()
149 decls().pop_back(); in erase()
[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.cpp28 DeclGroup::DeclGroup(unsigned numdecls, Decl** decls) : NumDecls(numdecls) { in DeclGroup() argument
30 assert(decls); in DeclGroup()
31 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/chromium_org/third_party/WebKit/Source/core/css/
DCSSViewportRule.cpp66 String decls = m_viewportRule->properties()->asText(); in cssText() local
67 result.append(decls); in cssText()
68 if (!decls.isEmpty()) in cssText()
DCSSPageRule.cpp87 String decls = m_pageRule->properties()->asText(); in cssText() local
88 result.append(decls); in cssText()
89 if (!decls.isEmpty()) in cssText()
DCSSStyleRule.cpp115 String decls = m_styleRule->properties()->asText(); in cssText() local
116 result.append(decls); in cssText()
117 if (!decls.isEmpty()) in cssText()
DCSSKeyframeRule.cpp111 String decls = m_properties->asText(); in cssText() local
112 result.append(decls); in cssText()
113 if (!decls.isEmpty()) in cssText()
/external/chromium_org/v8/test/mjsunit/harmony/
Dblock-const-assign.js97 let decls = [ constDecl0, variable
127 for (var d = 0; d < decls.length; ++d) {
129 Test(decls[d], uses[u]);
/external/v8/test/mjsunit/harmony/
Dblock-const-assign.js97 let decls = [ constDecl0, variable
127 for (var d = 0; d < decls.length; ++d) {
129 Test(decls[d], uses[u]);
/external/mesa3d/src/glsl/tests/
Dsexps.py95 decls = []
99 decls.append(s)
102 return sorted(decls) + other_code
/external/chromium_org/third_party/mesa/src/src/glsl/tests/
Dsexps.py95 decls = []
99 decls.append(s)
102 return sorted(decls) + other_code
/external/chromium_org/third_party/mesa/src/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/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.td6 class decls {
10 def Decls : decls;
/external/chromium_org/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/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/chromium_org/third_party/yasm/source/patched-yasm/tools/python-yasm/pyxelator/
Dwork_unit.py121decls = self.node.pyx_decls(self.files, self.modname, macros = self.macros, func_cb = func_cb, nam…
128 file.write(decls)
129 sys.stderr.write( "# wrote %s, %d lines\n" % (pxi,decls.count('\n')) )
/external/llvm/test/Assembler/
Dglobal-addrspace-forwardref.ll3 ; Make sure the address space of forward decls is preserved
/external/yaffs2/
DAndroid.mk14 LOCAL_CFLAGS+= -Wmissing-prototypes -Wredundant-decls -Wnested-externs -Winline

1234