Home
last modified time | relevance | path

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

/system/core/property_service/libpropertyinfoserializer/
Dtrie_serializer.cpp98 auto sorted_children = builder_node.children(); in WriteTrieNode() local
99 std::sort(sorted_children.begin(), sorted_children.end(), in WriteTrieNode()
102 trie->num_child_nodes = sorted_children.size(); in WriteTrieNode()
103 uint32_t children_offset_array_offset = arena_->AllocateUint32Array(sorted_children.size()); in WriteTrieNode()
106 for (unsigned int i = 0; i < sorted_children.size(); ++i) { in WriteTrieNode()
107 arena_->uint32_array(children_offset_array_offset)[i] = WriteTrieNode(sorted_children[i]); in WriteTrieNode()