Lines Matching refs:h
35 #define DS_HTABLE_BUCKET_LOOKUP(t, h) ((t)->lookup[h & ((t)->capacity - 1)]) argument
85 #define DS_HTABLE_FOREACH_BUCKET(h, b) \ argument
87 ds_htable_t *_h = h; \
94 #define DS_HTABLE_FOREACH_BUCKET_REVERSED(h, b) \ argument
96 ds_htable_t *_h = h; \
103 #define DS_HTABLE_FOREACH(h, i, k, v) \ argument
106 uint32_t _n = (h)->size; \
107 ds_htable_bucket_t *_b = (h)->buckets; \
115 #define DS_HTABLE_FOREACH_KEY(h, k) \ argument
117 ds_htable_t *_h = h; \
124 #define DS_HTABLE_FOREACH_VALUE(h, v) \ argument
126 ds_htable_t *_h = h; \
133 #define DS_HTABLE_FOREACH_KEY_VALUE(h, k, v) \ argument
135 ds_htable_t *_h = h; \
173 ds_htable_bucket_t *ds_htable_lookup_by_value(ds_htable_t *h, zval *key);
174 ds_htable_bucket_t *ds_htable_lookup_by_key(ds_htable_t *h, zval *key);
178 bool ds_htable_has_keys(ds_htable_t *h, VA_PARAMS);
180 bool ds_htable_has_values(ds_htable_t *h, VA_PARAMS);
181 bool ds_htable_has_value(ds_htable_t *h, zval *value);
182 int ds_htable_remove(ds_htable_t *h, zval *key, zval *return_value);
183 void ds_htable_put(ds_htable_t *h, zval *key, zval *value);
184 void ds_htable_to_array(ds_htable_t *h, zval *arr);
185 void ds_htable_free(ds_htable_t *h);
186 zval *ds_htable_get(ds_htable_t *h, zval *key);
189 void ds_htable_clear(ds_htable_t *h);
190 bool ds_htable_isset(ds_htable_t *h, zval *key, bool check_empty);