Xen Test Framework
Functions
heapsort.c File Reference
#include <xtf/types.h>
+ Include dependency graph for heapsort.c:

Go to the source code of this file.

Functions

static void siftdown (void *base, size_t _size, int(*compar)(const void *, const void *), void(*swap)(void *, void *), long start, long stop)
 
void heapsort (void *base, size_t nmemb, size_t _size, int(*compar)(const void *, const void *), void(*swap)(void *, void *))
 

Function Documentation

◆ siftdown()

static void siftdown ( void *  base,
size_t  _size,
int(*)(const void *, const void *)  compar,
void(*)(void *, void *)  swap,
long  start,
long  stop 
)
static

Definition at line 3 of file heapsort.c.

+ Here is the caller graph for this function:

◆ heapsort()

void heapsort ( void *  base,
size_t  nmemb,
size_t  _size,
int(*)(const void *, const void *)  compar,
void(*)(void *, void *)  swap 
)

Definition at line 25 of file heapsort.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function: