Lines Matching defs:new_mask
123 * @param new_mask The mask to use when matching against the key.
127 goesAfter(Node **parent, Node *kid, Key key, Key new_mask)
129 if (kid && kid->matches(key) && (kid->mask & new_mask) == kid->mask) {
195 Key new_mask = ~(Key)0;
197 new_mask <<= (MaxBits - width);
199 key &= new_mask;
204 while (goesAfter(&node, node->kids[0], key, new_mask) ||
205 goesAfter(&node, node->kids[1], key, new_mask))
211 if (cur_mask == new_mask) {
222 new_node = new Node(key, new_mask, val);
236 last_mask == new_mask;
252 if (cur_mask == new_mask) {
258 new_node = new Node(key, new_mask, val);