Home
last modified time | relevance | path

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

/foundation/ability/idl_tool/idl_tool_2/codegen/HDI/cpp/
H A Dcpp_interface_code_emitter.cpp112 sb.AppendFormat("#define %s %u\n", majorVerName_.c_str(), ast_->GetMajorVer()); in EmitInterfaceVersionMacro()
255 sb.Append(prefix + TAB).AppendFormat("%s = %d;\n", majorParam->GetName().c_str(), ast_->GetMajorVer()); in EmitInterfaceGetVersionMethod()
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()
711 sb.Append(prefix + TAB).AppendFormat("if (%s != %d) {\n", serMajorName.c_str(), ast_->GetMajorVer()); in EmitProxyCastFromMethodImplTemplate()
714 sb.AppendFormat(", version of client:%d.%d\", __func__, ", ast_->GetMajorVer(), ast_->GetMinorVer()); in EmitProxyCastFromMethodImplTemplate()
/foundation/ability/idl_tool/idl_tool_2/ast/
H A Dast.h191 inline size_t GetMajorVer() const in GetMajorVer() function in OHOS::Idl::AST
/foundation/ability/idl_tool/idl_tool_2/parser/
H A Dparser.cpp563 interfaceType->SetVersion(ast_->GetMajorVer(), ast_->GetMinorVer()); in ParseInterface()
1984 if (extendsAst->GetMajorVer() != ast_->GetMajorVer() || extendsAst->GetMinorVer() >= ast_->GetMinorVer()) { in CheckExtendsVersion()
1992 if (extendsAst->GetMajorVer() != ast_->GetMajorVer() || extendsAst->GetMinorVer() > ast_->GetMinorVer()) { in CheckImportsVersion()
2036 version[0] = ast.second->GetMajorVer(); in GetGenVersion()
2040 if (genPackageName != ast.second->GetPackageName() || version[0] != ast.second->GetMajorVer() || in GetGenVersion()
/foundation/ability/idl_tool/idl_tool_2/codegen/
H A Dcode_emitter.cpp123 return StringHelper::Format("v%u_%u/%s", ast_->GetMajorVer(), ast_->GetMinorVer(), FileName(name).c_str()); in EmitVersionHeaderName()
/foundation/ability/idl_tool/idl_tool_2/codegen/HDI/c/
H A Dc_interface_code_emitter.cpp176 sb.AppendFormat("#define %s %u\n", majorVerName_.c_str(), ast_->GetMajorVer()); in EmitInterfaceVersionMacro()

Completed in 7 milliseconds