Home
last modified time | relevance | path

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

/developtools/global_resource_tool/src/
Djson_compiler.cpp175 cerr << NEW_LINE_PATH << resourceItem.GetFilePath() << endl; in HandleBoolean()
180 cerr << NEW_LINE_PATH << resourceItem.GetFilePath() << endl; in HandleBoolean()
203 cerr << NEW_LINE_PATH << resourceItem.GetFilePath() << endl; in HandleStringArray()
257 cerr << "' duplicated." << NEW_LINE_PATH << resourceItem.GetFilePath() << endl; in HandlePlural()
270 cerr << NEW_LINE_PATH << resourceItem.GetFilePath() << endl; in HandlePlural()
280 cerr << NEW_LINE_PATH << resourceItem.GetFilePath() << endl; in PushString()
290 cerr << NEW_LINE_PATH << resourceItem.GetFilePath() << endl; in CheckJsonStringValue()
306 cerr << "Error: " << error << NEW_LINE_PATH << resourceItem.GetFilePath() << endl; in CheckJsonStringValue()
313 cerr << NEW_LINE_PATH << resourceItem.GetFilePath() << endl; in CheckJsonStringValue()
325 cerr << NEW_LINE_PATH << resourceItem.GetFilePath() << endl; in CheckJsonIntegerValue()
[all …]
Dresource_append.cpp83 cerr << "Error:" << child->GetFilePath().GetPath() << " not file" << endl; in Combine()
86 if (child->GetFilePath().GetFilename() == ID_DEFINED_FILE) { in Combine()
89 if (!LoadResourceItem(child->GetFilePath().GetPath())) { in Combine()
137 if (KeyParser::Parse(entry.GetFilePath().GetFilename(), keyParams)) { in ScanSubResources()
139 if (!ResourceUtil::IslegalPath(child->GetFilePath().GetFilename())) { in ScanSubResources()
142 if (!ScanIegalResources(child->GetFilePath().GetPath(), outputPath)) { in ScanSubResources()
149 if (ResourceUtil::IslegalPath(entry.GetFilePath().GetFilename())) { in ScanSubResources()
160 string limitKey = child->GetFilePath().GetFilename(); in ScanSubLimitkeyResources()
166 if (!ScanRawFiles(child->GetFilePath().GetPath(), outputPath)) { in ScanSubLimitkeyResources()
173 cerr << "Error: " << child->GetFilePath().GetPath() << " not directory" << endl; in ScanSubLimitkeyResources()
[all …]
Dresource_directory.cpp33 string limitKey = it->GetFilePath().GetFilename(); in ScanResources()
39 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()
70 string fileCluster = it->GetFilePath().GetFilename(); in ScanResourceLimitKeyDir()
Di_resource_compiler.cpp50 if (ResourceUtil::IsIgnoreFile(it->GetFilePath().GetFilename(), it->IsFile())) { in Compile()
55 cout << "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()
141 …Error: resource '" << idName << "' first declared." << NEW_LINE_PATH << ret->GetFilePath() << endl; in MergeResourceItem()
142 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.cpp86 cerr << "Error: " << NEW_LINE_PATH << resourceItem.GetFilePath() << endl; in ParseRefInResourceItem()
102 cerr << NEW_LINE_PATH << resourceItem.GetFilePath() << endl; in ParseRefInResourceItem()
118 if (!ParseRefJson(resourceItem.GetFilePath(), jsonPath)) { in ParseRefInJsonFile()
168 cerr << NEW_LINE_PATH << resourceItem.GetFilePath() << endl; in ParseRefResourceItemData()
175 cerr << "Error: " << NEW_LINE_PATH << resourceItem.GetFilePath() << endl; in ParseRefResourceItemData()
188 …< "' contents size is " << contents.size() << NEW_LINE_PATH << resourceItem.GetFilePath() << endl; in ParseRefResourceItemData()
233 FileEntry::FilePath(resourceItem.GetFilePath()).GetExtension() == JSON_EXTENSION; in IsMediaRef()
239 FileEntry::FilePath(resourceItem.GetFilePath()).GetExtension() == JSON_EXTENSION; in IsProfileRef()
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.cpp70 string filePath = resourceItem.GetFilePath(); in CheckNodeInResourceItem()
Dresource_pack.cpp274 string filename = entry->GetFilePath().GetFilename(); in CopyRawFileImpl()
281 if (CopyRawFileImpl(entry->GetFilePath().GetPath(), subPath) != RESTOOL_SUCCESS) { in CopyRawFileImpl()
288 if (!ResourceUtil::CopyFleInner(entry->GetFilePath().GetPath(), subPath)) { in CopyRawFileImpl()
/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/
Dnative_hook_parser_test.cpp320 if (frameCache.GetFilePath() != filePath_) { in operator ==()
321 … TS_LOGE("filePath_ = %lu, frameCache.GetFilePath() = %lu", filePath_, frameCache.GetFilePath()); in operator ==()
354 inline uint64_t GetFilePath() const in GetFilePath() function in SysTuning::TraceStreamer::NativeHookFrameCache