Searched refs:GetMajorVer (Results 1 - 6 of 6) sorted by relevance
/foundation/ability/idl_tool/idl_tool_2/codegen/HDI/cpp/ |
H A D | cpp_interface_code_emitter.cpp | 112 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 D | cpp_client_proxy_code_emitter.cpp | 523 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 D | ast.h | 191 inline size_t GetMajorVer() const in GetMajorVer() function in OHOS::Idl::AST
|
/foundation/ability/idl_tool/idl_tool_2/parser/ |
H A D | parser.cpp | 563 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 D | code_emitter.cpp | 123 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 D | c_interface_code_emitter.cpp | 176 sb.AppendFormat("#define %s %u\n", majorVerName_.c_str(), ast_->GetMajorVer());
in EmitInterfaceVersionMacro()
|
Completed in 7 milliseconds