Home
last modified time | relevance | path

Searched refs:dataPath (Results 1 – 4 of 4) sorted by relevance

/developtools/global_resource_tool/src/
Dresource_pack.cpp474 bool ResourcePack::CopyIcon(string &dataPath, const string &idName, string &fileName) const in CopyIcon() argument
477 string source = FileEntry::FilePath(featureDependEntry).Append(dataPath).GetPath(); in CopyIcon()
482 ResourceUtil::StringReplace(dataPath, SEPARATOR, WIN_SEPARATOR); in CopyIcon()
484 string dstDir = FileEntry::FilePath(output).Append(dataPath).GetParent().GetPath(); in CopyIcon()
507 string dataPath(reinterpret_cast<const char *>(it.GetData())); in HandleIcon()
508 string::size_type pos = dataPath.find_first_of(SEPARATOR); in HandleIcon()
510 cerr << "Error: HandleIcon invalid '" << dataPath << "'."<< endl; in HandleIcon()
513 dataPath = dataPath.substr(pos + 1); in HandleIcon()
516 if (!CopyIcon(dataPath, idName, fileName)) { in HandleIcon()
519 …string data = FileEntry::FilePath(moduleName_).Append(dataPath).GetParent().Append(fileName).GetPa… in HandleIcon()
/developtools/hiperf/test/unittest/common/native/
Dutilities_test.cpp417 std::string dataPath = "./test"; variable
418 EXPECT_EQ(UncompressFile(gzipPath, dataPath), true);
420 dataPath = "";
421 EXPECT_EQ(UncompressFile(gzipPath, dataPath), false);
423 dataPath = "./resource/testdata/elf_test_stripped_broken";
424 EXPECT_EQ(UncompressFile(gzipPath, dataPath), false);
/developtools/profiler/device/plugins/native_daemon/test/unittest/common/native/
Dutilities_test.cpp422 std::string dataPath = "./test"; variable
423 EXPECT_EQ(UncompressFile(gzipPath, dataPath), true);
425 dataPath = "";
426 EXPECT_EQ(UncompressFile(gzipPath, dataPath), false);
428 dataPath = "./resource/testdata/elf_test_stripped_broken";
429 EXPECT_EQ(UncompressFile(gzipPath, dataPath), false);
/developtools/global_resource_tool/include/
Dresource_pack.h61 bool CopyIcon(std::string &dataPath, const std::string &idName, std::string &fileName) const;