abc-master
|
Go to the source code of this file.
Macros | |
#define | Abc_NamManForEachObj(p, pStr, i) for ( i = 1; (i < Abc_NamObjNumMax(p)) && ((pStr) = Abc_NamStr(p, i)); i++ ) |
MACRO DEFINITIONS ///. More... | |
Typedefs | |
typedef typedefABC_NAMESPACE_HEADER_START struct Abc_Nam_t_ | Abc_Nam_t |
INCLUDES ///. More... | |
Functions | |
Abc_Nam_t * | Abc_NamStart (int nObjs, int nAveSize) |
FUNCTION DECLARATIONS ///. More... | |
void | Abc_NamStop (Abc_Nam_t *p) |
void | Abc_NamPrint (Abc_Nam_t *p) |
Abc_Nam_t * | Abc_NamRef (Abc_Nam_t *p) |
void | Abc_NamDeref (Abc_Nam_t *p) |
int | Abc_NamObjNumMax (Abc_Nam_t *p) |
int | Abc_NamMemUsed (Abc_Nam_t *p) |
int | Abc_NamMemAlloc (Abc_Nam_t *p) |
int | Abc_NamStrFind (Abc_Nam_t *p, char *pStr) |
int | Abc_NamStrFindLim (Abc_Nam_t *p, char *pStr, char *pLim) |
int | Abc_NamStrFindOrAdd (Abc_Nam_t *p, char *pStr, int *pfFound) |
int | Abc_NamStrFindOrAddLim (Abc_Nam_t *p, char *pStr, char *pLim, int *pfFound) |
char * | Abc_NamStr (Abc_Nam_t *p, int id) |
Vec_Int_t * | Abc_NamComputeIdMap (Abc_Nam_t *p1, Abc_Nam_t *p2) |
int | Abc_NamReportCommon (Vec_Int_t *vNameIds1, Abc_Nam_t *p1, Abc_Nam_t *p2) |
char * | Abc_NamReportUnique (Vec_Int_t *vNameIds1, Abc_Nam_t *p1, Abc_Nam_t *p2) |
#define Abc_NamManForEachObj | ( | p, | |
pStr, | |||
i | |||
) | for ( i = 1; (i < Abc_NamObjNumMax(p)) && ((pStr) = Abc_NamStr(p, i)); i++ ) |
typedef typedefABC_NAMESPACE_HEADER_START struct Abc_Nam_t_ Abc_Nam_t |
INCLUDES ///.
CFile****************************************************************
FileName [utilNam.h]
SystemName [ABC: Logic synthesis and verification system.]
PackageName [Memory recycling utilities.]
Synopsis [Internal declarations.]
Author [Alan Mishchenko]
Affiliation [UC Berkeley]
Date [Ver. 1.0. Started - June 20, 2005.]
Revision [
]PARAMETERS ///BASIC TYPES ///
Function*************************************************************
Synopsis [For each ID of the first manager, gives ID of the second one.]
Description []
SideEffects []
SeeAlso []
Definition at line 495 of file utilNam.c.
void Abc_NamDeref | ( | Abc_Nam_t * | p | ) |
int Abc_NamMemAlloc | ( | Abc_Nam_t * | p | ) |
Function*************************************************************
Synopsis [Reports memory usage of the manager.]
Description []
SideEffects []
SeeAlso []
Definition at line 221 of file utilNam.c.
int Abc_NamMemUsed | ( | Abc_Nam_t * | p | ) |
Function*************************************************************
Synopsis [Reports memory usage of the manager.]
Description []
SideEffects []
SeeAlso []
Definition at line 202 of file utilNam.c.
int Abc_NamObjNumMax | ( | Abc_Nam_t * | p | ) |
void Abc_NamPrint | ( | Abc_Nam_t * | p | ) |
Function*************************************************************
Synopsis [Prints manager.]
Description []
SideEffects []
SeeAlso []
Definition at line 131 of file utilNam.c.
Function*************************************************************
Synopsis [Returns the number of common names in the array.]
Description [The array contains name IDs in the first manager. The procedure returns the number of entries that correspond to names in the first manager that appear in the second manager.]
SideEffects []
SeeAlso []
Definition at line 526 of file utilNam.c.
Function*************************************************************
Synopsis [Returns the name that appears in p1 does not appear in p2.]
Description []
SideEffects []
SeeAlso []
Definition at line 550 of file utilNam.c.
Abc_Nam_t* Abc_NamStart | ( | int | nObjs, |
int | nAveSize | ||
) |
FUNCTION DECLARATIONS ///.
FUNCTION DECLARATIONS ///.
Function*************************************************************
Synopsis [Creates manager.]
Description []
SideEffects []
SeeAlso []
Definition at line 78 of file utilNam.c.
void Abc_NamStop | ( | Abc_Nam_t * | p | ) |
char* Abc_NamStr | ( | Abc_Nam_t * | p, |
int | NameId | ||
) |
int Abc_NamStrFind | ( | Abc_Nam_t * | p, |
char * | pStr | ||
) |
Function*************************************************************
Synopsis [Returns the index of the string in the table.]
Description []
SideEffects []
SeeAlso []
Definition at line 372 of file utilNam.c.
int Abc_NamStrFindLim | ( | Abc_Nam_t * | p, |
char * | pStr, | ||
char * | pLim | ||
) |
Definition at line 376 of file utilNam.c.
int Abc_NamStrFindOrAdd | ( | Abc_Nam_t * | p, |
char * | pStr, | ||
int * | pfFound | ||
) |
Function*************************************************************
Synopsis [Finds or adds the given name to storage.]
Description []
SideEffects []
SeeAlso []
Definition at line 392 of file utilNam.c.
int Abc_NamStrFindOrAddLim | ( | Abc_Nam_t * | p, |
char * | pStr, | ||
char * | pLim, | ||
int * | pfFound | ||
) |
Definition at line 431 of file utilNam.c.