Searched refs:BITMAP_BYTES (Results 1 – 1 of 1) sorted by relevance
27 #define BITMAP_BYTES (sizeof(BITMAP_WTYPE)) macro43 if ((ret->d = calloc(1, BITMAP_BYTES)) == NULL) { in bitmap_new()65 memset(b->d, 0, b->len * BITMAP_BYTES); in bitmap_zero()89 if ((tmp = reallocarray(b->d, nlen, BITMAP_BYTES)) == NULL) in reserve()92 memset(b->d + b->len, 0, (nlen - b->len) * BITMAP_BYTES); in reserve()177 for (j = 0; j < BITMAP_BYTES; j++) { in bitmap_to_string()200 b->top = offset = ((l + (BITMAP_BYTES - 1)) / BITMAP_BYTES) - 1; in bitmap_from_string()201 shift = ((l + (BITMAP_BYTES - 1)) % BITMAP_BYTES) * 8; in bitmap_from_string()