|
gwenhywfar
5.14.1
|
#include <stdlib.h>#include <string.h>

Go to the source code of this file.
Macros | |
| #define | _SORT_R_INLINE inline |
| #define | SORT_R_SWAP(a, b, tmp) ((tmp) = (a), (a) = (b), (b) = (tmp)) |
Functions | |
| static _SORT_R_INLINE void | sort_r (void *base, size_t nel, size_t width, int(*compar)(const void *_a, const void *_b, void *_arg), void *arg) |
| static _SORT_R_INLINE int | sort_r_cmpswap (char *__restrict a, char *__restrict b, size_t w, int(*compar)(const void *_a, const void *_b, void *_arg), void *arg) |
| static _SORT_R_INLINE void | sort_r_simple (void *base, size_t nel, size_t w, int(*compar)(const void *_a, const void *_b, void *_arg), void *arg) |
| static _SORT_R_INLINE void | sort_r_swap (char *__restrict a, char *__restrict b, size_t w) |
| static _SORT_R_INLINE void | sort_r_swap_blocks (char *ptr, size_t na, size_t nb) |
| #define SORT_R_SWAP | ( | a, | |
| b, | |||
| tmp | |||
| ) | ((tmp) = (a), (a) = (b), (b) = (tmp)) |
Definition at line 45 of file sort_r.h.
Referenced by sort_r_simple(), and sort_r_swap().
|
static |
Definition at line 274 of file sort_r.h.
References sort_r_simple().
Referenced by GWEN_QuickSort().


|
static |
Definition at line 59 of file sort_r.h.
References sort_r_swap().
Referenced by sort_r_simple().


|
static |
Definition at line 92 of file sort_r.h.
References sort_r_cmpswap(), SORT_R_SWAP, sort_r_swap(), and sort_r_swap_blocks().
Referenced by sort_r().


|
static |
Definition at line 49 of file sort_r.h.
References SORT_R_SWAP.
Referenced by sort_r_cmpswap(), sort_r_simple(), and sort_r_swap_blocks().

|
static |
Definition at line 82 of file sort_r.h.
References sort_r_swap().
Referenced by sort_r_simple().


1.8.14