Home
last modified time | relevance | path

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

/system/core/property_service/libpropertyinfoserializer/
Dtrie_builder.h37 class TrieBuilderNode {
39 TrieBuilderNode(const std::string& name) : property_entry_(name, nullptr, nullptr) {} in TrieBuilderNode() function
41 TrieBuilderNode* FindChild(const std::string& name) { in FindChild()
48 const TrieBuilderNode* FindChild(const std::string& name) const { in FindChild()
55 TrieBuilderNode* AddChild(const std::string& name) { return &children_.emplace_back(name); } in AddChild()
88 const std::vector<TrieBuilderNode>& children() const { return children_; } in children()
94 std::vector<TrieBuilderNode> children_;
105 const TrieBuilderNode builder_root() const { return builder_root_; } in builder_root()
115 TrieBuilderNode builder_root_;
Dtrie_serializer.h43 uint32_t WriteTrieNode(const TrieBuilderNode& builder_node);
Dtrie_builder.cpp43 TrieBuilderNode* current_node = &builder_root_; in AddToTrie()
Dtrie_serializer.cpp58 uint32_t TrieSerializer::WriteTrieNode(const TrieBuilderNode& builder_node) { in WriteTrieNode()