table 141 ompi/debuggers/ompi_mpihandles_dll.c mqs_taddr_t table) table 117 opal/class/opal_hash_table.h OPAL_DECLSPEC int opal_hash_table_get_value_uint32(opal_hash_table_t* table, uint32_t key, table 130 opal/class/opal_hash_table.h OPAL_DECLSPEC int opal_hash_table_set_value_uint32(opal_hash_table_t* table, uint32_t key, void* value); table 141 opal/class/opal_hash_table.h OPAL_DECLSPEC int opal_hash_table_remove_value_uint32(opal_hash_table_t* table, uint32_t key); table 156 opal/class/opal_hash_table.h OPAL_DECLSPEC int opal_hash_table_get_value_uint64(opal_hash_table_t *table, uint64_t key, table 169 opal/class/opal_hash_table.h OPAL_DECLSPEC int opal_hash_table_set_value_uint64(opal_hash_table_t *table, uint64_t key, void* value); table 180 opal/class/opal_hash_table.h OPAL_DECLSPEC int opal_hash_table_remove_value_uint64(opal_hash_table_t *table, uint64_t key); table 195 opal/class/opal_hash_table.h OPAL_DECLSPEC int opal_hash_table_get_value_ptr(opal_hash_table_t *table, const void* key, table 208 opal/class/opal_hash_table.h OPAL_DECLSPEC int opal_hash_table_set_value_ptr(opal_hash_table_t *table, const void* key, size_t keylen, void* value); table 219 opal/class/opal_hash_table.h OPAL_DECLSPEC int opal_hash_table_remove_value_ptr(opal_hash_table_t *table, const void* key, size_t keylen); table 244 opal/class/opal_hash_table.h OPAL_DECLSPEC int opal_hash_table_get_first_key_uint32(opal_hash_table_t *table, uint32_t *key, table 262 opal/class/opal_hash_table.h OPAL_DECLSPEC int opal_hash_table_get_next_key_uint32(opal_hash_table_t *table, uint32_t *key, table 280 opal/class/opal_hash_table.h OPAL_DECLSPEC int opal_hash_table_get_first_key_uint64(opal_hash_table_t *table, uint64_t *key, table 298 opal/class/opal_hash_table.h OPAL_DECLSPEC int opal_hash_table_get_next_key_uint64(opal_hash_table_t *table, uint64_t *key, table 317 opal/class/opal_hash_table.h OPAL_DECLSPEC int opal_hash_table_get_first_key_ptr(opal_hash_table_t *table, void* *key, table 336 opal/class/opal_hash_table.h OPAL_DECLSPEC int opal_hash_table_get_next_key_ptr(opal_hash_table_t *table, void* *key, table 32 opal/class/opal_pointer_array.c static bool grow_table(opal_pointer_array_t *table, int at_least); table 98 opal/class/opal_pointer_array.c if( 0 == table->number_free ) { \ table 99 opal/class/opal_pointer_array.c (STORE) = table->size; \ table 103 opal/class/opal_pointer_array.c for (; table->free_bits[__b_idx] == 0xFFFFFFFFFFFFFFFFu; __b_idx++); \ table 104 opal/class/opal_pointer_array.c assert(__b_idx < (uint32_t)table->size); \ table 105 opal/class/opal_pointer_array.c uint64_t __check_value = table->free_bits[__b_idx]; \ table 136 opal/class/opal_pointer_array.c assert( 0 == (table->free_bits[__b_idx] & (((uint64_t)1) << __b_pos))); \ table 137 opal/class/opal_pointer_array.c table->free_bits[__b_idx] |= (((uint64_t)1) << __b_pos); \ table 147 opal/class/opal_pointer_array.c assert( (table->free_bits[__b_idx] & (((uint64_t)1) << __b_pos))); \ table 148 opal/class/opal_pointer_array.c table->free_bits[__b_idx] ^= (((uint64_t)1) << __b_pos); \ table 220 opal/class/opal_pointer_array.c int opal_pointer_array_add(opal_pointer_array_t *table, void *ptr) table 222 opal/class/opal_pointer_array.c int index = table->size + 1; table 224 opal/class/opal_pointer_array.c OPAL_THREAD_LOCK(&(table->lock)); table 226 opal/class/opal_pointer_array.c if (table->number_free == 0) { table 228 opal/class/opal_pointer_array.c if (!grow_table(table, index) ) { table 229 opal/class/opal_pointer_array.c OPAL_THREAD_UNLOCK(&(table->lock)); table 234 opal/class/opal_pointer_array.c assert( (table->addr != NULL) && (table->size > 0) ); table 235 opal/class/opal_pointer_array.c assert( (table->lowest_free >= 0) && (table->lowest_free < table->size) ); table 236 opal/class/opal_pointer_array.c assert( (table->number_free > 0) && (table->number_free <= table->size) ); table 242 opal/class/opal_pointer_array.c index = table->lowest_free; table 243 opal/class/opal_pointer_array.c assert(NULL == table->addr[index]); table 244 opal/class/opal_pointer_array.c table->addr[index] = ptr; table 245 opal/class/opal_pointer_array.c table->number_free--; table 247 opal/class/opal_pointer_array.c if (table->number_free > 0) { table 248 opal/class/opal_pointer_array.c FIND_FIRST_ZERO(index, table->lowest_free); table 250 opal/class/opal_pointer_array.c table->lowest_free = table->size; table 254 opal/class/opal_pointer_array.c opal_pointer_array_validate(table); table 256 opal/class/opal_pointer_array.c OPAL_THREAD_UNLOCK(&(table->lock)); table 271 opal/class/opal_pointer_array.c int opal_pointer_array_set_item(opal_pointer_array_t *table, int index, table 274 opal/class/opal_pointer_array.c assert(table != NULL); table 282 opal/class/opal_pointer_array.c OPAL_THREAD_LOCK(&(table->lock)); table 283 opal/class/opal_pointer_array.c if (table->size <= index) { table 284 opal/class/opal_pointer_array.c if (!grow_table(table, index)) { table 285 opal/class/opal_pointer_array.c OPAL_THREAD_UNLOCK(&(table->lock)); table 289 opal/class/opal_pointer_array.c assert(table->size > index); table 292 opal/class/opal_pointer_array.c if( NULL != table->addr[index] ) { table 293 opal/class/opal_pointer_array.c if (index < table->lowest_free) { table 294 opal/class/opal_pointer_array.c table->lowest_free = index; table 296 opal/class/opal_pointer_array.c table->number_free++; table 300 opal/class/opal_pointer_array.c if (NULL == table->addr[index]) { table 301 opal/class/opal_pointer_array.c table->number_free--; table 304 opal/class/opal_pointer_array.c if ( index == table->lowest_free ) { table 305 opal/class/opal_pointer_array.c FIND_FIRST_ZERO(index, table->lowest_free); table 308 opal/class/opal_pointer_array.c assert( index != table->lowest_free ); table 311 opal/class/opal_pointer_array.c table->addr[index] = value; table 314 opal/class/opal_pointer_array.c opal_pointer_array_validate(table); table 318 opal/class/opal_pointer_array.c table, table->size, table->lowest_free, table->number_free, table 319 opal/class/opal_pointer_array.c index, table->addr[index]); table 322 opal/class/opal_pointer_array.c OPAL_THREAD_UNLOCK(&(table->lock)); table 340 opal/class/opal_pointer_array.c bool opal_pointer_array_test_and_set_item (opal_pointer_array_t *table, table 343 opal/class/opal_pointer_array.c assert(table != NULL); table 350 opal/class/opal_pointer_array.c table, table->size, table->lowest_free, table->number_free, table 351 opal/class/opal_pointer_array.c index, table->addr[index]); table 355 opal/class/opal_pointer_array.c OPAL_THREAD_LOCK(&(table->lock)); table 356 opal/class/opal_pointer_array.c if ( index < table->size && table->addr[index] != NULL ) { table 358 opal/class/opal_pointer_array.c OPAL_THREAD_UNLOCK(&(table->lock)); table 364 opal/class/opal_pointer_array.c if (table->size <= index) { table 365 opal/class/opal_pointer_array.c if (!grow_table(table, index)) { table 366 opal/class/opal_pointer_array.c OPAL_THREAD_UNLOCK(&(table->lock)); table 374 opal/class/opal_pointer_array.c assert(NULL == table->addr[index]); table 375 opal/class/opal_pointer_array.c table->addr[index] = value; table 376 opal/class/opal_pointer_array.c table->number_free--; table 379 opal/class/opal_pointer_array.c if( table->number_free > 0 ) { table 380 opal/class/opal_pointer_array.c if ( index == table->lowest_free ) { table 381 opal/class/opal_pointer_array.c FIND_FIRST_ZERO(index, table->lowest_free); table 384 opal/class/opal_pointer_array.c table->lowest_free = table->size; table 388 opal/class/opal_pointer_array.c opal_pointer_array_validate(table); table 392 opal/class/opal_pointer_array.c table, table->size, table->lowest_free, table->number_free, table 393 opal/class/opal_pointer_array.c index, table->addr[index]); table 396 opal/class/opal_pointer_array.c OPAL_THREAD_UNLOCK(&(table->lock)); table 413 opal/class/opal_pointer_array.c static bool grow_table(opal_pointer_array_t *table, int at_least) table 418 opal/class/opal_pointer_array.c new_size = table->block_size * ((at_least + 1 + table->block_size - 1) / table->block_size); table 419 opal/class/opal_pointer_array.c if( new_size >= table->max_size ) { table 420 opal/class/opal_pointer_array.c new_size = table->max_size; table 421 opal/class/opal_pointer_array.c if( at_least >= table->max_size ) { table 426 opal/class/opal_pointer_array.c p = (void **) realloc(table->addr, new_size * sizeof(void *)); table 431 opal/class/opal_pointer_array.c table->number_free += (new_size - table->size); table 432 opal/class/opal_pointer_array.c table->addr = (void**)p; table 433 opal/class/opal_pointer_array.c for (i = table->size; i < new_size; ++i) { table 434 opal/class/opal_pointer_array.c table->addr[i] = NULL; table 437 opal/class/opal_pointer_array.c if( (int)(TYPE_ELEM_COUNT(uint64_t, table->size)) != new_size_int ) { table 438 opal/class/opal_pointer_array.c p = (uint64_t*)realloc(table->free_bits, new_size_int * sizeof(uint64_t)); table 442 opal/class/opal_pointer_array.c table->free_bits = (uint64_t*)p; table 443 opal/class/opal_pointer_array.c for (i = TYPE_ELEM_COUNT(uint64_t, table->size); table 445 opal/class/opal_pointer_array.c table->free_bits[i] = 0; table 448 opal/class/opal_pointer_array.c table->size = new_size; table 451 opal/class/opal_pointer_array.c (void*)table, table->size, table->max_size, table->block_size, table->number_free); table 125 opal/class/opal_pointer_array.h static inline void *opal_pointer_array_get_item(opal_pointer_array_t *table, table 130 opal/class/opal_pointer_array.h if( OPAL_UNLIKELY(0 > element_index || table->size <= element_index) ) { table 133 opal/class/opal_pointer_array.h OPAL_THREAD_LOCK(&(table->lock)); table 134 opal/class/opal_pointer_array.h p = table->addr[element_index]; table 135 opal/class/opal_pointer_array.h OPAL_THREAD_UNLOCK(&(table->lock)); table 181 opal/class/opal_pointer_array.h OPAL_DECLSPEC bool opal_pointer_array_test_and_set_item (opal_pointer_array_t *table, table 173 opal/mca/btl/smcuda/btl_smcuda.h struct mca_btl_smcuda_frag_t **table; table 1526 opal/mca/event/libevent2022/libevent/evdns.c dnslabel_table_init(struct dnslabel_table *table) table 1528 opal/mca/event/libevent2022/libevent/evdns.c table->n_labels = 0; table 1533 opal/mca/event/libevent2022/libevent/evdns.c dnslabel_clear(struct dnslabel_table *table) table 1536 opal/mca/event/libevent2022/libevent/evdns.c for (i = 0; i < table->n_labels; ++i) table 1537 opal/mca/event/libevent2022/libevent/evdns.c mm_free(table->labels[i].v); table 1538 opal/mca/event/libevent2022/libevent/evdns.c table->n_labels = 0; table 1544 opal/mca/event/libevent2022/libevent/evdns.c dnslabel_table_get_pos(const struct dnslabel_table *table, const char *label) table 1547 opal/mca/event/libevent2022/libevent/evdns.c for (i = 0; i < table->n_labels; ++i) { table 1548 opal/mca/event/libevent2022/libevent/evdns.c if (!strcmp(label, table->labels[i].v)) table 1549 opal/mca/event/libevent2022/libevent/evdns.c return table->labels[i].pos; table 1556 opal/mca/event/libevent2022/libevent/evdns.c dnslabel_table_add(struct dnslabel_table *table, const char *label, off_t pos) table 1560 opal/mca/event/libevent2022/libevent/evdns.c if (table->n_labels == MAX_LABELS) table 1565 opal/mca/event/libevent2022/libevent/evdns.c p = table->n_labels++; table 1566 opal/mca/event/libevent2022/libevent/evdns.c table->labels[p].v = v; table 1567 opal/mca/event/libevent2022/libevent/evdns.c table->labels[p].pos = pos; table 1586 opal/mca/event/libevent2022/libevent/evdns.c struct dnslabel_table *table) { table 1610 opal/mca/event/libevent2022/libevent/evdns.c if (table && (ref = dnslabel_table_get_pos(table, name)) >= 0) { table 1619 opal/mca/event/libevent2022/libevent/evdns.c if (table) dnslabel_table_add(table, start, j); table 1630 opal/mca/event/libevent2022/libevent/evdns.c if (table) dnslabel_table_add(table, start, j); table 1884 opal/mca/event/libevent2022/libevent/evdns.c struct dnslabel_table table; table 1893 opal/mca/event/libevent2022/libevent/evdns.c dnslabel_table_init(&table); table 1904 opal/mca/event/libevent2022/libevent/evdns.c j = dnsname_to_labels(buf, buf_len, j, s, strlen(s), &table); table 1906 opal/mca/event/libevent2022/libevent/evdns.c dnslabel_clear(&table); table 1923 opal/mca/event/libevent2022/libevent/evdns.c r = dnsname_to_labels(buf, buf_len, j, item->name, strlen(item->name), &table); table 1935 opal/mca/event/libevent2022/libevent/evdns.c r = dnsname_to_labels(buf, buf_len, j, item->data, strlen(item->data), &table); table 1962 opal/mca/event/libevent2022/libevent/evdns.c dnslabel_clear(&table); table 1967 opal/mca/event/libevent2022/libevent/evdns.c dnslabel_clear(&table); table 121 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.h PMIX_EXPORT int pmix_hash_table_get_value_uint32(pmix_hash_table_t* table, uint32_t key, table 134 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.h PMIX_EXPORT int pmix_hash_table_set_value_uint32(pmix_hash_table_t* table, uint32_t key, void* value); table 145 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.h PMIX_EXPORT int pmix_hash_table_remove_value_uint32(pmix_hash_table_t* table, uint32_t key); table 160 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.h PMIX_EXPORT int pmix_hash_table_get_value_uint64(pmix_hash_table_t *table, uint64_t key, table 173 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.h PMIX_EXPORT int pmix_hash_table_set_value_uint64(pmix_hash_table_t *table, uint64_t key, void* value); table 184 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.h PMIX_EXPORT int pmix_hash_table_remove_value_uint64(pmix_hash_table_t *table, uint64_t key); table 199 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.h PMIX_EXPORT int pmix_hash_table_get_value_ptr(pmix_hash_table_t *table, const void* key, table 212 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.h PMIX_EXPORT int pmix_hash_table_set_value_ptr(pmix_hash_table_t *table, const void* key, size_t keylen, void* value); table 223 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.h PMIX_EXPORT int pmix_hash_table_remove_value_ptr(pmix_hash_table_t *table, const void* key, size_t keylen); table 248 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.h PMIX_EXPORT int pmix_hash_table_get_first_key_uint32(pmix_hash_table_t *table, uint32_t *key, table 266 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.h PMIX_EXPORT int pmix_hash_table_get_next_key_uint32(pmix_hash_table_t *table, uint32_t *key, table 284 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.h PMIX_EXPORT int pmix_hash_table_get_first_key_uint64(pmix_hash_table_t *table, uint64_t *key, table 302 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.h PMIX_EXPORT int pmix_hash_table_get_next_key_uint64(pmix_hash_table_t *table, uint64_t *key, table 321 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.h PMIX_EXPORT int pmix_hash_table_get_first_key_ptr(pmix_hash_table_t *table, void* *key, table 340 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hash_table.h PMIX_EXPORT int pmix_hash_table_get_next_key_ptr(pmix_hash_table_t *table, void* *key, table 33 opal/mca/pmix/pmix4x/pmix/src/class/pmix_pointer_array.c static bool grow_table(pmix_pointer_array_t *table, int at_least); table 97 opal/mca/pmix/pmix4x/pmix/src/class/pmix_pointer_array.c if( 0 == table->number_free ) { \ table 98 opal/mca/pmix/pmix4x/pmix/src/class/pmix_pointer_array.c (STORE) = table->size; \ table 102 opal/mca/pmix/pmix4x/pmix/src/class/pmix_pointer_array.c for (; table->free_bits[__b_idx] == 0xFFFFFFFFFFFFFFFFu; __b_idx++); \ table 103 opal/mca/pmix/pmix4x/pmix/src/class/pmix_pointer_array.c assert(__b_idx < (uint32_t)table->size); \ table 104 opal/mca/pmix/pmix4x/pmix/src/class/pmix_pointer_array.c uint64_t __check_value = table->free_bits[__b_idx]; \ table 135 opal/mca/pmix/pmix4x/pmix/src/class/pmix_pointer_array.c assert( 0 == (table->free_bits[__b_idx] & (((uint64_t)1) << __b_pos))); \ table 136 opal/mca/pmix/pmix4x/pmix/src/class/pmix_pointer_array.c table->free_bits[__b_idx] |= (((uint64_t)1) << __b_pos); \ table 146 opal/mca/pmix/pmix4x/pmix/src/class/pmix_pointer_array.c assert( (table->free_bits[__b_idx] & (((uint64_t)1) << __b_pos))); \ table 147 opal/mca/pmix/pmix4x/pmix/src/class/pmix_pointer_array.c table->free_bits[__b_idx] ^= (((uint64_t)1) << __b_pos); \ table 219 opal/mca/pmix/pmix4x/pmix/src/class/pmix_pointer_array.c int pmix_pointer_array_add(pmix_pointer_array_t *table, void *ptr) table 221 opal/mca/pmix/pmix4x/pmix/src/class/pmix_pointer_array.c int index = table->size + 1; table 223 opal/mca/pmix/pmix4x/pmix/src/class/pmix_pointer_array.c if (table->number_free == 0) { table 225 opal/mca/pmix/pmix4x/pmix/src/class/pmix_pointer_array.c if (!grow_table(table, index) ) { table 230 opal/mca/pmix/pmix4x/pmix/src/class/pmix_pointer_array.c assert( (table->addr != NULL) && (table->size > 0) ); table 231 opal/mca/pmix/pmix4x/pmix/src/class/pmix_pointer_array.c assert( (table->lowest_free >= 0) && (table->lowest_free < table->size) ); table 232 opal/mca/pmix/pmix4x/pmix/src/class/pmix_pointer_array.c assert( (table->number_free > 0) && (table->number_free <= table->size) ); table 238 opal/mca/pmix/pmix4x/pmix/src/class/pmix_pointer_array.c index = table->lowest_free; table 239 opal/mca/pmix/pmix4x/pmix/src/class/pmix_pointer_array.c assert(NULL == table->addr[index]); table 240 opal/mca/pmix/pmix4x/pmix/src/class/pmix_pointer_array.c table->addr[index] = ptr; table 241 opal/mca/pmix/pmix4x/pmix/src/class/pmix_pointer_array.c table->number_free--; table 243 opal/mca/pmix/pmix4x/pmix/src/class/pmix_pointer_array.c if (table->number_free > 0) { table 244 opal/mca/pmix/pmix4x/pmix/src/class/pmix_pointer_array.c FIND_FIRST_ZERO(index, table->lowest_free); table 246 opal/mca/pmix/pmix4x/pmix/src/class/pmix_pointer_array.c table->lowest_free = table->size; table 250 opal/mca/pmix/pmix4x/pmix/src/class/pmix_pointer_array.c pmix_pointer_array_validate(table); table 266 opal/mca/pmix/pmix4x/pmix/src/class/pmix_pointer_array.c int pmix_pointer_array_set_item(pmix_pointer_array_t *table, int index, table 269 opal/mca/pmix/pmix4x/pmix/src/class/pmix_pointer_array.c assert(table != NULL); table 277 opal/mca/pmix/pmix4x/pmix/src/class/pmix_pointer_array.c if (table->size <= index) { table 278 opal/mca/pmix/pmix4x/pmix/src/class/pmix_pointer_array.c if (!grow_table(table, index)) { table 282 opal/mca/pmix/pmix4x/pmix/src/class/pmix_pointer_array.c assert(table->size > index); table 285 opal/mca/pmix/pmix4x/pmix/src/class/pmix_pointer_array.c if( NULL != table->addr[index] ) { table 286 opal/mca/pmix/pmix4x/pmix/src/class/pmix_pointer_array.c if (index < table->lowest_free) { table 287 opal/mca/pmix/pmix4x/pmix/src/class/pmix_pointer_array.c table->lowest_free = index; table 289 opal/mca/pmix/pmix4x/pmix/src/class/pmix_pointer_array.c table->number_free++; table 293 opal/mca/pmix/pmix4x/pmix/src/class/pmix_pointer_array.c if (NULL == table->addr[index]) { table 294 opal/mca/pmix/pmix4x/pmix/src/class/pmix_pointer_array.c table->number_free--; table 297 opal/mca/pmix/pmix4x/pmix/src/class/pmix_pointer_array.c if ( index == table->lowest_free ) { table 298 opal/mca/pmix/pmix4x/pmix/src/class/pmix_pointer_array.c FIND_FIRST_ZERO(index, table->lowest_free); table 301 opal/mca/pmix/pmix4x/pmix/src/class/pmix_pointer_array.c assert( index != table->lowest_free ); table 304 opal/mca/pmix/pmix4x/pmix/src/class/pmix_pointer_array.c table->addr[index] = value; table 307 opal/mca/pmix/pmix4x/pmix/src/class/pmix_pointer_array.c pmix_pointer_array_validate(table); table 311 opal/mca/pmix/pmix4x/pmix/src/class/pmix_pointer_array.c table, table->size, table->lowest_free, table->number_free, table 312 opal/mca/pmix/pmix4x/pmix/src/class/pmix_pointer_array.c index, table->addr[index]); table 332 opal/mca/pmix/pmix4x/pmix/src/class/pmix_pointer_array.c bool pmix_pointer_array_test_and_set_item (pmix_pointer_array_t *table, table 335 opal/mca/pmix/pmix4x/pmix/src/class/pmix_pointer_array.c assert(table != NULL); table 342 opal/mca/pmix/pmix4x/pmix/src/class/pmix_pointer_array.c table, table->size, table->lowest_free, table->number_free, table 343 opal/mca/pmix/pmix4x/pmix/src/class/pmix_pointer_array.c index, table->addr[index]); table 347 opal/mca/pmix/pmix4x/pmix/src/class/pmix_pointer_array.c if ( index < table->size && table->addr[index] != NULL ) { table 354 opal/mca/pmix/pmix4x/pmix/src/class/pmix_pointer_array.c if (table->size <= index) { table 355 opal/mca/pmix/pmix4x/pmix/src/class/pmix_pointer_array.c if (!grow_table(table, index)) { table 363 opal/mca/pmix/pmix4x/pmix/src/class/pmix_pointer_array.c assert(NULL == table->addr[index]); table 364 opal/mca/pmix/pmix4x/pmix/src/class/pmix_pointer_array.c table->addr[index] = value; table 365 opal/mca/pmix/pmix4x/pmix/src/class/pmix_pointer_array.c table->number_free--; table 368 opal/mca/pmix/pmix4x/pmix/src/class/pmix_pointer_array.c if( table->number_free > 0 ) { table 369 opal/mca/pmix/pmix4x/pmix/src/class/pmix_pointer_array.c if ( index == table->lowest_free ) { table 370 opal/mca/pmix/pmix4x/pmix/src/class/pmix_pointer_array.c FIND_FIRST_ZERO(index, table->lowest_free); table 373 opal/mca/pmix/pmix4x/pmix/src/class/pmix_pointer_array.c table->lowest_free = table->size; table 377 opal/mca/pmix/pmix4x/pmix/src/class/pmix_pointer_array.c pmix_pointer_array_validate(table); table 381 opal/mca/pmix/pmix4x/pmix/src/class/pmix_pointer_array.c table, table->size, table->lowest_free, table->number_free, table 382 opal/mca/pmix/pmix4x/pmix/src/class/pmix_pointer_array.c index, table->addr[index]); table 398 opal/mca/pmix/pmix4x/pmix/src/class/pmix_pointer_array.c static bool grow_table(pmix_pointer_array_t *table, int at_least) table 403 opal/mca/pmix/pmix4x/pmix/src/class/pmix_pointer_array.c new_size = table->block_size * ((at_least + 1 + table->block_size - 1) / table->block_size); table 404 opal/mca/pmix/pmix4x/pmix/src/class/pmix_pointer_array.c if( new_size >= table->max_size ) { table 405 opal/mca/pmix/pmix4x/pmix/src/class/pmix_pointer_array.c new_size = table->max_size; table 406 opal/mca/pmix/pmix4x/pmix/src/class/pmix_pointer_array.c if( at_least >= table->max_size ) { table 411 opal/mca/pmix/pmix4x/pmix/src/class/pmix_pointer_array.c p = (void **) realloc(table->addr, new_size * sizeof(void *)); table 416 opal/mca/pmix/pmix4x/pmix/src/class/pmix_pointer_array.c table->number_free += (new_size - table->size); table 417 opal/mca/pmix/pmix4x/pmix/src/class/pmix_pointer_array.c table->addr = (void**)p; table 418 opal/mca/pmix/pmix4x/pmix/src/class/pmix_pointer_array.c for (i = table->size; i < new_size; ++i) { table 419 opal/mca/pmix/pmix4x/pmix/src/class/pmix_pointer_array.c table->addr[i] = NULL; table 422 opal/mca/pmix/pmix4x/pmix/src/class/pmix_pointer_array.c if( (int)(TYPE_ELEM_COUNT(uint64_t, table->size)) != new_size_int ) { table 423 opal/mca/pmix/pmix4x/pmix/src/class/pmix_pointer_array.c p = (uint64_t*)realloc(table->free_bits, new_size_int * sizeof(uint64_t)); table 427 opal/mca/pmix/pmix4x/pmix/src/class/pmix_pointer_array.c table->free_bits = (uint64_t*)p; table 428 opal/mca/pmix/pmix4x/pmix/src/class/pmix_pointer_array.c for (i = TYPE_ELEM_COUNT(uint64_t, table->size); table 430 opal/mca/pmix/pmix4x/pmix/src/class/pmix_pointer_array.c table->free_bits[i] = 0; table 433 opal/mca/pmix/pmix4x/pmix/src/class/pmix_pointer_array.c table->size = new_size; table 436 opal/mca/pmix/pmix4x/pmix/src/class/pmix_pointer_array.c (void*)table, table->size, table->max_size, table->block_size, table->number_free); table 123 opal/mca/pmix/pmix4x/pmix/src/class/pmix_pointer_array.h static inline void *pmix_pointer_array_get_item(pmix_pointer_array_t *table, table 128 opal/mca/pmix/pmix4x/pmix/src/class/pmix_pointer_array.h if( PMIX_UNLIKELY(0 > element_index || table->size <= element_index) ) { table 131 opal/mca/pmix/pmix4x/pmix/src/class/pmix_pointer_array.h p = table->addr[element_index]; table 177 opal/mca/pmix/pmix4x/pmix/src/class/pmix_pointer_array.h PMIX_EXPORT bool pmix_pointer_array_test_and_set_item (pmix_pointer_array_t *table, table 154 opal/mca/pmix/pmix4x/pmix/src/util/cmd_line.c pmix_cmd_line_init_t *table) table 165 opal/mca/pmix/pmix4x/pmix/src/util/cmd_line.c if (NULL != table) { table 166 opal/mca/pmix/pmix4x/pmix/src/util/cmd_line.c ret = pmix_cmd_line_add(cmd, table); table 173 opal/mca/pmix/pmix4x/pmix/src/util/cmd_line.c pmix_cmd_line_init_t *table) table 178 opal/mca/pmix/pmix4x/pmix/src/util/cmd_line.c if (NULL == table) { table 186 opal/mca/pmix/pmix4x/pmix/src/util/cmd_line.c if ('\0' == table[i].ocl_cmd_short_name && table 187 opal/mca/pmix/pmix4x/pmix/src/util/cmd_line.c NULL == table[i].ocl_cmd_single_dash_name && table 188 opal/mca/pmix/pmix4x/pmix/src/util/cmd_line.c NULL == table[i].ocl_cmd_long_name) { table 193 opal/mca/pmix/pmix4x/pmix/src/util/cmd_line.c ret = make_opt(cmd, &table[i]); table 303 opal/mca/pmix/pmix4x/pmix/src/util/cmd_line.h pmix_cmd_line_init_t *table); table 313 opal/mca/pmix/pmix4x/pmix/src/util/cmd_line.h pmix_cmd_line_init_t *table); table 68 opal/mca/pmix/pmix4x/pmix/src/util/hash.c pmix_status_t pmix_hash_store(pmix_hash_table_t *table, table 87 opal/mca/pmix/pmix4x/pmix/src/util/hash.c if (NULL == (proc_data = lookup_proc(table, id, true))) { table 105 opal/mca/pmix/pmix4x/pmix/src/util/hash.c pmix_status_t pmix_hash_fetch(pmix_hash_table_t *table, pmix_rank_t rank, table 129 opal/mca/pmix/pmix4x/pmix/src/util/hash.c rc = pmix_hash_table_get_first_key_uint64(table, &id, table 140 opal/mca/pmix/pmix4x/pmix/src/util/hash.c proc_data = lookup_proc(table, id, false); table 202 opal/mca/pmix/pmix4x/pmix/src/util/hash.c rc = pmix_hash_table_get_next_key_uint64(table, &id, table 214 opal/mca/pmix/pmix4x/pmix/src/util/hash.c pmix_status_t pmix_hash_fetch_by_key(pmix_hash_table_t *table, const char *key, table 233 opal/mca/pmix/pmix4x/pmix/src/util/hash.c rc = pmix_hash_table_get_first_key_uint64(table, &id, table 237 opal/mca/pmix/pmix4x/pmix/src/util/hash.c rc = pmix_hash_table_get_next_key_uint64(table, &id, table 272 opal/mca/pmix/pmix4x/pmix/src/util/hash.c pmix_status_t pmix_hash_remove_data(pmix_hash_table_t *table, table 286 opal/mca/pmix/pmix4x/pmix/src/util/hash.c rc = pmix_hash_table_get_first_key_uint64(table, &id, table 302 opal/mca/pmix/pmix4x/pmix/src/util/hash.c rc = pmix_hash_table_get_next_key_uint64(table, &id, table 309 opal/mca/pmix/pmix4x/pmix/src/util/hash.c if (NULL == (proc_data = lookup_proc(table, id, false))) { table 320 opal/mca/pmix/pmix4x/pmix/src/util/hash.c pmix_hash_table_remove_value_uint64(table, id); table 27 opal/mca/pmix/pmix4x/pmix/src/util/hash.h PMIX_EXPORT pmix_status_t pmix_hash_store(pmix_hash_table_t *table, table 32 opal/mca/pmix/pmix4x/pmix/src/util/hash.h PMIX_EXPORT pmix_status_t pmix_hash_fetch(pmix_hash_table_t *table, pmix_rank_t rank, table 40 opal/mca/pmix/pmix4x/pmix/src/util/hash.h PMIX_EXPORT pmix_status_t pmix_hash_fetch_by_key(pmix_hash_table_t *table, const char *key, table 50 opal/mca/pmix/pmix4x/pmix/src/util/hash.h PMIX_EXPORT pmix_status_t pmix_hash_remove_data(pmix_hash_table_t *table, table 154 opal/util/cmd_line.c opal_cmd_line_init_t *table) table 165 opal/util/cmd_line.c if (NULL != table) { table 166 opal/util/cmd_line.c ret = opal_cmd_line_add(cmd, table); table 173 opal/util/cmd_line.c opal_cmd_line_init_t *table) table 178 opal/util/cmd_line.c if (NULL == table) { table 186 opal/util/cmd_line.c if ('\0' == table[i].ocl_cmd_short_name && table 187 opal/util/cmd_line.c NULL == table[i].ocl_cmd_single_dash_name && table 188 opal/util/cmd_line.c NULL == table[i].ocl_cmd_long_name) { table 193 opal/util/cmd_line.c ret = make_opt(cmd, &table[i]); table 303 opal/util/cmd_line.h opal_cmd_line_init_t *table); table 313 opal/util/cmd_line.h opal_cmd_line_init_t *table); table 82 opal/util/info_subscriber.c opal_hash_table_t *table = &obj->s_subscriber_table; table 89 opal/util/info_subscriber.c err = opal_hash_table_get_first_key_ptr(table, table 94 opal/util/info_subscriber.c err = opal_hash_table_get_next_key_ptr(table, table 113 opal/util/info_subscriber.c opal_hash_table_t *table = &object->s_subscriber_table; table 126 opal/util/info_subscriber.c if (table) { table 127 opal/util/info_subscriber.c opal_hash_table_get_value_ptr(table, key, strlen(key), (void**) &list); table 176 opal/util/info_subscriber.c opal_hash_table_t *table = &object->s_subscriber_table; table 189 opal/util/info_subscriber.c opal_hash_table_get_value_ptr(table, testing_keys[i], table 221 opal/util/info_subscriber.c err = opal_hash_table_get_first_key_ptr(table, (void**) &next_key, table 242 opal/util/info_subscriber.c err = opal_hash_table_get_next_key_ptr(table, table 352 opal/util/info_subscriber.c opal_hash_table_t *table = &object->s_subscriber_table; table 370 opal/util/info_subscriber.c if (table) { table 371 opal/util/info_subscriber.c opal_hash_table_get_value_ptr(table, key, strlen(key), (void**) &list); table 375 opal/util/info_subscriber.c opal_hash_table_set_value_ptr(table, key, strlen(key), list); table 89 test/class/opal_hash_table.c static void validate_table(opal_hash_table_t *table, char *keys[], int is_numeric_keys) table 96 test/class/opal_hash_table.c ret = opal_hash_table_get_value_uint32(table, atoi(keys[j]), table 102 test/class/opal_hash_table.c ret = opal_hash_table_get_value_ptr(table, keys[j], table 111 test/class/opal_hash_table.c test_verify_int(j/2, opal_hash_table_get_size(table)); table 115 test/class/opal_hash_table.c validate_remove_traversal(opal_hash_table_t * table, const char * expected_chars) table 127 test/class/opal_hash_table.c expected_chars, (int) table->ht_capacity); table 129 test/class/opal_hash_table.c for (rc = opal_hash_table_get_first_key_uint32(table, &key, &raw_value, &node); table 131 test/class/opal_hash_table.c rc = opal_hash_table_get_next_key_uint32(table, &key, &raw_value, node, &node)) { table 136 test/class/opal_hash_table.c key, (int) (key%table->ht_capacity), value, expected_scanner); table 175 test/class/opal_hash_table.c static void test_htable(opal_hash_table_t *table) table 181 test/class/opal_hash_table.c opal_hash_table_set_value_uint32(table, atoi(num_keys[j]), num_keys[j+1]); table 183 test/class/opal_hash_table.c validate_table(table, num_keys, 1); table 186 test/class/opal_hash_table.c opal_hash_table_remove_all(table); table 187 test/class/opal_hash_table.c test_verify_int(0, opal_hash_table_get_size(table)); table 192 test/class/opal_hash_table.c opal_hash_table_set_value_ptr(table, str_keys[j], strlen(str_keys[j]), str_keys[j+1]); table 194 test/class/opal_hash_table.c validate_table(table, str_keys, 0); table 197 test/class/opal_hash_table.c opal_hash_table_remove_all(table); table 198 test/class/opal_hash_table.c test_verify_int(0, opal_hash_table_get_size(table)); table 205 test/class/opal_hash_table.c opal_hash_table_set_value_ptr(table, perm_keys[j], strlen(perm_keys[j]), perm_keys[j+1]); table 208 test/class/opal_hash_table.c validate_table(table, perm_keys, 0); table 211 test/class/opal_hash_table.c opal_hash_table_remove_all(table); table 212 test/class/opal_hash_table.c test_verify_int(0, opal_hash_table_get_size(table)); table 218 test/class/opal_hash_table.c opal_hash_table_set_value_uint32(table, atoi(str), remove_keys[j++]); table 222 test/class/opal_hash_table.c opal_hash_table_set_value_uint32(table, atoi(str) + table->ht_capacity, remove_keys[j++]); table 224 test/class/opal_hash_table.c validate_remove_traversal(table, remove_keys[j++]); table 226 test/class/opal_hash_table.c opal_hash_table_remove_value_uint32(table, atoi(str)); table 227 test/class/opal_hash_table.c validate_remove_traversal(table, remove_keys[j++]); table 231 test/class/opal_hash_table.c opal_hash_table_remove_all(table); table 232 test/class/opal_hash_table.c test_verify_int(0, opal_hash_table_get_size(table)); table 240 test/class/opal_hash_table.c opal_hash_table_t *table; table 242 test/class/opal_hash_table.c table = OBJ_NEW(opal_hash_table_t); table 243 test/class/opal_hash_table.c if ( NULL == table ) table 249 test/class/opal_hash_table.c opal_hash_table_init(table, 4); table 250 test/class/opal_hash_table.c test_htable(table); table 252 test/class/opal_hash_table.c OBJ_RELEASE(table); table 258 test/class/opal_hash_table.c opal_hash_table_t table; table 260 test/class/opal_hash_table.c OBJ_CONSTRUCT(&table, opal_hash_table_t); table 261 test/class/opal_hash_table.c opal_hash_table_init(&table, 128); table 264 test/class/opal_hash_table.c test_htable(&table); table 266 test/class/opal_hash_table.c OBJ_DESTRUCT(&table); table 93 test/class/opal_proc_table.c static void validate_table(opal_proc_table_t *table, char *keys[]) table 102 test/class/opal_proc_table.c ret = opal_proc_table_get_value(table, key, table 113 test/class/opal_proc_table.c validate_remove_traversal(opal_hash_table_t * table, const char * expected_chars) table 125 test/class/opal_proc_table.c expected_chars, (int) table->ht_capacity); table 127 test/class/opal_proc_table.c for (rc = opal_hash_table_get_first_key_uint32(table, &key, &raw_value, &node); table 129 test/class/opal_proc_table.c rc = opal_hash_table_get_next_key_uint32(table, &key, &raw_value, node, &node)) { table 134 test/class/opal_proc_table.c key, (int) (key%table->ht_capacity), value, expected_scanner); table 174 test/class/opal_proc_table.c static void test_ptable(opal_proc_table_t *table) table 187 test/class/opal_proc_table.c opal_proc_table_set_value(table, key, num_keys[j+2]); table 189 test/class/opal_proc_table.c validate_table(table, num_keys); table 190 test/class/opal_proc_table.c rc = opal_proc_table_get_first_key(table, &key, (void **)&v, (void **)&n1, (void **)&n2); table 208 test/class/opal_proc_table.c rc = opal_proc_table_get_next_key(table, &key, (void **)&v, n1, (void **)&n1, n2, (void **)&n2); table 218 test/class/opal_proc_table.c opal_proc_table_remove_all(table); table 219 test/class/opal_proc_table.c test_verify_int(0, opal_hash_table_get_size(table)); table 225 test/class/opal_proc_table.c opal_hash_table_set_value_uint32(table, atoi(str), remove_keys[j++]); table 229 test/class/opal_proc_table.c opal_hash_table_set_value_uint32(table, atoi(str) + table->ht_capacity, remove_keys[j++]); table 231 test/class/opal_proc_table.c validate_remove_traversal(table, remove_keys[j++]); table 233 test/class/opal_proc_table.c opal_hash_table_remove_value_uint32(table, atoi(str)); table 234 test/class/opal_proc_table.c validate_remove_traversal(table, remove_keys[j++]); table 238 test/class/opal_proc_table.c opal_hash_table_remove_all(table); table 239 test/class/opal_proc_table.c test_verify_int(0, opal_hash_table_get_size(table)); table 248 test/class/opal_proc_table.c opal_proc_table_t *table; table 250 test/class/opal_proc_table.c table = OBJ_NEW(opal_proc_table_t); table 251 test/class/opal_proc_table.c if ( NULL == table ) table 257 test/class/opal_proc_table.c opal_proc_table_init(table, 2, 4); table 258 test/class/opal_proc_table.c test_ptable(table); table 260 test/class/opal_proc_table.c OBJ_RELEASE(table); table 266 test/class/opal_proc_table.c opal_proc_table_t table; table 268 test/class/opal_proc_table.c OBJ_CONSTRUCT(&table, opal_proc_table_t); table 269 test/class/opal_proc_table.c opal_proc_table_init(&table, 8, 128); table 272 test/class/opal_proc_table.c test_ptable(&table); table 274 test/class/opal_proc_table.c OBJ_DESTRUCT(&table);