9 #define BITWORD_BITS (sizeof(RBitword) * 8)
10 #define BITWORD_BITS_MASK (BITWORD_BITS - 1)
11 #define BITWORD_MULT(bit) (((bit) + (BITWORD_BITS_MASK)) & ~(BITWORD_BITS_MASK))
12 #define BITWORD_TEST(x, y) (((x) >> (y)) & 1)
14 #define BITMAP_WORD_COUNT(bit) (BITWORD_MULT(bit) >> BITWORD_BITS_SHIFT)
27 if (
b->length <
len) {
#define BITWORD_BITS_MASK
RZ_API RzBitmap * rz_bitmap_new(size_t len)
RZ_API void rz_bitmap_set_bytes(RzBitmap *b, const ut8 *buf, int len)
RZ_API void rz_bitmap_set(RzBitmap *b, size_t bit)
#define BITWORD_TEST(x, y)
RZ_API int rz_bitmap_test(RzBitmap *b, size_t bit)
RZ_API void rz_bitmap_free(RzBitmap *b)
RZ_API void rz_bitmap_unset(RzBitmap *b, size_t bit)
#define BITMAP_WORD_COUNT(bit)
static static sync static getppid static getegid const char static filename char static len const char char static bufsiz static mask static vfork const void static prot static getpgrp const char static swapflags static arg static fd static protocol static who struct sockaddr static addrlen static backlog struct timeval struct timezone static tz const struct iovec static count static mode const void const struct sockaddr static tolen const char static pathname void static offset struct stat static buf void long static basep static whence static length const void static len static semflg const void static shmflg const struct timespec struct timespec static rem const char static group const void length
RZ_API void Ht_() free(HtName_(Ht) *ht)
memcpy(mem, inblock.get(), min(CONTAINING_RECORD(inblock.get(), MEMBLOCK, data) ->size, size))
void * calloc(size_t number, size_t size)
#define BITWORD_BITS_SHIFT