Home | History | Annotate | Download | only in message_loop

Lines Matching refs:Bind

13 #include "base/bind.h"
212 injector()->AddEventAsTask(0, Bind(&DoNothing));
214 Bind(&ExpectProcessedEvents, Unretained(injector()), 2);
216 Bind(&PostMessageLoopTask, FROM_HERE, check_task);
218 injector()->AddEventAsTask(0, Bind(&DoNothing));
224 injector()->AddEventAsTask(0, Bind(&DoNothing));
226 Bind(&ExpectProcessedEvents, Unretained(injector()), 2);
227 posted_task = Bind(&PostMessageLoopTask, FROM_HERE, check_task);
229 injector()->AddEventAsTask(10, Bind(&DoNothing));
240 loop()->PostTask(FROM_HERE, Bind(&IncrementInt, &task_count));
246 Bind(&EventInjector::AddEvent, Unretained(injector()), 0,
258 Bind(&IncrementInt, &task_count),
267 Bind(&EventInjector::AddEvent, Unretained(injector()), 10,
285 Bind(&ExpectProcessedEvents, Unretained(injector()), 11);
287 Bind(&PostMessageLoopTask, FROM_HERE, check_task);
318 FROM_HERE, Bind(&ConcurrentHelper::FromTask, this));
330 0, Bind(&ConcurrentHelper::FromEvent, this));
363 0, Bind(&ConcurrentHelper::FromEvent, helper.get()));
365 0, Bind(&ConcurrentHelper::FromEvent, helper.get()));
369 FROM_HERE, Bind(&ConcurrentHelper::FromTask, helper.get()));
371 FROM_HERE, Bind(&ConcurrentHelper::FromTask, helper.get()));
388 MessageLoop::current()->PostTask(FROM_HERE, Bind(&DoNothing));
389 MessageLoop::current()->PostTask(FROM_HERE, Bind(&DoNothing));
403 Bind(&AddEventsAndDrainGLib, Unretained(injector())));
421 MessageLoop::current()->PostTask(FROM_HERE, Bind(&DoNothing));
422 MessageLoop::current()->PostTask(FROM_HERE, Bind(&DoNothing));
438 Bind(&AddEventsAndDrainGtk, Unretained(injector())));
497 FROM_HERE, Bind(&IncrementInt, &task_count));
499 FROM_HERE, Bind(&IncrementInt, &task_count));
506 Bind(&IncrementInt, &task_count),
510 Bind(&GLibLoopRunner::Quit, runner.get()),
532 FROM_HERE, Bind(&IncrementInt, &task_count));
534 FROM_HERE, Bind(&IncrementInt, &task_count));
541 Bind(&IncrementInt, &task_count),
545 Bind(&GLibLoopRunner::Quit, runner.get()),
565 Bind(&TestGLibLoopInternal, Unretained(injector())));
576 Bind(&TestGtkLoopInternal, Unretained(injector())));