/foundation/ability/idl_tool/codegen/ |
H A D | ts_code_emitter.cpp | 117 MetaMethod* metaMethod = metaInterface_->methods_[index]; in EmitInterfaceMethods() local 118 EmitInterfaceMethod(metaMethod, stringBuilder, prefix); in EmitInterfaceMethods() 122 void TsCodeEmitter::EmitInterfaceMethod(MetaMethod* metaMethod, StringBuilder& stringBuilder, const String& prefix) in EmitInterfaceMethod() argument 124 MetaType* returnType = metaComponent_->types_[metaMethod->returnTypeIndex_]; in EmitInterfaceMethod() 126 method.properties_ = metaMethod->properties_; in EmitInterfaceMethod() 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() 141 for (int index = 0; index < metaMethod->parameterNumber_; index++) { in EmitInterfaceMethod() 142 MetaParameter* mp = metaMethod in EmitInterfaceMethod() 160 EmitInterfaceMethodLastPara(MetaMethod* metaMethod, const String& prefix, Method& method, StringBuilder& methodStr, bool haveOutPara) EmitInterfaceMethodLastPara() argument 277 MetaMethod* metaMethod = metaInterface_->methods_[index]; EmitInterfaceProxyMethodImpls() local 285 EmitInterfaceProxyMethodImpl(MetaMethod* metaMethod, int methodIndex, StringBuilder& stringBuilder, const String& prefix) EmitInterfaceProxyMethodImpl() argument 312 EmitInterfaceProxyMethodBody(MetaMethod* metaMethod, int methodIndex, StringBuilder& stringBuilder, const String& prefix) EmitInterfaceProxyMethodBody() argument 349 EmitInterfaceMethodCallback(MetaMethod* metaMethod, int methodIndex, StringBuilder& stringBuilder, const String& prefix, bool haveOutPara) EmitInterfaceMethodCallback() argument 404 EmitInterfaceMethodCallbackInner(MetaType* returnType, MetaMethod* metaMethod, int methodIndex, StringBuilder& stringBuilder, const String& prefix, bool haveOutPara) EmitInterfaceMethodCallbackInner() argument 519 MetaMethod* metaMethod = metaInterface_->methods_[index]; EmitInterfaceStubMethodImpls() local 532 MetaMethod* metaMethod = metaInterface_->methods_[index]; EmitInterfaceStubMethodImpls() local 555 EmitInterfaceStubMethodImpl(MetaMethod* metaMethod, int methodIndex, StringBuilder& stringBuilder, const String& prefix) EmitInterfaceStubMethodImpl() argument 598 EmitInterfaceStubMethodPromiseImpl( MetaMethod* metaMethod, int methodIndex, StringBuilder& stringBuilder, const String& prefix, bool haveOutPara) EmitInterfaceStubMethodPromiseImpl() argument 650 MetaMethod* metaMethod = metaInterface_->methods_[index]; EmitInterfaceMethodCommands() local 1157 MetaMethod* metaMethod = metaInterface_->methods_[index]; CheckInterfaceType() local [all...] |
H A D | ts_code_emitter.h | 74 void EmitInterfaceMethod(MetaMethod* metaMethod, StringBuilder& stringBuilder, const String& prefix); 76 void EmitInterfaceMethodLastPara(MetaMethod* metaMethod, const String& prefix, Method& method, 80 MetaMethod* metaMethod, int methodIndex, StringBuilder& stringBuilder, const String& prefix, bool haveOutPara); 83 MetaMethod* metaMethod, int methodIndex, StringBuilder& stringBuilder, const String& prefix, bool haveOutPara); 98 void EmitInterfaceProxyMethodImpl(MetaMethod* metaMethod, int methodIndex, StringBuilder& stringBuilder, 101 void EmitInterfaceProxyMethodBody(MetaMethod* metaMethod, int methodIndex, StringBuilder& stringBuilder, 116 void EmitInterfaceStubMethodImpl(MetaMethod* metaMethod, int methodIndex, StringBuilder& stringBuilder, 119 void EmitInterfaceStubMethodPromiseImpl(MetaMethod* metaMethod, int methodIndex, StringBuilder& stringBuilder,
|
/foundation/ability/idl_tool/test/ts/unittest/ts_code_emitter_proxy_test/ |
H A D | ts_code_emitter_proxy_test.cpp | 63 MetaMethod* metaMethod = tsCodeGen_->metaInterface_->methods_[index];
in HWTEST_F() local 64 for (int j = 0; j < metaMethod->parameterNumber_; j++) {
in HWTEST_F() 65 MetaParameter* mp = metaMethod->parameters_[j];
in HWTEST_F() 104 MetaMethod* metaMethod = tsCodeGen_->metaInterface_->methods_[index];
in HWTEST_F() local 105 for (int j = 0; j < metaMethod->parameterNumber_; j++) {
in HWTEST_F() 106 MetaParameter* mp = metaMethod->parameters_[j];
in HWTEST_F() 145 MetaMethod* metaMethod = tsCodeGen_->metaInterface_->methods_[index];
in HWTEST_F() local 146 for (int j = 0; j < metaMethod->parameterNumber_; j++) {
in HWTEST_F() 147 MetaParameter* mp = metaMethod->parameters_[j];
in HWTEST_F() 186 MetaMethod* metaMethod in HWTEST_F() local 229 MetaMethod* metaMethod = tsCodeGen_->metaInterface_->methods_[index]; HWTEST_F() local 272 MetaMethod* metaMethod = tsCodeGen_->metaInterface_->methods_[index]; HWTEST_F() local 312 MetaMethod* metaMethod = tsCodeGen_->metaInterface_->methods_[index]; HWTEST_F() local 353 MetaMethod* metaMethod = tsCodeGen_->metaInterface_->methods_[index]; HWTEST_F() local 394 MetaMethod* metaMethod = tsCodeGen_->metaInterface_->methods_[index]; HWTEST_F() local 435 MetaMethod* metaMethod = tsCodeGen_->metaInterface_->methods_[index]; HWTEST_F() local 475 MetaMethod* metaMethod = tsCodeGen_->metaInterface_->methods_[index]; HWTEST_F() local 512 MetaMethod* metaMethod = tsCodeGen_->metaInterface_->methods_[index]; HWTEST_F() local 549 MetaMethod* metaMethod = tsCodeGen_->metaInterface_->methods_[index]; HWTEST_F() local 587 MetaMethod* metaMethod = tsCodeGen_->metaInterface_->methods_[index]; HWTEST_F() local 617 MetaMethod* metaMethod = tsCodeGen_->metaInterface_->methods_[index]; HWTEST_F() local 653 MetaMethod* metaMethod = tsCodeGen_->metaInterface_->methods_[index]; HWTEST_F() local 691 MetaMethod* metaMethod = tsCodeGen_->metaInterface_->methods_[index]; HWTEST_F() local 729 MetaMethod* metaMethod = tsCodeGen_->metaInterface_->methods_[index]; HWTEST_F() local 768 MetaMethod* metaMethod = tsCodeGen_->metaInterface_->methods_[index]; HWTEST_F() local 798 MetaMethod* metaMethod = tsCodeGen_->metaInterface_->methods_[index]; HWTEST_F() local 832 MetaMethod* metaMethod = tsCodeGen_->metaInterface_->methods_[index]; HWTEST_F() local 871 MetaMethod* metaMethod = tsCodeGen_->metaInterface_->methods_[index]; HWTEST_F() local 911 MetaMethod* metaMethod = tsCodeGen_->metaInterface_->methods_[index]; HWTEST_F() local 951 MetaMethod* metaMethod = tsCodeGen_->metaInterface_->methods_[index]; HWTEST_F() local 982 MetaMethod* metaMethod = tsCodeGen_->metaInterface_->methods_[index]; HWTEST_F() local 1069 MetaMethod* metaMethod = tsCodeGen_->metaInterface_->methods_[index]; HWTEST_F() local 1668 MetaMethod* metaMethod = tsCodeGen_->metaInterface_->methods_[index]; HWTEST_F() local 1712 MetaMethod* metaMethod = tsCodeGen_->metaInterface_->methods_[index]; HWTEST_F() local 1755 MetaMethod* metaMethod = tsCodeGen_->metaInterface_->methods_[index]; HWTEST_F() local 1798 MetaMethod* metaMethod = tsCodeGen_->metaInterface_->methods_[index]; HWTEST_F() local 1843 MetaMethod* metaMethod = tsCodeGen_->metaInterface_->methods_[index]; HWTEST_F() local 1885 MetaMethod* metaMethod = tsCodeGen_->metaInterface_->methods_[index]; HWTEST_F() local 1929 MetaMethod* metaMethod = tsCodeGen_->metaInterface_->methods_[index]; HWTEST_F() local 1972 MetaMethod* metaMethod = tsCodeGen_->metaInterface_->methods_[index]; HWTEST_F() local 2015 MetaMethod* metaMethod = tsCodeGen_->metaInterface_->methods_[index]; HWTEST_F() local 2060 MetaMethod* metaMethod = tsCodeGen_->metaInterface_->methods_[index]; HWTEST_F() local [all...] |
/foundation/ability/idl_tool/test/ts/unittest/ts_code_emitter_interface_test/ |
H A D | ts_code_emitter_interface_test.cpp | 769 MetaMethod* metaMethod = tsCodeGen_->metaInterface_->methods_[0]; in HWTEST_F() local 770 tsCodeGen_->EmitInterfaceMethod(metaMethod, stringBuilder, CodeEmitter::TAB); in HWTEST_F() 791 MetaMethod* metaMethod = tsCodeGen_->metaInterface_->methods_[0]; in HWTEST_F() local 792 tsCodeGen_->EmitInterfaceMethod(metaMethod, stringBuilder, CodeEmitter::TAB); in HWTEST_F() 813 MetaMethod* metaMethod = tsCodeGen_->metaInterface_->methods_[0]; in HWTEST_F() local 814 tsCodeGen_->EmitInterfaceMethod(metaMethod, stringBuilder, CodeEmitter::TAB); in HWTEST_F() 835 MetaMethod* metaMethod = tsCodeGen_->metaInterface_->methods_[0]; in HWTEST_F() local 836 tsCodeGen_->EmitInterfaceMethod(metaMethod, stringBuilder, CodeEmitter::TAB); in HWTEST_F() 857 MetaMethod* metaMethod = tsCodeGen_->metaInterface_->methods_[0]; in HWTEST_F() local 858 tsCodeGen_->EmitInterfaceMethod(metaMethod, stringBuilde in HWTEST_F() 879 MetaMethod* metaMethod = tsCodeGen_->metaInterface_->methods_[0]; HWTEST_F() local 901 MetaMethod* metaMethod = tsCodeGen_->metaInterface_->methods_[0]; HWTEST_F() local 923 MetaMethod* metaMethod = tsCodeGen_->metaInterface_->methods_[0]; HWTEST_F() local 972 MetaMethod* metaMethod = tsCodeGen_->metaInterface_->methods_[0]; HWTEST_F() local [all...] |
/foundation/ability/idl_tool/test/ts/unittest/ts_code_emitter_stub_test/ |
H A D | ts_code_emitter_stub_test.cpp | 757 MetaMethod* metaMethod = tsCodeGen_->metaInterface_->methods_[index]; in HWTEST_F() local 758 tsCodeGen_->EmitInterfaceStubMethodImpl(metaMethod, index, stringBuilder, CodeEmitter::TAB); in HWTEST_F() 798 MetaMethod* metaMethod = tsCodeGen_->metaInterface_->methods_[index]; in HWTEST_F() local 799 tsCodeGen_->EmitInterfaceStubMethodImpl(metaMethod, index, stringBuilder, CodeEmitter::TAB); in HWTEST_F() 839 MetaMethod* metaMethod = tsCodeGen_->metaInterface_->methods_[index]; in HWTEST_F() local 840 tsCodeGen_->EmitInterfaceStubMethodImpl(metaMethod, index, stringBuilder, CodeEmitter::TAB); in HWTEST_F() 880 MetaMethod* metaMethod = tsCodeGen_->metaInterface_->methods_[index]; in HWTEST_F() local 881 tsCodeGen_->EmitInterfaceStubMethodImpl(metaMethod, index, stringBuilder, CodeEmitter::TAB); in HWTEST_F() 920 MetaMethod* metaMethod = tsCodeGen_->metaInterface_->methods_[index]; in HWTEST_F() local 921 tsCodeGen_->EmitInterfaceStubMethodImpl(metaMethod, inde in HWTEST_F() [all...] |