Home
last modified time | relevance | path

Searched refs:event_queue (Results 1 – 25 of 32) sorted by relevance

12

/third_party/gstreamer/gstreamer/tests/check/gst/
Dgstpromise.c28 struct event_queue struct
46 _promise_thread (struct event_queue *q) in _promise_thread() argument
70 event_queue_start (struct event_queue *q) in event_queue_start()
81 event_queue_stop (struct event_queue *q) in event_queue_stop()
90 event_queue_stop_wait (struct event_queue *q) in event_queue_stop_wait()
102 static struct event_queue *
105 struct event_queue *q = g_new0 (struct event_queue, 1); in event_queue_new()
117 event_queue_free (struct event_queue *q) in event_queue_free()
130 _enqueue_task (struct event_queue *q, GSourceFunc func, gpointer data, in _enqueue_task()
440 struct event_queue *q;
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/wps/
Dwps_upnp_event.c89 e = dl_list_first(&s->event_queue, struct wps_event_, list); in event_dequeue()
136 if (!dl_list_empty(&s->event_queue)) in event_retry()
140 dl_list_add(&s->event_queue, &e->list); in event_retry()
230 if (!dl_list_empty(&s->event_queue)) in event_http_cb()
281 dl_list_empty(&s->event_queue)) in event_send_start()
323 !dl_list_empty(&s->event_queue) /* more to do */) { in event_send_all_later_handler()
378 len = dl_list_len(&s->event_queue); in event_add()
418 dl_list_add_tail(&s->event_queue, &e->list); in event_add()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/wps/
Dwps_upnp_event.c89 e = dl_list_first(&s->event_queue, struct wps_event_, list); in event_dequeue()
136 if (!dl_list_empty(&s->event_queue)) in event_retry()
140 dl_list_add(&s->event_queue, &e->list); in event_retry()
231 if (!dl_list_empty(&s->event_queue)) in event_http_cb()
282 dl_list_empty(&s->event_queue)) in event_send_start()
324 !dl_list_empty(&s->event_queue) /* more to do */) { in event_send_all_later_handler()
380 len = dl_list_len(&s->event_queue); in wps_upnp_event_add()
420 dl_list_add_tail(&s->event_queue, &e->list); in wps_upnp_event_add()
/third_party/gstreamer/gstplugins_good/gst/dtmf/
Dgstdtmfsrc.c262 dtmfsrc->event_queue = g_async_queue_new_full ((GDestroyNotify) event_free); in gst_dtmf_src_init()
277 if (dtmfsrc->event_queue) { in gst_dtmf_src_finalize()
278 g_async_queue_unref (dtmfsrc->event_queue); in gst_dtmf_src_finalize()
279 dtmfsrc->event_queue = NULL; in gst_dtmf_src_finalize()
490 g_async_queue_push (dtmfsrc->event_queue, event); in gst_dtmf_src_add_start_event()
503 g_async_queue_push (dtmfsrc->event_queue, event); in gst_dtmf_src_add_stop_event()
658 event = g_async_queue_pop (dtmfsrc->event_queue); in gst_dtmf_src_create()
685 g_async_queue_push (dtmfsrc->event_queue, event); in gst_dtmf_src_create()
695 event = g_async_queue_try_pop (dtmfsrc->event_queue); in gst_dtmf_src_create()
719 g_async_queue_push (dtmfsrc->event_queue, event); in gst_dtmf_src_create()
[all …]
Dgstrtpdtmfsrc.c267 object->event_queue = in gst_rtp_dtmf_src_init()
281 if (dtmfsrc->event_queue) { in gst_rtp_dtmf_src_finalize()
282 g_async_queue_unref (dtmfsrc->event_queue); in gst_rtp_dtmf_src_finalize()
283 dtmfsrc->event_queue = NULL; in gst_rtp_dtmf_src_finalize()
518 g_async_queue_push (dtmfsrc->event_queue, event); in gst_rtp_dtmf_src_add_start_event()
528 g_async_queue_push (dtmfsrc->event_queue, event); in gst_rtp_dtmf_src_add_stop_event()
670 event = g_async_queue_pop (dtmfsrc->event_queue); in gst_rtp_dtmf_src_create()
705 g_async_queue_push (dtmfsrc->event_queue, event); in gst_rtp_dtmf_src_create()
717 event = g_async_queue_try_pop (dtmfsrc->event_queue); in gst_rtp_dtmf_src_create()
748 g_async_queue_push (dtmfsrc->event_queue, event); in gst_rtp_dtmf_src_create()
[all …]
Dgstdtmfsrc.h75 GAsyncQueue *event_queue; member
Dgstrtpdtmfsrc.h75 GAsyncQueue *event_queue; member
/third_party/gstreamer/gstplugins_bad/ext/kate/
Dgstkateutil.c119 decoder->event_queue = NULL; in gst_kate_util_decode_base_init()
136 if (decoder->event_queue) { in gst_kate_util_decode_base_reset()
176 g_queue_push_tail (decoder->event_queue, item); in gst_kate_util_decoder_base_queue_event()
189 while (decoder->event_queue->length) { in gst_kate_util_decoder_base_free_event_queue()
191 g_queue_pop_head (decoder->event_queue); in gst_kate_util_decoder_base_free_event_queue()
195 g_queue_free (decoder->event_queue); in gst_kate_util_decoder_base_free_event_queue()
196 decoder->event_queue = NULL; in gst_kate_util_decoder_base_free_event_queue()
204 if (decoder->event_queue->length == 0) in gst_kate_util_decoder_base_drain_event_queue()
208 while (decoder->event_queue->length) { in gst_kate_util_decoder_base_drain_event_queue()
210 g_queue_pop_head (decoder->event_queue); in gst_kate_util_decoder_base_drain_event_queue()
[all …]
Dgstkateparse.c148 while (parse->event_queue->length) { in gst_kate_parse_drain_event_queue()
151 event = GST_EVENT_CAST (g_queue_pop_head (parse->event_queue)); in gst_kate_parse_drain_event_queue()
240 while (parse->event_queue->length) { in gst_kate_parse_clear_queue()
243 event = GST_EVENT_CAST (g_queue_pop_head (parse->event_queue)); in gst_kate_parse_clear_queue()
412 g_queue_push_tail (parse->event_queue, event); in gst_kate_parse_queue_event()
608 parse->event_queue = g_queue_new (); in gst_kate_parse_change_state()
624 g_queue_free (parse->event_queue); in gst_kate_parse_change_state()
625 parse->event_queue = NULL; in gst_kate_parse_change_state()
Dgstkateparse.h60 GQueue *event_queue; member
Dgstkateutil.h76 GQueue *event_queue; member
/third_party/gstreamer/gstplugins_base/ext/vorbis/
Dgstvorbisparse.c179 while (parse->event_queue->length) { in vorbis_parse_drain_event_queue()
182 event = GST_EVENT_CAST (g_queue_pop_head (parse->event_queue)); in vorbis_parse_drain_event_queue()
301 while (parse->event_queue->length) { in vorbis_parse_clear_queue()
304 event = GST_EVENT_CAST (g_queue_pop_head (parse->event_queue)); in vorbis_parse_clear_queue()
492 g_queue_push_tail (parse->event_queue, event); in vorbis_parse_queue_event()
692 parse->event_queue = g_queue_new (); in vorbis_parse_change_state()
707 g_queue_free (parse->event_queue); in vorbis_parse_change_state()
708 parse->event_queue = NULL; in vorbis_parse_change_state()
Dgstvorbisparse.h60 GQueue * event_queue; member
/third_party/gstreamer/gstplugins_bad/gst/onvif/
Dgstrtponviftimestamp.c162 while (!g_queue_is_empty (self->event_queue)) { in send_cached_buffer_and_events()
165 event = GST_EVENT_CAST (g_queue_pop_head (self->event_queue)); in send_cached_buffer_and_events()
190 while (!g_queue_is_empty (self->event_queue)) { in purge_cached_buffer_and_events()
193 event = GST_EVENT_CAST (g_queue_pop_head (self->event_queue)); in purge_cached_buffer_and_events()
241 g_queue_free (self->event_queue); in gst_rtp_onvif_timestamp_finalize()
395 g_queue_push_tail (self->event_queue, event); in gst_rtp_onvif_timestamp_sink_event()
462 self->event_queue = g_queue_new (); in gst_rtp_onvif_timestamp_init()
Dgstrtponviftimestamp.h68 GQueue *event_queue; member
/third_party/glib/patch/
Dbackport-glocalfilemonitor-Skip-event-handling-if-the-source-has-been-destroyed.patch10 This should prevent unbounded growth of the `event_queue` in the
44 + * This results in seemingly-unbounded growth of the `event_queue` with the
49 + * trigger finalisation of the source. That will clear the `event_queue`.
/third_party/gstreamer/gstplugins_base/ext/theora/
Dgsttheoraparse.c357 while (parse->event_queue->length) { in theora_parse_drain_event_queue()
360 event = GST_EVENT_CAST (g_queue_pop_head (parse->event_queue)); in theora_parse_drain_event_queue()
396 while (parse->event_queue->length) { in theora_parse_clear_queue()
399 event = GST_EVENT_CAST (g_queue_pop_head (parse->event_queue)); in theora_parse_clear_queue()
700 g_queue_push_tail (parse->event_queue, event); in theora_parse_queue_event()
913 parse->event_queue = g_queue_new (); in theora_parse_change_state()
930 g_queue_free (parse->event_queue); in theora_parse_change_state()
Dgsttheoraparse.h62 GQueue * event_queue; member
/third_party/glfw/src/
Dmir_window.c69 TAILQ_INSERT_TAIL(&_glfw.mir.event_queue->head, new_node, entries); in enqueueEvent()
560 while ((node = dequeueEvent(_glfw.mir.event_queue))) in _glfwPlatformPollEvents()
563 deleteNode(_glfw.mir.event_queue, node); in _glfwPlatformPollEvents()
571 if (emptyEventQueue(_glfw.mir.event_queue)) in _glfwPlatformWaitEvents()
583 if (emptyEventQueue(_glfw.mir.event_queue)) in _glfwPlatformWaitEventsTimeout()
Dmir_init.c194 _glfw.mir.event_queue = calloc(1, sizeof(EventQueue)); in _glfwPlatformInit()
195 _glfwInitEventQueueMir(_glfw.mir.event_queue); in _glfwPlatformInit()
215 _glfwDeleteEventQueueMir(_glfw.mir.event_queue); in _glfwPlatformTerminate()
Dmir_platform.h108 EventQueue* event_queue; member
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/
Ddriver_ndis.h31 HANDLE event_queue; /* NDISUIO notifier MsgQueue */ member
Ddriver_ndis.c1868 if (!ReadMsgQueue(drv->event_queue, buf, NDISUIO_MSG_SIZE, &len, 0, in ndisuio_notification_receive()
1932 req.hMsgQueue = drv->event_queue; in ndisuio_notification_deinit()
1949 if (drv->event_queue) { in ndisuio_notification_deinit()
1950 eloop_unregister_event(drv->event_queue, in ndisuio_notification_deinit()
1951 sizeof(drv->event_queue)); in ndisuio_notification_deinit()
1952 CloseHandle(drv->event_queue); in ndisuio_notification_deinit()
1953 drv->event_queue = NULL; in ndisuio_notification_deinit()
1983 drv->event_queue = CreateMsgQueue(NULL, &opt); in ndisuio_notification_init()
1984 if (drv->event_queue == NULL) { in ndisuio_notification_init()
1993 req.hMsgQueue = drv->event_queue; in ndisuio_notification_init()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/
Ddriver_ndis.h31 HANDLE event_queue; /* NDISUIO notifier MsgQueue */ member
Ddriver_ndis.c1880 if (!ReadMsgQueue(drv->event_queue, buf, NDISUIO_MSG_SIZE, &len, 0, in ndisuio_notification_receive()
1944 req.hMsgQueue = drv->event_queue; in ndisuio_notification_deinit()
1961 if (drv->event_queue) { in ndisuio_notification_deinit()
1962 eloop_unregister_event(drv->event_queue, in ndisuio_notification_deinit()
1963 sizeof(drv->event_queue)); in ndisuio_notification_deinit()
1964 CloseHandle(drv->event_queue); in ndisuio_notification_deinit()
1965 drv->event_queue = NULL; in ndisuio_notification_deinit()
1995 drv->event_queue = CreateMsgQueue(NULL, &opt); in ndisuio_notification_init()
1996 if (drv->event_queue == NULL) { in ndisuio_notification_init()
2005 req.hMsgQueue = drv->event_queue; in ndisuio_notification_init()
[all …]

12