Home
last modified time | relevance | path

Searched refs:GetFilePath (Results 1 – 13 of 13) sorted by relevance

/developtools/global_resource_tool/src/
Djson_compiler.cpp194 cerr << NEW_LINE_PATH << resourceItem.GetFilePath() << endl; in HandleBoolean()
201 cerr << NEW_LINE_PATH << resourceItem.GetFilePath() << endl; in HandleBoolean()
224 cerr << NEW_LINE_PATH << resourceItem.GetFilePath() << endl; in HandleStringArray()
286 cerr << "' duplicated." << NEW_LINE_PATH << resourceItem.GetFilePath() << endl; in HandlePlural()
303 cerr << NEW_LINE_PATH << resourceItem.GetFilePath() << endl; in HandlePlural()
322 cerr << NEW_LINE_PATH << resourceItem.GetFilePath() << endl; in PushString()
332 cerr << NEW_LINE_PATH << resourceItem.GetFilePath() << endl; in CheckJsonStringValue()
348 cerr << "Error: " << error << NEW_LINE_PATH << resourceItem.GetFilePath() << endl; in CheckJsonStringValue()
355 cerr << NEW_LINE_PATH << resourceItem.GetFilePath() << endl; in CheckJsonStringValue()
365 cerr << NEW_LINE_PATH << resourceItem.GetFilePath() << endl; in CheckJsonIntegerValue()
[all …]
Dresource_append.cpp89 cerr << "Error:" << child->GetFilePath().GetPath() << " not file" << endl; in Combine()
92 if (child->GetFilePath().GetFilename() == ID_DEFINED_FILE) { in Combine()
95 if (!LoadResourceItem(child->GetFilePath().GetPath())) { in Combine()
143 if (KeyParser::Parse(entry.GetFilePath().GetFilename(), keyParams)) { in ScanSubResources()
145 if (!ResourceUtil::IslegalPath(child->GetFilePath().GetFilename())) { in ScanSubResources()
148 if (!ScanIegalResources(child->GetFilePath().GetPath(), outputPath)) { in ScanSubResources()
155 if (ResourceUtil::IslegalPath(entry.GetFilePath().GetFilename())) { in ScanSubResources()
166 string limitKey = child->GetFilePath().GetFilename(); in ScanSubLimitkeyResources()
172 if (!ScanRawFilesOrResFiles(child->GetFilePath().GetPath(), outputPath, limitKey)) { in ScanSubLimitkeyResources()
179 cerr << "Error: " << child->GetFilePath().GetPath() << " not directory" << endl; in ScanSubLimitkeyResources()
[all …]
Dresource_directory.cpp34 string limitKey = it->GetFilePath().GetFilename(); in ScanResources()
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()
73 string fileCluster = it->GetFilePath().GetFilename(); in ScanResourceLimitKeyDir()
Di_resource_compiler.cpp50 if (ResourceUtil::IsIgnoreFile(it->GetFilePath().GetFilename(), it->IsFile())) { in Compile()
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()
128 …"Error: invalid idName '" << idName << "'."<< NEW_LINE_PATH << resourceItem.GetFilePath() << endl; in MergeResourceItem()
143 …Error: resource '" << idName << "' first declared." << NEW_LINE_PATH << ret->GetFilePath() << endl; in MergeResourceItem()
144 cerr << "but declare again." << NEW_LINE_PATH << resourceItem.GetFilePath() << endl; in MergeResourceItem()
Dresource_module.cpp96 cerr << NEW_LINE_PATH << ret->GetFilePath() << endl; in MergeResourceItem()
97 cerr << "but declared again." <<NEW_LINE_PATH << resourceItem.GetFilePath() << endl; in MergeResourceItem()
101 cout << NEW_LINE_PATH << ret->GetFilePath() << endl; in MergeResourceItem()
102 cout << "but declared again." << NEW_LINE_PATH << resourceItem.GetFilePath() << endl; in MergeResourceItem()
Dreference_parser.cpp91 … cerr << "Error: please check JSON file." << NEW_LINE_PATH << resourceItem.GetFilePath() << endl; in ParseRefInResourceItem()
107 cerr << NEW_LINE_PATH << resourceItem.GetFilePath() << endl; in ParseRefInResourceItem()
123 if (!ParseRefJson(resourceItem.GetFilePath(), jsonPath)) { in ParseRefInJsonFile()
176 cerr << NEW_LINE_PATH << resourceItem.GetFilePath() << endl; in ParseRefResourceItemData()
183 … cerr << "Error: please check JSON file." << NEW_LINE_PATH << resourceItem.GetFilePath() << endl; in ParseRefResourceItemData()
196 …< "' contents size is " << contents.size() << NEW_LINE_PATH << resourceItem.GetFilePath() << endl; in ParseRefResourceItemData()
242 FileEntry::FilePath(resourceItem.GetFilePath()).GetExtension() == JSON_EXTENSION; in IsMediaRef()
248 FileEntry::FilePath(resourceItem.GetFilePath()).GetExtension() == JSON_EXTENSION; in IsProfileRef()
Dresource_pack.cpp286 string filename = entry->GetFilePath().GetFilename(); 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()
301 if (!ResourceUtil::CopyFleInner(entry->GetFilePath().GetPath(), subPath)) { in CopyRawFileOrResFileImpl()
Dresource_item.cpp107 const string &ResourceItem::GetFilePath() const in GetFilePath() function in OHOS::Global::Restool::ResourceItem
Dfile_entry.cpp108 const FileEntry::FilePath &FileEntry::GetFilePath() const in GetFilePath() function in OHOS::Global::Restool::FileEntry
289 string path = entry.GetFilePath().GetPath(); in RemoveAllDirInner()
Dresource_check.cpp68 string filePath = resourceItem.GetFilePath(); in CheckNodeInResourceItem()
/developtools/global_resource_tool/include/
Dresource_item.h43 const std::string &GetFilePath() const;
Dfile_entry.h53 const FilePath &GetFilePath() const;
/developtools/smartperf_host/trace_streamer/test/unittest/pbreader_parser/native_memory/
Dnative_hook_parser_test.cpp532 ret &= IsEqual(frameCache.GetFilePath(), filePath_, "FilePath"); in operator ==()
553 inline uint64_t GetFilePath() const in GetFilePath() function in SysTuning::TraceStreamer::NativeHookFrameCache