foobar2000 SDK  2015-08-03
Namespaces | Functions | Variables
sort.cpp File Reference

Go to the source code of this file.

Namespaces

 pfc
 

Functions

static t_size pfc::__pivot_helper (pfc::sort_callback &p_callback, t_size const p_base, t_size const p_count)
 
static void pfc::__sort_2elem_helper (pfc::sort_callback &p_callback, t_size &p_elem1, t_size &p_elem2)
 
static t_size pfc::myrand (t_size count)
 
static void pfc::newsort (pfc::sort_callback &p_callback, t_size const p_base, t_size const p_count)
 
void pfc::reorder (reorder_callback &p_callback, const t_size *p_order, t_size p_count)
 
void pfc::reorder_void (void *data, t_size width, const t_size *order, t_size num, void(*swapfunc)(void *item1, void *item2, t_size width))
 
void pfc::sort (pfc::sort_callback &p_callback, t_size p_num)
 
void pfc::sort_stable (sort_callback &p_callback, t_size p_count)
 
void pfc::sort_void (void *base, t_size num, t_size width, int(*comp)(const void *, const void *))
 
void pfc::sort_void_ex (void *base, t_size num, t_size width, int(*comp)(const void *, const void *), void(*swap)(void *, void *, t_size))
 
static void pfc::squaresort (pfc::sort_callback &p_callback, t_size const p_base, t_size const p_count)
 
void pfc::swap_void (void *item1, void *item2, t_size width)
 
static t_uint64 pfc::uniqueVal ()
 

Variables

static counter pfc::uniqueValCounter