Home
last modified time | relevance | path

Searched refs:work_source_ (Results 1 – 4 of 4) sorted by relevance

/external/libchrome/base/message_loop/
Dmessage_pump_glib.cc197 work_source_ = g_source_new(&WorkSourceFuncs, sizeof(WorkSource)); in MessagePumpGlib()
198 static_cast<WorkSource*>(work_source_)->pump = this; in MessagePumpGlib()
199 g_source_add_poll(work_source_, wakeup_gpollfd_.get()); in MessagePumpGlib()
201 g_source_set_priority(work_source_, G_PRIORITY_DEFAULT_IDLE); in MessagePumpGlib()
203 g_source_set_can_recurse(work_source_, TRUE); in MessagePumpGlib()
204 g_source_attach(work_source_, context_); in MessagePumpGlib()
211 g_source_destroy(work_source_); in ~MessagePumpGlib()
212 g_source_unref(work_source_); in ~MessagePumpGlib()
Dmessage_pump_glib.h62 GSource* work_source_; variable
Dmessage_pump_mac.mm152 work_source_ = CFRunLoopSourceCreate(NULL, // allocator
155 CFRunLoopAddSourceToAllModes(run_loop_, work_source_);
216 CFRunLoopRemoveSourceFromAllModes(run_loop_, work_source_);
217 CFRelease(work_source_);
250 CFRunLoopSourceSignal(work_source_);
262 CFRunLoopSourceSignal(work_source_);
297 CFRunLoopSourceSignal(self->work_source_);
353 CFRunLoopSourceSignal(work_source_);
Dmessage_pump_mac.h179 CFRunLoopSourceRef work_source_; variable