Home
last modified time | relevance | path

Searched refs:GenMode (Results 1 – 22 of 22) sorted by relevance

/drivers/hdf_core/framework/tools/hdi-gen/codegen/
Dcode_generator.cpp34 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 …]
Dc_interface_code_emitter.cpp34 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()
Dc_service_impl_code_emitter.cpp34 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 …]
Dcode_emitter.h75 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;
Dc_service_driver_code_emitter.cpp38 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()
Dc_client_proxy_code_emitter.cpp34 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 …]
Dcode_generator.h22 using GeneratePolicies = std::map<SystemLevel, std::map<GenMode, std::map<Language, CodeGenFunc>>>;
Dc_service_stub_code_emitter.cpp35 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()
Dcpp_service_impl_code_emitter.cpp34 case GenMode::PASSTHROUGH: in EmitCode()
35 case GenMode::IPC: { in EmitCode()
Dc_custom_types_code_emitter.cpp34 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()
Dcode_emitter.cpp18 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()
Dcpp_interface_code_emitter.cpp34 case GenMode::PASSTHROUGH: in EmitCode()
35 case GenMode::IPC: { in EmitCode()
Djava_client_interface_code_emitter.cpp33 if (mode_ == GenMode::IPC) { in EmitCode()
Dc_code_emitter.cpp43 if (mode_ != GenMode::KERNEL) { in EmitMethodNeedLoopVar()
Dcpp_custom_types_code_emitter.cpp33 case GenMode::PASSTHROUGH: { in EmitCode()
37 case GenMode::IPC: { in EmitCode()
Dcpp_service_driver_code_emitter.cpp33 if (mode_ == GenMode::IPC) { in EmitCode()
Djava_client_proxy_code_emitter.cpp32 if (mode_ == GenMode::IPC) { in EmitCode()
Dcpp_client_proxy_code_emitter.cpp34 case GenMode::PASSTHROUGH: { in EmitCode()
40 case GenMode::IPC: { in EmitCode()
Dcpp_service_stub_code_emitter.cpp33 if (mode_ == GenMode::IPC) { in EmitCode()
/drivers/hdf_core/framework/tools/hdi-gen/util/
Doptions.h66 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;
Doptions.cpp118 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()
Dcommon.h37 enum class GenMode { enum