Lines Matching defs:dib_raw_t
137 typedef uint8_t dib_raw_t;
138 #define DIB_RAW_OVERFLOW ((dib_raw_t)0xfdU) /* indicates DIB value is greater than representable */
139 #define DIB_RAW_REHASH ((dib_raw_t)0xfeU) /* entry yet to be rehashed during in-place resize */
140 #define DIB_RAW_FREE ((dib_raw_t)0xffU) /* a free bucket */
200 (sizeof(struct direct_storage) / (sizeof(entry_t) + sizeof(dib_raw_t)))
382 static dib_raw_t *dib_raw_ptr(HashmapBase *h) {
383 return (dib_raw_t*)
392 static unsigned bucket_calculate_dib(HashmapBase *h, unsigned idx, dib_raw_t raw_dib) {
420 dib_raw_t *dibs;
497 dib_raw_t raw_dib, *dibs;
722 memset(p, DIB_RAW_INIT, sizeof(dib_raw_t) * hi->n_direct_buckets);
919 dib_raw_t raw_dib, *dibs;
1032 dib_raw_t *old_dibs, *new_dibs;
1061 if (_unlikely_(new_n_buckets > UINT_MAX / (hi->entry_size + sizeof(dib_raw_t))))
1070 new_n_buckets * (hi->entry_size + sizeof(dib_raw_t)),
1082 old_n_buckets * (hi->entry_size + sizeof(dib_raw_t)));
1096 (hi->entry_size + sizeof(dib_raw_t));
1098 old_dibs = (dib_raw_t*)(new_storage + hi->entry_size * old_n_buckets);
1105 * number of buckets and dib_raw_t is smaller than any entry type.
1119 (n_buckets(h) - old_n_buckets) * sizeof(dib_raw_t));
1170 dib_raw_t *dibs = dib_raw_ptr(h);