Home
last modified time | relevance | path

Searched refs:MethodName (Results 1 - 11 of 11) sorted by relevance

/foundation/ability/idl_tool/idl_tool_2/codegen/SA/ts/
H A Dsa_ts_code_emitter.cpp74 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 Dsa_ts_interface_code_emitter.cpp84 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 Dsa_ts_code_emitter.h42 std::string MethodName(const std::string &name) const;
H A Dsa_ts_service_stub_code_emitter.cpp136 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 Djava_client_interface_code_emitter.cpp134 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 Dhdi_java_code_emitter.h36 std::string MethodName(const std::string &name) const;
H A Dhdi_java_code_emitter.cpp34 std::string HDIJavaCodeEmitter::MethodName(const std::string &name) const in MethodName() function in OHOS::Idl::HDIJavaCodeEmitter
H A Djava_client_proxy_code_emitter.cpp168 "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 Dts_code_emitter.h161 String MethodName(const String& name);
H A Dts_code_emitter.cpp128 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 Dts_code_emitter_proxy_test.cpp2391 * 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