Lines Matching refs:key_ids
12 PredictCallback(T key_ids, U keys, std::size_t max_num_results) in PredictCallback() argument
13 : key_ids_(key_ids), keys_(keys), in PredictCallback()
79 UInt32 *key_ids, std::size_t *key_lengths, in find() argument
84 MakeContainer(key_ids), MakeContainer(key_lengths), max_num_results); in find()
88 UInt32 *key_ids, std::size_t *key_lengths, in find() argument
93 MakeContainer(key_ids), MakeContainer(key_lengths), max_num_results); in find()
97 std::vector<UInt32> *key_ids, std::vector<std::size_t> *key_lengths, in find() argument
102 MakeContainer(key_ids), MakeContainer(key_lengths), max_num_results); in find()
106 std::vector<UInt32> *key_ids, std::vector<std::size_t> *key_lengths, in find() argument
111 MakeContainer(key_ids), MakeContainer(key_lengths), max_num_results); in find()
143 UInt32 *key_ids, std::string *keys, std::size_t max_num_results) const { in predict() argument
147 predict_breadth_first(str, key_ids, keys, max_num_results) : in predict()
148 predict_depth_first(str, key_ids, keys, max_num_results); in predict()
152 UInt32 *key_ids, std::string *keys, std::size_t max_num_results) const { in predict() argument
156 predict_breadth_first(ptr, length, key_ids, keys, max_num_results) : in predict()
157 predict_depth_first(ptr, length, key_ids, keys, max_num_results); in predict()
161 std::vector<UInt32> *key_ids, std::vector<std::string> *keys, in predict() argument
166 predict_breadth_first(str, key_ids, keys, max_num_results) : in predict()
167 predict_depth_first(str, key_ids, keys, max_num_results); in predict()
171 std::vector<UInt32> *key_ids, std::vector<std::string> *keys, in predict() argument
176 predict_breadth_first(ptr, length, key_ids, keys, max_num_results) : in predict()
177 predict_depth_first(ptr, length, key_ids, keys, max_num_results); in predict()
181 UInt32 *key_ids, std::string *keys, std::size_t max_num_results) const { in predict_breadth_first() argument
185 MakeContainer(key_ids), MakeContainer(keys), max_num_results); in predict_breadth_first()
189 UInt32 *key_ids, std::string *keys, std::size_t max_num_results) const { in predict_breadth_first() argument
193 MakeContainer(key_ids), MakeContainer(keys), max_num_results); in predict_breadth_first()
197 std::vector<UInt32> *key_ids, std::vector<std::string> *keys, in predict_breadth_first() argument
202 MakeContainer(key_ids), MakeContainer(keys), max_num_results); in predict_breadth_first()
206 std::vector<UInt32> *key_ids, std::vector<std::string> *keys, in predict_breadth_first() argument
211 MakeContainer(key_ids), MakeContainer(keys), max_num_results); in predict_breadth_first()
215 UInt32 *key_ids, std::string *keys, std::size_t max_num_results) const { in predict_depth_first() argument
219 MakeContainer(key_ids), MakeContainer(keys), max_num_results); in predict_depth_first()
223 UInt32 *key_ids, std::string *keys, std::size_t max_num_results) const { in predict_depth_first() argument
227 MakeContainer(key_ids), MakeContainer(keys), max_num_results); in predict_depth_first()
231 const char *str, std::vector<UInt32> *key_ids, in predict_depth_first() argument
236 MakeContainer(key_ids), MakeContainer(keys), max_num_results); in predict_depth_first()
240 const char *ptr, std::size_t length, std::vector<UInt32> *key_ids, in predict_depth_first() argument
245 MakeContainer(key_ids), MakeContainer(keys), max_num_results); in predict_depth_first()
462 std::size_t Trie::find_(T query, U key_ids, V key_lengths, in find_() argument
472 if (key_ids.is_valid()) { in find_()
473 key_ids.insert(count, node_to_key_id(node)); in find_()
523 std::size_t Trie::predict_breadth_first_(T query, U key_ids, V keys, in predict_breadth_first_() argument
539 if (key_ids.is_valid()) { in predict_breadth_first_()
540 key_ids.insert(count, key_id); in predict_breadth_first_()
559 if (key_ids.is_valid()) { in predict_breadth_first_()
562 key_ids.insert(temp_count, key_id); in predict_breadth_first_()
590 std::size_t Trie::predict_depth_first_(T query, U key_ids, V keys, in predict_depth_first_() argument
595 PredictCallback<U, V> callback(key_ids, keys, max_num_results); in predict_depth_first_()
608 if (key_ids.is_valid()) { in predict_depth_first_()
609 key_ids.insert(count, node_to_key_id(node)); in predict_depth_first_()
634 if (key_ids.is_valid()) { in predict_depth_first_()
635 key_ids.insert(count, cur.key_id()); in predict_depth_first_()