eword_t 23 ewah/bitmap.c #define EWAH_MASK(x) ((eword_t)1 << (x % BITS_IN_EWORD)) eword_t 29 ewah/bitmap.c bitmap->words = ewah_calloc(32, sizeof(eword_t)); eword_t 42 ewah/bitmap.c self->word_alloc * sizeof(eword_t)); eword_t 45 ewah/bitmap.c (self->word_alloc - old_size) * sizeof(eword_t)); eword_t 70 ewah/bitmap.c eword_t last_word = 0; eword_t 97 ewah/bitmap.c eword_t blowup; eword_t 106 ewah/bitmap.c bitmap->words, bitmap->word_alloc * sizeof(eword_t)); eword_t 133 ewah/bitmap.c eword_t word; eword_t 138 ewah/bitmap.c self->word_alloc * sizeof(eword_t)); eword_t 140 ewah/bitmap.c (self->word_alloc - original_size) * sizeof(eword_t)); eword_t 154 ewah/bitmap.c eword_t word = self->words[i]; eword_t 157 ewah/bitmap.c if (word == (eword_t)~0) { eword_t 211 ewah/bitmap.c memset(bitmap->words, 0x0, bitmap->word_alloc * sizeof(eword_t)); eword_t 43 ewah/ewah_bitmap.c self->alloc_size * sizeof(eword_t)); eword_t 44 ewah/ewah_bitmap.c self->rlw = self->buffer + (rlw_offset / sizeof(eword_t)); eword_t 47 ewah/ewah_bitmap.c static inline void buffer_push(struct ewah_bitmap *self, eword_t value) eword_t 55 ewah/ewah_bitmap.c static void buffer_push_rlw(struct ewah_bitmap *self, eword_t value) eword_t 64 ewah/ewah_bitmap.c eword_t runlen, can_add; eword_t 109 ewah/ewah_bitmap.c static size_t add_literal(struct ewah_bitmap *self, eword_t new_data) eword_t 111 ewah/ewah_bitmap.c eword_t current_num = rlw_get_literal_words(self->rlw); eword_t 131 ewah/ewah_bitmap.c struct ewah_bitmap *self, const eword_t *buffer, eword_t 151 ewah/ewah_bitmap.c buffer, can_add * sizeof(eword_t)); eword_t 169 ewah/ewah_bitmap.c eword_t run_len = rlw_get_running_len(self->rlw); eword_t 198 ewah/ewah_bitmap.c size_t ewah_add(struct ewah_bitmap *self, eword_t word) eword_t 205 ewah/ewah_bitmap.c if (word == (eword_t)(~0)) eword_t 225 ewah/ewah_bitmap.c add_literal(self, (eword_t)1 << (i % BITS_IN_EWORD)); eword_t 232 ewah/ewah_bitmap.c add_literal(self, (eword_t)1 << (i % BITS_IN_EWORD)); eword_t 237 ewah/ewah_bitmap.c ((eword_t)1 << (i % BITS_IN_EWORD)); eword_t 240 ewah/ewah_bitmap.c if (self->buffer[self->buffer_size - 1] == (eword_t)(~0)) { eword_t 255 ewah/ewah_bitmap.c eword_t *word = &self->buffer[pointer]; eword_t 272 ewah/ewah_bitmap.c if ((self->buffer[pointer] & ((eword_t)1 << c)) != 0) eword_t 289 ewah/ewah_bitmap.c self->buffer = ewah_malloc(32 * sizeof(eword_t)); eword_t 317 ewah/ewah_bitmap.c const eword_t *word = NULL; eword_t 341 ewah/ewah_bitmap.c int ewah_iterator_next(eword_t *next, struct ewah_iterator *it) eword_t 348 ewah/ewah_bitmap.c *next = it->b ? (eword_t)(~0) : 0; eword_t 389 ewah/ewah_bitmap.c eword_t *word = &self->buffer[pointer]; eword_t 708 ewah/ewah_bitmap.c size_t size = self->buffer_size * sizeof(eword_t); eword_t 55 ewah/ewah_io.c eword_t dump[2048]; eword_t 56 ewah/ewah_io.c const size_t words_per_dump = sizeof(dump) / sizeof(eword_t); eword_t 59 ewah/ewah_io.c const eword_t *buffer; eword_t 96 ewah/ewah_io.c rlw_pos = htonl(rlw_pos / sizeof(eword_t)); eword_t 138 ewah/ewah_io.c self->alloc_size * sizeof(eword_t)); eword_t 163 ewah/ewah_io.c eword_t dump[2048]; eword_t 164 ewah/ewah_io.c const size_t words_per_dump = sizeof(dump) / sizeof(eword_t); eword_t 167 ewah/ewah_io.c eword_t *buffer = NULL; eword_t 184 ewah/ewah_io.c self->alloc_size * sizeof(eword_t)); eword_t 35 ewah/ewok.h #define BITS_IN_EWORD (sizeof(eword_t) * 8) eword_t 69 ewah/ewok.h eword_t *buffer; eword_t 73 ewah/ewok.h eword_t *rlw; eword_t 145 ewah/ewok.h const eword_t *buffer; eword_t 149 ewah/ewok.h eword_t compressed, literals; eword_t 150 ewah/ewok.h eword_t rl, lw; eword_t 176 ewah/ewok.h int ewah_iterator_next(eword_t *next, struct ewah_iterator *it); eword_t 203 ewah/ewok.h struct ewah_bitmap *self, const eword_t *buffer, size_t number, int negate); eword_t 204 ewah/ewok.h size_t ewah_add(struct ewah_bitmap *self, eword_t word); eword_t 212 ewah/ewok.h eword_t *words; eword_t 23 ewah/ewok_rlw.h #define RLW_RUNNING_BITS (sizeof(eword_t) * 4) eword_t 24 ewah/ewok_rlw.h #define RLW_LITERAL_BITS (sizeof(eword_t) * 8 - 1 - RLW_RUNNING_BITS) eword_t 26 ewah/ewok_rlw.h #define RLW_LARGEST_RUNNING_COUNT (((eword_t)1 << RLW_RUNNING_BITS) - 1) eword_t 27 ewah/ewok_rlw.h #define RLW_LARGEST_LITERAL_COUNT (((eword_t)1 << RLW_LITERAL_BITS) - 1) eword_t 31 ewah/ewok_rlw.h #define RLW_RUNNING_LEN_PLUS_BIT (((eword_t)1 << (RLW_RUNNING_BITS + 1)) - 1) eword_t 33 ewah/ewok_rlw.h static int rlw_get_run_bit(const eword_t *word) eword_t 35 ewah/ewok_rlw.h return *word & (eword_t)1; eword_t 38 ewah/ewok_rlw.h static inline void rlw_set_run_bit(eword_t *word, int b) eword_t 41 ewah/ewok_rlw.h *word |= (eword_t)1; eword_t 43 ewah/ewok_rlw.h *word &= (eword_t)(~1); eword_t 47 ewah/ewok_rlw.h static inline void rlw_xor_run_bit(eword_t *word) eword_t 50 ewah/ewok_rlw.h *word &= (eword_t)(~1); eword_t 52 ewah/ewok_rlw.h *word |= (eword_t)1; eword_t 56 ewah/ewok_rlw.h static inline void rlw_set_running_len(eword_t *word, eword_t l) eword_t 62 ewah/ewok_rlw.h static inline eword_t rlw_get_running_len(const eword_t *word) eword_t 67 ewah/ewok_rlw.h static inline eword_t rlw_get_literal_words(const eword_t *word) eword_t 72 ewah/ewok_rlw.h static inline void rlw_set_literal_words(eword_t *word, eword_t l) eword_t 78 ewah/ewok_rlw.h static inline eword_t rlw_size(const eword_t *self) eword_t 84 ewah/ewok_rlw.h const eword_t *buffer; eword_t 90 ewah/ewok_rlw.h const eword_t *word; eword_t 615 pack-bitmap.c eword_t filter; eword_t 623 pack-bitmap.c eword_t word = objects->words[i] & filter; eword_t 774 pack-bitmap.c if (result->words[i] != (eword_t)~0) { eword_t 844 pack-bitmap.c eword_t filter; eword_t 868 pack-bitmap.c eword_t word = objects->words[i++] & filter; eword_t 997 pack-bitmap.c eword_t word;