Home
last modified time | relevance | path

Searched refs:FileName (Results 1 – 17 of 17) sorted by relevance

/drivers/hdf_core/framework/tools/hdi-gen/codegen/
Dcpp_service_impl_code_emitter.cpp48 …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()
Dc_service_impl_code_emitter.cpp60 …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()
Dcode_emitter.cpp132 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
Dcpp_client_proxy_code_emitter.cpp52 …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()
Dc_service_driver_code_emitter.cpp60 …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()
Dc_interface_code_emitter.cpp52 …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()
Dc_client_proxy_code_emitter.cpp53 …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()
Dcpp_service_stub_code_emitter.cpp42 …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()
Dcpp_service_driver_code_emitter.cpp43 … StringHelper::Format("%s/%s.cpp", directory_.c_str(), FileName(baseName_ + "Driver").c_str())); in EmitDriverSourceFile()
50 EmitLogTagMacro(sb, FileName(baseName_ + "Driver")); in EmitDriverSourceFile()
Dcpp_custom_types_code_emitter.cpp49 …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()
Djava_client_interface_code_emitter.cpp41 …File::AdapterPath(StringHelper::Format("%s/%s.java", directory_.c_str(), FileName(interfaceName_).… in EmitInterfaceFile()
Dcode_emitter.h114 std::string FileName(const std::string &name) const;
Dc_service_stub_code_emitter.cpp49 …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()
Dc_custom_types_code_emitter.cpp53 …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()
Djava_client_proxy_code_emitter.cpp40 …File::AdapterPath(StringHelper::Format("%s/%s.java", directory_.c_str(), FileName(proxyName_).c_st… in EmitProxyFile()
Dcpp_interface_code_emitter.cpp47 …File::AdapterPath(StringHelper::Format("%s/%s.h", directory_.c_str(), FileName(interfaceName_).c_s… in EmitInterfaceHeaderFile()
Dcpp_code_emitter.cpp276 … "v%u_%u/%s", interface->GetMajorVersion(), interface->GetMinorVersion(), FileName(name).c_str()); in EmitHeaderNameByInterface()