#include "libqhull_r/user_r.h"
#include "libqhull_r/qset_r.h"
#include "libqhull_r/mem_r.h"
#include "libqhull_r/libqhull_r.h"
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
Go to the source code of this file.
Macros | |
#define | fmax_(a, b) ( ( a ) < ( b ) ? ( b ) : ( a ) ) |
#define | FOREACHint4_(ints) FOREACHsetelement_( i2T, ints, i4) |
#define | FOREACHint_(ints) FOREACHsetelement_( i2T, ints, i2) |
#define | FOREACHint_i_(qh, ints) FOREACHsetelement_i_( qh, i2T, ints, i2) |
#define | FOREACHintreverse12_(ints) FOREACHsetelementreverse12_( i2T, ints, i2) |
#define | FOREACHintreverse_(qh, ints) FOREACHsetelementreverse_( qh, i2T, ints, i2) |
#define | MAXerrorCount 100 /* quit after n errors */ |
Typedefs | |
typedef int | i2T |
Enumerations | |
enum | { MAXint = 0x7fffffff } |
Functions | |
void | checkSetContents (qhT *qh, const char *name, setT *set, int count, int rangeA, int rangeB, int rangeC) |
int | log_i (qhT *qh, setT *set, const char *s, int i, int numInts, int checkEvery) |
int | main (int argc, char **argv) |
void | qh_errexit (qhT *qh, int exitcode, facetT *f, ridgeT *r) |
void | qh_exit (int exitcode) |
void | qh_fprintf (qhT *qh, FILE *fp, int msgcode, const char *fmt,...) |
void | qh_fprintf_stderr (int msgcode, const char *fmt,...) |
void | qh_free (void *mem) |
void * | qh_malloc (size_t size) |
void | readOptions (qhT *qh, int argc, char **argv, const char *promptstr, int *numInts, int *checkEvery, int *traceLevel) |
void | setupMemory (qhT *qh, int tracelevel, int numInts, int **intarray) |
void | testSetappendSet (qhT *qh, int numInts, int *intarray, int checkEvery) |
void | testSetappendSettruncate (qhT *qh, int numInts, int *intarray, int checkEvery) |
void | testSetcompactCopy (qhT *qh, int numInts, int *intarray, int checkEvery) |
void | testSetdelSetadd (qhT *qh, int numInts, int *intarray, int checkEvery) |
void | testSetdelsortedEtc (qhT *qh, int numInts, int *intarray, int checkEvery) |
void | testSetequalInEtc (qhT *qh, int numInts, int *intarray, int checkEvery) |
void | testSetlastEtc (qhT *qh, int numInts, int *intarray, int checkEvery) |
void | testSettemp (qhT *qh, int numInts, int *intarray, int checkEvery) |
Variables | |
int | error_count = 0 |
char | prompt [] |
Definition at line 113 of file testqset_r.c.
#define FOREACHint4_ | ( | ints | ) | FOREACHsetelement_( i2T, ints, i4) |
Definition at line 88 of file testqset_r.c.
#define FOREACHint_ | ( | ints | ) | FOREACHsetelement_( i2T, ints, i2) |
Definition at line 87 of file testqset_r.c.
#define FOREACHint_i_ | ( | qh, | |
ints | |||
) | FOREACHsetelement_i_( qh, i2T, ints, i2) |
Definition at line 89 of file testqset_r.c.
#define FOREACHintreverse12_ | ( | ints | ) | FOREACHsetelementreverse12_( i2T, ints, i2) |
Definition at line 91 of file testqset_r.c.
#define FOREACHintreverse_ | ( | qh, | |
ints | |||
) | FOREACHsetelementreverse_( qh, i2T, ints, i2) |
Definition at line 90 of file testqset_r.c.
#define MAXerrorCount 100 /* quit after n errors */ |
Definition at line 85 of file testqset_r.c.
typedef int i2T |
Definition at line 84 of file testqset_r.c.
anonymous enum |
Enumerator | |
---|---|
MAXint |
Definition at line 93 of file testqset_r.c.
void checkSetContents | ( | qhT * | qh, |
const char * | name, | ||
setT * | set, | ||
int | count, | ||
int | rangeA, | ||
int | rangeB, | ||
int | rangeC | ||
) |
Definition at line 767 of file testqset_r.c.
Definition at line 724 of file testqset_r.c.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 186 of file testqset_r.c.
Definition at line 126 of file testqset_r.c.
void qh_fprintf | ( | qhT * | qh, |
FILE * | fp, | ||
int | msgcode, | ||
const char * | fmt, | ||
... | |||
) |
Definition at line 136 of file testqset_r.c.
void qh_fprintf_stderr | ( | int | msgcode, |
const char * | fmt, | ||
... | |||
) |
void readOptions | ( | qhT * | qh, |
int | argc, | ||
char ** | argv, | ||
const char * | promptstr, | ||
int * | numInts, | ||
int * | checkEvery, | ||
int * | traceLevel | ||
) |
Definition at line 229 of file testqset_r.c.
void setupMemory | ( | qhT * | qh, |
int | tracelevel, | ||
int | numInts, | ||
int ** | intarray | ||
) |
Definition at line 278 of file testqset_r.c.
void testSetappendSet | ( | qhT * | qh, |
int | numInts, | ||
int * | intarray, | ||
int | checkEvery | ||
) |
Definition at line 380 of file testqset_r.c.
void testSetappendSettruncate | ( | qhT * | qh, |
int | numInts, | ||
int * | intarray, | ||
int | checkEvery | ||
) |
Definition at line 305 of file testqset_r.c.
void testSetcompactCopy | ( | qhT * | qh, |
int | numInts, | ||
int * | intarray, | ||
int | checkEvery | ||
) |
Definition at line 418 of file testqset_r.c.
void testSetdelSetadd | ( | qhT * | qh, |
int | numInts, | ||
int * | intarray, | ||
int | checkEvery | ||
) |
Definition at line 353 of file testqset_r.c.
void testSetdelsortedEtc | ( | qhT * | qh, |
int | numInts, | ||
int * | intarray, | ||
int | checkEvery | ||
) |
Definition at line 447 of file testqset_r.c.
void testSetequalInEtc | ( | qhT * | qh, |
int | numInts, | ||
int * | intarray, | ||
int | checkEvery | ||
) |
Definition at line 502 of file testqset_r.c.
void testSetlastEtc | ( | qhT * | qh, |
int | numInts, | ||
int * | intarray, | ||
int | checkEvery | ||
) |
Definition at line 612 of file testqset_r.c.
void testSettemp | ( | qhT * | qh, |
int | numInts, | ||
int * | intarray, | ||
int | checkEvery | ||
) |
Definition at line 682 of file testqset_r.c.
int error_count = 0 |
Definition at line 110 of file testqset_r.c.
char prompt[] |
Definition at line 97 of file testqset_r.c.