Lines Matching refs:hash

451     int hash;
456 hash = TABLE_HASH(next_elt->key);
457 t->index_last[hash] = i;
458 if (!TABLE_INDEX_IS_INITIALIZED(t, hash)) {
459 t->index_first[hash] = i;
460 TABLE_SET_INDEX_INITIALIZED(t, hash);
476 int hash;
482 hash = TABLE_HASH(key);
483 if (!TABLE_INDEX_IS_INITIALIZED(t, hash)) {
487 next_elt = ((apr_table_entry_t *) t->a.elts) + t->index_first[hash];;
488 end_elt = ((apr_table_entry_t *) t->a.elts) + t->index_last[hash];
507 int hash;
510 hash = TABLE_HASH(key);
511 if (!TABLE_INDEX_IS_INITIALIZED(t, hash)) {
512 t->index_first[hash] = t->a.nelts;
513 TABLE_SET_INDEX_INITIALIZED(t, hash);
516 next_elt = ((apr_table_entry_t *) t->a.elts) + t->index_first[hash];;
517 end_elt = ((apr_table_entry_t *) t->a.elts) + t->index_last[hash];
565 t->index_last[hash] = t->a.nelts;
579 int hash;
582 hash = TABLE_HASH(key);
583 if (!TABLE_INDEX_IS_INITIALIZED(t, hash)) {
584 t->index_first[hash] = t->a.nelts;
585 TABLE_SET_INDEX_INITIALIZED(t, hash);
588 next_elt = ((apr_table_entry_t *) t->a.elts) + t->index_first[hash];;
589 end_elt = ((apr_table_entry_t *) t->a.elts) + t->index_last[hash];
637 t->index_last[hash] = t->a.nelts;
650 int hash;
653 hash = TABLE_HASH(key);
654 if (!TABLE_INDEX_IS_INITIALIZED(t, hash)) {
658 next_elt = ((apr_table_entry_t *) t->a.elts) + t->index_first[hash];
659 end_elt = ((apr_table_entry_t *) t->a.elts) + t->index_last[hash];
704 int hash;
707 hash = TABLE_HASH(key);
708 if (!TABLE_INDEX_IS_INITIALIZED(t, hash)) {
709 t->index_first[hash] = t->a.nelts;
710 TABLE_SET_INDEX_INITIALIZED(t, hash);
713 next_elt = ((apr_table_entry_t *) t->a.elts) + t->index_first[hash];
714 end_elt = ((apr_table_entry_t *) t->a.elts) + t->index_last[hash];
728 t->index_last[hash] = t->a.nelts;
741 int hash;
762 hash = TABLE_HASH(key);
763 if (!TABLE_INDEX_IS_INITIALIZED(t, hash)) {
764 t->index_first[hash] = t->a.nelts;
765 TABLE_SET_INDEX_INITIALIZED(t, hash);
768 next_elt = ((apr_table_entry_t *) t->a.elts) + t->index_first[hash];;
769 end_elt = ((apr_table_entry_t *) t->a.elts) + t->index_last[hash];
783 t->index_last[hash] = t->a.nelts;
795 int hash;
797 hash = TABLE_HASH(key);
798 t->index_last[hash] = t->a.nelts;
799 if (!TABLE_INDEX_IS_INITIALIZED(t, hash)) {
800 t->index_first[hash] = t->a.nelts;
801 TABLE_SET_INDEX_INITIALIZED(t, hash);
815 int hash;
830 hash = TABLE_HASH(key);
831 t->index_last[hash] = t->a.nelts;
832 if (!TABLE_INDEX_IS_INITIALIZED(t, hash)) {
833 t->index_first[hash] = t->a.nelts;
834 TABLE_SET_INDEX_INITIALIZED(t, hash);
913 * can't use apr_table's, but mod_file_cache should (though a good hash would
973 int hash = TABLE_HASH(argp);
974 if (TABLE_INDEX_IS_INITIALIZED(t, hash)) {
977 for (i = t->index_first[hash];
978 rv && (i <= t->index_last[hash]); ++i) {