Home
last modified time | relevance | path

Searched refs:g_once (Results 1 – 25 of 43) sorted by relevance

12

/third_party/musl/libc-test/src/functionalext/supplement/thread/
Dpthread_once.c21 static pthread_once_t g_once = PTHREAD_ONCE_INIT; variable
31 int32_t ret = pthread_once(&g_once, OnceRun); in threadfuncA()
38 int32_t ret = pthread_once(&g_once, OnceRun); in threadfuncB()
/third_party/grpc/src/core/lib/security/credentials/alts/
Dcheck_gcp_environment_linux.cc37 static gpr_once g_once = GPR_ONCE_INIT; variable
57 gpr_once_init(&g_once, init_mu); in grpc_alts_is_running_on_gcp()
Dcheck_gcp_environment_windows.cc82 static gpr_once g_once = GPR_ONCE_INIT; variable
90 gpr_once_init(&g_once, init_mu); in grpc_alts_is_running_on_gcp()
/third_party/glib/glib/tests/
Donce.c52 res = g_once (&once, do_once, NULL); in test_once_single_threaded()
57 res = g_once (&once, do_once, NULL); in test_once_single_threaded()
100 res = g_once (&once_multi_threaded, do_once_multi_threaded, NULL); in once_thread_func()
/third_party/gstreamer/gstplugins_base/gst/subparse/
Dgstsubparseelement.c111 g_once (&mdvd_rx_once, in gst_sub_parse_data_format_autodetect()
114 g_once (&subrip_rx_once, in gst_sub_parse_data_format_autodetect()
117 g_once (&dks_rx_once, in gst_sub_parse_data_format_autodetect()
120 g_once (&vtt_rx_once, in gst_sub_parse_data_format_autodetect()
/third_party/grpc/src/core/ext/filters/client_channel/
Dbackup_poller.cc53 static gpr_once g_once = GPR_ONCE_INIT; variable
71 gpr_once_init(&g_once, [] { gpr_mu_init(&g_poller_mu); }); in grpc_client_channel_global_init_backup_polling()
/third_party/grpc/src/core/lib/security/credentials/google_default/
Dgoogle_default_credentials.cc68 static gpr_once g_once = GPR_ONCE_INIT; variable
286 gpr_once_init(&g_once, init_default_credentials); in update_tenancy()
391 gpr_once_init(&g_once, init_default_credentials); in grpc_flush_cached_google_default_credentials()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/pbutils/
Dpbutils.c102 g_once (&locale_init_once, _init_locale_text_domain, NULL); in gst_pb_utils_init_locale_text_domain()
/third_party/gstreamer/gstplugins_base/ext/gl/effects/
Dgstgleffectblur.c44 g_once (&my_once, init_kernel, NULL); in gst_gl_effects_blur_kernel()
/third_party/glib/glib/
Dgthread.h247 # define g_once(once, func, arg) \ macro
252 # define g_once(once, func, arg) g_once_impl ((once), (func), (arg)) macro
/third_party/glib/tests/
Dthread-test.c325 gpointer ret = g_once (test_g_once_array + pos, test_g_once_init_func, in test_g_once_thread()
333 gpointer ret = g_once (test_g_once_array + i, test_g_once_init_func, in test_g_once_thread()
/third_party/gstreamer/gstplugins_bad/ext/resindvd/
Drsndec.c397 g_once (&gonce, _get_decoder_factories, klass); in rsn_audiodec_get_decoder_factories()
447 g_once (&gonce, _get_decoder_factories, klass); in rsn_videodec_get_decoder_factories()
/third_party/gstreamer/gstplugins_base/gst/gio/
Dgstgioelement.c136 g_once (&once, _internal_get_supported_protocols, NULL); in gst_gio_get_supported_protocols()
/third_party/gstreamer/gstplugins_bad/ext/opencv/
Dgstfaceblur.cpp128 g_once (&once, (GThreadFunc) register_gst_opencv_face_blur_flags, &id); in gst_opencv_face_blur_flags_get_type()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/gl/egl/
Dgstglcontext_egl.c1334 static GOnce g_once = G_ONCE_INIT; local
1366 g_once (&g_once, load_egl_module, NULL);
/third_party/gstreamer/gstplugins_bad/sys/va/
Dgstvavideoformat.c389 g_once (&once, fix_map, &args); in gst_va_video_format_fix_map()
Dgstvavp8dec.c594 g_once (&debug_once, _register_debug_category, NULL); in gst_va_vp8_dec_register()
Dgstvampeg2dec.c725 g_once (&debug_once, _register_debug_category, NULL); in gst_va_mpeg2_dec_register()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/gl/
Dgstglcontext.c923 g_once (&module_gles2_gonce, load_gles2_module, NULL); in gst_gl_context_default_get_proc_address()
931 g_once (&module_opengl_gonce, load_opengl_module, NULL); in gst_gl_context_default_get_proc_address()
938 g_once (&module_self_gonce, load_self_module, NULL); in gst_gl_context_default_get_proc_address()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/tag/
Dtags.c236 g_once (&mb_once, gst_tag_register_tags_internal, NULL); in gst_tag_register_musicbrainz_tags()
/third_party/gstreamer/gstplugins_bad/sys/decklink/
Dgstdecklink.cpp1667 g_once (&devices_once, init_devices, NULL); in gst_decklink_get_devices()
1700 g_once (&devices_once, init_devices, NULL); in gst_decklink_acquire_nth_output()
1774 g_once (&devices_once, init_devices, NULL); in gst_decklink_acquire_nth_input()
/third_party/glib/gio/
Dgunionvolumemonitor.c443 g_once (&once_init, (GThreadFunc)get_default_native_class, &type_class); in get_native_class()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/gl/wgl/
Dgstglcontext_wgl.c499 g_once (&module_opengl_dll_gonce, load_opengl_dll_module, NULL); in gst_gl_context_wgl_get_proc_address()
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/transcoder/
Dgsttranscoder.c897 g_once (&once, gst_transcoder_init_once, NULL); in gst_transcoder_new()
922 g_once (&once, gst_transcoder_init_once, NULL); in gst_transcoder_new_full()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/audio/
Daudio-format.c597 g_once (&raw_audio_formats_once, generate_raw_audio_formats, NULL); in gst_audio_formats_raw()

12