SIS
Symmetric Index Structures
|
#include "base.h"
Go to the source code of this file.
Defines | |
#define | MALLOC_FREE_COUNT |
#define | FOPEN_FCLOSE_COUNT |
#define | hashBase (257) |
Functions | |
void | Throw (const S8 *msg) |
void | Verify () |
void * | Malloc (U64 number, U64 size) |
void | Free (void *ptr) |
void * | Realloc (void *ptr, U64 number, U64 size) |
void | Fwrite (const void *ptr, UINT size, UINT number, FILE *fp) |
void | Fread (void *ptr, UINT size, UINT number, FILE *fp) |
FILE * | Fopen (const S8 *fileName, const S8 *mode) |
void | Fclose (FILE *fp) |
void | Fseek (FILE *fp, SINT n, SINT offset) |
UINT | CodeUINT (UINT code, UINT value, UINT hashSize) |
UINT | CodeBytes (UINT code, const void *ptr, UINT size, UINT hashSize) |
void | PrintLine (FILE *fp, UINT symbolSize, UINT encoding) |
void | PrintString (FILE *fp, const S8 *str, UINT symbolSize, UINT encoding) |
void | PrintSymbol (const void *symbol, FILE *fp, UINT symbolSize, UINT encoding) |
#define FOPEN_FCLOSE_COUNT |
Definition at line 4 of file exceptional.c.
#define hashBase (257) |
Definition at line 227 of file exceptional.c.
Referenced by CodeBytes().
#define MALLOC_FREE_COUNT |
Definition at line 3 of file exceptional.c.
Definition at line 233 of file exceptional.c.
Referenced by CodeUINT().
Definition at line 229 of file exceptional.c.
void Fclose | ( | FILE * | fp | ) |
Definition at line 209 of file exceptional.c.
Referenced by lmu::cis::sis::SCDAWGAdapter::BuildSCDAWG(), CmdBuildCDAWG(), CmdBuildSCDAWG(), CmdBuildSuffixTree(), CmdCompressedAutomatonDumpGV(), CmdCompressedAutomatonLang(), CmdCompressedAutomatonStat(), CmdGenerateSuffixes(), CmdReverseAndSort(), CmdSCDAWGDumpGV(), CmdSCDAWGStat(), lmu::cis::sis::InenagaCDAWGAdapter::DumpGV(), lmu::cis::sis::SCDAWGAdapter::DumpGV(), lmu::cis::sis::SCDAWGAdapter::DumpGVRight(), lmu::cis::sis::CompressedAutomatonAdapter::DumpStat(), lmu::cis::sis::InenagaCDAWGAdapter::DumpStat(), lmu::cis::sis::SCDAWGAdapter::DumpStat(), lmu::cis::sis::CompressedAutomatonAdapter::GenerateLanguage(), lmu::cis::sis::SCDAWGAdapter::GenerateLanguage(), lmu::cis::sis::InenagaCDAWGAdapter::Read(), lmu::cis::sis::VoidSequenceAdapter::Read(), lmu::cis::sis::SCDAWGAdapter::Read(), SCDAWGLeftLang(), lmu::cis::sis::CompressedAutomatonAdapter::Write(), and lmu::cis::sis::SCDAWGAdapter::Write().
Definition at line 194 of file exceptional.c.
Referenced by lmu::cis::sis::SCDAWGAdapter::BuildSCDAWG(), CmdBuildCDAWG(), CmdBuildSCDAWG(), CmdBuildSuffixTree(), CmdCompressedAutomatonDumpGV(), CmdCompressedAutomatonLang(), CmdCompressedAutomatonStat(), CmdGenerateSuffixes(), CmdReverseAndSort(), CmdSCDAWGDumpGV(), CmdSCDAWGStat(), lmu::cis::sis::InenagaCDAWGAdapter::DumpGV(), lmu::cis::sis::SCDAWGAdapter::DumpGV(), lmu::cis::sis::SCDAWGAdapter::DumpGVRight(), lmu::cis::sis::CompressedAutomatonAdapter::DumpStat(), lmu::cis::sis::InenagaCDAWGAdapter::DumpStat(), lmu::cis::sis::SCDAWGAdapter::DumpStat(), lmu::cis::sis::CompressedAutomatonAdapter::GenerateLanguage(), lmu::cis::sis::SCDAWGAdapter::GenerateLanguage(), lmu::cis::sis::InenagaCDAWGAdapter::Read(), lmu::cis::sis::VoidSequenceAdapter::Read(), lmu::cis::sis::SCDAWGAdapter::Read(), SCDAWGLeftLang(), lmu::cis::sis::CompressedAutomatonAdapter::Write(), and lmu::cis::sis::SCDAWGAdapter::Write().
Definition at line 188 of file exceptional.c.
Referenced by AlphabetRead(), BitSequenceRead(), CompressedAutomatonRead(), and VoidSequenceRead().
void Free | ( | void * | ptr | ) |
Definition at line 106 of file exceptional.c.
Referenced by AlphabetFree(), BitSequenceFree(), CDAWGBuildHelpFree(), CommandFree(), CompressedAutomatonFree(), HashFree(), SCDAWGBuildHelpFree(), SCDAWGFree(), SuffixTreeBuildHelpFree(), TarjanTableFree(), VoidSequenceFree(), VoidSequenceRead(), and VoidSequenceReverse().
Definition at line 221 of file exceptional.c.
Definition at line 182 of file exceptional.c.
Referenced by AlphabetWrite(), BitSequenceWrite(), CompressedAutomatonWrite(), PrintSymbol(), and VoidSequenceWrite().
Definition at line 62 of file exceptional.c.
Referenced by AlphabetInit(), AlphabetRead(), BitSequenceInit2(), CDAWGBuildHelpInit(), CommandInit(), CompressedAutomatonInit(), CompressedAutomatonRead(), HashInit(), SCDAWGBuildHelpInit(), SCDAWGInit(), SCDAWGRead(), SuffixTreeBuildHelpInit(), TarjanTableInit(), TarjanTableRead(), VoidSequenceInit2(), VoidSequenceRead(), and VoidSequenceReverse().
Definition at line 258 of file exceptional.c.
Referenced by DumpSequenceOfLabels(), and DumpSequenceOfLabels2().
Definition at line 262 of file exceptional.c.
Referenced by CompressedAutomatonDumpGV(), PrintLine(), and SCDAWGDumpGV().
Definition at line 273 of file exceptional.c.
Referenced by DumpLabel(), DumpSCDAWGLabel(), DumpSequenceOfLabels(), DumpSequenceOfLabels2(), and PrintString().
Definition at line 140 of file exceptional.c.
Referenced by BitSequenceAdd(), BitSequenceShrink(), HashAdd(), VoidSequenceAdd(), and VoidSequenceShrink().
void Throw | ( | const S8 * | msg | ) |
Definition at line 22 of file exceptional.c.
Referenced by lmu::cis::sis::SCDAWGAdapter::BuildSCDAWG(), CmdBuildCDAWG(), CmdBuildSCDAWG(), CmdBuildSuffixTree(), CmdGenerateSuffixes(), CommandParse(), Fclose(), Fopen(), Fread(), Free(), Fseek(), Fwrite(), main(), Malloc(), PrintSymbol(), Realloc(), and Verify().
void Verify | ( | ) |
Definition at line 27 of file exceptional.c.
Referenced by main().