Home
last modified time | relevance | path

Searched refs:RETURN_VALUE (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/foundation/ability/idl_tool/idl_tool_2/codegen/SA/ts/
H A Dsa_ts_client_proxy_code_emitter.cpp160 "let %s = undefined;\n", SuffixAdded(RETURN_VALUE).c_str()); in EmitInterfaceMethodErrorCallback()
164 sb.AppendFormat(", %s", SuffixAdded(RETURN_VALUE).c_str()); in EmitInterfaceMethodErrorCallback()
194 …typeEmitter->EmitTsReadVar("result.reply", SuffixAdded(RETURN_VALUE), sb, prefix + TAB, TypeMode::… in EmitInterfaceMethodCallbackInner()
198 sb.AppendFormat(", %s", SuffixAdded(RETURN_VALUE).c_str()); in EmitInterfaceMethodCallbackInner()
H A Dsa_ts_code_emitter.h24 constexpr const char *RETURN_VALUE = "returnValue"; variable
H A Dsa_ts_service_stub_code_emitter.cpp157 sb.AppendFormat(", %s", RETURN_VALUE); in EmitInterfaceStubMethodPromiseImpl()
181 typeEmitter->EmitTsWriteVar("reply", RETURN_VALUE, sb, prefix + TAB + TAB); in EmitInterfaceStubMethodPromiseImpl()
H A Dsa_ts_interface_code_emitter.cpp103 sb.AppendFormat(", %s: %s", RETURN_VALUE, typeEmitter->EmitTsType().c_str()); in EmitInterfaceMethodCallback()
/ohos5.0/foundation/ability/idl_tool/codegen/
H A Dts_code_emitter.cpp34 const String RETURN_VALUE = "returnValue"; variable
135 method.retParameter_.name_ = RETURN_VALUE.string(); in EmitInterfaceMethod()
372 "let %s = undefined;\n", SuffixAdded(RETURN_VALUE).c_str()); in EmitInterfaceMethodCallback()
378 stringBuilder.AppendFormat(", %s, ", SuffixAdded(RETURN_VALUE).c_str()); in EmitInterfaceMethodCallback()
380 stringBuilder.AppendFormat(", %s", SuffixAdded(RETURN_VALUE).c_str()); in EmitInterfaceMethodCallback()
416 EmitReadOutVariable(parcelName, SuffixAdded(RETURN_VALUE), returnType, stringBuilder, in EmitInterfaceMethodCallbackInner()
423 stringBuilder.AppendFormat(", %s, ", SuffixAdded(RETURN_VALUE).c_str()); in EmitInterfaceMethodCallbackInner()
425 stringBuilder.AppendFormat(", %s", SuffixAdded(RETURN_VALUE).c_str()); in EmitInterfaceMethodCallbackInner()
604 stringBuilder.AppendFormat(", %s", RETURN_VALUE.string()); in EmitInterfaceStubMethodPromiseImpl()
606 stringBuilder.AppendFormat(", %s", RETURN_VALUE.string()).Append(", "); in EmitInterfaceStubMethodPromiseImpl()
[all …]