abc-master
|
#include <stdio.h>
Go to the source code of this file.
Data Structures | |
struct | Vec_Str_t_ |
Macros | |
#define | Vec_StrForEachEntry(vVec, Entry, i) for ( i = 0; (i < Vec_StrSize(vVec)) && (((Entry) = Vec_StrEntry(vVec, i)), 1); i++ ) |
MACRO DEFINITIONS ///. More... | |
Typedefs | |
typedef typedefABC_NAMESPACE_HEADER_START struct Vec_Str_t_ | Vec_Str_t |
INCLUDES ///. More... | |
Functions | |
static Vec_Str_t * | Vec_StrAlloc (int nCap) |
FUNCTION DEFINITIONS ///. More... | |
static Vec_Str_t * | Vec_StrStart (int nSize) |
static Vec_Str_t * | Vec_StrAllocArray (char *pArray, int nSize) |
static Vec_Str_t * | Vec_StrAllocArrayCopy (char *pArray, int nSize) |
static Vec_Str_t * | Vec_StrDup (Vec_Str_t *pVec) |
static Vec_Str_t * | Vec_StrDupArray (Vec_Str_t *pVec) |
static void | Vec_StrZero (Vec_Str_t *p) |
static void | Vec_StrErase (Vec_Str_t *p) |
static void | Vec_StrFree (Vec_Str_t *p) |
static void | Vec_StrFreeP (Vec_Str_t **p) |
static char * | Vec_StrReleaseArray (Vec_Str_t *p) |
static char * | Vec_StrArray (Vec_Str_t *p) |
static int | Vec_StrSize (Vec_Str_t *p) |
static int | Vec_StrCap (Vec_Str_t *p) |
static double | Vec_StrMemory (Vec_Str_t *p) |
static char | Vec_StrEntry (Vec_Str_t *p, int i) |
static char * | Vec_StrEntryP (Vec_Str_t *p, int i) |
static void | Vec_StrWriteEntry (Vec_Str_t *p, int i, char Entry) |
static char | Vec_StrEntryLast (Vec_Str_t *p) |
static void | Vec_StrGrow (Vec_Str_t *p, int nCapMin) |
static void | Vec_StrFill (Vec_Str_t *p, int nSize, char Fill) |
static void | Vec_StrFillExtra (Vec_Str_t *p, int nSize, char Fill) |
static char | Vec_StrGetEntry (Vec_Str_t *p, int i) |
static void | Vec_StrSetEntry (Vec_Str_t *p, int i, char Entry) |
static void | Vec_StrShrink (Vec_Str_t *p, int nSizeNew) |
static void | Vec_StrClear (Vec_Str_t *p) |
static void | Vec_StrPush (Vec_Str_t *p, char Entry) |
static char | Vec_StrPop (Vec_Str_t *p) |
static void | Vec_StrPrintNum (Vec_Str_t *p, int Num) |
static void | Vec_StrPrintNumStar (Vec_Str_t *p, int Num, int nDigits) |
static void | Vec_StrPrintStr (Vec_Str_t *p, const char *pStr) |
static void | Vec_StrAppend (Vec_Str_t *p, const char *pString) |
static void | Vec_StrCopy (Vec_Str_t *p, const char *pString) |
static void | Vec_StrReverseOrder (Vec_Str_t *p) |
static int | Vec_StrSum (Vec_Str_t *p) |
static int | Vec_StrEqual (Vec_Str_t *p1, Vec_Str_t *p2) |
static int | Vec_StrSortCompare1 (char *pp1, char *pp2) |
static int | Vec_StrSortCompare2 (char *pp1, char *pp2) |
static void | Vec_StrSort (Vec_Str_t *p, int fReverse) |
static int | Vec_StrCompareVec (Vec_Str_t *p1, Vec_Str_t *p2) |
static void | Vec_StrPutI_ne (Vec_Str_t *vOut, int Val) |
static int | Vec_StrGetI_ne (Vec_Str_t *vOut, int *pPos) |
static void | Vec_StrPutI (Vec_Str_t *vOut, int Val) |
static int | Vec_StrGetI (Vec_Str_t *vOut, int *pPos) |
static void | Vec_StrPutW (Vec_Str_t *vOut, word Val) |
static word | Vec_StrGetW (Vec_Str_t *vOut, int *pPos) |
static void | Vec_StrPutF (Vec_Str_t *vOut, float Val) |
static float | Vec_StrGetF (Vec_Str_t *vOut, int *pPos) |
static void | Vec_StrPutD (Vec_Str_t *vOut, double Val) |
static double | Vec_StrGetD (Vec_Str_t *vOut, int *pPos) |
static void | Vec_StrPutS (Vec_Str_t *vOut, char *pStr) |
static char * | Vec_StrGetS (Vec_Str_t *vOut, int *pPos) |
static void | Vec_StrPutC (Vec_Str_t *vOut, char c) |
static char | Vec_StrGetC (Vec_Str_t *vOut, int *pPos) |
#define Vec_StrForEachEntry | ( | vVec, | |
Entry, | |||
i | |||
) | for ( i = 0; (i < Vec_StrSize(vVec)) && (((Entry) = Vec_StrEntry(vVec, i)), 1); i++ ) |
typedef typedefABC_NAMESPACE_HEADER_START struct Vec_Str_t_ Vec_Str_t |
INCLUDES ///.
CFile****************************************************************
FileName [vecStr.h]
SystemName [ABC: Logic synthesis and verification system.]
PackageName [Resizable arrays.]
Synopsis [Resizable arrays of characters.]
Author [Alan Mishchenko]
Affiliation [UC Berkeley]
Date [Ver. 1.0. Started - June 20, 2005.]
Revision [
]PARAMETERS ///BASIC TYPES ///
|
inlinestatic |
FUNCTION DEFINITIONS ///.
Function*************************************************************
Synopsis [Allocates a vector with the given capacity.]
Description []
SideEffects []
SeeAlso []
Definition at line 72 of file vecStr.h.
|
inlinestatic |
Function*************************************************************
Synopsis [Creates the vector from an integer array of the given size.]
Description []
SideEffects []
SeeAlso []
Definition at line 115 of file vecStr.h.
|
inlinestatic |
Function*************************************************************
Synopsis [Creates the vector from an integer array of the given size.]
Description []
SideEffects []
SeeAlso []
Definition at line 136 of file vecStr.h.
|
inlinestatic |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
|
inlinestatic |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
|
inlinestatic |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Function*************************************************************
Synopsis [Duplicates the integer array.]
Description []
SideEffects []
SeeAlso []
Definition at line 158 of file vecStr.h.
Function*************************************************************
Synopsis [Transfers the array into another vector.]
Description []
SideEffects []
SeeAlso []
Definition at line 180 of file vecStr.h.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Function*************************************************************
Synopsis [Returns the entry even if the place not exist.]
Description []
SideEffects []
SeeAlso []
Definition at line 468 of file vecStr.h.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 320 of file vecStr.h.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Function*************************************************************
Synopsis [Inserts the entry even if the place does not exist.]
Description []
SideEffects []
SeeAlso []
Definition at line 485 of file vecStr.h.
|
inlinestatic |
|
inlinestatic |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
|
inlinestatic |
|
static |
Function*************************************************************
Synopsis [Comparison procedure for two clauses.]
Description []
SideEffects []
SeeAlso []
|
static |
Function*************************************************************
Synopsis [Comparison procedure for two clauses.]
Description []
SideEffects []
SeeAlso []
|
inlinestatic |
Function*************************************************************
Synopsis [Allocates a vector with the given size and cleans it.]
Description []
SideEffects []
SeeAlso []
Definition at line 95 of file vecStr.h.
|
inlinestatic |
|
inlinestatic |