VLC
3.0.18
|
Go to the source code of this file.
Data Structures | |
struct | lldiv_t |
struct | max_align_t |
struct | pollfd |
struct | if_nameindex |
struct | timespec |
struct | entry |
Macros | |
#define | VLC_NOTHROW |
#define | TIME_UTC 1 |
#define | aligned_free(ptr) free(ptr) |
#define | LC_ALL_MASK 0 |
#define | LC_NUMERIC_MASK 0 |
#define | LC_MESSAGES_MASK 0 |
#define | LC_GLOBAL_LOCALE ((locale_t)(uintptr_t)1) |
#define | STATIC_ASSERT_CONCAT_(a, b) a##b |
#define | STATIC_ASSERT_CONCAT(a, b) STATIC_ASSERT_CONCAT_(a, b) |
#define | _Static_assert(x, s) extern char STATIC_ASSERT_CONCAT(static_assert_, __LINE__)[sizeof(struct { unsigned:-!(x); })] |
#define | static_assert _Static_assert |
#define | _(str) vlc_gettext (str) |
#define | N_(str) gettext_noop (str) |
#define | gettext_noop(str) (str) |
#define | POLLIN (POLLRDNORM|POLLRDBAND) |
#define | POLLOUT (POLLWRNORM|POLLWRBAND) |
#define | if_nametoindex(name) atoi(name) |
#define | if_nameindex() (errno = ENOBUFS, NULL) |
#define | if_freenameindex(list) (void)0 |
#define | nanf(tagp) NAN |
Typedefs | |
typedef void * | locale_t |
typedef struct entry | ENTRY |
Enumerations | |
enum | { POLLERR =0x1, POLLHUP =0x2, POLLNVAL =0x4, POLLWRNORM =0x10, POLLWRBAND =0x20, POLLRDNORM =0x100, POLLRDBAND =0x200, POLLPRI =0x400 } |
enum | ACTION { FIND, ENTER } |
enum | VISIT { preorder, postorder, endorder, leaf } |
Functions | |
int | asprintf (char **, const char *,...) |
void | flockfile (FILE *) |
void | funlockfile (FILE *) |
int | getc_unlocked (FILE *) |
int | getchar_unlocked (void) |
int | putc_unlocked (int, FILE *) |
int | putchar_unlocked (int) |
ssize_t | getdelim (char **, size_t *, int, FILE *) |
ssize_t | getline (char **, size_t *, FILE *) |
void | rewind (FILE *) |
int | vasprintf (char **, const char *, va_list) |
int | ffsll (long long) |
void * | memrchr (const void *, int, size_t) |
int | strcasecmp (const char *, const char *) |
char * | strcasestr (const char *, const char *) |
char * | strdup (const char *) |
int | strverscmp (const char *, const char *) |
size_t | strnlen (const char *, size_t) |
char * | strnstr (const char *, const char *, size_t) |
char * | strndup (const char *, size_t) |
size_t | strlcpy (char *, const char *, size_t) |
char * | strsep (char **, const char *) |
char * | strtok_r (char *, const char *, char **) |
double | atof (const char *) |
long long | atoll (const char *) |
lldiv_t | lldiv (long long, long long) |
float | strtof (const char *, char **) |
long long int | strtoll (const char *, char **, int) |
struct tm * | gmtime_r (const time_t *, struct tm *) |
struct tm * | localtime_r (const time_t *, struct tm *) |
time_t | timegm (struct tm *) |
int | timespec_get (struct timespec *, int) |
int | gettimeofday (struct timeval *, struct timezone *) |
pid_t | getpid (void) |
int | fsync (int fd) |
long | pathconf (const char *path, int name) |
int() | dirfd (DIR *) |
DIR * | fdopendir (int) |
static char * | getenv (const char *name) |
int | setenv (const char *, const char *, int) |
int | unsetenv (const char *) |
void * | aligned_alloc (size_t, size_t) |
static void | freelocale (locale_t loc) |
static locale_t | newlocale (int mask, const char *locale, locale_t base) |
static locale_t | uselocale (locale_t loc) |
void | swab (const void *, void *, ssize_t) |
int | inet_pton (int, const char *, void *) |
const char * | inet_ntop (int, const void *, char *, socklen_t) |
int | poll (struct pollfd *, unsigned, int) |
ssize_t | recvmsg (int, struct msghdr *, int) |
ssize_t | sendmsg (int, const struct msghdr *, int) |
void * | tsearch (const void *key, void **rootp, int(*cmp)(const void *, const void *)) |
void * | tfind (const void *key, const void **rootp, int(*cmp)(const void *, const void *)) |
void * | tdelete (const void *key, void **rootp, int(*cmp)(const void *, const void *)) |
void | twalk (const void *root, void(*action)(const void *nodep, VISIT which, int depth)) |
void * | lfind (const void *key, const void *base, size_t *nmemb, size_t size, int(*cmp)(const void *, const void *)) |
void | tdestroy (void *root, void(*free_node)(void *nodep)) |
double | erand48 (unsigned short subi[3]) |
long | jrand48 (unsigned short subi[3]) |
long | nrand48 (unsigned short subi[3]) |
void | sincos (double, double *, double *) |
void | sincosf (float, float *, float *) |
char * | realpath (const char *restrict pathname, char *restrict resolved_path) |
This file is a collection of portability fixes
#define _ | ( | str | ) | vlc_gettext (str) |
#define _Static_assert | ( | x, | |
s | |||
) | extern char STATIC_ASSERT_CONCAT(static_assert_, __LINE__)[sizeof(struct { unsigned:-!(x); })] |
#define aligned_free | ( | ptr | ) | free(ptr) |
#define gettext_noop | ( | str | ) | (str) |
#define if_freenameindex | ( | list | ) | (void)0 |
#define if_nameindex | ( | ) | (errno = ENOBUFS, NULL) |
#define LC_ALL_MASK 0 |
#define LC_GLOBAL_LOCALE ((locale_t)(uintptr_t)1) |
#define LC_MESSAGES_MASK 0 |
#define LC_NUMERIC_MASK 0 |
#define N_ | ( | str | ) | gettext_noop (str) |
#define nanf | ( | tagp | ) | NAN |
#define POLLIN (POLLRDNORM|POLLRDBAND) |
#define POLLOUT (POLLWRNORM|POLLWRBAND) |
#define static_assert _Static_assert |
#define STATIC_ASSERT_CONCAT | ( | a, | |
b | |||
) | STATIC_ASSERT_CONCAT_(a, b) |
#define STATIC_ASSERT_CONCAT_ | ( | a, | |
b | |||
) | a##b |
#define TIME_UTC 1 |
#define VLC_NOTHROW |
typedef void* locale_t |
anonymous enum |
enum ACTION |
enum VISIT |
void* aligned_alloc | ( | size_t | , |
size_t | |||
) |
Referenced by AllocatePicture(), and picture_pool_NewExtended().
int asprintf | ( | char ** | , |
const char * | , | ||
... | |||
) |
Referenced by AppendRemapFilter(), ArtCacheGetDirPath(), ArtCacheName(), config_AddIntf(), config_GetAppDir(), config_GetConfigFile(), config_GetDataDir(), config_GetHomeDir(), config_GetLibDir(), config_GetTypeDir(), config_GetUserDir(), config_LoadCmdLine(), config_OpenConfigFile(), config_RemoveIntf(), config_SaveConfigFile(), CreateCacheKey(), download_key(), get_path(), getAppDependentDir(), GetDefaultArtUri(), GetDirByItemUIDs(), GetFileByItemUID(), httpd_HtmlError(), input_item_SetEpg(), input_item_SetEpgOffline(), input_item_SetURI(), input_vaControl(), libvlc_InternalInit(), paths_to_list(), playlist_FindArtInCache(), size_str(), subtitles_Detect(), vlc_bindtextdomain(), vlc_credential_store(), vlc_getProxyUrl(), vlc_http_authority(), vlc_http_cookies_fetch(), vlc_http_msg_add_creds_basic(), vlc_http_msg_vadd_header(), vlc_http_proxy_find(), vlc_http_res_get_redirect(), vlc_http_res_init(), vlc_keycode2str(), vlc_path2uri(), vlc_uri2path(), vlc_uri_merge_paths(), vlm_New(), vout_OSDEpgEvent(), vout_OSDPrintTime(), and vout_snapshot_SaveImage().
double atof | ( | const char * | ) |
Referenced by config_LoadConfigFile(), and Create().
long long atoll | ( | const char * | ) |
int() dirfd | ( | DIR * | ) |
Referenced by vlc_readdir().
double erand48 | ( | unsigned short | subi[3] | ) |
Referenced by vlc_drand48().
DIR* fdopendir | ( | int | ) |
int ffsll | ( | long long | ) |
Referenced by fnsll(), picture_pool_Get(), and picture_pool_Wait().
void flockfile | ( | FILE * | ) |
|
inlinestatic |
Referenced by config_LoadConfigFile(), config_SaveConfigFile(), us_strtod(), us_strtof(), us_vasprintf(), and vlc_strerror_l().
int fsync | ( | int | fd | ) |
Referenced by vlc_trace().
void funlockfile | ( | FILE * | ) |
int getc_unlocked | ( | FILE * | ) |
int getchar_unlocked | ( | void | ) |
ssize_t getdelim | ( | char ** | , |
size_t * | , | ||
int | , | ||
FILE * | |||
) |
|
inlinestatic |
References name.
Referenced by config_GetAppDir(), config_GetDataDir(), config_GetHomeDir(), config_GetTypeDir(), rootwrap_bind(), system_Init(), vlc_getcwd(), and vlc_getProxyUrl().
ssize_t getline | ( | char ** | , |
size_t * | , | ||
FILE * | |||
) |
Referenced by config_GetLibDir(), config_GetTypeDir(), and config_LoadConfigFile().
pid_t getpid | ( | void | ) |
Referenced by config_SaveConfigFile(), and libvlc_InternalInit().
int gettimeofday | ( | struct timeval * | , |
struct timezone * | |||
) |
Referenced by mdate(), and vlc_cond_timedwait_daytime().
struct tm* gmtime_r | ( | const time_t * | , |
struct tm * | |||
) |
Referenced by vlc_http_msg_add_time(), and vout_snapshot_SaveImage().
const char* inet_ntop | ( | int | , |
const void * | , | ||
char * | , | ||
socklen_t | |||
) |
int inet_pton | ( | int | , |
const char * | , | ||
void * | |||
) |
long jrand48 | ( | unsigned short | subi[3] | ) |
Referenced by vlc_mrand48().
void* lfind | ( | const void * | key, |
const void * | base, | ||
size_t * | nmemb, | ||
size_t | size, | ||
int(*)(const void *, const void *) | cmp | ||
) |
lldiv_t lldiv | ( | long long | , |
long long | |||
) |
Referenced by date_Increment(), mdate(), mdate_perf(), mtime_to_ts(), and vlc_addr_timedwait().
struct tm* localtime_r | ( | const time_t * | , |
struct tm * | |||
) |
Referenced by input_item_SetEpg(), vout_OSDPrintTime(), and vout_snapshot_SaveImage().
void* memrchr | ( | const void * | , |
int | , | ||
size_t | |||
) |
Referenced by vlc_uri_remove_dot_segments().
Referenced by config_LoadConfigFile(), config_SaveConfigFile(), us_strtod(), us_strtof(), us_vasprintf(), and vlc_strerror_l().
long nrand48 | ( | unsigned short | subi[3] | ) |
Referenced by vlc_lrand48().
long pathconf | ( | const char * | path, |
int | name | ||
) |
Referenced by vlc_getcwd().
int poll | ( | struct pollfd * | , |
unsigned | , | ||
int | |||
) |
Referenced by net_Accept(), vlc_https_recv(), vlc_https_send(), vlc_poll_i11e(), and vlc_poll_i11e_inner().
int putc_unlocked | ( | int | , |
FILE * | |||
) |
int putchar_unlocked | ( | int | ) |
char* realpath | ( | const char *restrict | pathname, |
char *restrict | resolved_path | ||
) |
ssize_t recvmsg | ( | int | , |
struct msghdr * | , | ||
int | |||
) |
Referenced by recv_fd(), vlc_recvmsg_i11e(), and vlc_tls_SocketRead().
void rewind | ( | FILE * | ) |
Referenced by config_LoadConfigFile().
ssize_t sendmsg | ( | int | , |
const struct msghdr * | , | ||
int | |||
) |
Referenced by vlc_sendmsg_i11e(), vlc_tls_ConnectWrite(), and vlc_tls_SocketWrite().
int setenv | ( | const char * | , |
const char * | , | ||
int | |||
) |
Referenced by system_Init().
void sincos | ( | double | , |
double * | , | ||
double * | |||
) |
void sincosf | ( | float | , |
float * | , | ||
float * | |||
) |
int strcasecmp | ( | const char * | , |
const char * | |||
) |
Referenced by aout_FiltersNew(), bsearch_strcmp_cb(), Create(), demux_NewAdvanced(), image_Type2Fourcc(), meta_sort(), meta_strcasecmp_title(), module_match_name(), proto_SORT_URI(), protocol_is_smb(), protocol_set_port(), protocol_store_path(), rdh_get_slave_priority(), rdh_should_match_idx(), stream_HasExtension(), stream_IsMimeType(), subtitles_Detect(), subtitles_Filter(), VisualizationCallback(), vlc_html_color(), vlc_http_msg_add_cookies(), vlc_http_msg_get_cookies(), vlc_http_msg_h2_frame(), vlc_http_msg_vadd_header(), vlc_https_connect_proxy(), vlc_mime_Ext2Mime(), and vlc_module_load().
char* strcasestr | ( | const char * | , |
const char * | |||
) |
Referenced by input_item_MetaMatch().
char* strdup | ( | const char * | ) |
Referenced by access_New(), addons_manager_Gather(), aout_DeviceSet(), aout_DevicesList(), aout_HotplugNotify(), ArtCacheGetDirPath(), ArtCacheName(), AuthGetParam(), config_ChainCreate(), config_ChainDuplicate(), config_GetDataDir(), config_GetGenericDir(), config_GetHomeDir(), config_GetIntChoices(), config_GetLibDir(), config_GetTypeDir(), config_LoadCmdLine(), config_PutPsz(), cookie_default_path(), cookie_parse(), Create(), demux_NewAdvanced(), get_java_string(), hpack_lookup_name(), hpack_lookup_value(), info_category_New(), info_New(), input_EsOutTimeshiftNew(), input_item_AddOption(), input_item_CopyOptions(), input_item_GetInfo(), input_item_GetMeta(), input_item_GetName(), input_item_GetTitleFbName(), input_item_GetURI(), input_item_SetURI(), LanguageGetCode(), libvlc_InternalInit(), makeaddrinfo(), rdh_name_from_filename(), se_InitDirectory(), sout_NewInstance(), spu_ChangeFilters(), spu_ChangeMargin(), strdupnull(), stream_FilterChainNew(), StreamExtractorAttach(), subtitles_Detect(), system_Configure(), text_segment_New(), text_style_Copy(), text_style_Merge(), TwalkGetNames(), update_Download(), var_Change(), var_Create(), var_Inherit(), var_OptionParse(), vlc_dialog_id_post_login(), vlc_getProxyUrl(), vlc_http_msg_h2_headers(), vlc_http_msg_vadd_header(), vlc_http_req_create(), vlc_http_res_get_type(), vlc_http_res_init(), vlc_http_res_set_login(), vlc_idna_to_ascii(), vlc_loaddir(), vlc_meta_AddExtra(), vlc_meta_Merge(), vlc_meta_Set(), vlc_module_store(), vlc_object_get_name(), vlc_object_set_name(), vlc_path2uri(), vlc_plugin_desc_cb(), vlc_rd_probe_add(), vlc_readdir_helper_additem(), vlc_sd_probe_Add(), vlc_stream_FilterNew(), vlc_uri2path(), vlc_uri_decode_duplicate(), vlc_uri_fixup(), vlc_uri_resolve(), vlc_UrlParseInner(), vlm_media_Copy(), vout_control_PushMessage(), vout_control_PushString(), vout_OSDEpg(), vout_OSDText(), and vout_snapshot_SaveImage().
size_t strlcpy | ( | char * | , |
const char * | , | ||
size_t | |||
) |
Referenced by AddressCreate(), and strcpy_strip_ext().
char* strndup | ( | const char * | , |
size_t | |||
) |
size_t strnlen | ( | const char * | , |
size_t | |||
) |
char* strnstr | ( | const char * | , |
const char * | , | ||
size_t | |||
) |
char* strsep | ( | char ** | , |
const char * | |||
) |
Referenced by aout_FiltersNew(), and playlist_Create().
float strtof | ( | const char * | , |
char ** | |||
) |
Referenced by us_strtof().
char* strtok_r | ( | char * | , |
const char * | , | ||
char ** | |||
) |
Referenced by EsOutSelect(), init_action(), stream_FilterChainNew(), and vlc_actions_get_keycodes().
long long int strtoll | ( | const char * | , |
char ** | , | ||
int | |||
) |
Referenced by config_ChainParse(), config_LoadCmdLine(), var_OptionParse(), and vlc_strtoi().
int strverscmp | ( | const char * | , |
const char * | |||
) |
void swab | ( | const void * | , |
void * | , | ||
ssize_t | |||
) |
void* tdelete | ( | const void * | key, |
void ** | rootp, | ||
int(*)(const void *, const void *) | cmp | ||
) |
Referenced by playlist_ItemNewFromInput(), playlist_ItemRelease(), and var_Destroy().
void tdestroy | ( | void * | root, |
void(*)(void *nodep) | free_node | ||
) |
Referenced by libvlc_InternalActionsClean(), module_EndBank(), vlc_plugin_free_symbols(), and vlc_plugin_get_symbols().
void* tfind | ( | const void * | key, |
const void ** | rootp, | ||
int(*)(const void *, const void *) | cmp | ||
) |
Referenced by module_list_cap(), playlist_ItemGetById(), playlist_ItemGetByInput(), vlc_key_to_action(), and vlc_plugin_get_symbol().
time_t timegm | ( | struct tm * | ) |
Referenced by vlc_http_mktime().
int timespec_get | ( | struct timespec * | , |
int | |||
) |
Referenced by NTPtime64(), and vout_snapshot_SaveImage().
void* tsearch | ( | const void * | key, |
void ** | rootp, | ||
int(*)(const void *, const void *) | cmp | ||
) |
Referenced by add_mapping(), playlist_ItemNewFromInput(), var_Create(), vlc_module_store(), and vlc_plugin_gpa_cb().
void twalk | ( | const void * | root, |
void(*)(const void *nodep, VISIT which, int depth) | action | ||
) |
Referenced by module_LoadPlugins().
int unsetenv | ( | const char * | ) |
Referenced by config_LoadConfigFile(), config_SaveConfigFile(), us_strtod(), us_strtof(), and us_vasprintf().
int vasprintf | ( | char ** | , |
const char * | , | ||
va_list | |||
) |
Referenced by dialog_display_error_va(), dialog_display_login_va(), dialog_display_question_va(), display_progress_va(), info_category_VaAddInfo(), input_vaControl(), net_vaPrintf(), us_vasprintf(), utf8_vfprintf(), vlc_dialog_update_progress_text_va(), vlc_http_msg_vadd_header(), and vout_OSDMessage().