/drivers/hdf_core/framework/tools/hdi-gen/codegen/ |
D | cpp_service_impl_code_emitter.cpp | 48 …File::AdapterPath(StringHelper::Format("%s/%s.h", directory_.c_str(), FileName(implName_).c_str())… in EmitImplHeaderFile() 140 StringHelper::Format("%s/%s.cpp", directory_.c_str(), FileName(implName_).c_str())); in EmitImplSourceFile() 147 EmitLogTagMacro(sb, FileName(implName_)); in EmitImplSourceFile()
|
D | c_service_impl_code_emitter.cpp | 60 …File::AdapterPath(StringHelper::Format("%s/%s.h", directory_.c_str(), FileName(implName_).c_str())… in EmitLowServiceImplHeaderFile() 105 …File::AdapterPath(StringHelper::Format("%s/%s.c", directory_.c_str(), FileName(implName_).c_str())… in EmitLowServiceImplSourceFile() 112 EmitLogTagMacro(sb, FileName(implName_)); in EmitLowServiceImplSourceFile() 153 …File::AdapterPath(StringHelper::Format("%s/%s.h", directory_.c_str(), FileName(baseName_ + "Servic… in EmitServiceImplHeaderFile() 213 …File::AdapterPath(StringHelper::Format("%s/%s.c", directory_.c_str(), FileName(implName_).c_str())… in EmitServiceImplSourceFile() 220 EmitLogTagMacro(sb, FileName(implName_)); in EmitServiceImplSourceFile()
|
D | code_emitter.cpp | 132 filePath.Append(FileName(*iter)); in PackageToFilePath() 160 …return StringHelper::Format("v%u_%u/%s", ast_->GetMajorVer(), ast_->GetMinorVer(), FileName(name).… in EmitVersionHeaderName() 220 std::string CodeEmitter::FileName(const std::string &name) const in FileName() function in OHOS::HDI::CodeEmitter
|
D | cpp_client_proxy_code_emitter.cpp | 52 …File::AdapterPath(StringHelper::Format("%s/%s.h", directory_.c_str(), FileName(baseName_ + "Proxy"… in EmitProxyHeaderFile() 203 …File::AdapterPath(StringHelper::Format("%s/%s.cpp", directory_.c_str(), FileName(proxyName_).c_str… in EmitPassthroughProxySourceFile() 210 EmitLogTagMacro(sb, FileName(proxyName_)); in EmitPassthroughProxySourceFile() 257 …File::AdapterPath(StringHelper::Format("%s/%s.cpp", directory_.c_str(), FileName(proxyName_).c_str… in EmitProxySourceFile() 264 EmitLogTagMacro(sb, FileName(proxyName_)); in EmitProxySourceFile() 344 ….AppendFormat("return %s::Get(\"%s\", isStub);\n", interfaceName_.c_str(), FileName(implName_).c_s… in EmitGetMethodImpl() 411 …sb.AppendFormat("serviceName == \"%s\" ? \"service\" : serviceName.c_str());\n", FileName(implName… in EmitProxyPassthroughtLoadImpl()
|
D | c_service_driver_code_emitter.cpp | 60 …File::AdapterPath(StringHelper::Format("%s/%s.c", directory_.c_str(), FileName(baseName_ + "Driver… in EmitLowDriverSourceFile() 68 EmitLogTagMacro(sb, FileName(baseName_ + "Driver")); in EmitLowDriverSourceFile() 132 …File::AdapterPath(StringHelper::Format("%s/%s.c", directory_.c_str(), FileName(baseName_ + "Driver… in EmitDriverSourceFile() 139 EmitLogTagMacro(sb, FileName(baseName_ + "Driver")); in EmitDriverSourceFile()
|
D | c_interface_code_emitter.cpp | 52 …File::AdapterPath(StringHelper::Format("%s/%s.h", directory_.c_str(), FileName(interfaceName_).c_s… in EmitLowModeInterfaceHeaderFile() 98 …File::AdapterPath(StringHelper::Format("%s/%s.h", directory_.c_str(), FileName(interfaceName_).c_s… in EmitInterfaceHeaderFile()
|
D | c_client_proxy_code_emitter.cpp | 53 …File::AdapterPath(StringHelper::Format("%s/%s.c", directory_.c_str(), FileName(proxyName_).c_str()… in EmitPassthroughProxySourceFile() 60 EmitLogTagMacro(sb, FileName(proxyName_)); in EmitPassthroughProxySourceFile() 111 …File::AdapterPath(StringHelper::Format("%s/%s.c", directory_.c_str(), FileName(proxyName_).c_str()… in EmitProxySourceFile() 118 EmitLogTagMacro(sb, FileName(proxyName_)); in EmitProxySourceFile() 530 FileName(implName_).c_str()); in EmitKernelProxyGetMethodImpl() 633 FileName(implName_).c_str()); in EmitProxyGetMethodImpl() 756 …"%sReleaseInstance(\"%s\", instance, isStub);\n", interfaceName_.c_str(), FileName(implName_).c_st… in EmitProxyReleaseMethodImpl() 785 … .AppendFormat("if (strcmp(%s, \"%s\") == 0) {\n", instName.c_str(), FileName(implName_).c_str()); in EmitProxyLoadOrUnLoadHdiImpl()
|
D | cpp_service_stub_code_emitter.cpp | 42 …File::AdapterPath(StringHelper::Format("%s/%s.h", directory_.c_str(), FileName(stubName_).c_str())… in EmitStubHeaderFile() 178 …File::AdapterPath(StringHelper::Format("%s/%s.cpp", directory_.c_str(), FileName(stubName_).c_str(… in EmitStubSourceFile() 185 EmitLogTagMacro(sb, FileName(stubName_)); in EmitStubSourceFile() 274 EmitDefinitionByInterface(interface_, interfaceName_).c_str(), FileName(implName_).c_str()); in EmitGetMethodImpl() 292 …sb.AppendFormat("serviceName == \"%s\" ? \"service\" : serviceName.c_str());\n", FileName(implName… in EmitGetInstanceMethodImpl()
|
D | cpp_service_driver_code_emitter.cpp | 43 … StringHelper::Format("%s/%s.cpp", directory_.c_str(), FileName(baseName_ + "Driver").c_str())); in EmitDriverSourceFile() 50 EmitLogTagMacro(sb, FileName(baseName_ + "Driver")); in EmitDriverSourceFile()
|
D | cpp_custom_types_code_emitter.cpp | 49 …File::AdapterPath(StringHelper::Format("%s/%s.h", directory_.c_str(), FileName(baseName_).c_str())… in EmitPassthroughCustomTypesHeaderFile() 90 …File::AdapterPath(StringHelper::Format("%s/%s.h", directory_.c_str(), FileName(baseName_).c_str())… in EmitCustomTypesHeaderFile() 217 …File::AdapterPath(StringHelper::Format("%s/%s.cpp", directory_.c_str(), FileName(baseName_).c_str(… in EmitCustomTypesSourceFile()
|
D | java_client_interface_code_emitter.cpp | 41 …File::AdapterPath(StringHelper::Format("%s/%s.java", directory_.c_str(), FileName(interfaceName_).… in EmitInterfaceFile()
|
D | code_emitter.h | 114 std::string FileName(const std::string &name) const;
|
D | c_service_stub_code_emitter.cpp | 49 …File::AdapterPath(StringHelper::Format("%s/%s.h", directory_.c_str(), FileName(stubName_).c_str())… in EmitServiceStubHeaderFile() 115 …File::AdapterPath(StringHelper::Format("%s/%s.c", directory_.c_str(), FileName(stubName_).c_str())… in EmitServiceStubSourceFile() 122 EmitLogTagMacro(sb, FileName(stubName_)); in EmitServiceStubSourceFile() 218 … "return %sGetInstance(\"%s\", isStub);\n", interfaceName_.c_str(), FileName(implName_).c_str()); in EmitGetMethodImpl() 231 …sb.Append(TAB).AppendFormat("if (strcmp(serviceName, \"%s\") == 0) {\n", FileName(implName_).c_str… in EmitGetInstanceMehtodImpl() 245 …"%sReleaseInstance(\"%s\", instance, isStub);\n", interfaceName_.c_str(), FileName(implName_).c_st… in EmitReleaseMethodImpl() 258 …sb.Append(TAB).AppendFormat("if (strcmp(serviceName, \"%s\") == 0) {\n", FileName(implName_).c_str… in EmitReleaseInstanceMethodImpl()
|
D | c_custom_types_code_emitter.cpp | 53 …File::AdapterPath(StringHelper::Format("%s/%s.h", directory_.c_str(), FileName(baseName_).c_str())… in EmitPassthroughCustomTypesHeaderFile() 90 …File::AdapterPath(StringHelper::Format("%s/%s.h", directory_.c_str(), FileName(baseName_).c_str())… in EmitCustomTypesHeaderFile() 214 …File::AdapterPath(StringHelper::Format("%s/%s.c", directory_.c_str(), FileName(baseName_).c_str())… in EmitCustomTypesSourceFile()
|
D | java_client_proxy_code_emitter.cpp | 40 …File::AdapterPath(StringHelper::Format("%s/%s.java", directory_.c_str(), FileName(proxyName_).c_st… in EmitProxyFile()
|
D | cpp_interface_code_emitter.cpp | 47 …File::AdapterPath(StringHelper::Format("%s/%s.h", directory_.c_str(), FileName(interfaceName_).c_s… in EmitInterfaceHeaderFile()
|
D | cpp_code_emitter.cpp | 276 … "v%u_%u/%s", interface->GetMajorVersion(), interface->GetMinorVersion(), FileName(name).c_str()); in EmitHeaderNameByInterface()
|