Home
last modified time | relevance | path

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

/developtools/global_resource_tool/src/
Dresource_append.cpp83 cerr << "Error:" << child->GetFilePath().GetPath() << " not file" << endl; in Combine()
89 if (!LoadResourceItem(child->GetFilePath().GetPath())) { in Combine()
114 …ePath = FileEntry::FilePath(outputPath).Append(ResourceUtil::GenerateHash(resourcePath)).GetPath(); in ScanResources()
142 if (!ScanIegalResources(child->GetFilePath().GetPath(), outputPath)) { in ScanSubResources()
166 if (!ScanRawFiles(child->GetFilePath().GetPath(), outputPath)) { in ScanSubLimitkeyResources()
173 cerr << "Error: " << child->GetFilePath().GetPath() << " not directory" << endl; in ScanSubLimitkeyResources()
191 if (!ScanSingleFile(child->GetFilePath().GetPath(), outputPath)) { in ScanIegalResources()
203 cerr << NEW_LINE_PATH << entry->GetFilePath().GetPath() << endl; in ScanLimitKey()
214 cerr << "Error: " << child->GetFilePath().GetPath() << " not directory" << endl; in ScanLimitKey()
220 … cerr << "Error: invalid resType." << NEW_LINE_PATH << child->GetFilePath().GetPath() << endl; in ScanLimitKey()
[all …]
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()
244 string rawfilePath = FileEntry::FilePath(input).Append(RAW_FILE_DIR).GetPath(); in CopyRawFile()
255 .Append(RESOURCES_DIR).Append(RAW_FILE_DIR).GetPath(); in CopyRawFile()
279 string subPath = FileEntry::FilePath(dst).Append(filename).GetPath(); in CopyRawFileImpl()
281 if (CopyRawFileImpl(entry->GetFilePath().GetPath(), subPath) != RESTOOL_SUCCESS) { in CopyRawFileImpl()
288 if (!ResourceUtil::CopyFleInner(entry->GetFilePath().GetPath(), subPath)) { in CopyRawFileImpl()
302 .Append(ConfigParser::GetConfigName()).GetPath(); in GenerateConfigJson()
[all …]
Dresource_directory.cpp39 cerr << "Error: '" << it->GetFilePath().GetPath() << "' not directory." << endl; in ScanResources()
47 if (!ScanResourceLimitKeyDir(it->GetFilePath().GetPath(), limitKey, callback)) { in ScanResources()
69 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 cout << "Error: '" << it->GetFilePath().GetPath() << "' must be a file." << endl; in Compile()
59 …FileInfo fileInfo = { directoryInfo, it->GetFilePath().GetPath(), it->GetFilePath().GetFilename() … in Compile()
153 .Append(directoryInfo.limitKey).Append(directoryInfo.fileCluster).GetPath(); in GetOutputFolder()
Dreference_parser.cpp113 … .Append(resourceItem.GetLimitKey()).Append("media").Append(resourceItem.GetName()).GetPath(); in ParseRefInJsonFile()
116 .Append("base").Append("profile").Append(resourceItem.GetName()).GetPath(); in ParseRefInJsonFile()
152 if (!ResourceUtil::CreateDirs(FileEntry::FilePath(to).GetParent().GetPath())) { in ParseRefJson()
Did_worker.cpp207 idDefinedPath = FileEntry::FilePath(inputPath).Append(ID_DEFINED_FILE).GetPath(); in InitIdDefined()
209 … idDefinedPath = ResourceUtil::GetBaseElementPath(inputPath).Append(ID_DEFINED_FILE).GetPath(); in InitIdDefined()
224 string idDefinedPath = FileEntry::FilePath(idDefinedInput).GetPath(); in InitIdDefined()
230 .GetParent().Append(ID_DEFINED_FILE).GetPath(); in InitIdDefined()
Dgeneric_compiler.cpp69 string outputFilePath = FileEntry::FilePath(outputFolder).Append(fileInfo.filename).GetPath(); in GetOutputFilePath()
Dresource_table.cpp32 …dPath_ = FileEntry::FilePath(packageParser.GetIdDefinedOutput()).Append(ID_DEFINED_FILE).GetPath(); in ResourceTable()
34 …exFilePath_ = FileEntry::FilePath(packageParser.GetOutput()).Append(RESOURCE_INDEX_FILE).GetPath(); in ResourceTable()
Dcmd_parser.cpp228 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());