VLC
4.0.0-dev
|
Functions | |
static int | compar_wrapper (const void *a, const void *b) |
void | vlc_qsort (void *base, size_t nmemb, size_t size, int(*compar)(const void *, const void *, void *), void *arg) |
Sort an array with reentrancy, following the upcoming POSIX prototype. More... | |
Variables | |
struct { | |
int(* compar )(const void *, const void *, void *) | |
void * arg | |
} | state |
|
static |
References state.
Referenced by vlc_qsort().
void vlc_qsort | ( | void * | base, |
size_t | nmemb, | ||
size_t | size, | ||
int(*)(const void *, const void *, void *) | compar, | ||
void * | arg | ||
) |
Sort an array with reentrancy, following the upcoming POSIX prototype.
cf. POSIX qsort_r
Referenced by vlc_loaddir(), and vlc_playlist_Sort().
void* arg |
Referenced by IPCHelperThread(), and vlc_timer_do().
int(* compar) (const void *, const void *, void *) |
Referenced by vlc_loaddir(), vlc_qsort(), and vlc_scandir().
thread_local { ... } state |
Referenced by compar_wrapper(), config_LoadCmdLine(), vlc_player_input_GetTrackVector(), vlc_player_input_HandleState(), vlc_player_UpdateTimerState(), vlc_qsort(), vlc_restorecancel(), vlc_savecancel(), vout_display_window_Delete(), vout_display_window_FullscreenNotify(), vout_display_window_MouseEvent(), vout_display_window_New(), vout_display_window_ResizeNotify(), vout_display_window_StateNotify(), and vout_display_window_WindowingNotify().