ht 120 opal/class/opal_hash_table.c static void opal_hash_table_construct(opal_hash_table_t* ht); ht 121 opal/class/opal_hash_table.c static void opal_hash_table_destruct(opal_hash_table_t* ht); ht 131 opal/class/opal_hash_table.c opal_hash_table_construct(opal_hash_table_t* ht) ht 133 opal/class/opal_hash_table.c ht->ht_table = NULL; ht 134 opal/class/opal_hash_table.c ht->ht_capacity = ht->ht_size = ht->ht_growth_trigger = 0; ht 135 opal/class/opal_hash_table.c ht->ht_density_numer = ht->ht_density_denom = 0; ht 136 opal/class/opal_hash_table.c ht->ht_growth_numer = ht->ht_growth_denom = 0; ht 137 opal/class/opal_hash_table.c ht->ht_type_methods = NULL; ht 141 opal/class/opal_hash_table.c opal_hash_table_destruct(opal_hash_table_t* ht) ht 143 opal/class/opal_hash_table.c opal_hash_table_remove_all(ht); ht 144 opal/class/opal_hash_table.c free(ht->ht_table); ht 161 opal/class/opal_hash_table.c opal_hash_table_init2(opal_hash_table_t* ht, size_t estimated_max_size, ht 167 opal/class/opal_hash_table.c ht->ht_table = (opal_hash_element_t*) calloc(capacity, sizeof(opal_hash_element_t)); ht 168 opal/class/opal_hash_table.c if (NULL == ht->ht_table) { ht 171 opal/class/opal_hash_table.c ht->ht_capacity = capacity; ht 172 opal/class/opal_hash_table.c ht->ht_density_numer = density_numer; ht 173 opal/class/opal_hash_table.c ht->ht_density_denom = density_denom; ht 174 opal/class/opal_hash_table.c ht->ht_growth_numer = growth_numer; ht 175 opal/class/opal_hash_table.c ht->ht_growth_denom = growth_denom; ht 176 opal/class/opal_hash_table.c ht->ht_growth_trigger = capacity * density_numer / density_denom; ht 177 opal/class/opal_hash_table.c ht->ht_type_methods = NULL; ht 182 opal/class/opal_hash_table.c opal_hash_table_init(opal_hash_table_t* ht, size_t table_size) ht 185 opal/class/opal_hash_table.c return opal_hash_table_init2(ht, table_size, 1, 2, 2, 1); ht 189 opal/class/opal_hash_table.c opal_hash_table_remove_all(opal_hash_table_t* ht) ht 192 opal/class/opal_hash_table.c for (ii = 0; ii < ht->ht_capacity; ii += 1) { ht 193 opal/class/opal_hash_table.c opal_hash_element_t * elt = &ht->ht_table[ii]; ht 194 opal/class/opal_hash_table.c if (elt->valid && ht->ht_type_methods && ht->ht_type_methods->elt_destructor) { ht 195 opal/class/opal_hash_table.c ht->ht_type_methods->elt_destructor(elt); ht 200 opal/class/opal_hash_table.c ht->ht_size = 0; ht 203 opal/class/opal_hash_table.c ht->ht_type_methods = NULL; ht 208 opal/class/opal_hash_table.c opal_hash_grow(opal_hash_table_t * ht) ht 216 opal/class/opal_hash_table.c old_table = ht->ht_table; ht 217 opal/class/opal_hash_table.c old_capacity = ht->ht_capacity; ht 219 opal/class/opal_hash_table.c new_capacity = old_capacity * ht->ht_growth_numer / ht->ht_growth_denom; ht 240 opal/class/opal_hash_table.c for (ii = (ht->ht_type_methods->hash_elt(old_elt)%new_capacity); ; ii += 1) { ht 251 opal/class/opal_hash_table.c ht->ht_table = new_table; ht 252 opal/class/opal_hash_table.c ht->ht_capacity = new_capacity; ht 253 opal/class/opal_hash_table.c ht->ht_growth_trigger = new_capacity * ht->ht_density_numer / ht->ht_density_denom; ht 263 opal/class/opal_hash_table.c opal_hash_table_remove_elt_at(opal_hash_table_t * ht, size_t ii) ht 265 opal/class/opal_hash_table.c size_t jj, capacity = ht->ht_capacity; ht 266 opal/class/opal_hash_table.c opal_hash_element_t* elts = ht->ht_table; ht 277 opal/class/opal_hash_table.c if (ht->ht_type_methods->elt_destructor) { ht 278 opal/class/opal_hash_table.c ht->ht_type_methods->elt_destructor(elt); ht 298 opal/class/opal_hash_table.c for (jj = ht->ht_type_methods->hash_elt(elt)%capacity; ; jj += 1) { ht 313 opal/class/opal_hash_table.c ht->ht_size -= 1; ht 333 opal/class/opal_hash_table.c opal_hash_table_get_value_uint32(opal_hash_table_t* ht, uint32_t key, void * *value) ht 335 opal/class/opal_hash_table.c size_t ii, capacity = ht->ht_capacity; ht 344 opal/class/opal_hash_table.c if (NULL != ht->ht_type_methods && ht 345 opal/class/opal_hash_table.c &opal_hash_type_methods_uint32 != ht->ht_type_methods) { ht 352 opal/class/opal_hash_table.c ht->ht_type_methods = &opal_hash_type_methods_uint32; ht 355 opal/class/opal_hash_table.c elt = &ht->ht_table[ii]; ht 369 opal/class/opal_hash_table.c opal_hash_table_set_value_uint32(opal_hash_table_t * ht, uint32_t key, void * value) ht 372 opal/class/opal_hash_table.c size_t ii, capacity = ht->ht_capacity; ht 381 opal/class/opal_hash_table.c if (NULL != ht->ht_type_methods && ht 382 opal/class/opal_hash_table.c &opal_hash_type_methods_uint32 != ht->ht_type_methods) { ht 389 opal/class/opal_hash_table.c ht->ht_type_methods = &opal_hash_type_methods_uint32; ht 392 opal/class/opal_hash_table.c elt = &ht->ht_table[ii]; ht 398 opal/class/opal_hash_table.c ht->ht_size += 1; ht 399 opal/class/opal_hash_table.c if (ht->ht_size >= ht->ht_growth_trigger) { ht 400 opal/class/opal_hash_table.c if (OPAL_SUCCESS != (rc = opal_hash_grow(ht))) { ht 416 opal/class/opal_hash_table.c opal_hash_table_remove_value_uint32(opal_hash_table_t * ht, uint32_t key) ht 418 opal/class/opal_hash_table.c size_t ii, capacity = ht->ht_capacity; ht 426 opal/class/opal_hash_table.c if (NULL != ht->ht_type_methods && ht 427 opal/class/opal_hash_table.c &opal_hash_type_methods_uint32 != ht->ht_type_methods) { ht 434 opal/class/opal_hash_table.c ht->ht_type_methods = &opal_hash_type_methods_uint32; ht 438 opal/class/opal_hash_table.c elt = &ht->ht_table[ii]; ht 442 opal/class/opal_hash_table.c return opal_hash_table_remove_elt_at(ht, ii); ht 466 opal/class/opal_hash_table.c opal_hash_table_get_value_uint64(opal_hash_table_t * ht, uint64_t key, void * *value) ht 469 opal/class/opal_hash_table.c size_t capacity = ht->ht_capacity; ht 478 opal/class/opal_hash_table.c if (NULL != ht->ht_type_methods && ht 479 opal/class/opal_hash_table.c &opal_hash_type_methods_uint64 != ht->ht_type_methods) { ht 486 opal/class/opal_hash_table.c ht->ht_type_methods = &opal_hash_type_methods_uint64; ht 489 opal/class/opal_hash_table.c elt = &ht->ht_table[ii]; ht 503 opal/class/opal_hash_table.c opal_hash_table_set_value_uint64(opal_hash_table_t * ht, uint64_t key, void * value) ht 506 opal/class/opal_hash_table.c size_t ii, capacity = ht->ht_capacity; ht 515 opal/class/opal_hash_table.c if (NULL != ht->ht_type_methods && ht 516 opal/class/opal_hash_table.c &opal_hash_type_methods_uint64 != ht->ht_type_methods) { ht 523 opal/class/opal_hash_table.c ht->ht_type_methods = &opal_hash_type_methods_uint64; ht 526 opal/class/opal_hash_table.c elt = &ht->ht_table[ii]; ht 532 opal/class/opal_hash_table.c ht->ht_size += 1; ht 533 opal/class/opal_hash_table.c if (ht->ht_size >= ht->ht_growth_trigger) { ht 534 opal/class/opal_hash_table.c if (OPAL_SUCCESS != (rc = opal_hash_grow(ht))) { ht 550 opal/class/opal_hash_table.c opal_hash_table_remove_value_uint64(opal_hash_table_t * ht, uint64_t key) ht 552 opal/class/opal_hash_table.c size_t ii, capacity = ht->ht_capacity; ht 560 opal/class/opal_hash_table.c if (NULL != ht->ht_type_methods && ht 561 opal/class/opal_hash_table.c &opal_hash_type_methods_uint64 != ht->ht_type_methods) { ht 568 opal/class/opal_hash_table.c ht->ht_type_methods = &opal_hash_type_methods_uint64; ht 572 opal/class/opal_hash_table.c elt = &ht->ht_table[ii]; ht 576 opal/class/opal_hash_table.c return opal_hash_table_remove_elt_at(ht, ii); ht 628 opal/class/opal_hash_table.c opal_hash_table_get_value_ptr(opal_hash_table_t * ht, ht 632 opal/class/opal_hash_table.c size_t ii, capacity = ht->ht_capacity; ht 641 opal/class/opal_hash_table.c if (NULL != ht->ht_type_methods && ht 642 opal/class/opal_hash_table.c &opal_hash_type_methods_ptr != ht->ht_type_methods) { ht 649 opal/class/opal_hash_table.c ht->ht_type_methods = &opal_hash_type_methods_ptr; ht 652 opal/class/opal_hash_table.c elt = &ht->ht_table[ii]; ht 666 opal/class/opal_hash_table.c opal_hash_table_set_value_ptr(opal_hash_table_t * ht, ht 671 opal/class/opal_hash_table.c size_t ii, capacity = ht->ht_capacity; ht 680 opal/class/opal_hash_table.c if (NULL != ht->ht_type_methods && ht 681 opal/class/opal_hash_table.c &opal_hash_type_methods_ptr != ht->ht_type_methods) { ht 688 opal/class/opal_hash_table.c ht->ht_type_methods = &opal_hash_type_methods_ptr; ht 691 opal/class/opal_hash_table.c elt = &ht->ht_table[ii]; ht 700 opal/class/opal_hash_table.c ht->ht_size += 1; ht 701 opal/class/opal_hash_table.c if (ht->ht_size >= ht->ht_growth_trigger) { ht 702 opal/class/opal_hash_table.c if (OPAL_SUCCESS != (rc = opal_hash_grow(ht))) { ht 719 opal/class/opal_hash_table.c opal_hash_table_remove_value_ptr(opal_hash_table_t * ht, ht 722 opal/class/opal_hash_table.c size_t ii, capacity = ht->ht_capacity; ht 730 opal/class/opal_hash_table.c if (NULL != ht->ht_type_methods && ht 731 opal/class/opal_hash_table.c &opal_hash_type_methods_ptr != ht->ht_type_methods) { ht 738 opal/class/opal_hash_table.c ht->ht_type_methods = &opal_hash_type_methods_ptr; ht 742 opal/class/opal_hash_table.c elt = &ht->ht_table[ii]; ht 747 opal/class/opal_hash_table.c return opal_hash_table_remove_elt_at(ht, ii); ht 758 opal/class/opal_hash_table.c opal_hash_table_get_next_elt(opal_hash_table_t *ht, ht 762 opal/class/opal_hash_table.c opal_hash_element_t* elts = ht->ht_table; ht 763 opal/class/opal_hash_table.c size_t ii, capacity = ht->ht_capacity; ht 776 opal/class/opal_hash_table.c opal_hash_table_get_first_key_uint32(opal_hash_table_t * ht, ht 780 opal/class/opal_hash_table.c return opal_hash_table_get_next_key_uint32(ht, key, value, NULL, node); ht 784 opal/class/opal_hash_table.c opal_hash_table_get_next_key_uint32(opal_hash_table_t * ht, ht 789 opal/class/opal_hash_table.c if (OPAL_SUCCESS == opal_hash_table_get_next_elt(ht, (opal_hash_element_t *) in_node, &elt)) { ht 799 opal/class/opal_hash_table.c opal_hash_table_get_first_key_ptr(opal_hash_table_t * ht, ht 803 opal/class/opal_hash_table.c return opal_hash_table_get_next_key_ptr(ht, key, key_size, value, NULL, node); ht 807 opal/class/opal_hash_table.c opal_hash_table_get_next_key_ptr(opal_hash_table_t * ht, ht 812 opal/class/opal_hash_table.c if (OPAL_SUCCESS == opal_hash_table_get_next_elt(ht, (opal_hash_element_t *) in_node, &elt)) { ht 823 opal/class/opal_hash_table.c opal_hash_table_get_first_key_uint64(opal_hash_table_t * ht, ht 827 opal/class/opal_hash_table.c return opal_hash_table_get_next_key_uint64(ht, key, value, NULL, node); ht 831 opal/class/opal_hash_table.c opal_hash_table_get_next_key_uint64(opal_hash_table_t * ht, ht 836 opal/class/opal_hash_table.c if (OPAL_SUCCESS == opal_hash_table_get_next_elt(ht, (opal_hash_element_t *) in_node, &elt)) { ht 74 opal/class/opal_hash_table.h OPAL_DECLSPEC int opal_hash_table_init(opal_hash_table_t* ht, size_t table_size); ht 77 opal/class/opal_hash_table.h OPAL_DECLSPEC int opal_hash_table_init2(opal_hash_table_t* ht, size_t estimated_max_size, ht 89 opal/class/opal_hash_table.h static inline size_t opal_hash_table_get_size(opal_hash_table_t *ht) ht 91 opal/class/opal_hash_table.h return ht->ht_size; ht 102 opal/class/opal_hash_table.h OPAL_DECLSPEC int opal_hash_table_remove_all(opal_hash_table_t *ht); ht 485 opal/class/opal_hash_table.h #define OPAL_HASH_TABLE_FOREACH(key, type, value, ht) \ ht 487 opal/class/opal_hash_table.h OPAL_SUCCESS == opal_hash_table_get_next_key_##type(ht, &key, (void **)&value, _nptr, &_nptr);) ht 126 opal/mca/event/libevent2022/libevent/ht-internal.h int name##_HT_GROW(struct name *ht, unsigned min_capacity); \ ht 127 opal/mca/event/libevent2022/libevent/ht-internal.h void name##_HT_CLEAR(struct name *ht); \ ht 128 opal/mca/event/libevent2022/libevent/ht-internal.h int _##name##_HT_REP_IS_BAD(const struct name *ht); \ ht 70 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c static void pmix_hash_table_construct(pmix_hash_table_t* ht); ht 71 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c static void pmix_hash_table_destruct(pmix_hash_table_t* ht); ht 81 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c pmix_hash_table_construct(pmix_hash_table_t* ht) ht 83 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c ht->ht_table = NULL; ht 84 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c ht->ht_capacity = ht->ht_size = ht->ht_growth_trigger = 0; ht 85 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c ht->ht_density_numer = ht->ht_density_denom = 0; ht 86 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c ht->ht_growth_numer = ht->ht_growth_denom = 0; ht 87 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c ht->ht_type_methods = NULL; ht 91 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c pmix_hash_table_destruct(pmix_hash_table_t* ht) ht 93 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c pmix_hash_table_remove_all(ht); ht 94 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c free(ht->ht_table); ht 111 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c pmix_hash_table_init2(pmix_hash_table_t* ht, size_t estimated_max_size, ht 117 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c ht->ht_table = (pmix_hash_element_t*) calloc(capacity, sizeof(pmix_hash_element_t)); ht 118 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c if (NULL == ht->ht_table) { ht 121 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c ht->ht_capacity = capacity; ht 122 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c ht->ht_density_numer = density_numer; ht 123 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c ht->ht_density_denom = density_denom; ht 124 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c ht->ht_growth_numer = growth_numer; ht 125 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c ht->ht_growth_denom = growth_denom; ht 126 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c ht->ht_growth_trigger = capacity * density_numer / density_denom; ht 127 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c ht->ht_type_methods = NULL; ht 132 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c pmix_hash_table_init(pmix_hash_table_t* ht, size_t table_size) ht 135 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c return pmix_hash_table_init2(ht, table_size, 1, 2, 2, 1); ht 139 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c pmix_hash_table_remove_all(pmix_hash_table_t* ht) ht 142 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c for (ii = 0; ii < ht->ht_capacity; ii += 1) { ht 143 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c pmix_hash_element_t * elt = &ht->ht_table[ii]; ht 144 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c if (elt->valid && ht->ht_type_methods && ht->ht_type_methods->elt_destructor) { ht 145 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c ht->ht_type_methods->elt_destructor(elt); ht 150 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c ht->ht_size = 0; ht 153 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c ht->ht_type_methods = NULL; ht 158 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c pmix_hash_grow(pmix_hash_table_t * ht) ht 166 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c old_table = ht->ht_table; ht 167 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c old_capacity = ht->ht_capacity; ht 169 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c new_capacity = old_capacity * ht->ht_growth_numer / ht->ht_growth_denom; ht 190 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c for (ii = (ht->ht_type_methods->hash_elt(old_elt)%new_capacity); ; ii += 1) { ht 201 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c ht->ht_table = new_table; ht 202 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c ht->ht_capacity = new_capacity; ht 203 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c ht->ht_growth_trigger = new_capacity * ht->ht_density_numer / ht->ht_density_denom; ht 213 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c pmix_hash_table_remove_elt_at(pmix_hash_table_t * ht, size_t ii) ht 215 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c size_t jj, capacity = ht->ht_capacity; ht 216 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c pmix_hash_element_t* elts = ht->ht_table; ht 227 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c if (ht->ht_type_methods->elt_destructor) { ht 228 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c ht->ht_type_methods->elt_destructor(elt); ht 248 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c for (jj = ht->ht_type_methods->hash_elt(elt)%capacity; ; jj += 1) { ht 263 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c ht->ht_size -= 1; ht 283 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c pmix_hash_table_get_value_uint32(pmix_hash_table_t* ht, uint32_t key, void * *value) ht 285 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c size_t ii, capacity = ht->ht_capacity; ht 294 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c if (NULL != ht->ht_type_methods && ht 295 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c &pmix_hash_type_methods_uint32 != ht->ht_type_methods) { ht 302 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c ht->ht_type_methods = &pmix_hash_type_methods_uint32; ht 305 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c elt = &ht->ht_table[ii]; ht 319 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c pmix_hash_table_set_value_uint32(pmix_hash_table_t * ht, uint32_t key, void * value) ht 322 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c size_t ii, capacity = ht->ht_capacity; ht 331 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c if (NULL != ht->ht_type_methods && ht 332 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c &pmix_hash_type_methods_uint32 != ht->ht_type_methods) { ht 339 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c ht->ht_type_methods = &pmix_hash_type_methods_uint32; ht 342 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c elt = &ht->ht_table[ii]; ht 348 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c ht->ht_size += 1; ht 349 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c if (ht->ht_size >= ht->ht_growth_trigger) { ht 350 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c if (PMIX_SUCCESS != (rc = pmix_hash_grow(ht))) { ht 366 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c pmix_hash_table_remove_value_uint32(pmix_hash_table_t * ht, uint32_t key) ht 368 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c size_t ii, capacity = ht->ht_capacity; ht 376 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c if (NULL != ht->ht_type_methods && ht 377 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c &pmix_hash_type_methods_uint32 != ht->ht_type_methods) { ht 384 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c ht->ht_type_methods = &pmix_hash_type_methods_uint32; ht 388 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c elt = &ht->ht_table[ii]; ht 392 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c return pmix_hash_table_remove_elt_at(ht, ii); ht 416 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c pmix_hash_table_get_value_uint64(pmix_hash_table_t * ht, uint64_t key, void * *value) ht 419 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c size_t capacity = ht->ht_capacity; ht 428 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c if (NULL != ht->ht_type_methods && ht 429 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c &pmix_hash_type_methods_uint64 != ht->ht_type_methods) { ht 436 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c ht->ht_type_methods = &pmix_hash_type_methods_uint64; ht 439 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c elt = &ht->ht_table[ii]; ht 453 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c pmix_hash_table_set_value_uint64(pmix_hash_table_t * ht, uint64_t key, void * value) ht 456 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c size_t ii, capacity = ht->ht_capacity; ht 465 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c if (NULL != ht->ht_type_methods && ht 466 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c &pmix_hash_type_methods_uint64 != ht->ht_type_methods) { ht 473 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c ht->ht_type_methods = &pmix_hash_type_methods_uint64; ht 476 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c elt = &ht->ht_table[ii]; ht 482 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c ht->ht_size += 1; ht 483 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c if (ht->ht_size >= ht->ht_growth_trigger) { ht 484 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c if (PMIX_SUCCESS != (rc = pmix_hash_grow(ht))) { ht 500 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c pmix_hash_table_remove_value_uint64(pmix_hash_table_t * ht, uint64_t key) ht 502 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c size_t ii, capacity = ht->ht_capacity; ht 510 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c if (NULL != ht->ht_type_methods && ht 511 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c &pmix_hash_type_methods_uint64 != ht->ht_type_methods) { ht 518 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c ht->ht_type_methods = &pmix_hash_type_methods_uint64; ht 522 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c elt = &ht->ht_table[ii]; ht 526 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c return pmix_hash_table_remove_elt_at(ht, ii); ht 578 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c pmix_hash_table_get_value_ptr(pmix_hash_table_t * ht, ht 582 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c size_t ii, capacity = ht->ht_capacity; ht 591 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c if (NULL != ht->ht_type_methods && ht 592 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c &pmix_hash_type_methods_ptr != ht->ht_type_methods) { ht 599 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c ht->ht_type_methods = &pmix_hash_type_methods_ptr; ht 602 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c elt = &ht->ht_table[ii]; ht 616 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c pmix_hash_table_set_value_ptr(pmix_hash_table_t * ht, ht 621 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c size_t ii, capacity = ht->ht_capacity; ht 630 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c if (NULL != ht->ht_type_methods && ht 631 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c &pmix_hash_type_methods_ptr != ht->ht_type_methods) { ht 638 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c ht->ht_type_methods = &pmix_hash_type_methods_ptr; ht 641 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c elt = &ht->ht_table[ii]; ht 650 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c ht->ht_size += 1; ht 651 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c if (ht->ht_size >= ht->ht_growth_trigger) { ht 652 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c if (PMIX_SUCCESS != (rc = pmix_hash_grow(ht))) { ht 669 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c pmix_hash_table_remove_value_ptr(pmix_hash_table_t * ht, ht 672 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c size_t ii, capacity = ht->ht_capacity; ht 680 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c if (NULL != ht->ht_type_methods && ht 681 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c &pmix_hash_type_methods_ptr != ht->ht_type_methods) { ht 688 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c ht->ht_type_methods = &pmix_hash_type_methods_ptr; ht 692 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c elt = &ht->ht_table[ii]; ht 697 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c return pmix_hash_table_remove_elt_at(ht, ii); ht 708 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c pmix_hash_table_get_next_elt(pmix_hash_table_t *ht, ht 712 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c pmix_hash_element_t* elts = ht->ht_table; ht 713 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c size_t ii, capacity = ht->ht_capacity; ht 726 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c pmix_hash_table_get_first_key_uint32(pmix_hash_table_t * ht, ht 730 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c return pmix_hash_table_get_next_key_uint32(ht, key, value, NULL, node); ht 734 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c pmix_hash_table_get_next_key_uint32(pmix_hash_table_t * ht, ht 739 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c if (PMIX_SUCCESS == pmix_hash_table_get_next_elt(ht, (pmix_hash_element_t *) in_node, &elt)) { ht 749 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c pmix_hash_table_get_first_key_ptr(pmix_hash_table_t * ht, ht 753 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c return pmix_hash_table_get_next_key_ptr(ht, key, key_size, value, NULL, node); ht 757 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c pmix_hash_table_get_next_key_ptr(pmix_hash_table_t * ht, ht 762 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c if (PMIX_SUCCESS == pmix_hash_table_get_next_elt(ht, (pmix_hash_element_t *) in_node, &elt)) { ht 773 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c pmix_hash_table_get_first_key_uint64(pmix_hash_table_t * ht, ht 777 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c return pmix_hash_table_get_next_key_uint64(ht, key, value, NULL, node); ht 781 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c pmix_hash_table_get_next_key_uint64(pmix_hash_table_t * ht, ht 786 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.c if (PMIX_SUCCESS == pmix_hash_table_get_next_elt(ht, (pmix_hash_element_t *) in_node, &elt)) { ht 78 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.h PMIX_EXPORT int pmix_hash_table_init(pmix_hash_table_t* ht, size_t table_size); ht 81 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.h PMIX_EXPORT int pmix_hash_table_init2(pmix_hash_table_t* ht, size_t estimated_max_size, ht 93 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.h static inline size_t pmix_hash_table_get_size(pmix_hash_table_t *ht) ht 95 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.h return ht->ht_size; ht 106 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.h PMIX_EXPORT int pmix_hash_table_remove_all(pmix_hash_table_t *ht); ht 393 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.h #define PMIX_HASH_TABLE_FOREACH(key, type, value, ht) \ ht 395 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.h PMIX_SUCCESS == pmix_hash_table_get_next_key_##type(ht, &key, (void **)&value, _nptr, &_nptr);) ht 205 opal/mca/pmix/pmix4x/pmix/src/mca/gds/hash/gds_hash.c static pmix_status_t store_map(pmix_hash_table_t *ht, ht 230 opal/mca/pmix/pmix4x/pmix/src/mca/gds/hash/gds_hash.c rc = pmix_hash_fetch(ht, PMIX_RANK_WILDCARD, nodes[n], &val); ht 286 opal/mca/pmix/pmix4x/pmix/src/mca/gds/hash/gds_hash.c if (PMIX_SUCCESS != (rc = pmix_hash_store(ht, PMIX_RANK_WILDCARD, kp2))) { ht 320 opal/mca/pmix/pmix4x/pmix/src/mca/gds/hash/gds_hash.c if (PMIX_SUCCESS != (rc = pmix_hash_store(ht, PMIX_RANK_WILDCARD, kp2))) { ht 338 opal/mca/pmix/pmix4x/pmix/src/mca/gds/hash/gds_hash.c if (PMIX_SUCCESS != (rc = pmix_hash_store(ht, rank, kp2))) { ht 357 opal/mca/pmix/pmix4x/pmix/src/mca/gds/hash/gds_hash.c if (PMIX_SUCCESS != (rc = pmix_hash_store(ht, PMIX_RANK_WILDCARD, kp2))) { ht 372 opal/mca/pmix/pmix4x/pmix/src/mca/gds/hash/gds_hash.c pmix_hash_table_t *ht; ht 413 opal/mca/pmix/pmix4x/pmix/src/mca/gds/hash/gds_hash.c ht = &trk->internal; ht 423 opal/mca/pmix/pmix4x/pmix/src/mca/gds/hash/gds_hash.c if (PMIX_SUCCESS != (rc = pmix_hash_store(ht, PMIX_RANK_WILDCARD, kp2))) { ht 438 opal/mca/pmix/pmix4x/pmix/src/mca/gds/hash/gds_hash.c if (PMIX_SUCCESS != (rc = store_map(ht, nodes, procs))) { ht 452 opal/mca/pmix/pmix4x/pmix/src/mca/gds/hash/gds_hash.c if (PMIX_SUCCESS != (rc = store_map(ht, nodes, procs))) { ht 504 opal/mca/pmix/pmix4x/pmix/src/mca/gds/hash/gds_hash.c if (PMIX_SUCCESS != (rc = pmix_hash_store(ht, rank, kp2))) { ht 541 opal/mca/pmix/pmix4x/pmix/src/mca/gds/hash/gds_hash.c if (PMIX_SUCCESS != (rc = pmix_hash_store(ht, PMIX_RANK_WILDCARD, kp2))) { ht 571 opal/mca/pmix/pmix4x/pmix/src/mca/gds/hash/gds_hash.c if (PMIX_SUCCESS != (rc = pmix_hash_store(ht, PMIX_RANK_WILDCARD, kp2))) { ht 596 opal/mca/pmix/pmix4x/pmix/src/mca/gds/hash/gds_hash.c pmix_hash_table_t *ht; ht 616 opal/mca/pmix/pmix4x/pmix/src/mca/gds/hash/gds_hash.c ht = &trk->internal; ht 620 opal/mca/pmix/pmix4x/pmix/src/mca/gds/hash/gds_hash.c rc = pmix_hash_fetch(ht, PMIX_RANK_WILDCARD, NULL, &val); ht 647 opal/mca/pmix/pmix4x/pmix/src/mca/gds/hash/gds_hash.c rc = pmix_hash_fetch(ht, rank, NULL, &val); ht 788 opal/mca/pmix/pmix4x/pmix/src/mca/gds/hash/gds_hash.c pmix_hash_table_t *ht; ht 811 opal/mca/pmix/pmix4x/pmix/src/mca/gds/hash/gds_hash.c ht = NULL; ht 814 opal/mca/pmix/pmix4x/pmix/src/mca/gds/hash/gds_hash.c ht = &htptr->internal; ht 818 opal/mca/pmix/pmix4x/pmix/src/mca/gds/hash/gds_hash.c if (NULL == ht) { ht 823 opal/mca/pmix/pmix4x/pmix/src/mca/gds/hash/gds_hash.c ht = &htptr->internal; ht 870 opal/mca/pmix/pmix4x/pmix/src/mca/gds/hash/gds_hash.c if (PMIX_SUCCESS != (rc = pmix_hash_store(ht, rank, kp2))) { ht 915 opal/mca/pmix/pmix4x/pmix/src/mca/gds/hash/gds_hash.c rc = pmix_hash_fetch(ht, PMIX_RANK_WILDCARD, kv.key, &val); ht 945 opal/mca/pmix/pmix4x/pmix/src/mca/gds/hash/gds_hash.c if (PMIX_SUCCESS != (rc = pmix_hash_store(ht, PMIX_RANK_WILDCARD, kp2))) { ht 977 opal/mca/pmix/pmix4x/pmix/src/mca/gds/hash/gds_hash.c if (PMIX_SUCCESS != (rc = pmix_hash_store(ht, PMIX_RANK_WILDCARD, kp2))) { ht 999 opal/mca/pmix/pmix4x/pmix/src/mca/gds/hash/gds_hash.c if (PMIX_SUCCESS != (rc = pmix_hash_store(ht, rank, kp2))) { ht 1021 opal/mca/pmix/pmix4x/pmix/src/mca/gds/hash/gds_hash.c if (PMIX_SUCCESS != (rc = pmix_hash_store(ht, PMIX_RANK_WILDCARD, kp2))) { ht 1051 opal/mca/pmix/pmix4x/pmix/src/mca/gds/hash/gds_hash.c if (PMIX_SUCCESS != (rc = pmix_hash_store(ht, PMIX_RANK_WILDCARD, kptr))) { ht 1273 opal/mca/pmix/pmix4x/pmix/src/mca/gds/hash/gds_hash.c pmix_hash_table_t *ht; ht 1299 opal/mca/pmix/pmix4x/pmix/src/mca/gds/hash/gds_hash.c ht = &trk->internal; ht 1302 opal/mca/pmix/pmix4x/pmix/src/mca/gds/hash/gds_hash.c rc = pmix_hash_fetch(ht, PMIX_RANK_WILDCARD, NULL, &val); ht 1362 opal/mca/pmix/pmix4x/pmix/src/mca/gds/hash/gds_hash.c ht = &trk->internal; ht 1365 opal/mca/pmix/pmix4x/pmix/src/mca/gds/hash/gds_hash.c ht = &trk->local; ht 1367 opal/mca/pmix/pmix4x/pmix/src/mca/gds/hash/gds_hash.c ht = &trk->remote; ht 1374 opal/mca/pmix/pmix4x/pmix/src/mca/gds/hash/gds_hash.c rc = pmix_hash_fetch(ht, proc->rank, key, &val); ht 1411 opal/mca/pmix/pmix4x/pmix/src/mca/gds/hash/gds_hash.c if (PMIX_GLOBAL == scope && ht == &trk->local) { ht 1413 opal/mca/pmix/pmix4x/pmix/src/mca/gds/hash/gds_hash.c ht = &trk->remote; ht 1430 opal/mca/pmix/pmix4x/pmix/src/mca/gds/hash/gds_hash.c if (ht == &trk->internal) { ht 1432 opal/mca/pmix/pmix4x/pmix/src/mca/gds/hash/gds_hash.c ht = &trk->local; ht 1434 opal/mca/pmix/pmix4x/pmix/src/mca/gds/hash/gds_hash.c } else if (ht == &trk->local) { ht 1436 opal/mca/pmix/pmix4x/pmix/src/mca/gds/hash/gds_hash.c ht = &trk->remote;