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. | |
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
References arg, compar, compar_wrapper(), and state.
Referenced by vlc_loaddir(), and vlc_playlist_Sort().
void* arg |
Referenced by config_CmdLineEarlyScan(), IPCHelperThread(), vlc_qsort(), and vlc_timer_do().
int(* compar) (const void *, const void *, void *) | ( | const void * | , |
const void * | , | ||
void * | |||
) |
Referenced by vlc_loaddir(), vlc_qsort(), and vlc_scandir().
thread_local struct { ... } state |
Referenced by compar_wrapper(), config_LoadCmdLine(), es_out_GetESState(), es_out_SetESState(), exchange(), extension_PlayingChanged(), libvlc_AddInterfaces(), player_on_current_media_changed(), vlc_getopt_long(), vlc_player_input_HandleState(), vlc_player_input_HandleStateEvent(), vlc_playlist_ItemReplaced(), vlc_playlist_ItemsInserted(), vlc_playlist_ItemsMoved(), vlc_playlist_ItemsRemoved(), vlc_playlist_ItemsReset(), vlc_playlist_PlaybackOrderChanged(), vlc_playlist_PlaybackRepeatChanged(), vlc_playlist_SetCurrentIndex(), vlc_playlist_Shuffle(), vlc_playlist_Sort(), vlc_playlist_state_Save(), vlc_qsort(), vlc_restorecancel(), vlc_savecancel(), vlc_stream_GetPrivateIdState(), vlc_stream_SetPrivateIdState(), vlc_window_ReportState(), vlc_window_SetState(), vlm_SendEventMediaInstanceState(), vout_display_ResizeWindow(), vout_display_window_Delete(), vout_display_window_FullscreenNotify(), vout_display_window_IccEvent(), vout_display_window_MouseEvent(), vout_display_window_New(), vout_display_window_ResizeNotify(), vout_display_window_SetMouseHandler(), vout_display_window_StateNotify(), and vout_display_window_WindowingNotify().