38 #define BV_INIT_TO_ONE 0x00000001 39 #define BV_EXTENDABLE 0x00000002 42 #define BV_DEFAULT_BITS 128 45 #define BV_CHUNK_SIZE 64 48 typedef struct bv_struct_tag *
bv_ptr;
50 #if defined BV_MASTER | defined BV_TESTER 53 typedef unsigned char bv_base;
56 #define BV_BASE_BITS (sizeof(bv_base)*8) 59 typedef struct bv_struct_tag {
69 static const uint8 bv_bit_value[8]={
82 static const uint8 bv_bit_mask[9]={
96 static const int8 bv_first_zero[256]={
229 static const int8 bv_num_ones[256]={
363 #if defined c_plusplus || defined __cplusplus 383 #if defined c_plusplus || defined __cplusplus HDFLIBAPI intn bv_set(bv_ptr b, int32 bit_num, bv_bool value)
HDFLIBAPI int32 bv_size(bv_ptr b)
HDFLIBAPI intn bv_clear(bv_ptr b, bv_bool value)
HDFFCLIBAPI intf intf intf intf void * buffer
HDFLIBAPI int32 bv_find(bv_ptr b, int32 last_find, bv_bool value)
HDFLIBAPI uint32 bv_flags(bv_ptr b)
HDFLIBAPI bv_ptr bv_new(int32 num_bits, uint32 flags)
struct bv_struct_tag * bv_ptr
HDFLIBAPI intn bv_get(bv_ptr b, int32 bit_num)
HDFFCLIBAPI intf intf * flags
HDFLIBAPI intn bv_delete(bv_ptr b)