/developtools/global_resource_tool/src/ |
D | resource_pack.cpp | 118 string resourcesPath = FileEntry::FilePath(output).Append(RESOURCES_DIR).GetPath(); in InitOutput() 135 …g textPath = FileEntry::FilePath(packageParser_.GetOutput()).Append("ResourceTable.txt").GetPath(); in GenerateHeader() 159 … config = ResourceUtil::GetMainPath(packageParser_.GetInputs()[0]).Append(CONFIG_JSON).GetPath(); in InitConfigJson() 161 … config = ResourceUtil::GetMainPath(packageParser_.GetInputs()[0]).Append(MODULE_JSON).GetPath(); in InitConfigJson() 253 .Append(RESOURCES_DIR).Append(fileType).GetPath(); in CopyRawFileOrResFile() 263 string rawfilePath = FileEntry::FilePath(input).Append(RAW_FILE_DIR).GetPath(); in CopyRawFileOrResFile() 267 string resfilePath = FileEntry::FilePath(input).Append(RES_FILE_DIR).GetPath(); in CopyRawFileOrResFile() 291 string subPath = FileEntry::FilePath(dst).Append(filename).GetPath(); in CopyRawFileOrResFileImpl() 293 … if (CopyRawFileOrResFileImpl(entry->GetFilePath().GetPath(), subPath) != RESTOOL_SUCCESS) { in CopyRawFileOrResFileImpl() 298 … cerr << "Warning: '" << entry->GetFilePath().GetPath() << "' is defined repeatedly." << endl; in CopyRawFileOrResFileImpl() [all …]
|
D | resource_append.cpp | 89 cerr << "Error:" << child->GetFilePath().GetPath() << " not file" << endl; in Combine() 95 if (!LoadResourceItem(child->GetFilePath().GetPath())) { in Combine() 120 …ePath = FileEntry::FilePath(outputPath).Append(ResourceUtil::GenerateHash(resourcePath)).GetPath(); in ScanResources() 148 if (!ScanIegalResources(child->GetFilePath().GetPath(), outputPath)) { in ScanSubResources() 172 if (!ScanRawFilesOrResFiles(child->GetFilePath().GetPath(), outputPath, limitKey)) { in ScanSubLimitkeyResources() 179 cerr << "Error: " << child->GetFilePath().GetPath() << " not directory" << endl; in ScanSubLimitkeyResources() 197 if (!ScanSingleFile(child->GetFilePath().GetPath(), outputPath)) { in ScanIegalResources() 209 cerr << NEW_LINE_PATH << entry->GetFilePath().GetPath() << endl; in ScanLimitKey() 220 cerr << "Error: " << child->GetFilePath().GetPath() << " not directory" << endl; in ScanLimitKey() 226 … cerr << "Error: invalid resType." << NEW_LINE_PATH << child->GetFilePath().GetPath() << endl; in ScanLimitKey() [all …]
|
D | resource_directory.cpp | 40 cerr << "Error: '" << it->GetFilePath().GetPath() << "' not directory." << endl; in ScanResources() 48 if (!ScanResourceLimitKeyDir(it->GetFilePath().GetPath(), limitKey, callback)) { in ScanResources() 72 string dirPath = it->GetFilePath().GetPath(); in ScanResourceLimitKeyDir()
|
D | file_entry.cpp | 50 string filePath = filePath_.GetPath(); in Init() 63 string filePath = filePath_.GetPath(); in GetChilds() 78 filePath = filePath_.GetPath() + SEPARATE + filename; in GetChilds() 93 filePath = filePath_.GetPath() + SEPARATE + filename; in GetChilds() 246 const string &FileEntry::FilePath::GetPath() const in GetPath() function in OHOS::Global::Restool::FileEntry::FilePath 289 string path = entry.GetFilePath().GetPath(); in RemoveAllDirInner()
|
D | resource_merge.cpp | 51 …string configPath = ResourceUtil::GetMainPath(*it).Append(ConfigParser::GetConfigName()).GetPath(); in Init() 52 string resourceDir = FileEntry::FilePath(*it).GetPath(); in Init()
|
D | i_resource_compiler.cpp | 55 cerr << "Error: '" << it->GetFilePath().GetPath() << "' must be a file." << endl; in Compile() 59 …FileInfo fileInfo = { directoryInfo, it->GetFilePath().GetPath(), it->GetFilePath().GetFilename() … in Compile() 155 .Append(directoryInfo.limitKey).Append(directoryInfo.fileCluster).GetPath(); in GetOutputFolder()
|
D | id_defined_parser.cpp | 47 idDefinedPath = FileEntry::FilePath(inputPath).Append(ID_DEFINED_FILE).GetPath(); in Init() 49 … idDefinedPath = ResourceUtil::GetBaseElementPath(inputPath).Append(ID_DEFINED_FILE).GetPath(); in Init() 66 string idDefinedPath = FileEntry::FilePath(idDefinedInput).GetPath(); in Init() 77 .GetParent().Append(ID_DEFINED_FILE).GetPath(); in Init()
|
D | reference_parser.cpp | 118 … .Append(resourceItem.GetLimitKey()).Append("media").Append(resourceItem.GetName()).GetPath(); in ParseRefInJsonFile() 121 .Append("base").Append("profile").Append(resourceItem.GetName()).GetPath(); in ParseRefInJsonFile() 160 if (!ResourceUtil::CreateDirs(FileEntry::FilePath(to).GetParent().GetPath())) { in ParseRefJson()
|
D | generic_compiler.cpp | 69 string outputFilePath = FileEntry::FilePath(outputFolder).Append(fileInfo.filename).GetPath(); in GetOutputFilePath()
|
D | resource_table.cpp | 33 …dPath_ = FileEntry::FilePath(packageParser.GetIdDefinedOutput()).Append(ID_DEFINED_FILE).GetPath(); in ResourceTable() 35 …exFilePath_ = FileEntry::FilePath(packageParser.GetOutput()).Append(RESOURCE_INDEX_FILE).GetPath(); in ResourceTable()
|
D | cmd_parser.cpp | 258 path = FileEntry::FilePath(path).Append(RESOURCES_DIR).GetPath(); in AdaptResourcesDirForInput()
|
/developtools/hdc/src/host/ |
D | ext_client.cpp | 32 string ExtClient::GetPath() in GetPath() function in Hdc::ExtClient 48 string path = GetPath(); in Init() 60 string path = GetPath(); in SharedLibraryExist() 355 string path = GetPath(); in WaitForExtent()
|
D | ext_client.h | 61 static string GetPath();
|
/developtools/global_resource_tool/include/ |
D | file_entry.h | 35 const std::string &GetPath() const;
|
/developtools/profiler/device/plugins/api/src/ |
D | plugin_module.h | 60 std::string GetPath();
|
D | plugin_module.cpp | 170 std::string PluginModule::GetPath() in GetPath() function in PluginModule
|
/developtools/profiler/device/plugins/api/test/unittest/ |
D | plugin_module_test.cpp | 95 EXPECT_FALSE(plugin->GetPath().empty());
|