216 #define PBITMAP_ALLOC(n) Pbitmap_alloc(n)
217 #define PBITMAP_FREE(b) Pbitmap_free(b)
218 #define PBITMAP_SET(b, i) bitmap_set(b, i)
219 #define PBITMAP_CLEAR(b, i) bitmap_clear(b, i)
220 #define PBITMAP_CLEARALL(b) bitmap_clearAll(b)
221 #define PBITMAP_ISSET(b, i) bitmap_isSet(b, i)
222 #define PBITMAP_FINDCLEAR(b, i) bitmap_findClear(b, i)
223 #define PBITMAP_FINDSET(b, i) bitmap_findSet(b, i)
224 #define PBITMAP_GETNUMCLEAR(b) bitmap_getNumClear(b)
225 #define PBITMAP_GETNUMSET(b) bitmap_getNumSet(b)
226 #define PBITMAP_COPY(b) bitmap_copy(b)
227 #define PBITMAP_TOGGLEALL(b) bitmap_toggleAll(b)
void bitmap_toggleAll(bitmap_t *bitmapPtr)
Definition: bitmap.c:353
void bitmap_clearAll(bitmap_t *bitmapPtr)
Definition: bitmap.c:213
bool_t bitmap_set(bitmap_t *bitmapPtr, long i)
Definition: bitmap.c:176
long numWord
Definition: bitmap.h:86
void bitmap_free(bitmap_t *bitmapPtr)
Definition: bitmap.c:149
long bitmap_getNumSet(bitmap_t *bitmapPtr)
Definition: bitmap.c:319
int bool_t
Definition: portable_defns.h:32
bitmap_t * bitmap_alloc(long numBit)
Definition: bitmap.c:91
bitmap_t * Pbitmap_alloc(long numBit)
Definition: bitmap.c:120
bool_t bitmap_clear(bitmap_t *bitmapPtr, long i)
Definition: bitmap.c:195
long bitmap_getNumClear(bitmap_t *bitmapPtr)
Definition: bitmap.c:306
void bitmap_copy(bitmap_t *dstPtr, bitmap_t *srcPtr)
Definition: bitmap.c:341
long bitmap_findSet(bitmap_t *bitmapPtr, long startIndex)
Definition: bitmap.c:285
void Pbitmap_free(bitmap_t *bitmapPtr)
Definition: bitmap.c:161
long numBit
Definition: bitmap.h:85
long bitmap_findClear(bitmap_t *bitmapPtr, long startIndex)
Definition: bitmap.c:261
bool_t bitmap_isSet(bitmap_t *bitmapPtr, long i)
Definition: bitmap.c:242
ulong_t * bits
Definition: bitmap.h:87