Home
last modified time | relevance | path

Searched refs:declaration (Results 1 – 25 of 75) sorted by relevance

123

/aosp12/system/tools/hidl/c2hal/
H A DCompositeDeclaration.cpp98 for (auto *declaration : *mFieldDeclarations) { in generateBody()
99 declaration->generateCommentText(out); in generateBody()
100 declaration->generateSource(out); in generateBody()
108 for (auto &declaration : *mFieldDeclarations) { in processContents()
109 declaration->processContents(ast); in processContents()
159 for (auto &declaration : *mFieldDeclarations) { in isInterface()
160 if (declaration->decType() == FunctionDeclaration::type()) { in isInterface()
H A DAST.cpp121 for (auto &declaration : *mDeclarations) { in processContents()
122 CHECK(declaration != nullptr); in processContents()
124 declaration->processContents(*this); in processContents()
257 status_t AST::generateFile(CompositeDeclaration* declaration) const { in generateFile()
258 std::string fileName = declaration->getInterfaceName() + ".hal"; in generateFile()
271 declaration->generateInterface(out); in generateFile()
292 for (auto &declaration : *mDeclarations) { in generateTypesFile()
293 declaration->generateCommentText(out); in generateTypesFile()
294 declaration->generateSource(out); in generateTypesFile()
H A Dc2hal_y.yy136 %type<declaration> declaration
147 %type<declaration> enum_var_line enum_var_last_line
154 android::Declaration *declaration;
196 | declarations declaration
212 declaration
272 $$->setComment("/* from namespace declaration */");
417 // as a parameter declaration
H A DTypeDef.cpp21 TypeDef::TypeDef(const std::string &name, Declaration* declaration) in TypeDef() argument
22 : Declaration(name), mDeclaration(declaration) in TypeDef()
H A DTypeDef.h29 TypeDef(const std::string &name, Declaration* declaration);
/aosp12/bionic/tools/versioner/src/
H A DDeclarationDatabase.cpp227 Declaration declaration; in VisitDeclaratorDecl() local
228 declaration.name = declaration_name; in VisitDeclaratorDecl()
229 declaration.location = location; in VisitDeclaratorDecl()
230 declaration.is_extern = is_extern; in VisitDeclaratorDecl()
231 declaration.is_definition = is_definition; in VisitDeclaratorDecl()
232 declaration.no_guard = no_guard; in VisitDeclaratorDecl()
233 declaration.fortify_inline = fortify_inline; in VisitDeclaratorDecl()
234 declaration.availability.insert(std::make_pair(type, availability)); in VisitDeclaratorDecl()
235 symbol_it->second.declarations.insert(std::make_pair(location, declaration)); in VisitDeclaratorDecl()
H A DPreprocessor.cpp44 static DeclarationAvailability calculateRequiredGuard(const Declaration& declaration) { in calculateRequiredGuard() argument
56 for (const auto& it : declaration.availability) { in calculateRequiredGuard()
69 if (!declaration.calculateAvailability(&decl_av)) { in calculateRequiredGuard()
71 declaration.dump("", stderr, 2); in calculateRequiredGuard()
75 D("Calculating required guard for %s:\n", declaration.name.c_str()); in calculateRequiredGuard()
/aosp12/packages/apps/TV/libs/m2/
H A Dauto-factory-1.0-beta6.jar ... .google.auto.factory.processor.AutoFactoryDeclaration declaration () abstract java.lang.String name ( ...
/aosp12/bionic/tools/versioner/tests/multiple_decl_mismatch/
H A Dexpected_fail4 extern declaration @ headers/bar.h:5:1
6 extern declaration @ headers/foo.h:5:1
/aosp12/bionic/tools/versioner/tests/version_mismatch/
H A Dexpected_fail4 extern declaration @ headers/foo.h:6:1
6 extern declaration @ headers/foo.h:8:1
/aosp12/system/tools/hidl/test/error_test/no_cyclic_declaration_3/1.0/
H A Drequired_error1 Cyclic declaration
/aosp12/system/tools/hidl/test/error_test/no_cyclic_declaration_4/1.0/
H A Drequired_error1 Cyclic declaration
/aosp12/system/tools/hidl/test/error_test/no_cyclic_declaration_1/1.0/
H A Drequired_error1 Cyclic declaration
/aosp12/system/tools/hidl/test/error_test/no_cyclic_declaration_2/1.0/
H A Drequired_error1 Cyclic declaration
/aosp12/system/tools/hidl/test/error_test/no_cyclic_expressions_1/1.0/
H A Drequired_error1 Cyclic declaration
/aosp12/system/tools/hidl/test/error_test/no_cyclic_expressions_2/1.0/
H A Drequired_error1 Cyclic declaration
/aosp12/system/tools/hidl/test/error_test/no_cyclic_expressions_3/1.0/
H A Drequired_error1 Cyclic declaration
/aosp12/system/tools/hidl/test/error_test/cpp_forward_decl_restriction/1.0/
H A Drequired_error1 C++ forward declaration doesn't support inner types
/aosp12/frameworks/compile/slang/tests/F_extern_const/
H A Dstderr.txt.expect1 extern_const.rscript:4:18: error: invalid declaration of uninitialized constant variable 'extern_co…
/aosp12/bionic/tools/versioner/tests/missing_api/
H A Dexpected_fail2 extern declaration @ headers/foo.h:5:1
/aosp12/frameworks/compile/slang/tests/F_unknown_function/
H A Dstderr.txt.expect1 unknown_function.rscript:6:5: error: implicit declaration of function 'bar' is invalid in C99
/aosp12/system/tools/aidl/
H A Daidl_language_y.yy90 AidlDefinedType* declaration;
150 %type<declaration> decl
151 %type<declaration> unannotated_decl
152 %type<declaration> interface_decl
153 %type<declaration> parcelable_decl
154 %type<declaration> enum_decl
155 %type<declaration> union_decl
/aosp12/bionic/tools/versioner/tests/missing_arch/
H A Dexpected_fail2 extern declaration @ headers/foo.h:5:1
/aosp12/frameworks/base/tools/aapt2/
H A DResources.proto148 // Any comment associated with the declaration.
157 // The location of the <overlayable> declaration in the source.
164 // Represents an overlayable <item> declaration within an <overlayable> tag.
179 // The location of the <item> declaration in source.
182 // Any comment associated with the declaration.
204 // An entry declaration. An entry has a full resource ID that is the combination of package ID,
482 // The source file information of the parent inheritance declaration.
497 // Any comments associated with the declaration.
587 // A namespace declaration on an XmlElement (xmlns:android="http://...").
/aosp12/frameworks/compile/slang/tests/F_kernel_static/
H A Dstderr.txt.expect2 …cript:18:22: error: Invalid use of attribute kernel with static function declaration: static_kernel

123