Lines Matching refs:dib_raw_t
133 typedef uint8_t dib_raw_t;
134 #define DIB_RAW_OVERFLOW ((dib_raw_t)0xfdU) /* indicates DIB value is greater than representable */
135 #define DIB_RAW_REHASH ((dib_raw_t)0xfeU) /* entry yet to be rehashed during in-place resize */
136 #define DIB_RAW_FREE ((dib_raw_t)0xffU) /* a free bucket */
195 (sizeof(struct direct_storage) / (sizeof(entry_t) + sizeof(dib_raw_t)))
436 static dib_raw_t *dib_raw_ptr(HashmapBase *h) {
437 return (dib_raw_t*)
446 static unsigned bucket_calculate_dib(HashmapBase *h, unsigned idx, dib_raw_t raw_dib) {
474 dib_raw_t *dibs;
551 dib_raw_t raw_dib, *dibs;
772 memset(p, DIB_RAW_INIT, sizeof(dib_raw_t) * hi->n_direct_buckets);
965 dib_raw_t raw_dib, *dibs;
1078 dib_raw_t *old_dibs, *new_dibs;
1107 if (_unlikely_(new_n_buckets > UINT_MAX / (hi->entry_size + sizeof(dib_raw_t))))
1116 new_n_buckets * (hi->entry_size + sizeof(dib_raw_t)),
1128 old_n_buckets * (hi->entry_size + sizeof(dib_raw_t)));
1142 (hi->entry_size + sizeof(dib_raw_t));
1144 old_dibs = (dib_raw_t*)(new_storage + hi->entry_size * old_n_buckets);
1151 * number of buckets and dib_raw_t is smaller than any entry type.
1165 (n_buckets(h) - old_n_buckets) * sizeof(dib_raw_t));
1216 dib_raw_t *dibs = dib_raw_ptr(h);