bitmap 26 ewah/bitmap.c struct bitmap *bitmap_new(void) bitmap 28 ewah/bitmap.c struct bitmap *bitmap = ewah_malloc(sizeof(struct bitmap)); bitmap 29 ewah/bitmap.c bitmap->words = ewah_calloc(32, sizeof(eword_t)); bitmap 30 ewah/bitmap.c bitmap->word_alloc = 32; bitmap 31 ewah/bitmap.c return bitmap; bitmap 34 ewah/bitmap.c void bitmap_set(struct bitmap *self, size_t pos) bitmap 51 ewah/bitmap.c void bitmap_clear(struct bitmap *self, size_t pos) bitmap 59 ewah/bitmap.c int bitmap_get(struct bitmap *self, size_t pos) bitmap 66 ewah/bitmap.c struct ewah_bitmap *bitmap_to_ewah(struct bitmap *bitmap) bitmap 72 ewah/bitmap.c for (i = 0; i < bitmap->word_alloc; ++i) { bitmap 73 ewah/bitmap.c if (bitmap->words[i] == 0) { bitmap 86 ewah/bitmap.c last_word = bitmap->words[i]; bitmap 93 ewah/bitmap.c struct bitmap *ewah_to_bitmap(struct ewah_bitmap *ewah) bitmap 95 ewah/bitmap.c struct bitmap *bitmap = bitmap_new(); bitmap 103 ewah/bitmap.c if (i >= bitmap->word_alloc) { bitmap 104 ewah/bitmap.c bitmap->word_alloc *= 1.5; bitmap 105 ewah/bitmap.c bitmap->words = ewah_realloc( bitmap 106 ewah/bitmap.c bitmap->words, bitmap->word_alloc * sizeof(eword_t)); bitmap 109 ewah/bitmap.c bitmap->words[i++] = blowup; bitmap 112 ewah/bitmap.c bitmap->word_alloc = i; bitmap 113 ewah/bitmap.c return bitmap; bitmap 116 ewah/bitmap.c void bitmap_and_not(struct bitmap *self, struct bitmap *other) bitmap 127 ewah/bitmap.c void bitmap_or_ewah(struct bitmap *self, struct ewah_bitmap *other) bitmap 149 ewah/bitmap.c void bitmap_each_bit(struct bitmap *self, ewah_callback callback, void *data) bitmap 173 ewah/bitmap.c size_t bitmap_popcount(struct bitmap *self) bitmap 183 ewah/bitmap.c int bitmap_equals(struct bitmap *self, struct bitmap *other) bitmap 185 ewah/bitmap.c struct bitmap *big, *small; bitmap 209 ewah/bitmap.c void bitmap_reset(struct bitmap *bitmap) bitmap 211 ewah/bitmap.c memset(bitmap->words, 0x0, bitmap->word_alloc * sizeof(eword_t)); bitmap 214 ewah/bitmap.c void bitmap_free(struct bitmap *bitmap) bitmap 216 ewah/bitmap.c if (bitmap == NULL) bitmap 219 ewah/bitmap.c free(bitmap->words); bitmap 220 ewah/bitmap.c free(bitmap); bitmap 216 ewah/ewok.h struct bitmap *bitmap_new(void); bitmap 217 ewah/ewok.h void bitmap_set(struct bitmap *self, size_t pos); bitmap 218 ewah/ewok.h void bitmap_clear(struct bitmap *self, size_t pos); bitmap 219 ewah/ewok.h int bitmap_get(struct bitmap *self, size_t pos); bitmap 220 ewah/ewok.h void bitmap_reset(struct bitmap *self); bitmap 221 ewah/ewok.h void bitmap_free(struct bitmap *self); bitmap 222 ewah/ewok.h int bitmap_equals(struct bitmap *self, struct bitmap *other); bitmap 223 ewah/ewok.h int bitmap_is_subset(struct bitmap *self, struct bitmap *super); bitmap 225 ewah/ewok.h struct ewah_bitmap * bitmap_to_ewah(struct bitmap *bitmap); bitmap 226 ewah/ewok.h struct bitmap *ewah_to_bitmap(struct ewah_bitmap *ewah); bitmap 228 ewah/ewok.h void bitmap_and_not(struct bitmap *self, struct bitmap *other); bitmap 229 ewah/ewok.h void bitmap_or_ewah(struct bitmap *self, struct ewah_bitmap *other); bitmap 230 ewah/ewok.h void bitmap_or(struct bitmap *self, const struct bitmap *other); bitmap 232 ewah/ewok.h void bitmap_each_bit(struct bitmap *self, ewah_callback callback, void *data); bitmap 233 ewah/ewok.h size_t bitmap_popcount(struct bitmap *self); bitmap 98 ewah/ewok_rlw.h void rlwit_init(struct rlw_iterator *it, struct ewah_bitmap *bitmap); bitmap 16 pack-bitmap-write.c struct ewah_bitmap *bitmap; bitmap 118 pack-bitmap-write.c writer.selected[writer.selected_nr].bitmap = reused; bitmap 154 pack-bitmap-write.c struct bitmap *base = data; bitmap 165 pack-bitmap-write.c add_to_include_set(struct bitmap *base, struct commit *commit) bitmap 176 pack-bitmap-write.c bitmap_or_ewah(base, bc->bitmap); bitmap 187 pack-bitmap-write.c struct bitmap *base = _data; bitmap 216 pack-bitmap-write.c struct ewah_bitmap *best_bitmap = stored->bitmap; bitmap 226 pack-bitmap-write.c ewah_xor(writer.selected[curr].bitmap, stored->bitmap, test_xor); bitmap 229 pack-bitmap-write.c if (best_bitmap != stored->bitmap) bitmap 251 pack-bitmap-write.c struct bitmap *base = bitmap_new(); bitmap 282 pack-bitmap-write.c if (stored->bitmap == NULL) { bitmap 303 pack-bitmap-write.c stored->bitmap = bitmap_to_ewah(base); bitmap 455 pack-bitmap-write.c static inline void dump_bitmap(struct sha1file *f, struct ewah_bitmap *bitmap) bitmap 457 pack-bitmap-write.c if (ewah_serialize_to(bitmap, sha1write_ewah_helper, f) < 0) bitmap 87 pack-bitmap.c struct bitmap *result; bitmap 221 pack-bitmap.c struct ewah_bitmap *bitmap = NULL; bitmap 232 pack-bitmap.c bitmap = read_bitmap_1(index); bitmap 233 pack-bitmap.c if (!bitmap) bitmap 247 pack-bitmap.c index, bitmap, sha1, xor_bitmap, flags); bitmap 365 pack-bitmap.c struct bitmap *base; bitmap 366 pack-bitmap.c struct bitmap *seen; bitmap 428 pack-bitmap.c struct bitmap *base = data; bitmap 492 pack-bitmap.c static struct bitmap *find_objects(struct rev_info *revs, bitmap 494 pack-bitmap.c struct bitmap *seen) bitmap 496 pack-bitmap.c struct bitmap *base = NULL; bitmap 588 pack-bitmap.c static void show_extended_objects(struct bitmap *objects, bitmap 606 pack-bitmap.c struct bitmap *objects, bitmap 674 pack-bitmap.c struct bitmap *wants_bitmap = NULL; bitmap 675 pack-bitmap.c struct bitmap *haves_bitmap = NULL; bitmap 767 pack-bitmap.c struct bitmap *result = bitmap_git.result; bitmap 837 pack-bitmap.c static uint32_t count_object_type(struct bitmap *objects, bitmap 900 pack-bitmap.c struct bitmap *base; bitmap 936 pack-bitmap.c struct bitmap *result = NULL; bitmap 993 pack-bitmap.c struct bitmap *dest) bitmap 1028 pack-bitmap.c struct bitmap *rebuild; bitmap 395 shallow.c uint32_t *bitmap = paint_alloc(info); bitmap 399 shallow.c memset(bitmap, 0, bitmap_size); bitmap 400 shallow.c bitmap[id / 32] |= (1 << (id % 32)); bitmap 418 shallow.c *refs = bitmap; bitmap 422 shallow.c tmp[i] |= bitmap[i]; bitmap 576 shallow.c static void update_refstatus(int *ref_status, int nr, uint32_t *bitmap) bitmap 582 shallow.c if (bitmap[i / 32] & (1 << (i % 32))) bitmap 595 shallow.c uint32_t **bitmap; bitmap 609 shallow.c bitmap = ref_bitmap_at(ref_bitmap, c); bitmap 610 shallow.c if (!*bitmap) bitmap 613 shallow.c if (bitmap[0][j]) { bitmap 614 shallow.c update_refstatus(ref_status, info->ref->nr, *bitmap); bitmap 630 shallow.c bitmap = ref_bitmap_at(ref_bitmap, c); bitmap 631 shallow.c if (!*bitmap) bitmap 634 shallow.c if (bitmap[0][j] && bitmap 637 shallow.c update_refstatus(ref_status, info->ref->nr, *bitmap);