Searched refs:name_pieces (Results 1 – 1 of 1) sorted by relevance
45 auto name_pieces = Split(name, "."); in AddToTrie() local48 if (name_pieces.back().empty()) { in AddToTrie()50 name_pieces.pop_back(); in AddToTrie()54 while (name_pieces.size() > 1) { in AddToTrie()55 auto child = current_node->FindChild(name_pieces.front()); in AddToTrie()57 child = current_node->AddChild(name_pieces.front()); in AddToTrie()64 name_pieces.erase(name_pieces.begin()); in AddToTrie()69 if (!current_node->AddExactMatchContext(name_pieces.front(), context, type)) { in AddToTrie()74 if (!current_node->AddPrefixContext(name_pieces.front(), context, type)) { in AddToTrie()79 auto child = current_node->FindChild(name_pieces.front()); in AddToTrie()[all …]