Lines Matching refs:bucket

8     ds_htable_bucket_t *bucket = table->buckets;  in find_starting_bucket()  local
13 while (bucket != last && DS_HTABLE_BUCKET_DELETED(bucket)) { in find_starting_bucket()
14 ++bucket; in find_starting_bucket()
18 return bucket; in find_starting_bucket()
41 ds_htable_bucket_t *bucket = iterator->bucket; in php_ds_htable_iterator_get_current_value() local
43 if ( ! DS_HTABLE_BUCKET_DELETED(bucket)) { in php_ds_htable_iterator_get_current_value()
44 return &bucket->value; in php_ds_htable_iterator_get_current_value()
53 ds_htable_bucket_t *bucket = iterator->bucket; in php_ds_htable_iterator_get_current_keyval() local
55 if ( ! DS_HTABLE_BUCKET_DELETED(bucket)) { in php_ds_htable_iterator_get_current_keyval()
56 return &bucket->key; in php_ds_htable_iterator_get_current_keyval()
65 ds_htable_bucket_t *bucket = iterator->bucket; in php_ds_htable_iterator_get_current_key() local
67 if ( ! DS_HTABLE_BUCKET_DELETED(bucket)) { in php_ds_htable_iterator_get_current_key()
68 ZVAL_COPY(key, &bucket->key); in php_ds_htable_iterator_get_current_key()
75 ds_htable_bucket_t *bucket = iterator->bucket; in php_ds_htable_iterator_get_current_pair() local
77 if ( ! DS_HTABLE_BUCKET_DELETED(bucket)) { in php_ds_htable_iterator_get_current_pair()
79 zval *key = &bucket->key; in php_ds_htable_iterator_get_current_pair()
80 zval *val = &bucket->value; in php_ds_htable_iterator_get_current_pair()
109 ++iterator->bucket; in php_ds_htable_iterator_move_forward()
110 } while (DS_HTABLE_BUCKET_DELETED(iterator->bucket)); in php_ds_htable_iterator_move_forward()
119 iterator->bucket = find_starting_bucket(iterator->table); in php_ds_htable_iterator_rewind()