Searched refs:pBM (Results 1 – 2 of 2) sorted by relevance
91 bitmap_t* pBM = util_Malloc(sizeof(bitmap_t)); in sancov_newBitmap() local92 pBM->capacity = capacity; in sancov_newBitmap()93 pBM->nChunks = (capacity + 31) / 32; in sancov_newBitmap()94 pBM->pChunks = util_Calloc(pBM->nChunks * sizeof(uint32_t)); in sancov_newBitmap()95 return pBM; in sancov_newBitmap()98 static inline bool sancov_queryBitmap(bitmap_t* pBM, uint32_t index) { in sancov_queryBitmap() argument99 if (index > pBM->capacity) { in sancov_queryBitmap()103 if (pBM->pChunks[index / 32] & (1 << (index % 32))) { in sancov_queryBitmap()109 static inline void sancov_setBitmap(bitmap_t* pBM, uint32_t index) { in sancov_setBitmap() argument111 if (index >= pBM->capacity) { in sancov_setBitmap()[all …]
121 bitmap_t* pBM; member