/dports/devel/libvirt-glib/libvirt-glib-4.0.0/tests/ |
H A D | test-events.c | 36 static int timeout_id; variable 116 g_assert_cmpint(*timeout, ==, timeout_id); in timeout_destroyed() 124 g_assert_cmpint(timeout_id, !=, -1); in timeout_cb() 125 g_assert_cmpint(timer, ==, timeout_id); in timeout_cb() 135 timeout_id = virEventAddTimeout(10000, timeout_cb, &timeout_id, timeout_destroyed); in test_timeout() 136 virEventUpdateTimeout(timeout_id, -1); in test_timeout() 137 removal_status = virEventRemoveTimeout(timeout_id); in test_timeout() 139 virEventUpdateTimeout(timeout_id, 20000); in test_timeout() 140 removal_status = virEventRemoveTimeout(timeout_id); in test_timeout() 143 g_idle_add_full(G_PRIORITY_LOW, check_destroyed, &timeout_id, NULL); in test_timeout() [all …]
|
/dports/net-mgmt/virt-viewer/virt-viewer-11.0/src/ |
H A D | virt-viewer-timed-revealer.c | 32 guint timeout_id; member 42 if (self->timeout_id) { in G_DEFINE_TYPE() 43 g_source_remove(self->timeout_id); in G_DEFINE_TYPE() 44 self->timeout_id = 0; in G_DEFINE_TYPE() 52 self->timeout_id = 0; in schedule_unreveal_timeout_cb() 61 if (self->timeout_id != 0) in virt_viewer_timed_revealer_schedule_unreveal_timeout() 64 self->timeout_id = g_timeout_add(timeout, in virt_viewer_timed_revealer_schedule_unreveal_timeout() 125 if (self->timeout_id) { in virt_viewer_timed_revealer_dispose() 126 g_source_remove(self->timeout_id); in virt_viewer_timed_revealer_dispose() 127 self->timeout_id = 0; in virt_viewer_timed_revealer_dispose() [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/blink/renderer/core/frame/ |
H A D | dom_timer_coordinator.cc | 20 int timeout_id = NextID(); in InstallNewTimeout() local 21 timers_.insert(timeout_id, in InstallNewTimeout() 23 single_shot, timeout_id)); in InstallNewTimeout() 24 return timeout_id; in InstallNewTimeout() 27 DOMTimer* DOMTimerCoordinator::RemoveTimeoutByID(int timeout_id) { in RemoveTimeoutByID() argument 28 if (timeout_id <= 0) in RemoveTimeoutByID() 31 DOMTimer* removed_timer = timers_.Take(timeout_id); in RemoveTimeoutByID()
|
H A D | dom_timer.cc | 52 int timeout_id = context->Timers()->InstallNewTimeout(context, action, in Install() local 54 return timeout_id; in Install() 57 void DOMTimer::RemoveByID(ExecutionContext* context, int timeout_id) { in RemoveByID() argument 58 DOMTimer* timer = context->Timers()->RemoveTimeoutByID(timeout_id); in RemoveByID() 61 inspector_timer_remove_event::Data(context, timeout_id)); in RemoveByID() 71 int timeout_id) in DOMTimer() argument 74 timeout_id_(timeout_id), in DOMTimer() 77 DCHECK_GT(timeout_id, 0); in DOMTimer() 92 context, timeout_id, interval, single_shot)); in DOMTimer()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/renderer/core/frame/ |
H A D | dom_timer_coordinator.cc | 20 int timeout_id = NextID(); in InstallNewTimeout() local 21 timers_.insert(timeout_id, in InstallNewTimeout() 23 single_shot, timeout_id)); in InstallNewTimeout() 24 return timeout_id; in InstallNewTimeout() 27 DOMTimer* DOMTimerCoordinator::RemoveTimeoutByID(int timeout_id) { in RemoveTimeoutByID() argument 28 if (timeout_id <= 0) in RemoveTimeoutByID() 31 DOMTimer* removed_timer = timers_.Take(timeout_id); in RemoveTimeoutByID()
|
H A D | dom_timer.cc | 57 int timeout_id = context->Timers()->InstallNewTimeout(context, action, in Install() local 59 return timeout_id; in Install() 62 void DOMTimer::RemoveByID(ExecutionContext* context, int timeout_id) { in RemoveByID() argument 63 DOMTimer* timer = context->Timers()->RemoveTimeoutByID(timeout_id); in RemoveByID() 66 inspector_timer_remove_event::Data(context, timeout_id)); in RemoveByID() 75 int timeout_id) in DOMTimer() argument 78 timeout_id_(timeout_id), in DOMTimer() 82 DCHECK_GT(timeout_id, 0); in DOMTimer() 122 context, timeout_id, timeout, single_shot)); in DOMTimer()
|
/dports/x11-wm/qtile/qtile-0.18.1/libqtile/widget/ |
H A D | clipboard.py | 51 self.timeout_id = None 93 if self.timeout_id: 94 self.timeout_id.cancel() 95 self.timeout_id = None 98 self.timeout_id = self.timeout_add(self.timeout, self.clear) 105 if self.timeout_id: 106 self.timeout_id.cancel() 107 self.timeout_id = None 111 self.timeout_id = self.timeout_add(self.timeout, self.clear)
|
/dports/net-im/telepathy-glib/telepathy-glib-0.24.1/telepathy-glib/ |
H A D | run.c | 67 static guint timeout_id = 0; variable 86 timeout_id = 0; in kill_connection_manager() 98 if (0 != timeout_id) in new_connection() 100 g_source_remove (timeout_id); in new_connection() 101 timeout_id = 0; in new_connection() 112 if (0 != timeout_id) in no_more_connections() 114 g_source_remove (timeout_id); in no_more_connections() 117 timeout_id = g_timeout_add (DIE_TIME, kill_connection_manager, NULL); in no_more_connections() 282 timeout_id = g_timeout_add (DIE_TIME, kill_connection_manager, NULL); in tp_run_connection_manager() 299 if (timeout_id != 0) in tp_run_connection_manager() [all …]
|
/dports/graphics/inkscape/inkscape-1.1_2021-05-24_c4e8f9ed74/src/display/control/ |
H A D | canvas-temporary-item.cpp | 31 timeout_id(0), in TemporaryItem() 40 timeout_id = g_timeout_add(lifetime, &TemporaryItem::_timeout, this); in TemporaryItem() 47 if (timeout_id) { in ~TemporaryItem() 48 g_source_remove(timeout_id); in ~TemporaryItem() 49 timeout_id = 0; in ~TemporaryItem() 62 tempitem->timeout_id = 0; in _timeout()
|
/dports/audio/rhythmbox/rhythmbox-3.4.4/plugins/power-manager/ |
H A D | rb-power-manager-plugin.c | 57 gint timeout_id; member 82 plugin->timeout_id = 0; in inhibit() 110 plugin->timeout_id = 0; in uninhibit() 131 if (plugin->timeout_id != 0) { in playing_changed_cb() 132 g_source_remove (plugin->timeout_id); in playing_changed_cb() 133 plugin->timeout_id = 0; in playing_changed_cb() 139 plugin->timeout_id = g_timeout_add (1000, in playing_changed_cb() 180 if (plugin->timeout_id != 0) { in impl_deactivate() 181 g_source_remove (plugin->timeout_id); in impl_deactivate() 182 plugin->timeout_id = 0; in impl_deactivate()
|
/dports/graphics/pinta/pinta-1.7.1/Pinta/Dialogs/ |
H A D | ProgressDialog.cs | 37 uint timeout_id; field in Pinta.ProgressDialog 45 timeout_id = 0; in ProgressDialog() 65 timeout_id = GLib.Timeout.Add (500, () => { in IProgressDialog.Show() 67 timeout_id = 0; in IProgressDialog.Show() 74 if (timeout_id != 0) in IProgressDialog.Hide() 75 GLib.Source.Remove (timeout_id); in IProgressDialog.Hide()
|
/dports/deskutils/xfce4-tumbler/tumbler-4.16.0/tumblerd/ |
H A D | tumbler-lifecycle-manager.c | 64 guint timeout_id; member 108 manager->timeout_id = 0; in tumbler_lifecycle_manager_init() 142 manager->timeout_id = 0; in tumbler_lifecycle_manager_timeout() 174 if (manager->timeout_id > 0) in tumbler_lifecycle_manager_start() 180 manager->timeout_id = in tumbler_lifecycle_manager_start() 215 if (manager->timeout_id > 0) in tumbler_lifecycle_manager_keep_alive() 216 g_source_remove (manager->timeout_id); in tumbler_lifecycle_manager_keep_alive() 219 manager->timeout_id = in tumbler_lifecycle_manager_keep_alive()
|
/dports/sysutils/mate-control-center/mate-control-center-1.26.0/libslab/ |
H A D | search-bar.c | 35 guint timeout_id; member 102 if (priv->timeout_id) in nld_search_bar_finalize() 103 g_source_remove (priv->timeout_id); in nld_search_bar_finalize() 156 if (priv->timeout_id) in emit_search() 158 g_source_remove (priv->timeout_id); in emit_search() 159 priv->timeout_id = 0; in emit_search() 177 priv->timeout_id = 0; in search_timeout() 191 if (priv->timeout_id != 0) in entry_changed() 192 g_source_remove (priv->timeout_id); in entry_changed() 193 priv->timeout_id = in entry_changed()
|
/dports/x11-toolkits/gtk40/gtk-4.4.1/gtk/ |
H A D | gtkgesturelongpress.c | 70 guint timeout_id; member 113 priv->timeout_id = 0; in _gtk_gesture_long_press_timeout() 152 priv->timeout_id = g_timeout_add (delay, _gtk_gesture_long_press_timeout, gesture); in gtk_gesture_long_press_begin() 170 if (priv->timeout_id) in gtk_gesture_long_press_update() 172 g_source_remove (priv->timeout_id); in gtk_gesture_long_press_update() 173 priv->timeout_id = 0; in gtk_gesture_long_press_update() 190 if (priv->timeout_id) in gtk_gesture_long_press_end() 192 g_source_remove (priv->timeout_id); in gtk_gesture_long_press_end() 193 priv->timeout_id = 0; in gtk_gesture_long_press_end() 224 if (priv->timeout_id) in gtk_gesture_long_press_finalize() [all …]
|
/dports/x11-toolkits/gtk30/gtk+-3.24.31/gtk/ |
H A D | gtkgesturelongpress.c | 63 guint timeout_id; member 107 priv->timeout_id = 0; in _gtk_gesture_long_press_timeout() 141 priv->timeout_id = in gtk_gesture_long_press_begin() 161 if (priv->timeout_id) in gtk_gesture_long_press_update() 163 g_source_remove (priv->timeout_id); in gtk_gesture_long_press_update() 164 priv->timeout_id = 0; in gtk_gesture_long_press_update() 181 if (priv->timeout_id) in gtk_gesture_long_press_end() 183 g_source_remove (priv->timeout_id); in gtk_gesture_long_press_end() 184 priv->timeout_id = 0; in gtk_gesture_long_press_end() 215 if (priv->timeout_id) in gtk_gesture_long_press_finalize() [all …]
|
/dports/sysutils/consolekit2/ConsoleKit2-520b862/src/ |
H A D | ck-tty-idle-monitor.c | 48 guint timeout_id; member 172 if (tty_idle_monitor->priv->timeout_id > 0) { in remove_idle_hint_timeout() 173 g_source_remove (tty_idle_monitor->priv->timeout_id); in remove_idle_hint_timeout() 174 tty_idle_monitor->priv->timeout_id = 0; in remove_idle_hint_timeout() 233 g_debug ("check_tty_idle: setting timeout_id %d to 0", monitor->priv->timeout_id); in check_tty_idle() 234 monitor->priv->timeout_id = 0; in check_tty_idle() 284 g_debug ("schedule_tty_check: timeout_id %d", monitor->priv->timeout_id); in schedule_tty_check() 285 if (monitor->priv->timeout_id == 0) { in schedule_tty_check() 287 monitor->priv->timeout_id = g_timeout_add_seconds (seconds, in schedule_tty_check() 291 monitor->priv->timeout_id = g_timeout_add (seconds * 1000, in schedule_tty_check() [all …]
|
/dports/deskutils/gnome-pomodoro/gnome-pomodoro-0.20.0/src/ |
H A D | desktop-extension.vala | 44 private uint timeout_id = 0; 129 if (this.timeout_id != 0) { 130 GLib.Source.remove (this.timeout_id); 131 this.timeout_id = 0; 154 if (this.timeout_id != 0) { 155 GLib.Source.remove (this.timeout_id); 156 this.timeout_id = 0; 160 this.timeout_id = 0; 171 if (this.timeout_id != 0) { 172 GLib.Source.remove (this.timeout_id); [all …]
|
/dports/x11-toolkits/gtk30/gtk+-3.24.31/gdk/x11/ |
H A D | gdkapplaunchcontext-x11.c | 155 guint timeout_id; member 167 if (std->timeout_id != 0) in free_startup_timeout() 169 g_source_remove (std->timeout_id); in free_startup_timeout() 170 std->timeout_id = 0; in free_startup_timeout() 219 std->timeout_id = 0; in startup_timeout() 222 g_source_set_name_by_id (std->timeout_id, "[gtk+] startup_timeout"); in startup_timeout() 243 data->timeout_id = 0; in add_startup_timeout() 256 if (data->timeout_id == 0) { in add_startup_timeout() 259 g_source_set_name_by_id (data->timeout_id, "[gtk+] startup_timeout"); in add_startup_timeout() 432 g_source_remove (data->timeout_id); in gdk_x11_app_launch_context_launch_failed() [all …]
|
/dports/x11-toolkits/gtk40/gtk-4.4.1/gdk/x11/ |
H A D | gdkapplaunchcontext-x11.c | 158 guint timeout_id; member 170 if (std->timeout_id != 0) in free_startup_timeout() 172 g_source_remove (std->timeout_id); in free_startup_timeout() 173 std->timeout_id = 0; in free_startup_timeout() 220 std->timeout_id = 0; in startup_timeout() 223 gdk_source_set_static_name_by_id (std->timeout_id, "[gtk] startup_timeout"); in startup_timeout() 244 data->timeout_id = 0; in add_startup_timeout() 257 if (data->timeout_id == 0) { in add_startup_timeout() 258 data->timeout_id = g_timeout_add_seconds (STARTUP_TIMEOUT_LENGTH_SECONDS, in add_startup_timeout() 428 g_source_remove (data->timeout_id); in gdk_x11_app_launch_context_launch_failed() [all …]
|
/dports/deskutils/bijiben/bijiben-40.1/src/libbiji/ |
H A D | biji-timeout.c | 39 guint timeout_id; member 91 self->timeout_id = 0; in biji_timeout_expired() 107 if (self->timeout_id != 0) in biji_timeout_cancel() 108 g_source_remove (self->timeout_id); in biji_timeout_cancel() 110 self->timeout_id = 0; in biji_timeout_cancel() 118 self->timeout_id = g_timeout_add ( in biji_timeout_reset()
|
/dports/x11-wm/mutter/mutter-41.1/src/tests/ |
H A D | orientation-manager-unit-tests.c | 38 guint *timeout_id = data; in on_max_wait_timeout() local 40 *timeout_id = 0; in on_max_wait_timeout() 50 guint timeout_id; in wait_for_orientation_changes() local 52 timeout_id = g_timeout_add (300, on_max_wait_timeout, &timeout_id); in wait_for_orientation_changes() 58 while (!changed && timeout_id) in wait_for_orientation_changes() 61 g_clear_handle_id (&timeout_id, g_source_remove); in wait_for_orientation_changes()
|
/dports/x11-fm/nautilus/nautilus-41.1/src/ |
H A D | nautilus-trash-monitor.c | 35 gint timeout_id; member 56 if (trash_monitor->timeout_id > 0) in G_DEFINE_TYPE() 58 g_source_remove (trash_monitor->timeout_id); in G_DEFINE_TYPE() 59 trash_monitor->timeout_id = 0; in G_DEFINE_TYPE() 145 trash_monitor->timeout_id = 0; in schedule_update_info_cb() 163 if (trash_monitor->timeout_id > 0) in schedule_update_info() 176 trash_monitor->timeout_id = g_timeout_add_seconds (UPDATE_RATE_SECONDS, in schedule_update_info() 207 trash_monitor->timeout_id = 0; in nautilus_trash_monitor_init()
|
/dports/deskutils/gnome-todo/gnome-todo-41.0/src/core/ |
H A D | gtd-clock.c | 30 guint timeout_id; member 97 if (self->timeout_id > 0) in schedule_update() 99 g_source_remove (self->timeout_id); in schedule_update() 100 self->timeout_id = 0; in schedule_update() 107 self->timeout_id = g_timeout_add_seconds (seconds_between, timeout_cb, self); in schedule_update() 172 self->timeout_id = 0; in timeout_cb() 191 if (self->timeout_id > 0) in gtd_clock_finalize() 193 g_source_remove (self->timeout_id); in gtd_clock_finalize() 194 self->timeout_id = 0; in gtd_clock_finalize()
|
/dports/deskutils/gnome-calendar/gnome-calendar-41.2/src/core/ |
H A D | gcal-clock.c | 31 guint timeout_id; member 98 if (self->timeout_id > 0) in schedule_update_timeout() 100 g_source_remove (self->timeout_id); in schedule_update_timeout() 101 self->timeout_id = 0; in schedule_update_timeout() 108 self->timeout_id = g_timeout_add_seconds (seconds_between, timeout_cb, self); in schedule_update_timeout() 122 self->timeout_id = 0; in timeout_cb() 192 if (self->timeout_id > 0) in gcal_clock_finalize() 194 g_source_remove (self->timeout_id); in gcal_clock_finalize() 195 self->timeout_id = 0; in gcal_clock_finalize()
|
/dports/chinese/pcmanx/pcmanx-gtk2-1.3/src/notifier/ |
H A D | notifier-impl.c | 50 guint timeout_id; member 102 win->timeout_id = 0; in wait_win() 112 if (win->timeout_id) in mouseout_win() 113 g_source_remove(win->timeout_id); in mouseout_win() 127 if (win->timeout_id) { in mouseover_win() 128 g_source_remove(win->timeout_id); in mouseover_win() 129 win->timeout_id = 0; in mouseover_win() 148 win->timeout_id = gtk_timeout_add( in slow_show_win() 186 w->timeout_id = 0; in begin_animation() 199 if (w->timeout_id) in destroy_win() [all …]
|