37+ results for 'g_timeout_add' (0 ms)

Not the results you expected?

overlays.c (https://github.com/lubosz/gst-editing-services.git) C · 176 lines

168

169 mainloop = g_main_loop_new (NULL, FALSE);

170 g_timeout_add_seconds ((duration) + 1, (GSourceFunc) g_main_loop_quit,

171 mainloop);

172 gst_element_set_state (GST_ELEMENT (pipeline), GST_STATE_PLAYING);

threadpool-test.c (https://github.com/fards/Dell_Streak_5_405_Gingerbread_2.6.35.git) C · 476 lines

371 }

372

373 g_timeout_add ((interval - 1000),

374 test_thread_idle_timeout,

375 GUINT_TO_POINTER (interval));

467

468 DEBUG_MSG (("Starting... (in one second)"));

469 g_timeout_add (1000, test_check_start_and_stop, NULL);

470

471 main_loop = g_main_loop_new (NULL, FALSE);

gvfsjobcreatemonitor.c (https://gitlab.com/mvglasow/gvfs) C · 244 lines

232 the refcount */

233 g_object_ref (op_job->monitor);

234 g_timeout_add_seconds (5,

235 unref_monitor_timeout,

236 op_job->monitor);

player.c (https://github.com/rikaunite/gst-opera_gst-plugins-bad.git) C · 176 lines

162 g_error ("Could not set state to PLAYING");

163

164 g_timeout_add (20000, (GSourceFunc) seek_timer, play);

165

166 g_main_loop_run (loop);

cdplayer.c (https://github.com/rikaunite/gst-opera_gst-plugins-base.git) C · 292 lines

182 gst_element_set_state (pipeline, GST_STATE_PLAYING);

183 update_id =

184 g_timeout_add (UPDATE_INTERVAL, (GtkFunction) update_scale, pipeline);

185

186 return FALSE;

196 gst_element_set_state (pipeline, GST_STATE_PLAYING);

197 update_id =

198 g_timeout_add (UPDATE_INTERVAL, (GtkFunction) update_scale, pipeline);

199 }

200 }

gimpview-popup.c (https://gitlab.com/marcelosabino/gimp) C · 243 lines

123 popup);

124

125 popup->timeout_id = g_timeout_add (VIEW_POPUP_DELAY,

126 (GSourceFunc) gimp_view_popup_timeout,

127 popup);

vistest_fft.c (https://github.com/theefer/xmms2.git) C · 196 lines

184 mainloop = g_main_loop_new (NULL, FALSE);

185 xmmsc_mainloop_gmain_init (connection);

186 g_timeout_add_full (G_PRIORITY_DEFAULT, 20, draw_gtk, NULL, shutdown_gtk);

187 g_main_loop_run (mainloop);

188

ns_timer.c (https://bitbucket.org/portix/dwb.git) C · 158 lines

122 ScriptContext *sctx = scripts_get_context();

123 if (sctx != NULL) {

124 ret = g_timeout_add_full(G_PRIORITY_DEFAULT, (int)msec, (GSourceFunc)timeout_callback, func, (GDestroyNotify)scripts_unprotect);

125 sctx->timers = g_slist_prepend(sctx->timers, GINT_TO_POINTER(ret));

126 scripts_release_context();

proxy.c (https://github.com/connectivity/connman-stable.git) C · 250 lines

120 lookup->service = service;

121

122 lookup->watch = g_timeout_add_seconds(0, lookup_callback, lookup);

123 if (lookup->watch == 0) {

124 g_free(lookup->url);

progressbar.bas (https://github.com/freebasic/fbc.git) Basic · 213 lines

153

154 ' Add a timer callback to update the value of the progress bar

155 pdata->pb_timer = g_timeout_add (pdata->pb_timer, @progress_timeout, pdata)

156

157 Var separator = gtk_hseparator_new ()

mainloop-test.c (https://github.com/rikaunite/gst-opera_glib.git) C · 442 lines

433 create_crawler ();

434

435 g_timeout_add (RECURSER_TIMEOUT, recurser_start, NULL);

436

437 g_main_loop_run (main_loop);

test7.c (https://github.com/rikaunite/gst-opera_gst-plugins-base.git) C · 179 lines

167 }

168

169 g_timeout_add (UPDATE_INTERVAL, (GSourceFunc) update_scale, player);

170

171 g_main_loop_run (loop);

echo_calling_service.c (https://github.com/keesj/dbus_glib_pthread.git) C · 175 lines

136 {

137 /* TODO 1 */

138 g_timeout_add_seconds(1, check_fct, NULL);

139

140 loop = g_main_loop_new(NULL, FALSE);

DumpRenderTreeGtk.cpp (https://github.com/weissms/owb-mirror.git) C++ · 93 lines

82 {

83 #if GLIB_CHECK_VERSION(2,14,0)

84 waitToDumpWatchdog = g_timeout_add_seconds(timeoutSeconds, waitToDumpWatchdogFired, 0);

85 #else

86 waitToDumpWatchdog = g_timeout_add(timeoutSeconds * 1000, waitToDumpWatchdogFired, 0);

cpufreq-monitor.c (https://github.com/mate-desktop/mate-applets.git) C · 395 lines

302

303 monitor->priv->timeout_handler =

304 g_timeout_add_seconds (CPUFREQ_MONITOR_INTERVAL,

305 (GSourceFunc) cpufreq_monitor_run_cb,

306 (gpointer) monitor);

ev-timeline.c (https://github.com/mate-desktop/atril.git) C · 440 lines

190 g_signal_emit (timeline, signals [STARTED], 0);

191

192 priv->source_id = g_timeout_add (FRAME_INTERVAL (priv->fps),

193 (GSourceFunc) ev_timeline_run_frame,

194 timeline);

360 if (ev_timeline_is_running (timeline)) {

361 g_source_remove (priv->source_id);

362 priv->source_id = g_timeout_add (FRAME_INTERVAL (priv->fps),

363 (GSourceFunc) ev_timeline_run_frame,

364 timeline);

aoview_replay.c (https://github.com/ajtowns/altos.git) C · 147 lines

75 while (tick < replay_tick)

76 tick += 65536;

77 g_timeout_add((tick - replay_tick) * 10,

78 aoview_replay_execute,

79 NULL);

soup-misc.c (https://github.com/ahmedammar/platform_external_gst_libsoup.git) C · 225 lines

148 * @data: user data to pass to @function

149 *

150 * Adds a timeout as with g_timeout_add(), but using the given

151 * @async_context.

152 *

testatk.c (https://github.com/lems111/Intercept-CM6-Kernel.git) C · 240 lines

64 loop = g_main_loop_new(NULL, TRUE);

65

66 g_timeout_add(100, (GSourceFunc)bail_out, loop);

67 g_main_loop_run(loop);

68

sim-poll.c (https://github.com/Paulxia/ofono.git) C · 257 lines

74 "status-poll-interval");

75

76 spd->poll_timeout = g_timeout_add_seconds(interval,

77 sim_status_poll, spd);

78 }

157 /* The SIM must respond in a given time frame which is of at

158 * least 5 seconds in TS 11.11. */

159 spd->status_timeout = g_timeout_add_seconds(5,

160 sim_status_timeout, spd);

161

output-selector-test.c (https://github.com/rikaunite/gst-opera_gst-plugins-base.git) C · 173 lines

152

153 /* add switch callback */

154 g_timeout_add (SWITCH_TIMEOUT, switch_cb, osel);

155

156 /* change to playing */

testselection.c (https://github.com/garnacho/gtk-mpx.git) C · 198 lines

139 }

140 atk_selection_add_selection (ATK_SELECTION (selection_obj), 1);

141 g_timeout_add (2000, _finish_selection, selection_obj);

142 g_print ("*** End _do_selection ***\n");

143 }

ar71xx_regs.h (https://gitlab.com/gmbnomis/u-boot) C Header · 1265 lines

249 #define AR933X_DDR_REG_TIMEOUT_MAX 0x9c

250 #define AR933X_DDR_REG_TIMEOUT_CNT 0x9c

251 #define AR933X_DDR_REG_TIMEOUT_ADDR 0x9c

252

253 #define AR934X_DDR_REG_TAP_CTRL2 0x24

hippo-idle.c (https://gitlab.com/manoj-makkuboy/magnetism) C · 144 lines

125 monitor->func = func;

126 monitor->data = data;

127 monitor->poll_id = g_timeout_add(5000, poll_for_idleness, monitor);

128

129 return monitor;

gdbus-tests.c (https://github.com/rikaunite/gst-opera_glib.git) C · 265 lines

69 &data);

70 g_free (s);

71 timeout_id = g_timeout_add (30 * 1000,

72 on_property_notify_timeout,

73 &data);

118 G_CALLBACK (on_signal_received),

119 &data);

120 timeout_id = g_timeout_add (30 * 1000,

121 on_signal_received_timeout,

122 &data);

229

230 data.loop = g_main_loop_new (NULL, FALSE);

231 timeout_id = g_timeout_add (30 * 1000,

232 on_wait_single_ref_timeout,

233 &data);

SharedTimerGtk.cpp (https://gitlab.com/x33n/phantomjs) C++ · 73 lines

58

59 stopSharedTimer();

60 sharedTimer = g_timeout_add_full(GDK_PRIORITY_REDRAW, intervalInMS, timeout_cb, 0, 0);

61 }

62

logread.c (http://holyshield.googlecode.com/svn/trunk/) C · 187 lines

128 /* seek to the end of file and add a timeout */

129 gnome_vfs_async_seek (handle, GNOME_VFS_SEEK_END, 0, gvfs_seek_end_callback, info);

130 g_timeout_add (500, poll_log_timeout, info);

131 }

132 }

main.c (https://github.com/AshuLara/lisa.git) C · 128 lines

120 IvyStart("127.255.255.255");

121

122 g_timeout_add(500, timeout_callback, NULL);

123

124 g_main_loop_run(ml);

wocky-test-helper.c (git://pkgs.fedoraproject.org/telepathy-gabble) C · 311 lines

42

43 data->cancellable = g_cancellable_new ();

44 data->timeout_id = g_timeout_add_seconds (timeout, test_timeout_cb, NULL);

45

46 return data;

simple1.c (https://github.com/freesteph/gst-editing-services.git) C · 112 lines

105 gst_element_set_state (GST_ELEMENT (pipeline), GST_STATE_PLAYING);

106 mainloop = g_main_loop_new (NULL, FALSE);

107 g_timeout_add_seconds (duration + 1, (GSourceFunc) g_main_loop_quit,

108 mainloop);

109 g_main_loop_run (mainloop);

testGtk2.c (https://github.com/onecoolx/picasso.git) C · 120 lines

107 g_signal_connect (G_OBJECT(drawarea), "expose_event", G_CALLBACK (expose), NULL);

108

109 g_timeout_add(100, time_func, GTK_WIDGET(drawarea));

110

111 gtk_container_add (GTK_CONTAINER (window), drawarea);

main.c (https://github.com/AlexWillisson/metacity-physics.git) C · 245 lines

183 set_up_the_evil (void)

184 {

185 g_timeout_add (400, evil_timeout, NULL);

186 }

187

child-test.c (https://github.com/lems111/Intercept-CM6-Kernel.git) C · 206 lines

180

181 alive = 2;

182 g_timeout_add (30000, quit_loop, main_loop);

183

184 #ifdef TEST_THREAD

directory-client.c (https://github.com/schneider42/ubd.git) C · 181 lines

26 void dirclient_init(void)

27 {

28 g_timeout_add_seconds(15,dirclient_tick,NULL);

29 //services = g_hash_table_new_full(g_str_hash, g_str_equal, g_free, g_free);

30 services = g_hash_table_new_full(g_direct_hash, g_direct_equal, NULL, g_free);

nhm-main-test.h (https://gitlab.com/jkaliyap/node-health-monitor-1.3.5) C Header · 235 lines

150 g_dbus_connection_call_sync_stub

151

152 #define g_timeout_add_seconds \

153 g_timeout_add_seconds_stub

223 #undef g_dbus_connection_signal_unsubscribe

224 #undef g_dbus_connection_call_sync

225 #undef g_timeout_add_seconds

226 #undef g_signal_connect_data

227 #undef g_spawn_sync

test-video-filters.c (https://github.com/ahmedammar/skype_farsight2.git) C · 357 lines

74 g_list_foreach (effects, (GFunc) g_free, NULL);

75 g_list_free (effects);

76 g_timeout_add (TIMEOUT, done, NULL);

77

78 return FALSE;

110 idx++;

111 if (idx > 10) {

112 g_timeout_add (TIMEOUT, add_effects, filters);

113 g_list_foreach (effects, (GFunc) g_free, NULL);

114 g_list_free (effects);

142 width = 1280;

143 height = 960;

144 g_timeout_add (TIMEOUT, change_effect, filters);

145 }

146

contexts.c (https://github.com/rikaunite/gst-opera_glib.git) C · 194 lines

149

150 /* Add a timeout to the main loop, to fail immediately if it gets run */

151 default_timeout = g_timeout_add_full (G_PRIORITY_HIGH, 0,

152 test2_fail, NULL, NULL);

153 /* Add a timeout to the alternate loop, to fail if the I/O *doesn't* run */