#include "user.h"
#include "mem.h"
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
Go to the source code of this file.
|
void | qh_errexit (int exitcode, facetT *, ridgeT *) |
|
void | qh_exit (int exitcode) |
|
void | qh_fprintf (FILE *fp, int msgcode, const char *fmt,...) |
|
void | qh_fprintf_stderr (int msgcode, const char *fmt,...) |
|
void | qh_free (void *mem) |
|
static int | qh_intcompare (const void *i, const void *j) |
|
void * | qh_malloc (size_t size) |
|
void * | qh_memalloc (int insize) |
|
void | qh_memcheck (void) |
|
void | qh_memfree (void *object, int insize) |
|
void | qh_memfreeshort (int *curlong, int *totlong) |
|
void | qh_meminit (FILE *ferr) |
|
void | qh_meminitbuffers (int tracelevel, int alignment, int numsizes, int bufsize, int bufinit) |
|
void | qh_memsetup (void) |
|
void | qh_memsize (int size) |
|
void | qh_memstatistics (FILE *fp) |
|
void | qh_memtotal (int *totlong, int *curlong, int *totshort, int *curshort, int *maxlong, int *totbuffer) |
|
◆ facetT
Definition at line 45 of file mem.c.
◆ ridgeT
Definition at line 44 of file mem.c.
◆ qh_errexit()
◆ qh_exit()
void qh_exit |
( |
int |
exitcode | ) |
|
◆ qh_fprintf()
void qh_fprintf |
( |
FILE * |
fp, |
|
|
int |
msgcode, |
|
|
const char * |
fmt, |
|
|
|
... |
|
) |
| |
◆ qh_fprintf_stderr()
void qh_fprintf_stderr |
( |
int |
msgcode, |
|
|
const char * |
fmt, |
|
|
|
... |
|
) |
| |
◆ qh_free()
void qh_free |
( |
void * |
mem | ) |
|
◆ qh_intcompare()
static int qh_intcompare |
( |
const void * |
i, |
|
|
const void * |
j |
|
) |
| |
|
static |
Definition at line 80 of file mem.c.
◆ qh_malloc()
void* qh_malloc |
( |
size_t |
size | ) |
|
◆ qh_memalloc()
void* qh_memalloc |
( |
int |
insize | ) |
|
◆ qh_memcheck()
void qh_memcheck |
( |
void |
| ) |
|
◆ qh_memfree()
void qh_memfree |
( |
void * |
object, |
|
|
int |
insize |
|
) |
| |
◆ qh_memfreeshort()
void qh_memfreeshort |
( |
int * |
curlong, |
|
|
int * |
totlong |
|
) |
| |
◆ qh_meminit()
void qh_meminit |
( |
FILE * |
ferr | ) |
|
◆ qh_meminitbuffers()
void qh_meminitbuffers |
( |
int |
tracelevel, |
|
|
int |
alignment, |
|
|
int |
numsizes, |
|
|
int |
bufsize, |
|
|
int |
bufinit |
|
) |
| |
◆ qh_memsetup()
void qh_memsetup |
( |
void |
| ) |
|
◆ qh_memsize()
void qh_memsize |
( |
int |
size | ) |
|
◆ qh_memstatistics()
void qh_memstatistics |
( |
FILE * |
fp | ) |
|
◆ qh_memtotal()
void qh_memtotal |
( |
int * |
totlong, |
|
|
int * |
curlong, |
|
|
int * |
totshort, |
|
|
int * |
curshort, |
|
|
int * |
maxlong, |
|
|
int * |
totbuffer |
|
) |
| |
◆ qhmem
Initial value:= {0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0}
Definition at line 62 of file mem.c.