Searched refs:SehapContextsTrie (Results 1 – 3 of 3) sorted by relevance
22 std::vector<std::string> SehapContextsTrie::SplitString(const std::string& paraName) in SplitString()45 SehapContextsTrie* SehapContextsTrie::FindChild(const std::string& element) in FindChild()47 SehapContextsTrie* node = this; in FindChild()55 bool SehapContextsTrie::Insert(const std::string& paraName, const std::string& domain, const std::s… in Insert()57 SehapContextsTrie* node = this; in Insert()64 node->children[word] = new (std::nothrow) SehapContextsTrie(); in Insert()84 std::string SehapContextsTrie::Search(const std::string& paraName, bool isDomain) in Search()88 SehapContextsTrie* root = this; in Search()114 void SehapContextsTrie::Clear() in Clear()116 SehapContextsTrie* root = this; in Clear()[all …]
66 static std::unique_ptr<SehapContextsTrie> g_sehapContextsTrie = nullptr;214 g_sehapContextsTrie = std::make_unique<SehapContextsTrie>(); in HapContextsLoad()
28 class SehapContextsTrie {30 SehapContextsTrie() {}; in SehapContextsTrie() function31 ~SehapContextsTrie() {}; in ~SehapContextsTrie()42 SehapContextsTrie* FindChild(const std::string &element);43 std::unordered_map<std::string, SehapContextsTrie *> children;