#include <stdio.h>#include <string.h>#include <stdlib.h>#include <assert.h>#include "abc_global.h"#include "misc/vec/vec.h"#include "utilNam.h"
Go to the source code of this file.
Classes | |
| struct | Abc_Nam_t_ |
| DECLARATIONS ///. More... | |
Function*************************************************************
Synopsis [For each ID of the first manager, gives ID of the second one.]
Description []
SideEffects []
SeeAlso []
Definition at line 588 of file utilNam.c.

| void Abc_NamDeref | ( | Abc_Nam_t * | p | ) |
| Abc_Nam_t * Abc_NamLoad | ( | char * | pFileName | ) |
Definition at line 164 of file utilNam.c.

| int Abc_NamMemAlloc | ( | Abc_Nam_t * | p | ) |
Function*************************************************************
Synopsis [Reports memory usage of the manager.]
Description []
SideEffects []
SeeAlso []
| int Abc_NamMemUsed | ( | Abc_Nam_t * | p | ) |
| int Abc_NamObjNumMax | ( | Abc_Nam_t * | p | ) |
| void Abc_NamPrint | ( | Abc_Nam_t * | p, |
| char * | pFileName ) |
Function*************************************************************
Synopsis [Prints manager.]
Description []
SideEffects []
SeeAlso []
Definition at line 134 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 619 of file utilNam.c.

Function*************************************************************
Synopsis [Returns the name that appears in p1 does not appear in p2.]
Description []
SideEffects []
SeeAlso []
Definition at line 643 of file utilNam.c.

| void Abc_NamSave | ( | Abc_Nam_t * | p, |
| char * | pFileName ) |
Function*************************************************************
Synopsis [Writes into a file and reads from a file.]
Description []
SideEffects []
SeeAlso []
Definition at line 156 of file utilNam.c.
| Abc_Nam_t * Abc_NamStart | ( | int | nObjs, |
| int | nAveSize ) |
FUNCTION DEFINITIONS ///.
FUNCTION DECLARATIONS ///.
Function*************************************************************
Synopsis [Creates manager.]
Description []
SideEffects []
SeeAlso []
Definition at line 80 of file utilNam.c.


| void Abc_NamStop | ( | Abc_Nam_t * | p | ) |
Function*************************************************************
Synopsis [Deletes manager.]
Description []
SideEffects []
SeeAlso []
Definition at line 112 of file utilNam.c.

| char * Abc_NamStr | ( | Abc_Nam_t * | p, |
| int | NameId ) |
| 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 ) |
Function*************************************************************
Synopsis [Finds or adds the given name to storage.]
Description []
SideEffects []
SeeAlso []
Definition at line 453 of file utilNam.c.


Definition at line 528 of file utilNam.c.

| int Abc_NamStrFindOrAddLim | ( | Abc_Nam_t * | p, |
| char * | pStr, | ||
| char * | pLim, | ||
| int * | pfFound ) |
Definition at line 492 of file utilNam.c.


Function*************************************************************
Synopsis [Computes hash value of the C-string.]
Description []
SideEffects []
SeeAlso []
Definition at line 285 of file utilNam.c.
Definition at line 322 of file utilNam.c.
| void Abc_NamStrHashResize | ( | Abc_Nam_t * | p | ) |
Function*************************************************************
Synopsis [Resizes the hash table.]
Description []
SideEffects []
SeeAlso []
Definition at line 390 of file utilNam.c.
