#include <stdio.h>#include <string.h>#include <stdlib.h>#include <assert.h>#include "abc_global.h"
Go to the source code of this file.
Classes | |
| struct | Vec_Mem_t_ |
Macros | |
| #define | ABC_MEM_ALLOC(type, num) |
| #define | ABC_MEM_CALLOC(type, num) |
| #define | ABC_MEM_FALLOC(type, num) |
| #define | ABC_MEM_FREE(obj) |
| #define | ABC_MEM_REALLOC(type, obj, num) |
Typedefs | |
| typedef typedefABC_NAMESPACE_IMPL_START struct Vec_Mem_t_ | Vec_Mem_t |
| DECLARATIONS ///. | |
Functions | |
| void * | Util_MemRecAlloc (void *pMem) |
| BASIC TYPES ///. | |
| void * | Util_MemRecFree (void *pMem) |
| int | Util_ComparePointers (void **pp1, void **pp2) |
| void | Util_MemRecRecycle () |
| void | Util_MemRecStart () |
| void | Util_MemRecQuit () |
| int | Util_MemRecIsSet () |
Variables | |
| void * | s_vAllocs = NULL |
| INCLUDES ///. | |
| void * | s_vFrees = NULL |
| int | s_fInterrupt = 0 |
| #define ABC_MEM_ALLOC | ( | type, | |
| num ) |
| #define ABC_MEM_CALLOC | ( | type, | |
| num ) |
| #define ABC_MEM_FALLOC | ( | type, | |
| num ) |
| #define ABC_MEM_FREE | ( | obj | ) |
| #define ABC_MEM_REALLOC | ( | type, | |
| obj, | |||
| num ) |
| typedef typedefABC_NAMESPACE_IMPL_START struct Vec_Mem_t_ Vec_Mem_t |
DECLARATIONS ///.
CFile****************************************************************
FileName [utilMem.c]
SystemName [ABC: Logic synthesis and verification system.]
PackageName [Memory recycling utilities.]
Synopsis [Memory recycling utilities.]
Author [Alan Mishchenko]
Affiliation [UC Berkeley]
Date [Ver. 1.0. Started - June 20, 2005.]
Revision [
]
| int Util_ComparePointers | ( | void ** | pp1, |
| void ** | pp2 ) |
Function*************************************************************
Synopsis [Procedure used for sorting the nodes in decreasing order of levels.]
Description []
SideEffects []
SeeAlso []
Definition at line 208 of file utilMem.c.

| void * Util_MemRecAlloc | ( | void * | pMem | ) |
BASIC TYPES ///.
Function*************************************************************
Synopsis [Remembers an allocated pointer.]
Description []
SideEffects []
SeeAlso []
Definition at line 172 of file utilMem.c.
| void * Util_MemRecFree | ( | void * | pMem | ) |
| int Util_MemRecIsSet | ( | ) |
| void Util_MemRecQuit | ( | ) |
Function*************************************************************
Synopsis [Quits memory structures.]
Description []
SideEffects []
SeeAlso []
| void Util_MemRecRecycle | ( | ) |
| void Util_MemRecStart | ( | ) |
Function*************************************************************
Synopsis [Starts memory structures.]
Description []
SideEffects []
SeeAlso []
| void* s_vAllocs = NULL |
INCLUDES ///.
CFile****************************************************************
FileName [utilInt.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 ///