Searched refs:MethodName (Results 1 - 11 of 11) sorted by relevance
/foundation/ability/idl_tool/idl_tool_2/codegen/SA/ts/ |
H A D | sa_ts_code_emitter.cpp | 74 std::string SATsCodeEmitter::MethodName(const std::string &name) const
in MethodName() function in OHOS::Idl::SATsCodeEmitter 103 sb.AppendFormat("import {%sCallback} from \"./%s\";\n", MethodName(method->GetName()).c_str(),
in EmitInterfaceImports() 142 sb.Append(prefix).AppendFormat("%s(", MethodName(method->GetName()).c_str());
in EmitInterfaceMethodHead() 151 sb.AppendFormat("callback: %sCallback", MethodName(method->GetName()).c_str());
in EmitInterfaceMethodHead()
|
H A D | sa_ts_interface_code_emitter.cpp | 84 sb.Append(prefix).AppendFormat("%s(", MethodName(method->GetName()).c_str());
in EmitInterfaceMethod() 93 sb.AppendFormat("callback: %sCallback): void;\n", MethodName(method->GetName()).c_str());
in EmitInterfaceMethod() 99 sb.AppendFormat("export type %sCallback = (%s", MethodName(method->GetName()).c_str(), ERR_CODE_TYPE.c_str());
in EmitInterfaceMethodCallback()
|
H A D | sa_ts_code_emitter.h | 42 std::string MethodName(const std::string &name) const;
|
H A D | sa_ts_service_stub_code_emitter.cpp | 136 sb.Append(prefix).Append(TAB).Append(TAB).AppendFormat("this.%s(", MethodName(method->GetName()).c_str());
in EmitInterfaceStubMethodImpl()
|
/foundation/ability/idl_tool/idl_tool_2/codegen/HDI/java/ |
H A D | java_client_interface_code_emitter.cpp | 134 sb.Append(prefix).AppendFormat("int %s() throws RemoteException;\n", MethodName(method->GetName()).c_str());
in EmitInterfaceMethod() 137 paramStr.Append(prefix).AppendFormat("int %s(", MethodName(method->GetName()).c_str());
in EmitInterfaceMethod()
|
H A D | hdi_java_code_emitter.h | 36 std::string MethodName(const std::string &name) const;
|
H A D | hdi_java_code_emitter.cpp | 34 std::string HDIJavaCodeEmitter::MethodName(const std::string &name) const
in MethodName() function in OHOS::Idl::HDIJavaCodeEmitter
|
H A D | java_client_proxy_code_emitter.cpp | 168 "public int %s() throws RemoteException ", MethodName(method->GetName()).c_str());
in EmitProxyMethodImpl() 171 paramStr.Append(prefix).AppendFormat("public int %s(", MethodName(method->GetName()).c_str());
in EmitProxyMethodImpl()
|
/foundation/ability/idl_tool/codegen/ |
H A D | ts_code_emitter.h | 161 String MethodName(const String& name);
|
H A D | ts_code_emitter.cpp | 128 callbackName.AppendFormat("%sCallback", MethodName(metaMethod->name_).string()); in EmitInterfaceMethod() 138 methodStr.Append(prefix).AppendFormat("%s(", MethodName(metaMethod->name_).string()); in EmitInterfaceMethod() 139 method.name_ = MethodName(metaMethod->name_).string(); in EmitInterfaceMethod() 288 stringBuilder.Append(prefix).AppendFormat("%s(", MethodName(metaMethod->name_).string()); in EmitInterfaceProxyMethodImpl() 533 stringBuilder.Append(prefix).AppendFormat("%s(", MethodName(metaMethod->name_).string()); in EmitInterfaceStubMethodImpls() 573 .AppendFormat("this.%s(", MethodName(metaMethod->name_).string()); in EmitInterfaceStubMethodImpl() 1106 String TsCodeEmitter::MethodName(const String& name) in MethodName() function in OHOS::Idl::TsCodeEmitter
|
/foundation/ability/idl_tool/test/ts/unittest/ts_code_emitter_proxy_test/ |
H A D | ts_code_emitter_proxy_test.cpp | 2391 * Function: MethodName
2406 String relustString = tsCodeGen_->MethodName(inPutString);
in HWTEST_F() 2412 * Function: MethodName
2428 String relustString = tsCodeGen_->MethodName(inPutString);
in HWTEST_F() 2434 * Function: MethodName
2450 String relustString = tsCodeGen_->MethodName(inPutString);
in HWTEST_F() 2456 * Function: MethodName
2472 String relustString = tsCodeGen_->MethodName(inPutString);
in HWTEST_F()
|
Completed in 11 milliseconds