pike.git / src / rbtree_low.h

version» Context lines:

pike.git/src/rbtree_low.h:1:   /*   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: rbtree_low.h,v 1.8 2004/05/28 09:42:44 mast Exp $ + || $Id: rbtree_low.h,v 1.9 2008/06/29 12:07:04 nilsson Exp $   */      /* The lower level api for using rbtree. This is in a separate file    * since it's quite macro heavy.    *    * Created 2001-04-27 by Martin Stjernholm    */      #ifndef RBTREE_LOW_H   #define RBTREE_LOW_H
pike.git/src/rbtree_low.h:148:    rb_num_tracks++; \    rb_track_depth += (rbstack).slice->maxdepth; \    if ((rbstack).slice->maxdepth > rb_max_depth) \    rb_max_depth = (rbstack).slice->maxdepth; \    (rbstack).slice->depth = (rbstack).slice->maxdepth = 0; \    ); \    } while (0)      void low_rb_init_root (struct rb_node_hdr *new_root);   void low_rb_link_at_prev (struct rb_node_hdr **root, struct rbstack_ptr rbstack, -  struct rb_node_hdr *new); +  struct rb_node_hdr *new_node);   void low_rb_link_at_next (struct rb_node_hdr **root, struct rbstack_ptr rbstack, -  struct rb_node_hdr *new); +  struct rb_node_hdr *new_node);   struct rb_node_hdr *low_rb_unlink_with_move (struct rb_node_hdr **root,    struct rbstack_ptr *rbstack_ptr,    int keep_rbstack,    size_t node_size);   void low_rb_unlink_without_move (struct rb_node_hdr **root,    struct rbstack_ptr *rbstack_ptr,    int keep_rbstack);   void low_rb_build_stack (struct rb_node_hdr *root, struct rb_node_hdr *node,    struct rbstack_ptr *rbstack);