|
VLC 4.0.0-dev
|
This section defines a number of macros and inline functions extending the C language. More...
Topics | |
| Error codes | |
| Integer operations | |
| Common integer functions. | |
| Linked lists | |
| Linked lists (C++ wrappers) | |
| In-memory byte streams | |
| In-memory byte stream are a portable wrapper for in-memory formatted output byte streams. | |
| Thread-safe queues (FIFO) | |
| String helpers | |
| Vector | |
Macros | |
| #define | VLC_USED |
| #define | VLC_MALLOC |
| #define | VLC_DEPRECATED |
| #define | VLC_DEPRECATED_ENUM |
| Deprecated enum member annotation. | |
| #define | VLC_FORMAT(x, y) |
| String format function annotation. | |
| #define | VLC_FORMAT_ARG(x) |
| Format string translation function annotation. | |
| #define | VLC_WEAK |
| Weak symbol annotation. | |
| #define | likely(p) |
| Predicted true condition. | |
| #define | unlikely(p) |
| Predicted false condition. | |
| #define | unreachable() |
| Impossible branch. | |
| #define | vlc_assert_unreachable() |
| Impossible branch assertion. | |
| #define | vlc_assert(pred) |
| Run-time assertion. | |
| #define | VLC_EXTERN |
| #define | VLC_EXPORT |
| #define | VLC_API VLC_EXTERN VLC_EXPORT |
| Exported API call annotation. | |
This section defines a number of macros and inline functions extending the C language.
Most extensions are implemented by GCC and LLVM/Clang, and have unoptimized fallbacks for other C11/C++11 conforming compilers.
| #define likely | ( | p | ) |
Predicted true condition.
This macro indicates that the condition is expected most often true. The compiler may optimize the code assuming that this condition is usually met.
Referenced by aout_ChannelReorder(), aout_New(), AppendAttachment(), ChangeFilters(), config_GetLibDirOnce(), decoder_NewAudioBuffer(), Decoder_PausedForNextFrame(), DecoderThread(), demux_NewAdvanced(), DisplayNextFrame(), DisplayPicture(), encode_URI_bytes(), EnsureUTF8(), es_format_Copy(), httpd_ReasonFromCode(), input_ExtractAttachmentAndCacheArt(), input_item_CopyOptions(), input_resource_RequestSout(), InputSourceInit(), IsUTF8(), module_InitBank(), module_InitStaticModules(), net_SetupDgramSocket(), picture_InternalClone(), replay_gain_CalcMultiplier(), rtp_ac3_decode_compound(), rtp_ac3_send(), rtp_mpa_decode(), rtp_mpa_send(), rtp_mpv_send(), rtp_pcm_decode(), SpuRenderSubpictures(), subpicture_NewFromPicture(), utf8_vfprintf(), var_GetCoords(), var_LocationParse(), vlc_array_remove(), vlc_cancel_self(), vlc_clock_main_Create(), vlc_CPU_functions_init(), vlc_datagram_CreateFD(), vlc_dccp_CreateFD(), vlc_dup(), vlc_epg_event_Duplicate(), vlc_fifo_New(), vlc_filter_UnloadModule(), vlc_frame_Alloc(), vlc_gettext(), vlc_h2_frame_data(), vlc_h2_frame_goaway(), vlc_h2_frame_headers(), vlc_h2_frame_ping(), vlc_h2_frame_pong(), vlc_h2_frame_rst_stream(), vlc_h2_frame_window_update(), vlc_h2_stream_write(), vlc_http_proxy_find(), vlc_http_res_get_redirect(), vlc_input_attachment_New(), vlc_input_title_Duplicate(), vlc_interrupt_create(), vlc_loaddir(), vlc_ngettext(), vlc_obj_calloc(), vlc_obj_malloc(), vlc_obj_memdup(), vlc_object_init(), vlc_player_New(), vlc_poll_i11e(), vlc_sem_timedwait(), vlc_sem_wait(), vlc_spawn_inner(), vlc_stream_CopyBlock(), vlc_stream_fifo_Queue(), vlc_tick_wait(), vlc_timer_thread(), vlc_towc(), vlc_uri_encode(), vlm_New(), vout_ChangeSpuChannelMargin(), vout_ControlChangeSubFilters(), vout_ControlChangeSubSources(), vout_display_window_MouseEvent(), and vout_InitInterlacingSupport().
| #define unlikely | ( | p | ) |
Predicted false condition.
This macro indicates that the condition is expected most often false. The compiler may optimize the code assuming that this condition is rarely met.
Referenced by access_New(), add_mapping(), addon_entry_New(), allow_hstd_inherit(), aout_ChannelReorder(), aout_DevicesList(), aout_EnableFilter(), aout_filter_Create(), aout_filter_GetVout(), aout_FiltersNewWithClock(), aout_HotplugNotify(), aout_New(), aout_volume_New(), ArtCacheGetDirPath(), ArtCacheName(), block_BytestreamPop(), block_FindStartcodeFromOffset(), config_AutoSaveConfigFile(), config_FindConfig(), config_GetIntChoices(), config_GetSysPath(), config_SortConfig(), config_StringEscape(), context_new(), cookie_parse(), CreateDecoder(), date_Decrement(), date_Increment(), decoder_GetDecoderDevice(), decoder_UpdateVideoOutput(), Decoder_VideoDrained(), DecoderThread(), DecoderThread_DecodeBlock(), DecoderThread_ProcessInput(), demux_Demux(), demux_FilterNew(), demux_NewAdvanced(), Destroy(), encode_URI_bytes(), es_format_Copy(), EsOutCreateDecoder(), EsOutDeleteInfoEs(), EsOutUpdateInfo(), filter_chain_AppendInner(), filter_chain_NewInner(), filter_chain_NewVideo(), filter_NewBlend(), GenerateCnonce(), GetCCDescLocked(), GetDirByItemUIDs(), GetTmpFile(), GetVarSlaves(), httpd_FileNew(), httpd_RedirectNew(), httpd_StreamSetHTTPHeaders(), httpd_UrlNew(), httpdLoop(), input_Create(), input_fetcher_New(), input_item_AddOpaque(), input_item_AddOption(), input_item_Copy(), input_item_CopyOptions(), input_item_CreateFilename(), input_item_NewExt(), input_stats_Create(), InputGetExtraFilesPattern(), InputSourceMeta(), InputSourceNew(), InputUpdateMeta(), intf_Create(), intf_InsertItem(), InvokeModule(), keystore_create(), libvlc_InternalActionsClean(), libvlc_InternalActionsInit(), libvlc_InternalInit(), libvlc_MlCreate(), mdate_perf(), mdate_perf_100ns(), module_find(), module_get_object(), module_gettext(), module_InitStatic(), module_list_get(), module_need_var(), ModuleThread_PlayAudio(), ModuleThread_PlayVideo(), ModuleThread_QueueCc(), mrl_FragmentSplit(), Open(), OpenSDP(), OpenURL(), OSDRegion(), picture_NewFromFormat(), picture_NewFromResource(), picture_pool_New(), picture_pool_NewCommon(), picture_pool_NewFromFormat(), picture_Setup(), PreparePicture(), preparser_GenerateThumbnailToFiles(), PrerenderPicture(), print_desc(), RenderPicture(), RenderSPUs(), rtp_ac3_begin(), rtp_ac3_decode(), rtp_ac3_end(), rtp_ac3_open(), rtp_dgram_thread(), rtp_mpa_decode(), rtp_mpa_destroy(), rtp_mpa_init(), rtp_mpv_decode(), rtp_mpv_destroy(), rtp_mpv_init(), rtp_pcm_decode(), rtp_pcm_open(), rtp_raw_open(), rtp_timeout(), se_AttachWrapper(), se_InitDirectory(), se_InitStream(), services_discovery_item_added(), services_discovery_item_removed(), sout_AccessOutNew(), sout_AnnounceRegisterSDP(), sout_StreamNew(), sout_StreamNewEmpty(), sout_StreamNewModule(), spu_GetFreeChannelId(), SpuRenderCreateAndLoadText(), SpuRenderRegion(), SpuRenderSubpictures(), SpuRenderText(), stream_AccessNew(), stream_CheckReady(), stream_FilterChainNew(), stream_Silence(), StreamExtractorAttach(), subpicture_NewFromPicture(), subpicture_region_NewInternal(), SubSourceInit(), subtitles_positions_AddRelativeRegion(), system_ConfigureDbus(), text_segment_Copy(), text_segment_NewInheritStyle(), ToCharset(), TsStorageNew(), update_DownloadReal(), UpdateCurrentPicture(), UpdateSourceSAR(), utf8_vfprintf(), var_Create(), vlc_actions_get_keycodes(), vlc_aout_stream_Drain(), vlc_aout_stream_Play(), vlc_array_append(), vlc_array_insert(), vlc_atomic_timedwait(), vlc_b64_encode_binary(), vlc_bindtextdomain(), vlc_chroma_conv_Probe(), vlc_chunked_open(), vlc_chunked_read(), vlc_clock_main_New(), vlc_clock_master_update(), vlc_clock_setup_once(), vlc_clone(), vlc_clone_attr(), vlc_close(), vlc_CPU(), vlc_custom_create(), vlc_dccp_Recv(), vlc_demux_chained_New(), vlc_dictionary_all_keys(), vlc_dlopen(), vlc_encoder_GetDecoderDevice(), vlc_filter_LoadModule(), vlc_frame_Alloc(), vlc_frame_File(), vlc_frame_heap_Alloc(), vlc_frame_New(), vlc_GetCPUCount(), vlc_getcwd(), vlc_gl_Create(), vlc_gl_CreateOffscreen(), vlc_gl_surface_Create(), vlc_h1_conn_create(), vlc_h1_request(), vlc_h1_stream_open(), vlc_h1_stream_read(), vlc_h1_stream_wait(), vlc_h2_conn_create(), vlc_h2_frame_alloc(), vlc_h2_frame_headers(), vlc_h2_frame_recv(), vlc_h2_frame_settings(), vlc_h2_output_create(), vlc_h2_output_dequeue(), vlc_h2_output_queue(), vlc_h2_parse_headers_append(), vlc_h2_parse_init(), vlc_h2_recv_thread(), vlc_h2_stream_headers(), vlc_h2_stream_open(), vlc_h2_stream_read(), vlc_h2_stream_write(), vlc_http_authority(), vlc_http_cookies_new(), vlc_http_file_create(), vlc_http_get_token_value(), vlc_http_live_create(), vlc_http_mgr_create(), vlc_http_msg_add_cookies(), vlc_http_msg_add_creds_basic(), vlc_http_msg_get_file_size(), vlc_http_msg_h2_frame(), vlc_http_msg_h2_headers(), vlc_http_msg_headers(), vlc_http_msg_vadd_header(), vlc_http_outfile_create(), vlc_http_req_create(), vlc_http_res_get_redirect(), vlc_http_res_init(), vlc_http_res_open(), vlc_http_res_req(), vlc_http_res_set_login(), vlc_http_resp_create(), vlc_http_tunnel_open(), vlc_https_connect_proxy(), vlc_https_headers_recv(), vlc_https_request(), vlc_idna_to_ascii(), vlc_input_attachment_New(), vlc_input_decoder_Flush(), vlc_input_decoder_FrameNext(), vlc_interrupt_prepare(), vlc_iri2uri(), vlc_loaddir(), vlc_LogEarlyOpen(), vlc_LogExternalCreate(), vlc_LogHeaderCreate(), vlc_LogModuleCreate(), vlc_LogPreinit(), vlc_LogSwitchCreate(), vlc_media_source_New(), vlc_media_source_provider_Add(), vlc_media_source_provider_List(), vlc_media_source_provider_New(), vlc_media_tree_Add(), vlc_media_tree_AddChild(), vlc_media_tree_AddListener(), vlc_media_tree_New(), vlc_memstream_open(), vlc_memstream_vprintf(), vlc_memstream_write(), vlc_mkdir(), vlc_ml_event_register_callback(), vlc_module_load(), vlc_module_match(), vlc_module_store(), vlc_mta_acquire(), vlc_mutex_trylock(), vlc_mutex_unlock(), vlc_obj_calloc(), vlc_object_init(), vlc_objres_new(), vlc_once(), vlc_once_begin(), vlc_once_begin_inline(), vlc_open(), vlc_opendir(), vlc_param_SetString(), vlc_path2uri(), vlc_player_osd_Tracks(), vlc_player_Start(), vlc_player_timer_point_Interpolate(), vlc_playlist_AddListener(), vlc_playlist_item_meta_CopyString(), vlc_playlist_item_meta_InitFields(), vlc_playlist_item_meta_New(), vlc_playlist_item_New(), vlc_playlist_MediaToItems(), vlc_playlist_New(), vlc_playlist_NewMetaArray(), vlc_playlist_PlayerInit(), vlc_playlist_Sort(), vlc_plugin_create(), vlc_plugin_desc_cb(), vlc_plugin_describe(), vlc_plugin_gpa_cb(), vlc_poll_i11e(), vlc_preparser_internal_New(), vlc_probe(), vlc_probe_add(), vlc_rcu_read_unlock(), vlc_rd_get_names(), vlc_rd_probe_add(), vlc_readdir(), vlc_render_subpicture_New(), vlc_renderer_item_new(), vlc_restorecancel(), vlc_rtp_es_request(), vlc_rtp_mux_request(), vlc_rtp_pt_create(), vlc_sd_Create(), vlc_sd_GetNames(), vlc_sd_probe_Add(), vlc_sdp_attr_parse(), vlc_sdp_conn_parse(), vlc_sdp_media_parse(), vlc_sdp_parse(), vlc_seekpoint_Duplicate(), vlc_sem_post(), vlc_spawn_inner(), vlc_spawn_inner(), vlc_statEx(), vlc_strcasestr(), vlc_stream_AttachmentNew(), vlc_stream_Block(), vlc_stream_CustomNew(), vlc_stream_fifo_New(), vlc_stream_fifo_Queue(), vlc_stream_fifo_Write(), vlc_stream_FilterNew(), vlc_stream_MemoryNew(), vlc_stream_Peek(), vlc_stream_ReadBlock(), vlc_stream_ReadLine(), vlc_stream_ReadRaw(), vlc_strerror_l(), vlc_thread_id(), vlc_threadvar_create(), vlc_tick_now(), vlc_tick_to_str(), vlc_tick_wait(), vlc_timer_create(), vlc_timer_schedule(), vlc_tls_ClientCreate(), vlc_tls_GetLine(), vlc_tls_ServerCreate(), vlc_tls_SocketAddrInfo(), vlc_tls_SocketAlloc(), vlc_tls_SocketPair(), vlc_towc(), vlc_tracer_Create(), vlc_unlink(), vlc_uri2path(), vlc_uri_compose(), vlc_uri_merge_paths(), vlc_uri_resolve(), vlc_UrlParseInner(), vlc_vaLogEarly(), vlc_video_context_Create(), vlc_xlib_init(), vlc_xml_encode(), vout_Create(), vout_display_New(), vout_OpenWrapper(), vout_OSDSegment(), vout_resource_Create(), vout_snapshot_New(), vout_UpdateWindowSizeLocked(), VoutSetupConverter(), xiph_open(), xmalloc(), xml_ReaderCreate(), xrealloc(), and xstrdup().
| #define unreachable | ( | ) |
Impossible branch.
This macro indicates that the branch cannot be reached at run-time, and represents undefined behaviour. The compiler may optimize the code assuming that the call flow will never logically reach the point where this macro is expanded.
See also vlc_assert_unreachable.
| #define VLC_API VLC_EXTERN VLC_EXPORT |
Exported API call annotation.
This macro is placed before a function declaration to indicate that the function is an API call of the LibVLC plugin API.
| #define vlc_assert | ( | pred | ) |
Run-time assertion.
This macro performs a run-time assertion if C assertions are enabled and the following preprocessor symbol is defined:
LIBVLC_INTERNAL_
That restriction ensures that assertions in public header files are not unwittingly leaked to externally-compiled plug-ins including those header files.
Within the LibVLC code base, this is exactly the same as assert(), which can and probably should be used directly instead.
Referenced by decoder_GetDecoderDevice(), decoder_GetDisplayDate(), decoder_GetDisplayRate(), decoder_GetInputAttachments(), decoder_NewPicture(), decoder_NewSubpicture(), decoder_QueueAudio(), decoder_QueueCc(), decoder_QueueSub(), decoder_QueueVideo(), decoder_UpdateAudioFormat(), decoder_UpdateVideoOutput(), picture_SwapUV(), vlc_atomic_rc_dec(), vlc_atomic_rc_inc(), vlc_encoder_GetDecoderDevice(), vlc_media_source_Hold(), vlc_media_source_provider_GetMediaSource(), vlc_media_source_Release(), vlc_ml_count_album_artists(), vlc_ml_count_album_tracks(), vlc_ml_count_albums(), vlc_ml_count_albums_of(), vlc_ml_count_artist_albums(), vlc_ml_count_artist_tracks(), vlc_ml_count_artists(), vlc_ml_count_artists_of(), vlc_ml_count_audio_history(), vlc_ml_count_audio_media(), vlc_ml_count_audio_of(), vlc_ml_count_banned_entry_points(), vlc_ml_count_entry_points(), vlc_ml_count_favorite_albums(), vlc_ml_count_favorite_artists(), vlc_ml_count_favorite_audios(), vlc_ml_count_favorite_folders(), vlc_ml_count_favorite_genres(), vlc_ml_count_favorite_media(), vlc_ml_count_favorite_playlists(), vlc_ml_count_favorite_videos(), vlc_ml_count_folder_media(), vlc_ml_count_folders(), vlc_ml_count_folders_by_type(), vlc_ml_count_genre_albums(), vlc_ml_count_genre_artists(), vlc_ml_count_genre_tracks(), vlc_ml_count_genres(), vlc_ml_count_group_media(), vlc_ml_count_groups(), vlc_ml_count_history(), vlc_ml_count_media(), vlc_ml_count_media_labels(), vlc_ml_count_media_of(), vlc_ml_count_movies(), vlc_ml_count_playlist_media(), vlc_ml_count_playlists(), vlc_ml_count_show_episodes(), vlc_ml_count_shows(), vlc_ml_count_video_history(), vlc_ml_count_video_media(), vlc_ml_count_video_of(), vlc_ml_list_album_artists(), vlc_ml_list_album_tracks(), vlc_ml_list_albums(), vlc_ml_list_albums_of(), vlc_ml_list_artist_albums(), vlc_ml_list_artist_of(), vlc_ml_list_artist_tracks(), vlc_ml_list_artists(), vlc_ml_list_audio_history(), vlc_ml_list_audio_media(), vlc_ml_list_audio_of(), vlc_ml_list_banned_entry_points(), vlc_ml_list_entry_points(), vlc_ml_list_favorite_albums(), vlc_ml_list_favorite_artists(), vlc_ml_list_favorite_audios(), vlc_ml_list_favorite_folders(), vlc_ml_list_favorite_genres(), vlc_ml_list_favorite_media(), vlc_ml_list_favorite_playlists(), vlc_ml_list_favorite_videos(), vlc_ml_list_folder_media(), vlc_ml_list_folders(), vlc_ml_list_folders_by_type(), vlc_ml_list_genre_albums(), vlc_ml_list_genre_artists(), vlc_ml_list_genre_tracks(), vlc_ml_list_genres(), vlc_ml_list_group_media(), vlc_ml_list_groups(), vlc_ml_list_history(), vlc_ml_list_media(), vlc_ml_list_media_labels(), vlc_ml_list_media_of(), vlc_ml_list_movies(), vlc_ml_list_playlist_media(), vlc_ml_list_playlists(), vlc_ml_list_show_episodes(), vlc_ml_list_shows(), vlc_ml_list_video_history(), vlc_ml_list_video_media(), vlc_ml_list_video_of(), and vlc_picture_chain_Append().
| #define vlc_assert_unreachable | ( | ) |
Impossible branch assertion.
This macro asserts that the branch cannot be reached at run-time.
If the branch is reached in a debug build, it will trigger an assertion failure and abnormal program termination.
If the branch is reached in a non-debug build, this macro is equivalent to unreachable and the behaviour is undefined.
Referenced by aout_Deinterleave(), aout_Interleave(), CmdClean(), CmdExecuteControl(), CmdExecutePrivControl(), CmdInitControl(), CmdInitPrivControl(), CompareMetaByKey(), config_GetShellDir(), config_GetSysPath(), config_LoadCmdLine(), ControlLocked(), Decoder_ChangeOutputDelay(), Decoder_ChangeOutputPause(), Decoder_ChangeOutputRate(), DecoderThread_DecodeBlock(), DeleteDecoder(), demux_vaControl(), EsOutCreateDecoder(), EsOutProgramHandleClockSource(), EsOutUpdateInfo(), EsOutVaControlLocked(), EsOutVaPrivControlLocked(), getAppDependentDir(), GetCcChannels(), GetChromaBits(), GetColorRatio(), httpd_ClientRecv(), input_Create(), input_SlaveSourceAdd(), net_Accept(), picture_pool_NewFromFormat(), platform_GetUserDir(), player_on_state_changed(), preparser_task_ExecCallback(), PrivControlLocked(), RemoveCcDecoder(), resource_GetVoutRsc(), rtp_pcm_reorder(), sout_AnnounceRegisterSDP(), spu_ChangeChannelOrderMargin(), spu_GetChannel(), ThumbnailerRun(), transform_GetBasicOps(), TsRun(), update_Check(), update_Delete(), update_Download(), update_GetRelease(), update_NeedUpgrade(), UpdateSourceSAR(), var_Create(), var_Inherit(), vlc_atomic_timedwait(), vlc_clock_RemoveListener(), vlc_control_cancel(), vlc_extension_VaControl(), vlc_http_msg_get_file_size(), vlc_http_msg_h2_frame(), vlc_mutex_unlock(), vlc_once_complete(), vlc_player_AddMetadataListener(), vlc_player_AoutCallback(), vlc_player_GetCategoryLanguage(), vlc_player_input_HandleEsEvent(), vlc_player_input_HandleProgramEvent(), vlc_player_input_HandleState(), vlc_player_input_HandleStateEvent(), vlc_player_input_HandleTeletextMenu(), vlc_player_input_HandleTitleEvent(), vlc_player_input_HandleVoutEvent(), vlc_player_input_NavigationFallback(), vlc_player_Navigate(), vlc_player_RemoveMetadataListener(), vlc_player_SelectCategoryLanguage(), vlc_player_SetAtoBLoop(), vlc_player_UpdateTimerEvent(), vlc_player_VoutCallback(), vlc_playlist_AutoPreparse(), vlc_playlist_ComputeHasNext(), vlc_playlist_ComputeHasPrev(), vlc_playlist_GetNextIndex(), vlc_playlist_GetPrevIndex(), vlc_playlist_item_meta_InitField(), vlc_playlist_NormalOrderGetNextIndex(), vlc_playlist_NormalOrderGetPrevIndex(), vlc_playlist_UpdateNextMedia(), vlc_process_fd_Read(), vlc_process_fd_Write(), vlc_process_Terminate(), vlc_rcu_read_unlock(), vlc_stream_vaControl(), vlc_strftime(), vlc_waitpid(), vlm_Control(), vlm_Delete(), vlm_ExecuteCommand(), vlm_MessageAdd(), vlm_MessageDelete(), vout_CropEqual(), vout_display_TranslateCoordinates(), vout_display_window_MouseEvent(), and vout_UpdateSourceCrop().
| #define VLC_DEPRECATED |
Referenced by vlc_object_hold().
| #define VLC_DEPRECATED_ENUM |
Deprecated enum member annotation.
Use this macro after an enumerated type member declaration. The compiler may emit a warning every time the enumeration member is used.
See also VLC_DEPRECATED.
| #define VLC_EXPORT |
| #define VLC_EXTERN |
| #define VLC_FORMAT | ( | x, | |
| y ) |
String format function annotation.
Use this macro after a function prototype/declaration if the function expects a standard C format string. This helps compiler diagnostics.
| x | the position (starting from 1) of the format string argument |
| y | the first position (also starting from 1) of the variable arguments following the format string (usually but not always x+1). |
Referenced by vlc_http_dbg(), vlc_http_err(), vlc_http_msg_add_header(), and vlc_iconv_close().
| #define VLC_FORMAT_ARG | ( | x | ) |
Format string translation function annotation.
Use this macro after a function prototype/declaration if the function expects a format string as input and returns another format string as output to another function.
This is primarily intended for localization functions such as gettext().
| #define VLC_MALLOC |
Referenced by addons_uuid_to_psz(), EsOutCreateStrId(), vlc_b64_decode_binary_to_buffer(), vlc_frame_Init(), and vlc_uri_fixup_inner().
| #define VLC_USED |
| #define VLC_WEAK |
Weak symbol annotation.
Use this macro before an external identifier definition to mark it as a weak symbol. A weak symbol can be overridden by another symbol of the same name at the link time.
Referenced by config_GetLibDir(), picture_Allocate(), picture_Deallocate(), vlc_CPU_raw(), vlc_memfd(), vlc_mkstemp(), vlc_qsort(), vlc_thread_id(), and vlc_thread_set_name().