Searched refs:FilePath (Results 1 – 15 of 15) sorted by relevance
/developtools/global_resource_tool/include/ |
D | file_entry.h | 28 class FilePath { 30 FilePath(const std::string &path); 31 virtual ~FilePath(); 32 FilePath Append(const std::string &path); 33 FilePath ReplaceExtension(const std::string &extension); 34 FilePath GetParent(); 53 const FilePath &GetFilePath() const; 66 FilePath filePath_;
|
D | resource_util.h | 195 static FileEntry::FilePath GetBaseElementPath(const std::string input); 202 static FileEntry::FilePath GetMainPath(const std::string input);
|
/developtools/global_resource_tool/src/ |
D | file_entry.cpp | 108 const FileEntry::FilePath &FileEntry::GetFilePath() const in GetFilePath() 213 FileEntry::FilePath::FilePath(const string &path) : filePath_(path) in FilePath() function in OHOS::Global::Restool::FileEntry::FilePath 219 FileEntry::FilePath::~FilePath() in ~FilePath() 223 FileEntry::FilePath FileEntry::FilePath::Append(const string &path) in Append() 227 return FilePath(filePath); in Append() 230 FileEntry::FilePath FileEntry::FilePath::ReplaceExtension(const string &extension) in ReplaceExtension() 238 return FilePath(filePath); in ReplaceExtension() 241 FileEntry::FilePath FileEntry::FilePath::GetParent() in GetParent() 243 return FilePath(parent_); in GetParent() 246 const string &FileEntry::FilePath::GetPath() const in GetPath() [all …]
|
D | resource_pack.cpp | 118 string resourcesPath = FileEntry::FilePath(output).Append(RESOURCES_DIR).GetPath(); in InitOutput() 135 …string textPath = FileEntry::FilePath(packageParser_.GetOutput()).Append("ResourceTable.txt").GetP… in GenerateHeader() 138 string extension = FileEntry::FilePath(headerPath).GetExtension(); in GenerateHeader() 165 if (FileEntry::FilePath(config).GetFilename() == MODULE_JSON) { in InitConfigJson() 244 string rawfilePath = FileEntry::FilePath(input).Append(RAW_FILE_DIR).GetPath(); in CopyRawFile() 254 string dst = FileEntry::FilePath(packageParser_.GetOutput()) in CopyRawFile() 279 string subPath = FileEntry::FilePath(dst).Append(filename).GetPath(); in CopyRawFileImpl() 301 string outputPath = FileEntry::FilePath(packageParser_.GetOutput()) in GenerateConfigJson() 376 string jsonFile = FileEntry::FilePath(featureDependEntry).Append(CONFIG_JSON).GetPath(); in HandleFeature() 390 string path = FileEntry::FilePath(featureDependEntry).Append(RESOURCE_INDEX_FILE).GetPath(); in HandleFeature() [all …]
|
D | resource_append.cpp | 114 …string filePath = FileEntry::FilePath(outputPath).Append(ResourceUtil::GenerateHash(resourcePath))… in ScanResources() 259 FileEntry::FilePath outPath(outputPath); in ScanFile() 284 FileEntry::FilePath output(outputPath); in ScanFile() 297 FileEntry::FilePath path(filePath); in ScanSingleFile() 438 sub = FileEntry::FilePath(RESOURCES_DIR).Append(sub).GetPath(); in WriteRawFile() 451 FileEntry::FilePath output(outputPath); in WriteRawFile() 493 if (FileEntry::FilePath(resourceItem->GetFilePath()).GetExtension() == JSON_EXTENSION) { in AddRef() 501 FileEntry::FilePath(resourceItem->GetFilePath()).GetExtension() != JSON_EXTENSION) { in AddRef() 538 FileEntry::FilePath outPath(packageParser_.GetOutput()); in LoadResourceItemFromMem() 659 FileEntry::FilePath filePath(fileInfo.filePath); in IsBaseIdDefined()
|
D | reference_parser.cpp | 112 jsonPath = FileEntry::FilePath(output).Append(RESOURCES_DIR) in ParseRefInJsonFile() 115 jsonPath = FileEntry::FilePath(output).Append(RESOURCES_DIR) in ParseRefInJsonFile() 152 if (!ResourceUtil::CreateDirs(FileEntry::FilePath(to).GetParent().GetPath())) { in ParseRefJson() 233 FileEntry::FilePath(resourceItem.GetFilePath()).GetExtension() == JSON_EXTENSION; in IsMediaRef() 239 FileEntry::FilePath(resourceItem.GetFilePath()).GetExtension() == JSON_EXTENSION; in IsProfileRef()
|
D | resource_util.cpp | 385 FileEntry::FilePath ResourceUtil::GetBaseElementPath(const string input) in GetBaseElementPath() 387 return FileEntry::FilePath(input).Append("base").Append("element"); in GetBaseElementPath() 390 FileEntry::FilePath ResourceUtil::GetMainPath(const string input) in GetMainPath() 392 return FileEntry::FilePath(input).GetParent(); in GetMainPath()
|
D | resource_merge.cpp | 52 string resourceDir = FileEntry::FilePath(*it).GetPath(); in Init()
|
D | generic_compiler.cpp | 69 string outputFilePath = FileEntry::FilePath(outputFolder).Append(fileInfo.filename).GetPath(); in GetOutputFilePath()
|
D | id_worker.cpp | 207 idDefinedPath = FileEntry::FilePath(inputPath).Append(ID_DEFINED_FILE).GetPath(); in InitIdDefined() 224 string idDefinedPath = FileEntry::FilePath(idDefinedInput).GetPath(); in InitIdDefined() 229 string sysIdDefinedPath = FileEntry::FilePath(packageParser.GetRestoolPath()) in InitIdDefined()
|
D | i_resource_compiler.cpp | 152 string outputFolder = FileEntry::FilePath(output_).Append(RESOURCES_DIR) in GetOutputFolder()
|
D | resource_table.cpp | 32 …idDefinedPath_ = FileEntry::FilePath(packageParser.GetIdDefinedOutput()).Append(ID_DEFINED_FILE).G… in ResourceTable() 34 …indexFilePath_ = FileEntry::FilePath(packageParser.GetOutput()).Append(RESOURCE_INDEX_FILE).GetPat… in ResourceTable()
|
D | cmd_parser.cpp | 228 path = FileEntry::FilePath(path).Append(RESOURCES_DIR).GetPath(); in AdaptResourcesDirForInput()
|
/developtools/profiler/host/smartperf/client/client_command/include/ |
D | sp_parse_fps.h | 26 using FilePath = const SpString; variable 81 FpsResult ParseTraceFile(FilePath& filePath, PackageName& packageName); 86 …inline const FpsResult ParseBranch(FilePath& filePath, PackageName& pN, PageType& pT, TouchEvent&… 87 inline FpsResult PraseFPSTrace(FilePath& filePath, float staticTime, SpString uiPoint);
|
/developtools/profiler/host/smartperf/client/client_command/ |
D | sp_parse_fps.cpp | 62 const FpsResult ParseFPS::ParseBranch(FilePath& filePath, PackageName& pN, PageType& pT, TouchEvent… in ParseBranch() 93 FpsResult ParseFPS::ParseTraceFile(FilePath& filePath, PackageName& packageName) in ParseTraceFile() 201 FpsResult ParseFPS::PraseFPSTrace(FilePath& filePath, float staticTime, SpString uiPoint) in PraseFPSTrace()
|