Go to the source code of this file.
|
typedef unsigned int | size_t |
|
typedef int(* | cmpfun) (const void *, const void *) |
|
|
static int | pntz (size_t p[2]) |
|
static void | cycle (size_t width, unsigned char *ar[], int n) |
|
static void | shl (size_t p[2], int n) |
|
static void | shr (size_t p[2], int n) |
|
static void | sift (unsigned char *head, size_t width, int(*cmp)(const void *, const void *), int pshift, size_t lp[]) |
|
static void | trinkle (unsigned char *head, size_t width, int(*cmp)(const void *, const void *), size_t pp[2], int pshift, int trusty, size_t lp[]) |
|
void | qsort (void *base, size_t nel, size_t width, int(*cmp)(const void *, const void *)) |
|
◆ ntz
◆ cmpfun
typedef int(* cmpfun) (const void *, const void *) |
◆ size_t
◆ cycle()
static void cycle |
( |
size_t |
width, |
|
|
unsigned char * |
ar[], |
|
|
int |
n |
|
) |
| |
|
static |
◆ pntz()
static int pntz |
( |
size_t |
p[2] | ) |
|
|
inlinestatic |
◆ qsort()
void qsort |
( |
void * |
base, |
|
|
size_t |
nel, |
|
|
size_t |
width, |
|
|
int(*)(const void *, const void *) |
cmp |
|
) |
| |
◆ shl()
static void shl |
( |
size_t |
p[2], |
|
|
int |
n |
|
) |
| |
|
inlinestatic |
◆ shr()
static void shr |
( |
size_t |
p[2], |
|
|
int |
n |
|
) |
| |
|
inlinestatic |
◆ sift()
static void sift |
( |
unsigned char * |
head, |
|
|
size_t |
width, |
|
|
int(*)(const void *, const void *) |
cmp, |
|
|
int |
pshift, |
|
|
size_t |
lp[] |
|
) |
| |
|
static |
◆ trinkle()
static void trinkle |
( |
unsigned char * |
head, |
|
|
size_t |
width, |
|
|
int(*)(const void *, const void *) |
cmp, |
|
|
size_t |
pp[2], |
|
|
int |
pshift, |
|
|
int |
trusty, |
|
|
size_t |
lp[] |
|
) |
| |
|
static |