HAL  v4.5.0-83-g30c8f0afc
The Hardware Analyzer - a comprehensive reverse engineering and manipulation framework for gate-level netlists.
smallset_t Class Reference
Collaboration diagram for smallset_t:
Collaboration graph

Public Member Functions

 smallset_t (int preset=0)
 
void set (u8 bit)
 
bool is_set (u8 bit) const
 
void dump () const
 
smallset_t operator| (const smallset_t &other) const
 
smallset_t operator& (const smallset_t &other) const
 
smallset_t operator^ (const smallset_t &other) const
 
smallset_t shuffle (u8 shift) const
 
void to_array (u64 *arr, bool swap=false) const
 
u8 least_bit () const
 
int size () const
 
bool empty () const
 

Static Public Member Functions

static int least_bit (u64 dw)
 
static int size (u64 dw, int level)
 

Detailed Description

Definition at line 28 of file sbox_database.cpp.

Constructor & Destructor Documentation

◆ smallset_t()

smallset_t::smallset_t ( int  preset = 0)

Definition at line 57 of file sbox_database.cpp.

Member Function Documentation

◆ dump()

void smallset_t::dump ( ) const

Definition at line 236 of file sbox_database.cpp.

References _ONE_.

◆ empty()

bool smallset_t::empty ( ) const

Definition at line 83 of file sbox_database.cpp.

◆ is_set()

bool smallset_t::is_set ( u8  bit) const

Definition at line 185 of file sbox_database.cpp.

References _ONE_.

◆ least_bit() [1/2]

u8 smallset_t::least_bit ( ) const

Definition at line 95 of file sbox_database.cpp.

◆ least_bit() [2/2]

int smallset_t::least_bit ( u64  dw)
static

Definition at line 215 of file sbox_database.cpp.

◆ operator&()

smallset_t smallset_t::operator& ( const smallset_t other) const

Definition at line 257 of file sbox_database.cpp.

◆ operator^()

smallset_t smallset_t::operator^ ( const smallset_t other) const

Definition at line 265 of file sbox_database.cpp.

◆ operator|()

smallset_t smallset_t::operator| ( const smallset_t other) const

Definition at line 249 of file sbox_database.cpp.

◆ set()

void smallset_t::set ( u8  bit)

Definition at line 180 of file sbox_database.cpp.

References _ONE_.

◆ shuffle()

smallset_t smallset_t::shuffle ( u8  shift) const

Definition at line 108 of file sbox_database.cpp.

◆ size() [1/2]

int smallset_t::size ( ) const

Definition at line 190 of file sbox_database.cpp.

Referenced by size().

◆ size() [2/2]

int smallset_t::size ( u64  dw,
int  level 
)
static

Definition at line 198 of file sbox_database.cpp.

References size().

◆ to_array()

void smallset_t::to_array ( u64 arr,
bool  swap = false 
) const

Definition at line 172 of file sbox_database.cpp.


The documentation for this class was generated from the following file: