/drivers/hdf_core/framework/tools/hdi-gen/codegen/ |
D | code_generator.cpp | 121 for (const auto &ast : allAst) { in Generate() local 122 if (sourceFile.find(ast.second->GetIdlFilePath()) != sourceFile.end()) { in Generate() 123 genCodeFunc(ast.second, outDir); in Generate() 127 for (const auto &ast : allAst) { in Generate() local 128 genCodeFunc(ast.second, outDir); in Generate() 159 void CodeGenerator::GenIpcCCode(const AutoPtr<AST> &ast, const std::string &outDir) in GenIpcCCode() argument 162 switch (ast->GetASTFileType()) { in GenIpcCCode() 164 cCodeEmitters_["types"]->OutPut(ast, outDir, mode); in GenIpcCCode() 168 cCodeEmitters_["interface"]->OutPut(ast, outDir, mode); in GenIpcCCode() 169 cCodeEmitters_["proxy"]->OutPut(ast, outDir, mode); in GenIpcCCode() [all …]
|
D | code_generator.h | 33 static void GenIpcCCode(const AutoPtr<AST> &ast, const std::string &outDir); 35 static void GenIpcCppCode(const AutoPtr<AST> &ast, const std::string &outDir); 37 static void GenIpcJavaCode(const AutoPtr<AST> &ast, const std::string &outDir); 39 static void GenPassthroughCCode(const AutoPtr<AST> &ast, const std::string &outDir); 41 static void GenPassthroughCppCode(const AutoPtr<AST> &ast, const std::string &outDir); 43 static void GenKernelCode(const AutoPtr<AST> &ast, const std::string &outDir); 45 static void GenLowCCode(const AutoPtr<AST> &ast, const std::string &outDir);
|
D | code_emitter.cpp | 18 bool CodeEmitter::OutPut(const AutoPtr<AST> &ast, const std::string &targetDirectory, GenMode mode) in OutPut() argument 20 if (!Reset(ast, targetDirectory, mode)) { in OutPut() 28 bool CodeEmitter::Reset(const AutoPtr<AST> &ast, const std::string &targetDirectory, GenMode mode) in Reset() argument 30 if (ast == nullptr || targetDirectory.empty()) { in Reset() 37 ast_ = ast; in Reset()
|
D | code_emitter.h | 75 bool OutPut(const AutoPtr<AST> &ast, const std::string &targetDirectory, GenMode mode); 78 bool Reset(const AutoPtr<AST> &ast, const std::string &targetDirectory, GenMode mode);
|
D | cpp_code_emitter.h | 23 bool OutPut(const AutoPtr<AST> &ast, const std::string &targetDirectory);
|
/drivers/hdf_core/framework/tools/hc-gen/src/ |
D | generator.h | 20 explicit Generator(const std::shared_ptr<Ast> &ast) : ast_(ast) {} in Generator() argument
|
D | decompile.cpp | 301 auto ast = std::make_shared<Ast>(rootObject); in RebuildAst() local 302 ast->Dump(); in RebuildAst() 303 return ast; in RebuildAst() 316 auto ast = RebuildAst(); in DoDecompile() local 317 if (ast == nullptr) { in DoDecompile() 327 DecompileGen decompileGen(ast, outPutFileName); in DoDecompile()
|
D | decompile_gen.h | 21 DecompileGen(std::shared_ptr<Ast> ast, std::string outPutFileName);
|
D | macro_gen.h | 21 explicit MacroGen(std::shared_ptr<Ast> ast);
|
D | bytecode_gen.h | 31 explicit ByteCodeGen(std::shared_ptr<Ast> ast);
|
D | decompile_gen.cpp | 16 DecompileGen::DecompileGen(std::shared_ptr<Ast> ast, std::string outPutFileName) in DecompileGen() argument 20 ast_(ast) in DecompileGen()
|
D | startup_cfg_gen.h | 40 explicit StartupCfgGen(const std::shared_ptr<Ast> &ast);
|
D | bytecode_gen.cpp | 17 ByteCodeGen::ByteCodeGen(std::shared_ptr<Ast> ast) in ByteCodeGen() argument 18 : Generator(ast), in ByteCodeGen()
|
D | macro_gen.cpp | 23 MacroGen::MacroGen(std::shared_ptr<Ast> ast) : Generator(ast) {} in MacroGen() argument
|
D | startup_cfg_gen.cpp | 42 StartupCfgGen::StartupCfgGen(const std::shared_ptr<Ast> &ast) : Generator(ast) in StartupCfgGen() argument
|
D | text_gen.h | 21 explicit TextGen(std::shared_ptr<Ast> ast);
|
D | text_gen.cpp | 23 TextGen::TextGen(std::shared_ptr<Ast> ast) : Generator(ast) {} in TextGen() argument
|
/drivers/hdf_core/framework/tools/hdi-gen/parser/ |
D | parser.cpp | 1695 bool Parser::AddAst(const AutoPtr<AST> &ast) in AddAst() argument 1697 if (ast == nullptr) { in AddAst() 1702 allAsts_[ast->GetFullName()] = ast; in AddAst() 1841 for (const auto &ast : allAsts_) { in GetGenVersion() local 1842 if (sourceFile.find(ast.second->GetIdlFilePath()) != sourceFile.end()) { in GetGenVersion() 1844 genPackageName = ast.second->GetPackageName(); in GetGenVersion() 1845 version[0] = ast.second->GetMajorVer(); in GetGenVersion() 1846 version[1] = ast.second->GetMinorVer(); in GetGenVersion() 1849 … if (genPackageName != ast.second->GetPackageName() || version[0] != ast.second->GetMajorVer() || in GetGenVersion() 1850 version[1] != ast.second->GetMinorVer()) { in GetGenVersion() [all …]
|
D | parser.h | 204 bool AddAst(const AutoPtr<AST> &ast);
|
/drivers/hdf_core/framework/tools/hdi-gen/ |
D | MakefileLinux | 30 AST_SOURCE_DIR := $(PWD)/ast 32 AST_OBJS_DIR := $(BUILD_DIR)/ast
|
D | MakefileWin | 30 AST_SOURCE_DIR:=$(PWD)\ast 32 AST_OBJS_DIR:=$(BUILD_DIR)\ast
|
/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/src/hcs/ |
D | parser.js | 52 ast: oneAst, property
|
/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/command_line/ |
D | hdf_liteos_scann.py | 14 import ast 335 str1 = ast.literal_eval(list1[-1].strip())[0]
|
D | hdf_get_handler.py | 13 from ast import literal_eval
|
/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/ |
D | hdf_utils.py | 17 from ast import literal_eval
|