tlds
Transactional Operations for Linked Data Structures
|
#include "types.h"
Go to the source code of this file.
Classes | |
struct | bitmap |
Macros | |
#define | PBITMAP_ALLOC(n) Pbitmap_alloc(n) |
#define | PBITMAP_FREE(b) Pbitmap_free(b) |
#define | PBITMAP_SET(b, i) bitmap_set(b, i) |
#define | PBITMAP_CLEAR(b, i) bitmap_clear(b, i) |
#define | PBITMAP_CLEARALL(b) bitmap_clearAll(b) |
#define | PBITMAP_ISSET(b, i) bitmap_isSet(b, i) |
#define | PBITMAP_FINDCLEAR(b, i) bitmap_findClear(b, i) |
#define | PBITMAP_FINDSET(b, i) bitmap_findSet(b, i) |
#define | PBITMAP_GETNUMCLEAR(b) bitmap_getNumClear(b) |
#define | PBITMAP_GETNUMSET(b) bitmap_getNumSet(b) |
#define | PBITMAP_COPY(b) bitmap_copy(b) |
#define | PBITMAP_TOGGLEALL(b) bitmap_toggleAll(b) |
Typedefs | |
typedef struct bitmap | bitmap_t |
Functions | |
bitmap_t * | bitmap_alloc (long numBit) |
bitmap_t * | Pbitmap_alloc (long numBit) |
void | bitmap_free (bitmap_t *bitmapPtr) |
void | Pbitmap_free (bitmap_t *bitmapPtr) |
bool_t | bitmap_set (bitmap_t *bitmapPtr, long i) |
bool_t | bitmap_clear (bitmap_t *bitmapPtr, long i) |
void | bitmap_clearAll (bitmap_t *bitmapPtr) |
bool_t | bitmap_isSet (bitmap_t *bitmapPtr, long i) |
long | bitmap_findClear (bitmap_t *bitmapPtr, long startIndex) |
long | bitmap_findSet (bitmap_t *bitmapPtr, long startIndex) |
long | bitmap_getNumClear (bitmap_t *bitmapPtr) |
long | bitmap_getNumSet (bitmap_t *bitmapPtr) |
void | bitmap_copy (bitmap_t *dstPtr, bitmap_t *srcPtr) |
void | bitmap_toggleAll (bitmap_t *bitmapPtr) |
#define PBITMAP_ALLOC | ( | n | ) | Pbitmap_alloc(n) |
#define PBITMAP_CLEAR | ( | b, | |
i | |||
) | bitmap_clear(b, i) |
#define PBITMAP_CLEARALL | ( | b | ) | bitmap_clearAll(b) |
#define PBITMAP_COPY | ( | b | ) | bitmap_copy(b) |
#define PBITMAP_FINDCLEAR | ( | b, | |
i | |||
) | bitmap_findClear(b, i) |
#define PBITMAP_FINDSET | ( | b, | |
i | |||
) | bitmap_findSet(b, i) |
#define PBITMAP_FREE | ( | b | ) | Pbitmap_free(b) |
#define PBITMAP_GETNUMCLEAR | ( | b | ) | bitmap_getNumClear(b) |
#define PBITMAP_GETNUMSET | ( | b | ) | bitmap_getNumSet(b) |
#define PBITMAP_ISSET | ( | b, | |
i | |||
) | bitmap_isSet(b, i) |
#define PBITMAP_SET | ( | b, | |
i | |||
) | bitmap_set(b, i) |
#define PBITMAP_TOGGLEALL | ( | b | ) | bitmap_toggleAll(b) |
bitmap_t* bitmap_alloc | ( | long | numBit | ) |
void bitmap_clearAll | ( | bitmap_t * | bitmapPtr | ) |
long bitmap_findClear | ( | bitmap_t * | bitmapPtr, |
long | startIndex | ||
) |
long bitmap_findSet | ( | bitmap_t * | bitmapPtr, |
long | startIndex | ||
) |
void bitmap_free | ( | bitmap_t * | bitmapPtr | ) |
long bitmap_getNumClear | ( | bitmap_t * | bitmapPtr | ) |
long bitmap_getNumSet | ( | bitmap_t * | bitmapPtr | ) |
void bitmap_toggleAll | ( | bitmap_t * | bitmapPtr | ) |
bitmap_t* Pbitmap_alloc | ( | long | numBit | ) |
void Pbitmap_free | ( | bitmap_t * | bitmapPtr | ) |