Home
last modified time | relevance | path

Searched refs:CompositeDeclaration (Results 1 – 7 of 7) sorted by relevance

/system/tools/hidl/c2hal/
DCompositeDeclaration.cpp28 CompositeDeclaration::CompositeDeclaration( in CompositeDeclaration() function in android::CompositeDeclaration
39 CompositeDeclaration::~CompositeDeclaration() { in ~CompositeDeclaration()
48 void CompositeDeclaration::setName(const std::string &name) { in setName()
53 const Type::Qualifier::Qualification &CompositeDeclaration::getQualifier() const { in getQualifier()
57 CompositeDeclaration::getFieldDeclarations() const { in getFieldDeclarations()
61 void CompositeDeclaration::generateInterface(Formatter &out) const { in generateInterface()
70 void CompositeDeclaration::generateSource(Formatter &out) const { in generateSource()
95 void CompositeDeclaration::generateBody(Formatter &out) const { in generateBody()
107 void CompositeDeclaration::processContents(AST &ast) { in processContents()
141 auto subStruct = new CompositeDeclaration(Type::Qualifier::STRUCT, in processContents()
[all …]
DCompositeDeclaration.h25 struct CompositeDeclaration : Declaration { struct
26 CompositeDeclaration(
30 ~CompositeDeclaration();
57 DISALLOW_COPY_AND_ASSIGN(CompositeDeclaration); argument
DAST.h34 struct CompositeDeclaration;
75 std::vector<CompositeDeclaration *> *mInterfaces = nullptr;
82 status_t generateFile(CompositeDeclaration* declaration) const;
DAST.cpp139 mInterfaces = new std::vector<CompositeDeclaration*>; in isolateInterfaces()
143 if ((*it)->decType() == CompositeDeclaration::type() in isolateInterfaces()
144 && ((CompositeDeclaration *) (*it))->isInterface()) { in isolateInterfaces()
146 mInterfaces->push_back((CompositeDeclaration *) *it); in isolateInterfaces()
175 auto interface = new CompositeDeclaration( in isolateGlobalInterface()
224 auto constEnum = new CompositeDeclaration( in isolateConstants()
257 status_t AST::generateFile(CompositeDeclaration* declaration) const { in generateFile()
Dc2hal_y.yy24 #include "CompositeDeclaration.h"
155 android::CompositeDeclaration *composite;
267 $$ = new CompositeDeclaration(Type::Qualifier::STRUCT,
294 $$ = new CompositeDeclaration($1, $2, $5);
326 $$ = new CompositeDeclaration(Type::Qualifier::ENUM, $2, $6);
DAndroid.bp29 "CompositeDeclaration.cpp",
Dc2hal_l.ll36 #include "CompositeDeclaration.h"