Searched refs:packageName (Results 1 - 10 of 10) sorted by relevance
/drivers/hdf_core/framework/tools/hdi-gen/codegen/ |
H A D | cpp_code_emitter.cpp | 144 std::string CppCodeEmitter::EmitPackageToNameSpace(const std::string &packageName) const
in EmitPackageToNameSpace() 146 if (packageName.empty()) {
in EmitPackageToNameSpace() 147 return packageName;
in EmitPackageToNameSpace() 151 std::vector<std::string> namespaceVec = EmitCppNameSpaceVec(packageName);
in EmitPackageToNameSpace() 187 std::string CppCodeEmitter::EmitNamespace(const std::string &packageName) const
in EmitNamespace() 189 if (packageName.empty()) {
in EmitNamespace() 190 return packageName;
in EmitNamespace() 193 size_t index = packageName.rfind('.');
in EmitNamespace() 194 return index != std::string::npos ? StringHelper::SubStr(packageName, 0, index) : packageName;
in EmitNamespace() [all...] |
H A D | cpp_code_emitter.h | 47 std::string EmitPackageToNameSpace(const std::string &packageName) const;
55 std::string EmitNamespace(const std::string &packageName) const;
|
H A D | code_emitter.cpp | 130 std::string CodeEmitter::PackageToFilePath(const std::string &packageName) const
in PackageToFilePath() 132 std::vector<std::string> packageVec = StringHelper::Split(Options::GetInstance().GetSubPackage(packageName), ".");
in PackageToFilePath()
|
H A D | code_emitter.h | 90 std::string PackageToFilePath(const std::string &packageName) const;
|
/drivers/hdf_core/framework/tools/hdi-gen/preprocessor/ |
H A D | preprocessor.h | 69 static bool CheckPackageName(const std::string &filePath, const std::string &packageName);
|
H A D | preprocessor.cpp | 27 sb.AppendFormat("packageName:%s\n", packageName_.c_str());
in Dump() 325 bool Preprocessor::CheckPackageName(const std::string &filePath, const std::string &packageName)
in CheckPackageName() argument 327 std::string pkgToPath = Options::GetInstance().GetPackagePath(packageName);
in CheckPackageName()
|
/drivers/hdf_core/framework/tools/hdi-gen/ast/ |
H A D | ast.cpp | 65 void AST::SetPackageName(const std::string &packageName) in SetPackageName() argument 67 packageName_ = packageName; in SetPackageName()
|
H A D | ast.h | 98 void SetPackageName(const std::string &packageName);
|
/drivers/hdf_core/framework/tools/hdi-gen/parser/ |
H A D | parser.h | 70 bool ParserPackageInfo(const std::string &packageName);
188 bool CheckPackageName(const std::string &filePath, const std::string &packageName) const;
|
H A D | parser.cpp | 141 std::string packageName = token.value;
in ParsePackage() local 151 if (packageName.empty()) {
in ParsePackage() 154 } else if (!CheckPackageName(lexer_.GetFilePath(), packageName)) {
in ParsePackage() 156 "package name '%s' does not match file apth '%s'.", packageName.c_str(), lexer_.GetFilePath().c_str()));
in ParsePackage() 160 if (!ParserPackageInfo(packageName)) {
in ParsePackage() 161 LogError(StringHelper::Format("parse package '%s' infomation failed.", packageName.c_str()));
in ParsePackage() 168 bool Parser::ParserPackageInfo(const std::string &packageName)
in ParserPackageInfo() argument 171 if (!std::regex_match(packageName.c_str(), result, RE_PACKAGE)) {
in ParserPackageInfo() 1738 bool Parser::CheckPackageName(const std::string &filePath, const std::string &packageName) const
in CheckPackageName() 1740 std::string pkgToPath = Options::GetInstance().GetPackagePath(packageName);
in CheckPackageName() [all...] |
Completed in 8 milliseconds