Lines Matching refs:value
57 Value *value;
63 key(_key & _mask), mask(_mask), value(_val),
96 parent, this, key, mask, value);
138 * A utility method which extends a mask value one more bit towards the
165 if (node->value)
181 * Method which inserts a key/value pair into the trie.
182 * @param key The key which can later be used to look up this value.
184 * @param val A pointer to the value to store in the trie.
185 * @return A Handle corresponding to this value.
190 // We use NULL value pointers to mark internal nodes of the trie, so
210 // If we're already where the value needs to be...
212 assert(!node->value);
213 node->value = val;
251 // If we ran out of bits, the value goes right here.
253 new_node->value = val;
278 return node->value;
284 * Method to delete a value from the trie.
292 Value *val = node->value;
294 assert(node->value);
295 node->value = NULL;
321 if (!parent->kids[1] && !parent->value && parent->parent)
328 * Method to lookup a value from the trie and then delete it.
342 * A method which removes all key/value pairs from the trie. This is more
360 ccprintf(os, "*** (parent, me, key, mask, value pointer)\n");