Home
last modified time | relevance | path

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

/developtools/global_resource_tool/src/
Dresource_pack.cpp118 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 …]
Dresource_append.cpp89 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 …]
Dresource_directory.cpp40 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()
Dfile_entry.cpp50 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()
Dresource_merge.cpp51 …string configPath = ResourceUtil::GetMainPath(*it).Append(ConfigParser::GetConfigName()).GetPath(); in Init()
52 string resourceDir = FileEntry::FilePath(*it).GetPath(); in Init()
Di_resource_compiler.cpp55 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()
Did_defined_parser.cpp47 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()
Dreference_parser.cpp118 … .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()
Dgeneric_compiler.cpp69 string outputFilePath = FileEntry::FilePath(outputFolder).Append(fileInfo.filename).GetPath(); in GetOutputFilePath()
Dresource_table.cpp33 …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()
Dcmd_parser.cpp258 path = FileEntry::FilePath(path).Append(RESOURCES_DIR).GetPath(); in AdaptResourcesDirForInput()
/developtools/hdc/src/host/
Dext_client.cpp32 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()
Dext_client.h61 static string GetPath();
/developtools/global_resource_tool/include/
Dfile_entry.h35 const std::string &GetPath() const;
/developtools/profiler/device/plugins/api/src/
Dplugin_module.h60 std::string GetPath();
Dplugin_module.cpp170 std::string PluginModule::GetPath() in GetPath() function in PluginModule
/developtools/profiler/device/plugins/api/test/unittest/
Dplugin_module_test.cpp95 EXPECT_FALSE(plugin->GetPath().empty());