/drivers/hdf_core/framework/tools/hdi-gen/codegen/ |
D | code_emitter.h | 20 enum class HeaderFileType { enum 30 HeaderFile(HeaderFileType type, std::string fileName) : type_(type), fileName_(fileName) {} in HeaderFile() 51 case HeaderFileType::OWN_HEADER_FILE: in ToString() 52 case HeaderFileType::OWN_MODULE_HEADER_FILE: in ToString() 54 case HeaderFileType::SYSTEM_HEADER_FILE: in ToString() 55 case HeaderFileType::C_STD_HEADER_FILE: in ToString() 56 case HeaderFileType::OTHER_MODULES_HEADER_FILE: in ToString() 58 case HeaderFileType::CPP_STD_HEADER_FILE: in ToString() 67 HeaderFileType type_;
|
D | cpp_client_proxy_code_emitter.cpp | 79 headerFiles.emplace(HeaderFileType::OWN_HEADER_FILE, EmitVersionHeaderName(interfaceName_)); in EmitProxyHeaderInclusions() 82 …HeaderFileType::OWN_HEADER_FILE, EmitHeaderNameByInterface(interface_->GetExtendsInterface(), prox… in EmitProxyHeaderInclusions() 93 headerFiles.emplace(HeaderFileType::OTHER_MODULES_HEADER_FILE, "iproxy_broker"); in GetHeaderOtherLibInclusions() 228 headerFiles.emplace(HeaderFileType::OWN_HEADER_FILE, EmitVersionHeaderName(interfaceName_)); in EmitPassthroughProxySourceInclusions() 230 headerFiles.emplace(HeaderFileType::CPP_STD_HEADER_FILE, "codecvt"); in EmitPassthroughProxySourceInclusions() 231 headerFiles.emplace(HeaderFileType::CPP_STD_HEADER_FILE, "locale"); in EmitPassthroughProxySourceInclusions() 233 headerFiles.emplace(HeaderFileType::OTHER_MODULES_HEADER_FILE, "string_ex"); in EmitPassthroughProxySourceInclusions() 235 headerFiles.emplace(HeaderFileType::OTHER_MODULES_HEADER_FILE, "hdi_support"); in EmitPassthroughProxySourceInclusions() 236 headerFiles.emplace(HeaderFileType::OTHER_MODULES_HEADER_FILE, "hdf_log"); in EmitPassthroughProxySourceInclusions() 292 headerFiles.emplace(HeaderFileType::OWN_HEADER_FILE, EmitVersionHeaderName(proxyName_)); in EmitProxySourceInclusions() [all …]
|
D | c_service_driver_code_emitter.cpp | 87 headerFiles.emplace(HeaderFileType::OWN_MODULE_HEADER_FILE, EmitVersionHeaderName(implName_)); in EmitLowDriverInclusions() 88 headerFiles.emplace(HeaderFileType::OTHER_MODULES_HEADER_FILE, "hdf_log"); in EmitLowDriverInclusions() 89 headerFiles.emplace(HeaderFileType::OTHER_MODULES_HEADER_FILE, "hdf_device_desc"); in EmitLowDriverInclusions() 174 … headerFiles.emplace(HeaderFileType::OWN_MODULE_HEADER_FILE, EmitVersionHeaderName(implName_)); in EmitDriverInclusions() 176 …headerFiles.emplace(HeaderFileType::OWN_MODULE_HEADER_FILE, EmitVersionHeaderName(interfaceName_)); in EmitDriverInclusions() 188 headerFiles.emplace(HeaderFileType::OTHER_MODULES_HEADER_FILE, "hdf_base"); in GetDriverSourceOtherLibInclusions() 189 headerFiles.emplace(HeaderFileType::OTHER_MODULES_HEADER_FILE, "hdf_log"); in GetDriverSourceOtherLibInclusions() 190 headerFiles.emplace(HeaderFileType::OTHER_MODULES_HEADER_FILE, "osal_mem"); in GetDriverSourceOtherLibInclusions() 191 headerFiles.emplace(HeaderFileType::OTHER_MODULES_HEADER_FILE, "hdf_device_desc"); in GetDriverSourceOtherLibInclusions() 193 headerFiles.emplace(HeaderFileType::OTHER_MODULES_HEADER_FILE, "hdf_device_object"); in GetDriverSourceOtherLibInclusions() [all …]
|
D | cpp_service_stub_code_emitter.cpp | 65 …headerFiles.emplace(HeaderFileType::OWN_MODULE_HEADER_FILE, EmitVersionHeaderName(interfaceName_)); in EmitStubHeaderInclusions() 67 headerFiles.emplace(HeaderFileType::OWN_MODULE_HEADER_FILE, in EmitStubHeaderInclusions() 79 headerFiles.emplace(HeaderFileType::OTHER_MODULES_HEADER_FILE, "message_parcel"); in GetHeaderOtherLibInclusions() 80 headerFiles.emplace(HeaderFileType::OTHER_MODULES_HEADER_FILE, "message_option"); in GetHeaderOtherLibInclusions() 81 headerFiles.emplace(HeaderFileType::OTHER_MODULES_HEADER_FILE, "ipc_object_stub"); in GetHeaderOtherLibInclusions() 82 headerFiles.emplace(HeaderFileType::OTHER_MODULES_HEADER_FILE, "object_collector"); in GetHeaderOtherLibInclusions() 83 headerFiles.emplace(HeaderFileType::OTHER_MODULES_HEADER_FILE, "refbase"); in GetHeaderOtherLibInclusions() 212 headerFiles.emplace(HeaderFileType::OWN_HEADER_FILE, EmitVersionHeaderName(stubName_)); in EmitStubSourceInclusions() 223 headerFiles.emplace(HeaderFileType::OTHER_MODULES_HEADER_FILE, "securec"); in GetSourceOtherLibInclusions() 224 headerFiles.emplace(HeaderFileType::OTHER_MODULES_HEADER_FILE, "string_ex"); in GetSourceOtherLibInclusions() [all …]
|
D | cpp_code_emitter.cpp | 27 headerFiles.emplace(HeaderFileType::CPP_STD_HEADER_FILE, "string"); in GetStdlibInclusions() 32 headerFiles.emplace(HeaderFileType::CPP_STD_HEADER_FILE, "vector"); in GetStdlibInclusions() 36 headerFiles.emplace(HeaderFileType::CPP_STD_HEADER_FILE, "map"); in GetStdlibInclusions() 40 headerFiles.emplace(HeaderFileType::OTHER_MODULES_HEADER_FILE, "base/hdi_smq"); in GetStdlibInclusions() 44 headerFiles.emplace(HeaderFileType::OTHER_MODULES_HEADER_FILE, "ashmem"); in GetStdlibInclusions() 48 … headerFiles.emplace(HeaderFileType::OTHER_MODULES_HEADER_FILE, "base/native_buffer"); in GetStdlibInclusions() 64 headerFiles.emplace(HeaderFileType::OWN_MODULE_HEADER_FILE, fileName); in GetImportInclusions()
|
D | cpp_custom_types_code_emitter.cpp | 77 headerFiles.emplace(HeaderFileType::CPP_STD_HEADER_FILE, "cstdbool"); in EmitPassthroughHeaderFileInclusions() 78 headerFiles.emplace(HeaderFileType::CPP_STD_HEADER_FILE, "cstdint"); in EmitPassthroughHeaderFileInclusions() 125 headerFiles.emplace(HeaderFileType::CPP_STD_HEADER_FILE, "cstdbool"); in EmitHeaderFileInclusions() 126 headerFiles.emplace(HeaderFileType::CPP_STD_HEADER_FILE, "cstdint"); in EmitHeaderFileInclusions() 246 headerFiles.emplace(HeaderFileType::OWN_HEADER_FILE, EmitVersionHeaderName(baseName_)); in EmitSourceFileInclusions() 256 headerFiles.emplace(HeaderFileType::OTHER_MODULES_HEADER_FILE, "hdf_log"); in GetSourceOtherLibInclusions() 257 headerFiles.emplace(HeaderFileType::OTHER_MODULES_HEADER_FILE, "securec"); in GetSourceOtherLibInclusions() 258 headerFiles.emplace(HeaderFileType::OTHER_MODULES_HEADER_FILE, "message_parcel"); in GetSourceOtherLibInclusions()
|
D | cpp_service_driver_code_emitter.cpp | 76 headerFiles.emplace(HeaderFileType::OTHER_MODULES_HEADER_FILE, "hdf_base"); in EmitDriverInclusions() 77 headerFiles.emplace(HeaderFileType::OTHER_MODULES_HEADER_FILE, "hdf_log"); in EmitDriverInclusions() 78 headerFiles.emplace(HeaderFileType::OTHER_MODULES_HEADER_FILE, "hdf_device_desc"); in EmitDriverInclusions() 79 headerFiles.emplace(HeaderFileType::OTHER_MODULES_HEADER_FILE, "hdf_sbuf_ipc"); in EmitDriverInclusions() 80 headerFiles.emplace(HeaderFileType::OWN_MODULE_HEADER_FILE, EmitVersionHeaderName(stubName_)); in EmitDriverInclusions()
|
D | c_service_impl_code_emitter.cpp | 88 …headerFiles.emplace(HeaderFileType::OWN_MODULE_HEADER_FILE, EmitVersionHeaderName(interfaceName_)); in EmitLowServiceImplInclusions() 188 … headerFiles.emplace(HeaderFileType::OWN_MODULE_HEADER_FILE, EmitVersionHeaderName(stubName_)); in EmitServiceImplHeaderInclusions() 190 …headerFiles.emplace(HeaderFileType::OWN_MODULE_HEADER_FILE, EmitVersionHeaderName(interfaceName_)); in EmitServiceImplHeaderInclusions() 251 headerFiles.emplace(HeaderFileType::OWN_HEADER_FILE, EmitVersionHeaderName(implName_)); in EmitServiceImplSourceInclusions() 253 …headerFiles.emplace(HeaderFileType::OWN_MODULE_HEADER_FILE, EmitVersionHeaderName(interfaceName_)); in EmitServiceImplSourceInclusions() 264 headerFiles.emplace(HeaderFileType::OTHER_MODULES_HEADER_FILE, "hdf_base"); in GetSourceOtherLibInclusions() 265 headerFiles.emplace(HeaderFileType::OTHER_MODULES_HEADER_FILE, "hdf_log"); in GetSourceOtherLibInclusions() 266 headerFiles.emplace(HeaderFileType::OTHER_MODULES_HEADER_FILE, "osal_mem"); in GetSourceOtherLibInclusions() 267 headerFiles.emplace(HeaderFileType::OTHER_MODULES_HEADER_FILE, "securec"); in GetSourceOtherLibInclusions()
|
D | cpp_service_impl_code_emitter.cpp | 70 headerFiles.emplace(HeaderFileType::OWN_HEADER_FILE, EmitVersionHeaderName(interfaceName_)); in EmitServiceImplInclusions() 163 headerFiles.emplace(HeaderFileType::OWN_HEADER_FILE, EmitVersionHeaderName(implName_)); in EmitImplSourceInclusions() 164 headerFiles.emplace(HeaderFileType::OTHER_MODULES_HEADER_FILE, "hdf_base"); in EmitImplSourceInclusions() 173 headerFiles.emplace(HeaderFileType::OTHER_MODULES_HEADER_FILE, "hdf_base"); in GetSourceOtherLibInclusions()
|
D | cpp_interface_code_emitter.cpp | 97 headerFiles.emplace(HeaderFileType::OTHER_MODULES_HEADER_FILE, "hdf_base"); in GetHeaderOtherLibInclusions() 98 headerFiles.emplace(HeaderFileType::C_STD_HEADER_FILE, "stdint"); in GetHeaderOtherLibInclusions() 99 headerFiles.emplace(HeaderFileType::OTHER_MODULES_HEADER_FILE, "hdi_base"); in GetHeaderOtherLibInclusions() 100 headerFiles.emplace(HeaderFileType::OTHER_MODULES_HEADER_FILE, "hdf_base"); in GetHeaderOtherLibInclusions()
|
D | c_custom_types_code_emitter.cpp | 78 headerFiles.emplace(HeaderFileType::C_STD_HEADER_FILE, "stdint"); in EmitPassthroughHeaderInclusions() 79 headerFiles.emplace(HeaderFileType::C_STD_HEADER_FILE, "stdbool"); in EmitPassthroughHeaderInclusions() 122 headerFiles.emplace(HeaderFileType::C_STD_HEADER_FILE, "stdint"); in EmitHeaderInclusions() 123 headerFiles.emplace(HeaderFileType::C_STD_HEADER_FILE, "stdbool"); in EmitHeaderInclusions() 238 headerFiles.emplace(HeaderFileType::OWN_HEADER_FILE, EmitVersionHeaderName(baseName_)); in EmitSoucreInclusions() 248 headerFiles.emplace(HeaderFileType::OTHER_MODULES_HEADER_FILE, "hdf_log"); in GetSourceOtherLibInclusions() 249 headerFiles.emplace(HeaderFileType::OTHER_MODULES_HEADER_FILE, "hdf_sbuf"); in GetSourceOtherLibInclusions() 250 headerFiles.emplace(HeaderFileType::OTHER_MODULES_HEADER_FILE, "osal_mem"); in GetSourceOtherLibInclusions() 251 headerFiles.emplace(HeaderFileType::OTHER_MODULES_HEADER_FILE, "securec"); in GetSourceOtherLibInclusions()
|
D | c_client_proxy_code_emitter.cpp | 78 …headerFiles.emplace(HeaderFileType::OWN_MODULE_HEADER_FILE, EmitVersionHeaderName(interfaceName_)); in EmitPassthroughProxyInclusions() 79 headerFiles.emplace(HeaderFileType::OTHER_MODULES_HEADER_FILE, "hdi_support"); in EmitPassthroughProxyInclusions() 150 …headerFiles.emplace(HeaderFileType::OWN_MODULE_HEADER_FILE, EmitVersionHeaderName(interfaceName_)); in EmitProxyInclusions() 160 headerFiles.emplace(HeaderFileType::OTHER_MODULES_HEADER_FILE, "hdf_base"); in GetHeaderOtherLibInclusions() 161 headerFiles.emplace(HeaderFileType::OTHER_MODULES_HEADER_FILE, "hdf_log"); in GetHeaderOtherLibInclusions() 162 headerFiles.emplace(HeaderFileType::OTHER_MODULES_HEADER_FILE, "hdf_sbuf"); in GetHeaderOtherLibInclusions() 163 headerFiles.emplace(HeaderFileType::OTHER_MODULES_HEADER_FILE, "osal_mem"); in GetHeaderOtherLibInclusions() 164 headerFiles.emplace(HeaderFileType::OTHER_MODULES_HEADER_FILE, "securec"); in GetHeaderOtherLibInclusions() 167 headerFiles.emplace(HeaderFileType::OTHER_MODULES_HEADER_FILE, "hdf_io_service_if"); in GetHeaderOtherLibInclusions() 169 headerFiles.emplace(HeaderFileType::OTHER_MODULES_HEADER_FILE, "servmgr_hdi"); in GetHeaderOtherLibInclusions() [all …]
|
D | c_interface_code_emitter.cpp | 150 headerFiles.emplace(HeaderFileType::OTHER_MODULES_HEADER_FILE, "hdf_base"); in GetHeaderOtherLibInclusions() 152 headerFiles.emplace(HeaderFileType::C_STD_HEADER_FILE, "stdint"); in GetHeaderOtherLibInclusions() 153 headerFiles.emplace(HeaderFileType::C_STD_HEADER_FILE, "stdbool"); in GetHeaderOtherLibInclusions()
|
D | c_service_stub_code_emitter.cpp | 80 …headerFiles.emplace(HeaderFileType::OWN_MODULE_HEADER_FILE, EmitVersionHeaderName(interfaceName_)); in EmitStubHeaderInclusions() 81 headerFiles.emplace(HeaderFileType::OTHER_MODULES_HEADER_FILE, "hdf_sbuf"); in EmitStubHeaderInclusions() 84 headerFiles.emplace(HeaderFileType::OTHER_MODULES_HEADER_FILE, "hdf_remote_service"); in EmitStubHeaderInclusions() 168 headerFiles.emplace(HeaderFileType::OWN_HEADER_FILE, EmitVersionHeaderName(stubName_)); in EmitStubSourceInclusions() 179 headerFiles.emplace(HeaderFileType::OTHER_MODULES_HEADER_FILE, "securec"); in GetSourceOtherLibInclusions() 180 headerFiles.emplace(HeaderFileType::OTHER_MODULES_HEADER_FILE, "hdf_dlist"); in GetSourceOtherLibInclusions() 181 headerFiles.emplace(HeaderFileType::OTHER_MODULES_HEADER_FILE, "stub_collector"); in GetSourceOtherLibInclusions() 184 headerFiles.emplace(HeaderFileType::OTHER_MODULES_HEADER_FILE, "hdi_support"); in GetSourceOtherLibInclusions() 191 headerFiles.emplace(HeaderFileType::OTHER_MODULES_HEADER_FILE, "securec"); in GetSourceOtherLibInclusions() 197 headerFiles.emplace(HeaderFileType::OTHER_MODULES_HEADER_FILE, "hdf_base"); in GetSourceOtherLibInclusions() [all …]
|
D | c_code_emitter.cpp | 20 headerFiles.emplace(HeaderFileType::OTHER_MODULES_HEADER_FILE, "base/buffer_util"); in GetStdlibInclusions() 30 headerFiles.emplace(HeaderFileType::OWN_MODULE_HEADER_FILE, fileName); in GetImportInclusions()
|