Lines Matching defs:key

39  * Skip List using single key instead of range.
51 * ngtcp2_ksl_key represents key in ngtcp2_ksl.
62 * ngtcp2_ksl_blk. Otherwise, it has data. The key is stored at the
63 * location starting at key.
72 /* key is a buffer to include key associated to this node.
73 Because the length of key is unknown until ngtcp2_ksl_init is
76 uint8_t key[1];
98 allocated along with the additional variable length key
112 * ngtcp2_ksl_compar is a function type which returns nonzero if key
144 /* keylen is the size of key */
146 /* nodelen is the actual size of ngtcp2_ksl_node including key
153 * function. |keylen| is the length of key.
166 * ngtcp2_ksl_insert inserts |key| with its associated |data|. On
176 * |key| already exists.
179 const ngtcp2_ksl_key *key, void *data);
182 * ngtcp2_ksl_remove removes the |key| from |ksl|.
186 * is not NULL. If |key| is not found, no deletion takes place and
193 * |key| does not exist.
196 const ngtcp2_ksl_key *key);
199 * ngtcp2_ksl_remove_hint removes the |key| from |ksl|. |hint| must
200 * point to the same node denoted by |key|. |hint| is used to remove
207 const ngtcp2_ksl_key *key);
211 * first node which has the key which is equal to |key| or the last
212 * node which satisfies !compar(&node->key, key). If there is no such
217 const ngtcp2_ksl_key *key);
224 const ngtcp2_ksl_key *key,
228 * ngtcp2_ksl_update_key replaces the key of nodes which has |old_key|
268 * that the key is of type int64_t. This function should be used for
319 * ngtcp2_ksl_key returns the key of the node which |it| points to.
324 ((ngtcp2_ksl_key *)ngtcp2_ksl_nth_node((IT)->ksl, (IT)->blk, (IT)->i)->key)