
Go to the source code of this file.
Functions | |
| ABC_NAMESPACE_IMPL_START char * | Extra_FileGetSimilarName (char *pFileNameWrong, char *pS1, char *pS2, char *pS3, char *pS4, char *pS5) |
| char * | Extra_FileNameExtension (char *FileName) |
| char * | Extra_FileNameAppend (char *pBase, char *pSuffix) |
| char * | Extra_FileNameGeneric (char *FileName) |
| char * | Extra_FileNameGenericAppend (char *pBase, char *pSuffix) |
| void | Extra_FileNameCorrectPath (char *FileName) |
| char * | Extra_FileNameWithoutPath (char *FileName) |
| char * | Extra_FilePathWithoutName (char *FileName) |
| char * | Extra_FileInTheSameDir (char *pPathFile, char *pFileName) |
| char * | Extra_FileDesignName (char *pFileName) |
| int | Extra_FileCheck (char *pFileName) |
| int | Extra_FileSize (char *pFileName) |
| char * | Extra_FileRead (FILE *pFile) |
| char * | Extra_FileRead2 (FILE *pFile, FILE *pFile2) |
| char * | Extra_FileReadContents (char *pFileName) |
| char * | Extra_FileReadContents2 (char *pFileName, char *pFileName2) |
| int | Extra_FileIsType (char *pFileName, char *pS1, char *pS2, char *pS3) |
| char * | Extra_TimeStamp () |
| unsigned | Extra_ReadBinary (char *Buffer) |
| void | Extra_PrintBinary (FILE *pFile, unsigned Sign[], int nBits) |
| DECLARATIONS ///. | |
| void | Extra_PrintBinary2 (FILE *pFile, unsigned Sign[], int nBits) |
| int | Extra_ReadHex (unsigned Sign[], char *pString, int nDigits) |
| int | Extra_ReadHexadecimal (unsigned Sign[], char *pString, int nVars) |
| void | Extra_PrintHexadecimal (FILE *pFile, unsigned Sign[], int nVars) |
| void | Extra_PrintHexadecimalString (char *pString, unsigned Sign[], int nVars) |
| void | Extra_PrintHex (FILE *pFile, unsigned *pTruth, int nVars) |
| void | Extra_PrintHex2 (FILE *pFile, unsigned *pTruth, int nVars) |
| void | Extra_PrintHexReverse (FILE *pFile, unsigned *pTruth, int nVars) |
| void | Extra_PrintSymbols (FILE *pFile, char Char, int nTimes, int fPrintNewLine) |
| char * | Extra_StringAppend (char *pStrGiven, char *pStrAdd) |
| void | Extra_StringClean (char *pStrGiven, char *pCharKeep) |
| int | Extra_StringCompare (const char *pp1, const char *pp2) |
| void | Extra_FileSort (char *pFileName, char *pFileNameOut) |
| void | Extra_FileLineNumAdd (char *pFileName, char *pFileNameOut) |
| int Extra_FileCheck | ( | char * | pFileName | ) |
Function*************************************************************
Synopsis [Returns the file size.]
Description [The file should be closed.]
SideEffects []
SeeAlso []
Definition at line 300 of file extraUtilFile.c.

| char * Extra_FileDesignName | ( | char * | pFileName | ) |
Definition at line 269 of file extraUtilFile.c.

| ABC_NAMESPACE_IMPL_START char * Extra_FileGetSimilarName | ( | char * | pFileNameWrong, |
| char * | pS1, | ||
| char * | pS2, | ||
| char * | pS3, | ||
| char * | pS4, | ||
| char * | pS5 ) |
CFile****************************************************************
FileName [extraUtilFile.c]
SystemName [ABC: Logic synthesis and verification system.]
PackageName [extra]
Synopsis [File management utilities.]
Author [Alan Mishchenko]
Affiliation [UC Berkeley]
Date [Ver. 1.0. Started - June 20, 2005.]
Revision [
] AutomaticStart AutomaticEnd Function*************************************************************
Synopsis [Tries to find a file name with a different extension.]
Description []
SideEffects []
SeeAlso []
Definition at line 78 of file extraUtilFile.c.


| char * Extra_FileInTheSameDir | ( | char * | pPathFile, |
| char * | pFileName ) |
Definition at line 257 of file extraUtilFile.c.

| int Extra_FileIsType | ( | char * | pFileName, |
| char * | pS1, | ||
| char * | pS2, | ||
| char * | pS3 ) |
Function*************************************************************
Synopsis [Returns one if the file has a given extension.]
Description []
SideEffects []
SeeAlso []
Definition at line 439 of file extraUtilFile.c.


| void Extra_FileLineNumAdd | ( | char * | pFileName, |
| char * | pFileNameOut ) |
Function*************************************************************
Synopsis [Appends line number in the end.]
Description []
SideEffects []
SeeAlso []
Definition at line 857 of file extraUtilFile.c.

| char * Extra_FileNameAppend | ( | char * | pBase, |
| char * | pSuffix ) |
Function*************************************************************
Synopsis [Returns the composite name of the file.]
Description []
SideEffects []
SeeAlso []
Definition at line 153 of file extraUtilFile.c.


| void Extra_FileNameCorrectPath | ( | char * | FileName | ) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 215 of file extraUtilFile.c.

| char * Extra_FileNameExtension | ( | char * | FileName | ) |
Function*************************************************************
Synopsis [Returns the pointer to the file extension.]
Description []
SideEffects []
SeeAlso []
Definition at line 132 of file extraUtilFile.c.


| char * Extra_FileNameGeneric | ( | char * | FileName | ) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 172 of file extraUtilFile.c.


