Lines Matching refs:ndx
131 http_auth_cache_query (splay_tree ** const sptree, const int ndx) in http_auth_cache_query() argument
133 *sptree = splaytree_splay(*sptree, ndx); in http_auth_cache_query()
134 return (*sptree && (*sptree)->key == ndx) ? (*sptree)->data : NULL; in http_auth_cache_query()
138 http_auth_cache_insert (splay_tree ** const sptree, const int ndx, void * const data, void(data_fre… in http_auth_cache_insert() argument
143 if (NULL == *sptree || (*sptree)->key != ndx) in http_auth_cache_insert()
144 *sptree = splaytree_insert(*sptree, ndx, data); in http_auth_cache_insert()
153 mod_auth_tag_old_entries (splay_tree * const t, int * const keys, int * const ndx, const time_t max… in mod_auth_tag_old_entries() argument
155 if (*ndx == 8192) return; /*(must match num array entries in keys[])*/ in mod_auth_tag_old_entries()
157 mod_auth_tag_old_entries(t->left, keys, ndx, max_age, cur_ts); in mod_auth_tag_old_entries()
159 mod_auth_tag_old_entries(t->right, keys, ndx, max_age, cur_ts); in mod_auth_tag_old_entries()
160 if (*ndx == 8192) return; /*(must match num array entries in keys[])*/ in mod_auth_tag_old_entries()
164 keys[(*ndx)++] = t->key; in mod_auth_tag_old_entries()
179 int ndx = keys[i]; in mod_auth_periodic_cleanup() local
180 sptree = splaytree_splay(sptree, ndx); in mod_auth_periodic_cleanup()
181 if (sptree && sptree->key == ndx) { in mod_auth_periodic_cleanup()
183 sptree = splaytree_delete(sptree, ndx); in mod_auth_periodic_cleanup()
818 int ndx = -1; in mod_auth_check_basic() local
820 ndx = http_auth_cache_hash(require, user, ulen); in mod_auth_check_basic()
821 ae = http_auth_cache_query(sptree, ndx); in mod_auth_check_basic()
842 http_auth_cache_insert(sptree, ndx, ae, http_auth_cache_entry_free); in mod_auth_check_basic()
1129 int ndx = -1; in mod_auth_digest_get() local
1143 ndx = http_auth_cache_hash(require, user, ulen); in mod_auth_digest_get()
1144 ae = http_auth_cache_query(sptree, ndx); in mod_auth_digest_get()
1187 http_auth_cache_insert(sptree, ndx, ae, http_auth_cache_entry_free); in mod_auth_digest_get()