/drivers/hdf_core/framework/tools/hdi-gen/codegen/ |
D | code_generator.cpp | 34 GenMode::LOW, 45 GenMode::KERNEL, 51 GenMode::PASSTHROUGH, 63 GenMode::KERNEL, 69 GenMode::PASSTHROUGH, 76 GenMode::IPC, 161 GenMode mode = GenMode::IPC; in GenIpcCCode() 189 GenMode mode = GenMode::IPC; in GenIpcCppCode() 217 GenMode mode = GenMode::IPC; in GenIpcJavaCode() 236 GenMode mode = GenMode::PASSTHROUGH; in GenPassthroughCCode() [all …]
|
D | c_interface_code_emitter.cpp | 34 case GenMode::LOW: { in EmitCode() 38 case GenMode::PASSTHROUGH: in EmitCode() 39 case GenMode::IPC: in EmitCode() 40 case GenMode::KERNEL: { in EmitCode() 176 if (mode_ == GenMode::LOW && !interface_->IsSerializable()) { in EmitInterfaceDefinition() 191 if (mode_ == GenMode::IPC) { in EmitInterfaceMethods() 240 if (mode_ == GenMode::KERNEL) { in EmitInterfaceGetMethodDecl() 262 if (mode_ == GenMode::KERNEL) { in EmitInterfaceReleaseMethodDecl()
|
D | c_service_impl_code_emitter.cpp | 34 case GenMode::LOW: { in EmitCode() 39 case GenMode::PASSTHROUGH: in EmitCode() 40 case GenMode::IPC: { in EmitCode() 47 case GenMode::KERNEL: { in EmitCode() 163 if (mode_ == GenMode::KERNEL) { in EmitServiceImplHeaderFile() 187 if (mode_ == GenMode::KERNEL) { in EmitServiceImplHeaderInclusions() 201 if (mode_ == GenMode::LOW || mode_ == GenMode::KERNEL) { in EmitServiceImplExternalMethodsDecl() 221 if (mode_ != GenMode::KERNEL && !interface_->IsSerializable()) { in EmitServiceImplSourceFile() 228 if (mode_ == GenMode::KERNEL) { in EmitServiceImplSourceFile() 250 if (mode_ == GenMode::KERNEL || mode_ == GenMode::LOW || interface_->IsSerializable()) { in EmitServiceImplSourceInclusions() [all …]
|
D | code_emitter.h | 75 bool OutPut(const AutoPtr<AST> &ast, const std::string &targetDirectory, GenMode mode); 78 bool Reset(const AutoPtr<AST> &ast, const std::string &targetDirectory, GenMode mode); 124 GenMode mode_ = GenMode::IPC;
|
D | c_service_driver_code_emitter.cpp | 38 case GenMode::LOW: { in EmitCode() 42 case GenMode::IPC: { in EmitCode() 48 case GenMode::KERNEL: { in EmitCode() 143 if (mode_ == GenMode::KERNEL) { in EmitDriverSourceFile() 173 if (mode_ == GenMode::KERNEL) { in EmitDriverInclusions() 192 if (mode_ != GenMode::KERNEL) { in GetDriverSourceOtherLibInclusions() 203 if (mode_ == GenMode::KERNEL) { in EmitDriverServiceDecl() 258 if (mode_ == GenMode::LOW) { in EmitDriverInit()
|
D | c_client_proxy_code_emitter.cpp | 34 case GenMode::PASSTHROUGH: { in EmitCode() 40 case GenMode::IPC: in EmitCode() 41 case GenMode::KERNEL: { in EmitCode() 128 if (mode_ != GenMode::KERNEL) { in EmitProxySourceFile() 166 if (mode_ == GenMode::KERNEL) { in GetHeaderOtherLibInclusions() 193 if (mode_ == GenMode::KERNEL) { in EmitProxyDefinition() 262 if (mode_ != GenMode::KERNEL) { in EmitProxyMethodImpls() 305 if (mode_ != GenMode::KERNEL) { in EmitProxyMethodBody() 346 if (mode_ == GenMode::KERNEL) { in EmitCreateBuf() 438 if (mode_ != GenMode::KERNEL) { in EmitStubCallMethod() [all …]
|
D | code_generator.h | 22 using GeneratePolicies = std::map<SystemLevel, std::map<GenMode, std::map<Language, CodeGenFunc>>>;
|
D | c_service_stub_code_emitter.cpp | 35 case GenMode::IPC: in EmitCode() 36 case GenMode::KERNEL: { in EmitCode() 61 if (mode_ == GenMode::KERNEL) { in EmitServiceStubHeaderFile() 83 if (mode_ != GenMode::KERNEL) { in EmitStubHeaderInclusions() 95 if (mode_ == GenMode::KERNEL) { in EmitCbServiceStubDef() 123 if (mode_ != GenMode::KERNEL && !interface_->IsSerializable()) { in EmitServiceStubSourceFile() 135 if (mode_ == GenMode::KERNEL) { in EmitServiceStubSourceFile() 178 if (mode_ != GenMode::KERNEL) { in GetSourceOtherLibInclusions() 273 if (mode_ != GenMode::KERNEL) { in EmitServiceStubMethodImpls() 407 if (mode_ == GenMode::KERNEL) { in EmitReadCStringStubMethodParameter()
|
D | cpp_service_impl_code_emitter.cpp | 34 case GenMode::PASSTHROUGH: in EmitCode() 35 case GenMode::IPC: { in EmitCode()
|
D | c_custom_types_code_emitter.cpp | 34 case GenMode::LOW: in EmitCode() 35 case GenMode::PASSTHROUGH: { in EmitCode() 39 case GenMode::IPC: in EmitCode() 40 case GenMode::KERNEL: { in EmitCode() 512 if (mode_ == GenMode::KERNEL) { in EmitCustomTypeFreeImpl()
|
D | code_emitter.cpp | 18 bool CodeEmitter::OutPut(const AutoPtr<AST> &ast, const std::string &targetDirectory, GenMode mode) in OutPut() 28 bool CodeEmitter::Reset(const AutoPtr<AST> &ast, const std::string &targetDirectory, GenMode mode) in Reset()
|
D | cpp_interface_code_emitter.cpp | 34 case GenMode::PASSTHROUGH: in EmitCode() 35 case GenMode::IPC: { in EmitCode()
|
D | java_client_interface_code_emitter.cpp | 33 if (mode_ == GenMode::IPC) { in EmitCode()
|
D | c_code_emitter.cpp | 43 if (mode_ != GenMode::KERNEL) { in EmitMethodNeedLoopVar()
|
D | cpp_custom_types_code_emitter.cpp | 33 case GenMode::PASSTHROUGH: { in EmitCode() 37 case GenMode::IPC: { in EmitCode()
|
D | cpp_service_driver_code_emitter.cpp | 33 if (mode_ == GenMode::IPC) { in EmitCode()
|
D | java_client_proxy_code_emitter.cpp | 32 if (mode_ == GenMode::IPC) { in EmitCode()
|
D | cpp_client_proxy_code_emitter.cpp | 34 case GenMode::PASSTHROUGH: { in EmitCode() 40 case GenMode::IPC: { in EmitCode()
|
D | cpp_service_stub_code_emitter.cpp | 33 if (mode_ == GenMode::IPC) { in EmitCode()
|
/drivers/hdf_core/framework/tools/hdi-gen/util/ |
D | options.h | 66 return genMode == GenMode::KERNEL; in DoGenerateKernelCode() 71 return genMode == GenMode::PASSTHROUGH; in DoPassthrough() 118 inline GenMode GetGenMode() const in GetGenMode() 132 genMode(GenMode::IPC), in Options() 179 GenMode genMode;
|
D | options.cpp | 118 static std::map<std::string, GenMode> codeGenMap = { in SetGenerateMode() 119 {"low", GenMode::LOW}, in SetGenerateMode() 120 {"passthrough", GenMode::PASSTHROUGH}, in SetGenerateMode() 121 {"ipc", GenMode::IPC}, in SetGenerateMode() 122 {"kernel", GenMode::KERNEL}, in SetGenerateMode()
|
D | common.h | 37 enum class GenMode { enum
|