Lines Matching refs:size

51     if (table->size == 0) {  in ds_htable_rehash()
107 table->next = table->size; in ds_htable_pack()
116 if (table->size <= (capacity / 4) && (capacity / 2) >= DS_HTABLE_MIN_CAPACITY) { in ds_htable_auto_truncate()
131 table->size = 0; in ds_htable_with_capacity()
167 dst->size = src->size; in ds_htable_clone()
374 if (table->size == 0 || position >= table->size) { in ds_htable_lookup_by_position()
479 if (table->size == 0) { in ds_htable_clear_buffer()
488 table->size = 0; in ds_htable_clear_buffer()
518 qsort(table->buckets, table->size, sizeof(ds_htable_bucket_t), compare_func); in ds_htable_sort_ex()
614 if (table->next > table->size + (table->size >> 5)) { in ds_htable_increase_capacity()
623 static inline zend_long ds_htable_get_capacity_for_size(zend_long size) in ds_htable_get_capacity_for_size() argument
625 return ds_next_power_of_2(size, DS_HTABLE_MIN_CAPACITY); in ds_htable_get_capacity_for_size()
649 table->size++; in ds_htable_put_distinct_bucket()
676 table->size++; in ds_htable_init_next_bucket()
716 zval *buffer = ds_allocate_zval_buffer(table->size); in ds_htable_values()
730 if (table->size == 0) { in ds_htable_last()
745 if (table->size == 0) { in ds_htable_first()
762 if (table->size == 0) { in ds_htable_join_keys()
766 if (table->size == 1) { in ds_htable_join_keys()
828 if (index == table->next - 1 && table->size > 1) { in ds_htable_remove()
841 table->size--; in ds_htable_remove()
858 ds_normalize_slice_args(&index, &length, table->size); in ds_htable_slice()
1133 ds_htable_bucket_t *b = table->buckets + table->size - 1; in ds_htable_reverse()
1163 reversed->size = table->size; in ds_htable_reversed()
1173 array_init_size(return_value, table->size); in ds_htable_to_array()
1187 if (table->size == 0) { in ds_htable_serialize()