Typedefs | Functions | Variables
mem.c File Reference
#include "user.h"
#include "mem.h"
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
Include dependency graph for mem.c:

Go to the source code of this file.

Typedefs

typedef struct facetT facetT
 
typedef struct ridgeT ridgeT
 

Functions

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)
 

Variables

qhmemT qhmem
 

Typedef Documentation

◆ facetT

typedef struct facetT facetT

Definition at line 45 of file mem.c.

◆ ridgeT

typedef struct ridgeT ridgeT

Definition at line 44 of file mem.c.

Function Documentation

◆ qh_errexit()

void qh_errexit ( int  exitcode,
facetT ,
ridgeT  
)

Definition at line 213 of file user.c.

◆ qh_exit()

void qh_exit ( int  exitcode)

Definition at line 38 of file usermem.c.

◆ qh_fprintf()

void qh_fprintf ( FILE *  fp,
int  msgcode,
const char *  fmt,
  ... 
)

Definition at line 42 of file userprintf.c.

◆ qh_fprintf_stderr()

void qh_fprintf_stderr ( int  msgcode,
const char *  fmt,
  ... 
)

Definition at line 57 of file usermem.c.

◆ qh_free()

void qh_free ( void *  mem)

Definition at line 77 of file usermem.c.

◆ 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)

Definition at line 90 of file usermem.c.

◆ qh_memalloc()

void* qh_memalloc ( int  insize)

Definition at line 115 of file mem.c.

◆ qh_memcheck()

void qh_memcheck ( void  )

Definition at line 203 of file mem.c.

◆ qh_memfree()

void qh_memfree ( void *  object,
int  insize 
)

Definition at line 245 of file mem.c.

◆ qh_memfreeshort()

void qh_memfreeshort ( int *  curlong,
int *  totlong 
)

Definition at line 288 of file mem.c.

◆ qh_meminit()

void qh_meminit ( FILE *  ferr)

Definition at line 317 of file mem.c.

◆ qh_meminitbuffers()

void qh_meminitbuffers ( int  tracelevel,
int  alignment,
int  numsizes,
int  bufsize,
int  bufinit 
)

Definition at line 346 of file mem.c.

◆ qh_memsetup()

void qh_memsetup ( void  )

Definition at line 373 of file mem.c.

◆ qh_memsize()

void qh_memsize ( int  size)

Definition at line 404 of file mem.c.

◆ qh_memstatistics()

void qh_memstatistics ( FILE *  fp)

Definition at line 431 of file mem.c.

◆ qh_memtotal()

void qh_memtotal ( int *  totlong,
int *  curlong,
int *  totshort,
int *  curshort,
int *  maxlong,
int *  totbuffer 
)

Definition at line 568 of file mem.c.

Variable Documentation

◆ qhmem

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



hpp-fcl
Author(s):
autogenerated on Sat Nov 23 2024 03:44:59