Lines Matching refs:ndx
100 const int ndx = splaytree_djbhash(BUF_PTR_LEN(&r->uri.authority)); in mod_vhostdb_cache_query() local
102 *sptree = splaytree_splay(*sptree, ndx); in mod_vhostdb_cache_query()
104 (*sptree && (*sptree)->key == ndx) ? (*sptree)->data : NULL; in mod_vhostdb_cache_query()
115 const int ndx = splaytree_djbhash(BUF_PTR_LEN(&r->uri.authority)); in mod_vhostdb_cache_insert() local
120 if (NULL == *sptree || (*sptree)->key != ndx) in mod_vhostdb_cache_insert()
121 *sptree = splaytree_insert(*sptree, ndx, ve); in mod_vhostdb_cache_insert()
321 mod_vhostdb_tag_old_entries (splay_tree * const t, int * const keys, int * const ndx, const time_t … in mod_vhostdb_tag_old_entries() argument
323 if (*ndx == 8192) return; /*(must match num array entries in keys[])*/ in mod_vhostdb_tag_old_entries()
325 mod_vhostdb_tag_old_entries(t->left, keys, ndx, max_age, cur_ts); in mod_vhostdb_tag_old_entries()
327 mod_vhostdb_tag_old_entries(t->right, keys, ndx, max_age, cur_ts); in mod_vhostdb_tag_old_entries()
328 if (*ndx == 8192) return; /*(must match num array entries in keys[])*/ in mod_vhostdb_tag_old_entries()
332 keys[(*ndx)++] = t->key; in mod_vhostdb_tag_old_entries()
347 int ndx = keys[i]; in mod_vhostdb_periodic_cleanup() local
348 sptree = splaytree_splay(sptree, ndx); in mod_vhostdb_periodic_cleanup()
349 if (sptree && sptree->key == ndx) { in mod_vhostdb_periodic_cleanup()
351 sptree = splaytree_delete(sptree, ndx); in mod_vhostdb_periodic_cleanup()