Home
last modified time | relevance | path

Searched refs:caseSense (Results 1 - 4 of 4) sorted by relevance

/foundation/filemanagement/dfs_service/test/unittests/cloudsync_sa/dentry/mock/
H A Dbase_interface_lib_mock.cpp19 string GetDentryfileByPath(uint32_t userId, const string &path, bool caseSense) in GetDentryfileByPath() argument
23 caseSense = true; in GetDentryfileByPath()
26 caseSense = false; in GetDentryfileByPath()
30 return BaseInterfaceLib::baseInterfaceLib_->GetDentryfileByPath(userId, path, caseSense); in GetDentryfileByPath()
33 string GetDentryfileName(const std::string &path, bool caseSense) in GetDentryfileName() argument
39 return BaseInterfaceLib::baseInterfaceLib_->GetDentryfileName(path, caseSense); in GetDentryfileName()
H A Dbase_interface_lib_mock.h31 virtual string GetDentryfileByPath(uint32_t userId, const string &path, bool caseSense) = 0;
32 virtual string GetDentryfileName(const std::string &path, bool caseSense) = 0;
48 MOCK_METHOD3(GetDentryfileByPath, string(uint32_t userId, const string &path, bool caseSense));
49 MOCK_METHOD2(GetDentryfileName, string(const string &path, bool caseSense));
/foundation/filemanagement/dfs_service/utils/dentry/src/
H A Dmeta_file.cpp86 static uint64_t PathHash(const std::string &path, bool caseSense) in PathHash() argument
93 if (!caseSense) { in PathHash()
102 static std::string GetDentryfileName(const std::string &path, bool caseSense) in GetDentryfileName() argument
107 uint64_t fileHash = PathHash(path, caseSense); in GetDentryfileName()
115 static std::string GetDentryfileByPath(uint32_t userId, const std::string &path, bool caseSense = false) in GetDentryfileByPath()
119 std::string dentryFileName = GetDentryfileName(path, caseSense); in GetDentryfileByPath()
/foundation/filemanagement/dfs_service/test/unittests/cloudsync_sa/dentry/
H A Ddentry_meta_file_test.cpp511 bool caseSense = true; in HWTEST_F() local
513 EXPECT_EQ(interfaceLibMock_->GetDentryfileName(path, caseSense), "/"); in HWTEST_F()

Completed in 5 milliseconds