| char * Extra_FileNameGenericAppend | ( | char * | pBase, |
| char * | pSuffix ) |
Function*************************************************************
Synopsis [Returns the composite name of the file.]
Description []
SideEffects []
SeeAlso []
Definition at line 192 of file extraUtilFile.c.


| char * Extra_FileNameWithoutPath | ( | char * | FileName | ) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 235 of file extraUtilFile.c.


| char * Extra_FilePathWithoutName | ( | char * | FileName | ) |
Definition at line 243 of file extraUtilFile.c.

| char * Extra_FileRead | ( | FILE * | pFile | ) |
Function*************************************************************
Synopsis [Read the file into the internal buffer.]
Description []
SideEffects []
SeeAlso []
Definition at line 355 of file extraUtilFile.c.


| char * Extra_FileRead2 | ( | FILE * | pFile, |
| FILE * | pFile2 ) |
Definition at line 373 of file extraUtilFile.c.


| char * Extra_FileReadContents | ( | char * | pFileName | ) |
Function*************************************************************
Synopsis [Read the file into the internal buffer.]
Description []
SideEffects []
SeeAlso []
Definition at line 407 of file extraUtilFile.c.


| char * Extra_FileReadContents2 | ( | char * | pFileName, |
| char * | pFileName2 ) |
Definition at line 416 of file extraUtilFile.c.

| int Extra_FileSize | ( | char * | pFileName | ) |
Function*************************************************************
Synopsis [Returns the file size.]
Description [The file should be closed.]
SideEffects []
SeeAlso []
Definition at line 327 of file extraUtilFile.c.

| void Extra_FileSort | ( | char * | pFileName, |
| char * | pFileNameOut ) |
Function*************************************************************
Synopsis [Sorts lines in the file alphabetically.]
Description []
SideEffects []
SeeAlso []
Definition at line 798 of file extraUtilFile.c.

| void Extra_PrintBinary | ( | FILE * | pFile, |
| unsigned | Sign[], | ||
| int | nBits ) |
DECLARATIONS ///.
Function*************************************************************
Synopsis [Prints the bit string.]
Description []
SideEffects []
SeeAlso []
Definition at line 516 of file extraUtilFile.c.

| void Extra_PrintBinary2 | ( | FILE * | pFile, |
| unsigned | Sign[], | ||
| int | nBits ) |
Definition at line 523 of file extraUtilFile.c.

| void Extra_PrintHex | ( | FILE * | pFile, |
| unsigned * | pTruth, | ||
| int | nVars ) |
Function*************************************************************
Synopsis [Prints the hex unsigned into a file.]
Description []
SideEffects []
SeeAlso []
Definition at line 643 of file extraUtilFile.c.

| void Extra_PrintHex2 | ( | FILE * | pFile, |
| unsigned * | pTruth, | ||
| int | nVars ) |
Definition at line 661 of file extraUtilFile.c.

| void Extra_PrintHexadecimal | ( | FILE * | pFile, |
| unsigned | Sign[], | ||
| int | nVars ) |
Function*************************************************************
Synopsis [Prints the hex unsigned into a file.]
Description []
SideEffects []
SeeAlso []
Definition at line 584 of file extraUtilFile.c.

| void Extra_PrintHexadecimalString | ( | char * | pString, |
| unsigned | Sign[], | ||
| int | nVars ) |
Function*************************************************************
Synopsis [Prints the hex unsigned into a file.]
Description []
SideEffects []
SeeAlso []
Definition at line 611 of file extraUtilFile.c.


| void Extra_PrintHexReverse | ( | FILE * | pFile, |
| unsigned * | pTruth, | ||
| int | nVars ) |
Definition at line 679 of file extraUtilFile.c.
| void Extra_PrintSymbols | ( | FILE * | pFile, |
| char | Char, | ||
| int | nTimes, | ||
| int | fPrintNewLine ) |
Function*************************************************************
Synopsis [Returns the composite name of the file.]
Description []
SideEffects []
SeeAlso []
Definition at line 709 of file extraUtilFile.c.
| unsigned Extra_ReadBinary | ( | char * | Buffer | ) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 489 of file extraUtilFile.c.

| int Extra_ReadHex | ( | unsigned | Sign[], |
| char * | pString, | ||
| int | nDigits ) |
Function*************************************************************
Synopsis [Reads the hex unsigned into the bit-string.]
Description []
SideEffects []
SeeAlso []
Definition at line 542 of file extraUtilFile.c.

| int Extra_ReadHexadecimal | ( | unsigned | Sign[], |
| char * | pString, | ||
| int | nVars ) |
Definition at line 559 of file extraUtilFile.c.


| char * Extra_StringAppend | ( | char * | pStrGiven, |
| char * | pStrAdd ) |
Function*************************************************************
Synopsis [Appends the string.]
Description [Assumes that the given string (pStrGiven) has been allocated before using malloc(). The additional string has not been allocated. Allocs more root, appends the additional part, frees the old given string.]
SideEffects []
SeeAlso []
Definition at line 731 of file extraUtilFile.c.

| void Extra_StringClean | ( | char * | pStrGiven, |
| char * | pCharKeep ) |
Function*************************************************************
Synopsis [Only keep characters belonging to the second string.]
Description []
SideEffects []
SeeAlso []
Definition at line 756 of file extraUtilFile.c.
Function*************************************************************
Synopsis [String comparison procedure.]
Description []
SideEffects []
SeeAlso []
Definition at line 782 of file extraUtilFile.c.


| char * Extra_TimeStamp | ( | ) |
Function*************************************************************
Synopsis [Returns the time stamp.]
Description [The file should be closed.]
SideEffects []
SeeAlso []
Definition at line 465 of file extraUtilFile.c.
