Home
last modified time | relevance | path

Searched refs:GetMajorVer (Results 1 - 6 of 6) sorted by relevance

/drivers/hdf_core/framework/tools/hdi-gen/ast/
H A Dast.h171 inline size_t GetMajorVer() const in GetMajorVer() function in OHOS::HDI::AST
/drivers/hdf_core/framework/tools/hdi-gen/codegen/
H A Dcpp_interface_code_emitter.cpp105 sb.AppendFormat("#define %s %u\n", majorVerName_.c_str(), ast_->GetMajorVer()); in EmitInterfaceVersionMacro()
247 sb.Append(prefix + TAB).AppendFormat("%s = %d;\n", majorParam->GetName().c_str(), ast_->GetMajorVer()); in EmitInterfaceGetVersionMethod()
H A Dc_interface_code_emitter.cpp169 sb.AppendFormat("#define %s %u\n", majorVerName_.c_str(), ast_->GetMajorVer()); in EmitInterfaceVersionMacro()
H A Dcode_emitter.cpp178 return StringHelper::Format("v%u_%u/%s", ast_->GetMajorVer(), ast_->GetMinorVer(), FileName(name).c_str()); in EmitVersionHeaderName()
H A Dcpp_client_proxy_code_emitter.cpp523 sb.Append(prefix + TAB).AppendFormat("if (%s != %d) {\n", serMajorName.c_str(), ast_->GetMajorVer()); in EmitGetInstanceMethodInitProxyImpl()
526 sb.AppendFormat(", version of client:%d.%d\", __func__, ", ast_->GetMajorVer(), ast_->GetMinorVer()); in EmitGetInstanceMethodInitProxyImpl()
700 sb.Append(prefix + TAB).AppendFormat("if (%s != %d) {\n", serMajorName.c_str(), ast_->GetMajorVer()); in EmitProxyCastFromMethodImplTemplate()
703 sb.AppendFormat(", version of client:%d.%d\", __func__, ", ast_->GetMajorVer(), ast_->GetMinorVer()); in EmitProxyCastFromMethodImplTemplate()
/drivers/hdf_core/framework/tools/hdi-gen/parser/
H A Dparser.cpp1861 if (extendsAst->GetMajorVer() != ast_->GetMajorVer() || extendsAst->GetMinorVer() >= ast_->GetMinorVer()) { in CheckExtendsVersion()
1869 if (extendsAst->GetMajorVer() != ast_->GetMajorVer() || extendsAst->GetMinorVer() > ast_->GetMinorVer()) { in CheckImportsVersion()
1877 size_t majorVer = ast_->GetMajorVer(); in SetInterfaceVersion()
1924 version[0] = ast.second->GetMajorVer(); in GetGenVersion()
1928 if (genPackageName != ast.second->GetPackageName() || version[0] != ast.second->GetMajorVer() || in GetGenVersion()

Completed in 10 milliseconds