Home | History | Annotate | Download | only in glib

Lines Matching defs:node

75 /* provide uninitialized space at index for node insertion */
84 * otherwise replace the existing node's contents with key_node
94 * return NULL or exact match node
101 * exact match node, or, if there's no such node, return the
102 * node last visited, which is pretty close to an exact match
110 * return the node where key_node should be inserted (may be one
204 guint8 *node;
217 node = G_BSEARCH_ARRAY_NODES (barray) + index_ * bconfig->sizeof_node;
218 g_memmove (node + bconfig->sizeof_node, node, (barray->n_nodes - index_) * bconfig->sizeof_node);
227 guint8 *node;
232 node = G_BSEARCH_ARRAY_NODES (barray);
236 node = (guint8 *) g_bsearch_array_lookup_insertion (barray, bconfig, key_node);
237 if (G_LIKELY (node))
239 guint index_ = g_bsearch_array_get_index (barray, bconfig, node);
243 node = G_BSEARCH_ARRAY_NODES (barray) + index_ * bconfig->sizeof_node;
245 else /* no insertion needed, node already there */
248 memcpy (node, key_node, bconfig->sizeof_node);
256 guint8 *node = (guint8 *) g_bsearch_array_lookup (barray, bconfig, key_node);
257 if (G_LIKELY (node)) /* expected path */
258 memcpy (node, key_node, bconfig->sizeof_node);
268 guint8 *node;
273 node = G_BSEARCH_ARRAY_NODES (barray) + index_ * bconfig->sizeof_node;
274 g_memmove (node, node + bconfig->sizeof_node, (barray->n_nodes - index_) * bconfig->sizeof_node);