Home
last modified time | relevance | path

Searched refs:MethodName (Results 1 – 15 of 15) sorted by relevance

/ohos5.0/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_TY… 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… in EmitInterfaceStubMethodImpl()
/ohos5.0/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())… 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 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()
H A Dhdi_java_code_emitter.cpp34 std::string HDIJavaCodeEmitter::MethodName(const std::string &name) const in MethodName() function in OHOS::Idl::HDIJavaCodeEmitter
/ohos5.0/drivers/hdf_core/framework/tools/hdi-gen/codegen/
H A Djava_client_interface_code_emitter.cpp128 …sb.Append(prefix).AppendFormat("int %s() throws RemoteException;\n", MethodName(method->GetName())… in EmitInterfaceMethod()
131 paramStr.Append(prefix).AppendFormat("int %s(", MethodName(method->GetName()).c_str()); in EmitInterfaceMethod()
H A Djava_code_emitter.h35 std::string MethodName(const std::string &name) const;
H A Djava_code_emitter.cpp35 std::string JavaCodeEmitter::MethodName(const std::string &name) const in MethodName() function in OHOS::HDI::JavaCodeEmitter
H A Djava_client_proxy_code_emitter.cpp161 "public int %s() throws RemoteException ", MethodName(method->GetName()).c_str()); in EmitProxyMethodImpl()
164 … paramStr.Append(prefix).AppendFormat("public int %s(", MethodName(method->GetName()).c_str()); in EmitProxyMethodImpl()
/ohos5.0/foundation/ability/idl_tool/codegen/
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
H A Dts_code_emitter.h161 String MethodName(const String& name);
/ohos5.0/foundation/ability/idl_tool/test/ts/unittest/ts_code_emitter_proxy_test/
H A Dts_code_emitter_proxy_test.cpp2406 String relustString = tsCodeGen_->MethodName(inPutString);
2428 String relustString = tsCodeGen_->MethodName(inPutString);
2450 String relustString = tsCodeGen_->MethodName(inPutString);
2472 String relustString = tsCodeGen_->MethodName(inPutString);