• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10.1/apr-32/apr/apr/tables/

Lines Matching defs:hash

443     int hash;
448 hash = TABLE_HASH(next_elt->key);
449 t->index_last[hash] = i;
450 if (!TABLE_INDEX_IS_INITIALIZED(t, hash)) {
451 t->index_first[hash] = i;
452 TABLE_SET_INDEX_INITIALIZED(t, hash);
468 int hash;
474 hash = TABLE_HASH(key);
475 if (!TABLE_INDEX_IS_INITIALIZED(t, hash)) {
479 next_elt = ((apr_table_entry_t *) t->a.elts) + t->index_first[hash];;
480 end_elt = ((apr_table_entry_t *) t->a.elts) + t->index_last[hash];
499 int hash;
502 hash = TABLE_HASH(key);
503 if (!TABLE_INDEX_IS_INITIALIZED(t, hash)) {
504 t->index_first[hash] = t->a.nelts;
505 TABLE_SET_INDEX_INITIALIZED(t, hash);
508 next_elt = ((apr_table_entry_t *) t->a.elts) + t->index_first[hash];;
509 end_elt = ((apr_table_entry_t *) t->a.elts) + t->index_last[hash];
557 t->index_last[hash] = t->a.nelts;
571 int hash;
574 hash = TABLE_HASH(key);
575 if (!TABLE_INDEX_IS_INITIALIZED(t, hash)) {
576 t->index_first[hash] = t->a.nelts;
577 TABLE_SET_INDEX_INITIALIZED(t, hash);
580 next_elt = ((apr_table_entry_t *) t->a.elts) + t->index_first[hash];;
581 end_elt = ((apr_table_entry_t *) t->a.elts) + t->index_last[hash];
629 t->index_last[hash] = t->a.nelts;
642 int hash;
645 hash = TABLE_HASH(key);
646 if (!TABLE_INDEX_IS_INITIALIZED(t, hash)) {
650 next_elt = ((apr_table_entry_t *) t->a.elts) + t->index_first[hash];
651 end_elt = ((apr_table_entry_t *) t->a.elts) + t->index_last[hash];
696 int hash;
699 hash = TABLE_HASH(key);
700 if (!TABLE_INDEX_IS_INITIALIZED(t, hash)) {
701 t->index_first[hash] = t->a.nelts;
702 TABLE_SET_INDEX_INITIALIZED(t, hash);
705 next_elt = ((apr_table_entry_t *) t->a.elts) + t->index_first[hash];
706 end_elt = ((apr_table_entry_t *) t->a.elts) + t->index_last[hash];
720 t->index_last[hash] = t->a.nelts;
733 int hash;
752 hash = TABLE_HASH(key);
753 if (!TABLE_INDEX_IS_INITIALIZED(t, hash)) {
754 t->index_first[hash] = t->a.nelts;
755 TABLE_SET_INDEX_INITIALIZED(t, hash);
758 next_elt = ((apr_table_entry_t *) t->a.elts) + t->index_first[hash];;
759 end_elt = ((apr_table_entry_t *) t->a.elts) + t->index_last[hash];
773 t->index_last[hash] = t->a.nelts;
785 int hash;
787 hash = TABLE_HASH(key);
788 t->index_last[hash] = t->a.nelts;
789 if (!TABLE_INDEX_IS_INITIALIZED(t, hash)) {
790 t->index_first[hash] = t->a.nelts;
791 TABLE_SET_INDEX_INITIALIZED(t, hash);
805 int hash;
820 hash = TABLE_HASH(key);
821 t->index_last[hash] = t->a.nelts;
822 if (!TABLE_INDEX_IS_INITIALIZED(t, hash)) {
823 t->index_first[hash] = t->a.nelts;
824 TABLE_SET_INDEX_INITIALIZED(t, hash);
903 * can't use apr_table's, but mod_file_cache should (though a good hash would
963 int hash = TABLE_HASH(argp);
964 if (TABLE_INDEX_IS_INITIALIZED(t, hash)) {
967 for (i = t->index_first[hash];
968 rv && (i <= t->index_last[hash]); ++i) {