Defines | Typedefs | Functions

x_prop.h File Reference

Go to the source code of this file.

Defines

#define _X_PROP_TYPE_SIZE_LOG2_   5
#define _X_PROP_TYPE_SIZE_   (sizeof(_X_PROP_TYPE_) * 8)

Typedefs

typedef UINT32 _X_PROP_TYPE_
typedef _X_BASE_TYPE_ _X_PROP_LOCAL_BASE_TYPE_

Functions

_X_PROP_TYPE__X_PROP_CREATE_ (INT32 universe_size, MEM_POOL *pool)
void _X_PROP_SET_ (_X_PROP_TYPE_ *prop, _X_PROP_LOCAL_BASE_TYPE_ x)
void _X_PROP_RESET_ (_X_PROP_TYPE_ *prop, _X_PROP_LOCAL_BASE_TYPE_ x)
BOOL _X_PROP_GET_ (_X_PROP_TYPE_ *prop, _X_PROP_LOCAL_BASE_TYPE_ x)
void _X_PROP_UNIOND_ (_X_PROP_TYPE_ *prop0, _X_PROP_TYPE_ *prop1)
BOOL _X_PROP_INTERSECTION_IS_NONEMPTY_ (_X_PROP_TYPE_ *prop0, _X_PROP_TYPE_ *prop1)

Define Documentation

#define _X_PROP_TYPE_SIZE_   (sizeof(_X_PROP_TYPE_) * 8)
#define _X_PROP_TYPE_SIZE_LOG2_   5

Typedef Documentation

typedef _X_BASE_TYPE_ _X_PROP_LOCAL_BASE_TYPE_

Definition at line 138 of file x_prop.h.

Definition at line 133 of file x_prop.h.


Function Documentation

_X_PROP_TYPE_* _X_PROP_CREATE_ ( INT32  universe_size,
MEM_POOL pool 
)

Definition at line 50 of file x_prop.c.

References _X_PROP_TYPE_SIZE_, _X_PROP_TYPE_SIZE_LOG2_, bzero(), MEM_POOL_Zeroed, and TYPE_MEM_POOL_ALLOC_N.

Here is the call graph for this function:

BOOL _X_PROP_GET_ ( _X_PROP_TYPE_ prop,
_X_PROP_LOCAL_BASE_TYPE_  x 
)

Definition at line 125 of file x_prop.c.

References _X_PROP_TYPE_SIZE_, _X_PROP_TYPE_SIZE_LOG2_, and Is_True.

BOOL _X_PROP_INTERSECTION_IS_NONEMPTY_ ( _X_PROP_TYPE_ prop0,
_X_PROP_TYPE_ prop1 
)

Definition at line 175 of file x_prop.c.

References _X_PROP_TYPE_SIZE_, _X_PROP_TYPE_SIZE_LOG2_, and Is_True.

void _X_PROP_RESET_ ( _X_PROP_TYPE_ prop,
_X_PROP_LOCAL_BASE_TYPE_  x 
)

Definition at line 101 of file x_prop.c.

References _X_PROP_TYPE_SIZE_, _X_PROP_TYPE_SIZE_LOG2_, and Is_True.

void _X_PROP_SET_ ( _X_PROP_TYPE_ prop,
_X_PROP_LOCAL_BASE_TYPE_  x 
)

Definition at line 77 of file x_prop.c.

References _X_PROP_TYPE_SIZE_, _X_PROP_TYPE_SIZE_LOG2_, and Is_True.

void _X_PROP_UNIOND_ ( _X_PROP_TYPE_ prop0,
_X_PROP_TYPE_ prop1 
)

Definition at line 149 of file x_prop.c.

References _X_PROP_TYPE_SIZE_, _X_PROP_TYPE_SIZE_LOG2_, and Is_True.