Home
last modified time | relevance | path

Searched refs:methods (Results 1 – 25 of 26) sorted by relevance

12

/drivers/hdf_core/framework/tools/hdi-gen/codegen/
Djava_code_emitter.cpp28 auto methods = interface_->GetMethodsBySystem(Options::GetInstance().GetSystemLevel()); in EmitInterfaceMethodCommands() local
29 for (size_t i = 0; i < methods.size(); i++) { in EmitInterfaceMethodCommands()
31 ConstantName(methods[i]->GetName()).c_str(), i); in EmitInterfaceMethodCommands()
Dcode_emitter.cpp243 void CodeEmitter::GetUtilMethods(UtilMethodMap &methods) in GetUtilMethods() argument
246 (void)methods; in GetUtilMethods()
250 StringBuilder &sb, const std::string &prefix, const UtilMethodMap &methods, bool isDecl) in EmitUtilMethods() argument
253 for (const auto &methodPair : methods) { in EmitUtilMethods()
Dcode_emitter.h116 virtual void GetUtilMethods(UtilMethodMap &methods);
119 StringBuilder &sb, const std::string &prefix, const UtilMethodMap &methods, bool isDecl);
Dcpp_custom_types_code_emitter.h65 void GetUtilMethods(UtilMethodMap &methods) override;
Dcpp_service_stub_code_emitter.h84 void GetUtilMethods(UtilMethodMap &methods) override;
Dcpp_client_proxy_code_emitter.h78 void GetUtilMethods(UtilMethodMap &methods) override;
Dc_service_stub_code_emitter.h97 void GetUtilMethods(UtilMethodMap &methods) override;
Dc_custom_types_code_emitter.h90 void GetUtilMethods(UtilMethodMap &methods) override;
Dcpp_custom_types_code_emitter.cpp377 void CppCustomTypesCodeEmitter::GetUtilMethods(UtilMethodMap &methods) in GetUtilMethods() argument
380 …ir.second->RegisterWriteMethod(Options::GetInstance().GetLanguage(), SerMode::CUSTOM_SER, methods); in GetUtilMethods()
381 …air.second->RegisterReadMethod(Options::GetInstance().GetLanguage(), SerMode::CUSTOM_SER, methods); in GetUtilMethods()
Dc_client_proxy_code_emitter.h127 void GetUtilMethods(UtilMethodMap &methods) override;
Dc_custom_types_code_emitter.cpp556 void CCustomTypesCodeEmitter::GetUtilMethods(UtilMethodMap &methods) in GetUtilMethods() argument
559 …ir.second->RegisterWriteMethod(Options::GetInstance().GetLanguage(), SerMode::CUSTOM_SER, methods); in GetUtilMethods()
560 …air.second->RegisterReadMethod(Options::GetInstance().GetLanguage(), SerMode::CUSTOM_SER, methods); in GetUtilMethods()
Dcpp_service_stub_code_emitter.cpp515 void CppServiceStubCodeEmitter::GetUtilMethods(UtilMethodMap &methods) in GetUtilMethods() argument
522 … paramType->RegisterReadMethod(Options::GetInstance().GetLanguage(), SerMode::STUB_SER, methods); in GetUtilMethods()
524 … paramType->RegisterWriteMethod(Options::GetInstance().GetLanguage(), SerMode::STUB_SER, methods); in GetUtilMethods()
Dcpp_client_proxy_code_emitter.cpp591 void CppClientProxyCodeEmitter::GetUtilMethods(UtilMethodMap &methods) in GetUtilMethods() argument
598 … paramType->RegisterWriteMethod(Options::GetInstance().GetLanguage(), SerMode::PROXY_SER, methods); in GetUtilMethods()
600 … paramType->RegisterReadMethod(Options::GetInstance().GetLanguage(), SerMode::PROXY_SER, methods); in GetUtilMethods()
Dc_service_stub_code_emitter.cpp732 void CServiceStubCodeEmitter::GetUtilMethods(UtilMethodMap &methods) in GetUtilMethods() argument
739 … paramType->RegisterReadMethod(Options::GetInstance().GetLanguage(), SerMode::STUB_SER, methods); in GetUtilMethods()
741 … paramType->RegisterWriteMethod(Options::GetInstance().GetLanguage(), SerMode::STUB_SER, methods); in GetUtilMethods()
Dc_client_proxy_code_emitter.cpp799 void CClientProxyCodeEmitter::GetUtilMethods(UtilMethodMap &methods) in GetUtilMethods() argument
807 SerMode::PROXY_SER, methods); in GetUtilMethods()
809 … paramType->RegisterReadMethod(Options::GetInstance().GetLanguage(), SerMode::PROXY_SER, methods); in GetUtilMethods()
/drivers/hdf_core/framework/tools/hdi-gen/ast/
Dast_array_type.h91 … void RegisterWriteMethod(Language language, SerMode mode, UtilMethodMap &methods) const override;
93 void RegisterReadMethod(Language language, SerMode mode, UtilMethodMap &methods) const override;
95 void RegisterWritePodArrayMethod(Language language, SerMode mode, UtilMethodMap &methods) const;
97 …void RegisterWriteStringArrayMethod(Language language, SerMode mode, UtilMethodMap &methods) const;
99 void RegisterReadPodArrayMethod(Language language, SerMode mode, UtilMethodMap &methods) const;
101 … void RegisterReadStringArrayMethod(Language language, SerMode mode, UtilMethodMap &methods) const;
Dast_map_type.cpp202 void ASTMapType::RegisterWriteMethod(Language language, SerMode mode, UtilMethodMap &methods) const in RegisterWriteMethod()
204 keyType_->RegisterWriteMethod(language, mode, methods); in RegisterWriteMethod()
205 valueType_->RegisterWriteMethod(language, mode, methods); in RegisterWriteMethod()
208 void ASTMapType::RegisterReadMethod(Language language, SerMode mode, UtilMethodMap &methods) const in RegisterReadMethod()
210 keyType_->RegisterReadMethod(language, mode, methods); in RegisterReadMethod()
211 valueType_->RegisterReadMethod(language, mode, methods); in RegisterReadMethod()
Dast_interface_type.cpp56 std::vector<AutoPtr<ASTMethod>> methods; in GetMethodsBySystem() local
59 methods.push_back(method); in GetMethodsBySystem()
62 return methods; in GetMethodsBySystem()
232 void ASTInterfaceType::RegisterWriteMethod(Language language, SerMode mode, UtilMethodMap &methods)… in RegisterWriteMethod()
236methods.emplace("WriteInterface", std::bind(&ASTInterfaceType::EmitCWriteMethods, this, _1, _2, _3… in RegisterWriteMethod()
240 void ASTInterfaceType::RegisterReadMethod(Language language, SerMode mode, UtilMethodMap &methods) … in RegisterReadMethod()
247methods.emplace(methodName, std::bind(&ASTInterfaceType::EmitCReadMethods, this, _1, _2, _3, _4)); in RegisterReadMethod()
251methods.emplace("ReadInterface", std::bind(&ASTInterfaceType::EmitCppReadMethods, this, _1, _2, _3… in RegisterReadMethod()
Dast_map_type.h76 … void RegisterWriteMethod(Language language, SerMode mode, UtilMethodMap &methods) const override;
78 void RegisterReadMethod(Language language, SerMode mode, UtilMethodMap &methods) const override;
Dast_type.cpp301 void ASTType::RegisterWriteMethod(Language language, SerMode mode, UtilMethodMap &methods) const in RegisterWriteMethod()
305 (void)methods; in RegisterWriteMethod()
308 void ASTType::RegisterReadMethod(Language language, SerMode mode, UtilMethodMap &methods) const in RegisterReadMethod()
312 (void)methods; in RegisterReadMethod()
Dast_fd_type.h68 … void RegisterWriteMethod(Language language, SerMode mode, UtilMethodMap &methods) const override;
70 void RegisterReadMethod(Language language, SerMode mode, UtilMethodMap &methods) const override;
Dast_fd_type.cpp183 void ASTFdType::RegisterWriteMethod(Language language, SerMode mode, UtilMethodMap &methods) const in RegisterWriteMethod()
189methods.emplace(methodName, std::bind(&ASTFdType::EmitCWriteMethods, this, _1, _2, _3, _4)); in RegisterWriteMethod()
192methods.emplace(methodName, std::bind(&ASTFdType::EmitCppWriteMethods, this, _1, _2, _3, _4)); in RegisterWriteMethod()
199 void ASTFdType::RegisterReadMethod(Language language, SerMode mode, UtilMethodMap &methods) const in RegisterReadMethod()
205methods.emplace(methodName, std::bind(&ASTFdType::EmitCReadMethods, this, _1, _2, _3, _4)); in RegisterReadMethod()
208methods.emplace(methodName, std::bind(&ASTFdType::EmitCppReadMethods, this, _1, _2, _3, _4)); in RegisterReadMethod()
Dast_interface_type.h180 … void RegisterWriteMethod(Language language, SerMode mode, UtilMethodMap &methods) const override;
182 void RegisterReadMethod(Language language, SerMode mode, UtilMethodMap &methods) const override;
Dast_array_type.cpp732 void ASTArrayType::RegisterWriteMethod(Language language, SerMode mode, UtilMethodMap &methods) con… in RegisterWriteMethod()
734 elementType_->RegisterWriteMethod(language, mode, methods); in RegisterWriteMethod()
736 RegisterWritePodArrayMethod(language, mode, methods); in RegisterWriteMethod()
738 RegisterWriteStringArrayMethod(language, mode, methods); in RegisterWriteMethod()
742 void ASTArrayType::RegisterReadMethod(Language language, SerMode mode, UtilMethodMap &methods) const in RegisterReadMethod()
744 elementType_->RegisterReadMethod(language, mode, methods); in RegisterReadMethod()
746 RegisterReadPodArrayMethod(language, mode, methods); in RegisterReadMethod()
748 RegisterReadStringArrayMethod(language, mode, methods); in RegisterReadMethod()
752 …rayType::RegisterWritePodArrayMethod(Language language, SerMode mode, UtilMethodMap &methods) const in RegisterWritePodArrayMethod()
759methods.emplace(methodName, std::bind(&ASTArrayType::EmitCWriteMethods, this, _1, _2, _3, _4)); in RegisterWritePodArrayMethod()
[all …]
Dast_type.h198 virtual void RegisterWriteMethod(Language language, SerMode mode, UtilMethodMap &methods) const;
200 virtual void RegisterReadMethod(Language language, SerMode mode, UtilMethodMap &methods) const;

12