Searched refs:sourceFile (Results 1 – 7 of 7) sorted by relevance
/drivers/hdf_core/framework/tools/hdi-gen/preprocessor/ |
D | preprocessor.cpp | 71 for (const auto &sourceFile : sourceFiles) { in UnitPreprocess() local 73 if (!ParseFileDetail(sourceFile, info)) { in UnitPreprocess() 121 bool Preprocessor::ParseFileDetail(const std::string &sourceFile, FileDetail &info) in ParseFileDetail() argument 124 if (!lexer.Reset(sourceFile)) { in ParseFileDetail() 125 Logger::E(TAG, "failed to open file '%s'.", sourceFile.c_str()); in ParseFileDetail()
|
D | preprocessor.h | 52 static bool ParseFileDetail(const std::string &sourceFile, FileDetail &info);
|
/drivers/hdf_core/framework/tools/hdi-gen/util/ |
D | options.cpp | 158 void Options::AddSources(const std::string &sourceFile) in AddSources() argument 160 std::string realPath = File::AdapterRealPath(sourceFile); in AddSources() 162 Logger::E(TAG, "invalid idl file path:%s", sourceFile.c_str()); in AddSources() 167 Logger::E(TAG, "this idl file has been add:%s", sourceFile.c_str()); in AddSources()
|
D | options.h | 161 void AddSources(const std::string &sourceFile);
|
/drivers/hdf_core/framework/tools/hdi-gen/codegen/ |
D | code_generator.cpp | 118 std::set<std::string> sourceFile = Options::GetInstance().GetSourceFiles(); in Generate() local 122 if (sourceFile.find(ast.second->GetIdlFilePath()) != sourceFile.end()) { in Generate()
|
/drivers/hdf_core/framework/tools/hdi-gen/parser/ |
D | parser.h | 60 bool ParseOne(const std::string &sourceFile); 62 bool Reset(const std::string &sourceFile);
|
D | parser.cpp | 62 bool Parser::ParseOne(const std::string &sourceFile) in ParseOne() argument 64 if (!Reset(sourceFile)) { in ParseOne() 79 bool Parser::Reset(const std::string &sourceFile) in Reset() argument 81 bool ret = lexer_.Reset(sourceFile); in Reset() 83 Logger::E(TAG, "Fail to open file '%s'.", sourceFile.c_str()); in Reset() 1840 std::set<std::string> sourceFile = Options::GetInstance().GetSourceFiles(); in GetGenVersion() local 1842 if (sourceFile.find(ast.second->GetIdlFilePath()) != sourceFile.end()) { in GetGenVersion() 1861 std::set<std::string> sourceFile = Options::GetInstance().GetSourceFiles(); in GetGenNamespace() local 1863 if (sourceFile.find(ast.second->GetIdlFilePath()) != sourceFile.end()) { in GetGenNamespace()
|