SIS
Symmetric Index Structures
/Users/dbr/ma/src/bas/lml/exceptional.c File Reference
#include "base.h"
Include dependency graph for exceptional.c:

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 Documentation

#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.


Function Documentation

UINT CodeBytes ( UINT  code,
const void *  ptr,
UINT  size,
UINT  hashSize 
)

Definition at line 233 of file exceptional.c.

Referenced by CodeUINT().

UINT CodeUINT ( UINT  code,
UINT  value,
UINT  hashSize 
)

Definition at line 229 of file exceptional.c.

void Fread ( void *  ptr,
UINT  size,
UINT  number,
FILE *  fp 
)
void Fseek ( FILE *  fp,
SINT  n,
SINT  offset 
)

Definition at line 221 of file exceptional.c.

void Fwrite ( const void *  ptr,
UINT  size,
UINT  number,
FILE *  fp 
)
void PrintLine ( FILE *  fp,
UINT  symbolSize,
UINT  encoding 
)

Definition at line 258 of file exceptional.c.

Referenced by DumpSequenceOfLabels(), and DumpSequenceOfLabels2().

void PrintString ( FILE *  fp,
const S8 str,
UINT  symbolSize,
UINT  encoding 
)

Definition at line 262 of file exceptional.c.

Referenced by CompressedAutomatonDumpGV(), PrintLine(), and SCDAWGDumpGV().

void PrintSymbol ( const void *  symbol,
FILE *  fp,
UINT  symbolSize,
UINT  encoding 
)
void* Realloc ( void *  ptr,
U64  number,
U64  size 
)
void Verify ( )

Definition at line 27 of file exceptional.c.

Referenced by main().