Home
last modified time | relevance | path

Searched refs:MetaMethod (Results 1 – 25 of 28) sorted by relevance

12

/ohos5.0/foundation/ability/idl_tool/codegen/
H A Dcpp_code_emitter.h61 void EmitInterfaceMethod(MetaMethod* mm, StringBuilder& sb, const String& prefix);
83 void EmitInterfaceProxyMethodDecl(MetaMethod* mm, StringBuilder& sb, const String& prefix);
91 …void EmitInterfaceProxyMethodPreSendRequest(MetaMethod* mm, StringBuilder& sb, const String& prefi…
93 …void EmitInterfaceProxyMethodPostSendRequest(MetaMethod* mm, StringBuilder& sb, const String& pref…
95 void EmitInterfaceProxyMethodImpl(MetaMethod* mm, StringBuilder& sb, const String& prefix);
97 void EmitInterfaceProxyMethodBody(MetaMethod* mm, StringBuilder& sb, const String& prefix);
101 void EmitInterfaceProxyMethodReply(MetaMethod* mm, StringBuilder& sb, const String& prefix);
103 void EmitInterfaceProxyMethodRetValue(MetaMethod* mm, StringBuilder& sb, const String& prefix);
122 void EmitInterfaceStubMethodImplReturn(MetaMethod* mm, StringBuilder& sb, const String& prefix,
125 void EmitInterfaceStubMethodImpl(MetaMethod* mm, StringBuilder& sb, const String& prefix);
H A Dts_code_emitter.h74 …void EmitInterfaceMethod(MetaMethod* metaMethod, StringBuilder& stringBuilder, const String& prefi…
76 void EmitInterfaceMethodLastPara(MetaMethod* metaMethod, const String& prefix, Method& method,
80MetaMethod* metaMethod, int methodIndex, StringBuilder& stringBuilder, const String& prefix, bool …
83MetaMethod* metaMethod, int methodIndex, StringBuilder& stringBuilder, const String& prefix, bool …
98 …void EmitInterfaceProxyMethodImpl(MetaMethod* metaMethod, int methodIndex, StringBuilder& stringBu…
101 …void EmitInterfaceProxyMethodBody(MetaMethod* metaMethod, int methodIndex, StringBuilder& stringBu…
116 …void EmitInterfaceStubMethodImpl(MetaMethod* metaMethod, int methodIndex, StringBuilder& stringBui…
119 …void EmitInterfaceStubMethodPromiseImpl(MetaMethod* metaMethod, int methodIndex, StringBuilder& st…
H A Drust_code_emitter.cpp223 MetaMethod* mm = metaInterface_->methods_[i]; in AppendCommandEnums()
314 MetaMethod* mm = metaInterface_->methods_[i]; in AppendBrokerMethods()
383 void RustCodeEmitter::AddRemoteRequestParameters(StringBuilder& sb, MetaMethod* mm) in AddRemoteRequestParameters()
464 MetaMethod* mm = metaInterface_->methods_[i]; in AddRemoteRequestMethods()
493 void RustCodeEmitter::AppendStubParameters(StringBuilder& sb, MetaMethod* mm) in AppendStubParameters()
506 MetaMethod* mm = metaInterface_->methods_[i]; in AppendStubMethods()
535 MetaMethod* mm = metaInterface_->methods_[i]; in AppendProxyMethods()
H A Drust_code_emitter.h103 void AddRemoteRequestParameters(StringBuilder& sb, MetaMethod* mm);
109 void AppendStubParameters(StringBuilder& sb, MetaMethod* mm);
H A Dts_code_emitter.cpp117 MetaMethod* metaMethod = metaInterface_->methods_[index]; in EmitInterfaceMethods()
122 void TsCodeEmitter::EmitInterfaceMethod(MetaMethod* metaMethod, StringBuilder& stringBuilder, const… in EmitInterfaceMethod()
160 void TsCodeEmitter::EmitInterfaceMethodLastPara(MetaMethod* metaMethod, const String& prefix, Metho… in EmitInterfaceMethodLastPara()
277 MetaMethod* metaMethod = metaInterface_->methods_[index]; in EmitInterfaceProxyMethodImpls()
349 void TsCodeEmitter::EmitInterfaceMethodCallback(MetaMethod* metaMethod, int methodIndex, StringBuil… in EmitInterfaceMethodCallback()
404 void TsCodeEmitter::EmitInterfaceMethodCallbackInner(MetaType* returnType, MetaMethod* metaMethod, in EmitInterfaceMethodCallbackInner()
519 MetaMethod* metaMethod = metaInterface_->methods_[index]; in EmitInterfaceStubMethodImpls()
532 MetaMethod* metaMethod = metaInterface_->methods_[index]; in EmitInterfaceStubMethodImpls()
599MetaMethod* metaMethod, int methodIndex, StringBuilder& stringBuilder, const String& prefix, bool … in EmitInterfaceStubMethodPromiseImpl()
650 MetaMethod* metaMethod = metaInterface_->methods_[index]; in EmitInterfaceMethodCommands()
[all …]
H A Dcpp_code_emitter.cpp221 MetaMethod* mm = metaInterface_->methods_[i]; in EmitInterfaceMethods()
230 void CppCodeEmitter::EmitInterfaceMethod(MetaMethod* mm, StringBuilder& sb, const String& prefix) in EmitInterfaceMethod()
359 MetaMethod* mm = metaInterface_->methods_[i]; in EmitInterfaceProxyAddCacheAbleAPI()
390 MetaMethod* mm = metaInterface_->methods_[i]; in EmitInterfaceProxyUnRegisterDeathRecipient()
420 MetaMethod* mm = metaInterface_->methods_[i]; in EmitInterfaceProxyMethodDecls()
429 void CppCodeEmitter::EmitInterfaceProxyMethodDecl(MetaMethod* mm, StringBuilder& sb, const String& … in EmitInterfaceProxyMethodDecl()
518 MetaMethod* mm = metaInterface_->methods_[i]; in EmitInterfaceProxyMethodImpls()
527 void CppCodeEmitter::EmitInterfaceProxyMethodImpl(MetaMethod* mm, StringBuilder& sb, const String& … in EmitInterfaceProxyMethodImpl()
777 MetaMethod* mm = metaInterface_->methods_[i]; in EmitInterfaceStubMethodImpls()
788 void CppCodeEmitter::EmitInterfaceStubMethodImplReturn(MetaMethod* mm, in EmitInterfaceStubMethodImplReturn()
[all …]
/ohos5.0/foundation/ability/idl_tool/idl_tool_2/metadata/
H A Dmetadata_serializer.cpp99 MetaMethod* mm = mi->methods_[i]; in SerializeMetaInterface()
101 mi->methods_[i] = reinterpret_cast<MetaMethod*>(SerializeAdjust(mm)); in SerializeMetaInterface()
103 mi->methods_ = reinterpret_cast<MetaMethod**>(SerializeAdjust(mi->methods_)); in SerializeMetaInterface()
106 void MetadataSerializer::SerializeMetaMethod(MetaMethod* mm) in SerializeMetaMethod()
221 mi->methods_ = reinterpret_cast<MetaMethod**>(DeserializeAdjust(mi->methods_)); in DeserializeMetaInterface()
223 mi->methods_[i] = reinterpret_cast<MetaMethod*>(DeserializeAdjust(mi->methods_[i])); in DeserializeMetaInterface()
224 MetaMethod* mm = mi->methods_[i]; in DeserializeMetaInterface()
229 void MetadataSerializer::DeserializeMetaMethod(MetaMethod* mm) in DeserializeMetaMethod()
H A Dmetadata_builder.cpp147 baseAddr_ = baseAddr_ + sizeof(MetaMethod*) * methodNumber; in CalculateMetaInterface()
163 baseAddr_ = ALIGN8(baseAddr_ + sizeof(MetaMethod)); in CalculateMetaMethod()
342 mi->methods_ = reinterpret_cast<MetaMethod**>(baseAddr_); in WriteMetaInterface()
344 baseAddr_ = baseAddr_ + sizeof(MetaMethod*) * methodNumber; in WriteMetaInterface()
353 MetaMethod* MetadataBuilder::WriteMetaMethod(ASTMethod* method) in WriteMetaMethod()
359 MetaMethod* mm = reinterpret_cast<MetaMethod*>(baseAddr_); in WriteMetaMethod()
366 baseAddr_ = ALIGN8(baseAddr_ + sizeof(MetaMethod)); in WriteMetaMethod()
H A Dmetadata_serializer.h70 void SerializeMetaMethod(MetaMethod* mm);
86 void DeserializeMetaMethod(MetaMethod* mm);
H A Dmeta_method.h23 struct MetaMethod { struct
H A Dmeta_interface.h30 MetaMethod** methods_;
H A Dmetadata_reader.h42 void ReadMetaMethod(AutoPtr<ASTInterfaceType>& interface, MetaMethod* mm);
H A Dmetadata_builder.h66 MetaMethod* WriteMetaMethod(ASTMethod* method);
H A Dmetadata_dumper.h55 void DumpMetaMethod(StringBuilder& sb, MetaMethod* mm, const std::string& prefix);
/ohos5.0/foundation/ability/idl_tool/metadata/
H A Dmetadata_serializer.cpp102 MetaMethod* mm = mi->methods_[i]; in SerializeMetaInterface()
104 mi->methods_[i] = reinterpret_cast<MetaMethod*>(SerializeAdjust(mm)); in SerializeMetaInterface()
106 mi->methods_ = reinterpret_cast<MetaMethod**>(SerializeAdjust(mi->methods_)); in SerializeMetaInterface()
109 void MetadataSerializer::SerializeMetaMethod(MetaMethod* mm) in SerializeMetaMethod()
230 mi->methods_ = reinterpret_cast<MetaMethod**>(DeserializeAdjust(mi->methods_)); in DeserializeMetaInterface()
232 mi->methods_[i] = reinterpret_cast<MetaMethod*>(DeserializeAdjust(mi->methods_[i])); in DeserializeMetaInterface()
233 MetaMethod* mm = mi->methods_[i]; in DeserializeMetaInterface()
238 void MetadataSerializer::DeserializeMetaMethod(MetaMethod* mm) in DeserializeMetaMethod()
H A Dmetadata_builder.cpp148 baseAddr_ = baseAddr_ + sizeof(MetaMethod*) * methodNumber; in CalculateMetaInterface()
164 baseAddr_ = ALIGN8(baseAddr_ + sizeof(MetaMethod)); in CalculateMetaMethod()
345 mi->methods_ = reinterpret_cast<MetaMethod**>(baseAddr_); in WriteMetaInterface()
347 baseAddr_ = baseAddr_ + sizeof(MetaMethod*) * methodNumber; in WriteMetaInterface()
356 MetaMethod* MetadataBuilder::WriteMetaMethod(ASTMethod* method) in WriteMetaMethod()
362 MetaMethod* mm = reinterpret_cast<MetaMethod*>(baseAddr_); in WriteMetaMethod()
374 baseAddr_ = ALIGN8(baseAddr_ + sizeof(MetaMethod)); in WriteMetaMethod()
H A Dmetadata_serializer.h70 void SerializeMetaMethod(MetaMethod* mm);
86 void DeserializeMetaMethod(MetaMethod* mm);
H A Dmeta_interface.h29 MetaMethod** methods_;
H A Dmeta_method.h23 struct MetaMethod { struct
H A Dmetadata_dumper.h50 void DumpMetaMethod(StringBuilder& sb, MetaMethod* mm, const String& prefix);
H A Dmetadata_builder.h67 MetaMethod* WriteMetaMethod(ASTMethod* method);
/ohos5.0/foundation/ability/idl_tool/test/ts/unittest/ts_code_emitter_proxy_test/
H A Dts_code_emitter_proxy_test.cpp63 MetaMethod* metaMethod = tsCodeGen_->metaInterface_->methods_[index];
104 MetaMethod* metaMethod = tsCodeGen_->metaInterface_->methods_[index];
145 MetaMethod* metaMethod = tsCodeGen_->metaInterface_->methods_[index];
186 MetaMethod* metaMethod = tsCodeGen_->metaInterface_->methods_[index];
229 MetaMethod* metaMethod = tsCodeGen_->metaInterface_->methods_[index];
272 MetaMethod* metaMethod = tsCodeGen_->metaInterface_->methods_[index];
312 MetaMethod* metaMethod = tsCodeGen_->metaInterface_->methods_[index];
353 MetaMethod* metaMethod = tsCodeGen_->metaInterface_->methods_[index];
394 MetaMethod* metaMethod = tsCodeGen_->metaInterface_->methods_[index];
435 MetaMethod* metaMethod = tsCodeGen_->metaInterface_->methods_[index];
[all …]
/ohos5.0/foundation/ability/idl_tool/test/ts/unittest/ts_code_emitter_interface_test/
H A Dts_code_emitter_interface_test.cpp769 MetaMethod* metaMethod = tsCodeGen_->metaInterface_->methods_[0];
791 MetaMethod* metaMethod = tsCodeGen_->metaInterface_->methods_[0];
813 MetaMethod* metaMethod = tsCodeGen_->metaInterface_->methods_[0];
835 MetaMethod* metaMethod = tsCodeGen_->metaInterface_->methods_[0];
857 MetaMethod* metaMethod = tsCodeGen_->metaInterface_->methods_[0];
879 MetaMethod* metaMethod = tsCodeGen_->metaInterface_->methods_[0];
901 MetaMethod* metaMethod = tsCodeGen_->metaInterface_->methods_[0];
923 MetaMethod* metaMethod = tsCodeGen_->metaInterface_->methods_[0];
972 MetaMethod* metaMethod = tsCodeGen_->metaInterface_->methods_[0];
/ohos5.0/foundation/ability/idl_tool/test/unittest/cpp_code_emitter_test/
H A Dcpp_code_emitter_test.cpp1134 codeEmitter.metaInterface_->methods_ = new MetaMethod *[6];
1136 codeEmitter.metaInterface_->methods_[j] = new MetaMethod();
1267 codeEmitter.metaInterface_->methods_ = new MetaMethod *[6];
1269 codeEmitter.metaInterface_->methods_[j] = new MetaMethod();
/ohos5.0/foundation/ability/idl_tool/test/ts/unittest/ts_code_emitter_stub_test/
H A Dts_code_emitter_stub_test.cpp757 MetaMethod* metaMethod = tsCodeGen_->metaInterface_->methods_[index];
798 MetaMethod* metaMethod = tsCodeGen_->metaInterface_->methods_[index];
839 MetaMethod* metaMethod = tsCodeGen_->metaInterface_->methods_[index];
880 MetaMethod* metaMethod = tsCodeGen_->metaInterface_->methods_[index];
920 MetaMethod* metaMethod = tsCodeGen_->metaInterface_->methods_[index];

12