AddWaiter         557 mojo/system/core_impl.cc     rv = dispatchers[i]->AddWaiter(&waiter,
AddWaiter         176 mojo/system/data_pipe.cc   producer_waiter_list_->AddWaiter(waiter, flags, wake_result);
AddWaiter         323 mojo/system/data_pipe.cc   consumer_waiter_list_->AddWaiter(waiter, flags, wake_result);
AddWaiter         122 mojo/system/dispatcher.h   MojoResult AddWaiter(Waiter* waiter,
AddWaiter          67 mojo/system/dispatcher_unittest.cc             d->AddWaiter(&w, MOJO_WAIT_FLAG_EVERYTHING, 0));
AddWaiter          92 mojo/system/dispatcher_unittest.cc             d->AddWaiter(&w, MOJO_WAIT_FLAG_EVERYTHING, 0));
AddWaiter         194 mojo/system/dispatcher_unittest.cc         MojoResult r = dispatcher_->AddWaiter(&waiter_,
AddWaiter         147 mojo/system/local_message_pipe_endpoint.cc   waiter_list_.AddWaiter(waiter, flags, wake_result);
AddWaiter          39 mojo/system/local_message_pipe_endpoint.h   virtual MojoResult AddWaiter(Waiter* waiter,
AddWaiter         109 mojo/system/message_pipe.cc   return endpoints_[port]->AddWaiter(waiter, flags, wake_result);
AddWaiter          65 mojo/system/message_pipe.h   MojoResult AddWaiter(unsigned port,
AddWaiter         167 mojo/system/message_pipe_dispatcher.cc   return message_pipe_->AddWaiter(port_, waiter, flags, wake_result);
AddWaiter          55 mojo/system/message_pipe_dispatcher_unittest.cc               d0->AddWaiter(&w, MOJO_WAIT_FLAG_WRITABLE, 0));
AddWaiter          62 mojo/system/message_pipe_dispatcher_unittest.cc               d0->AddWaiter(&w, MOJO_WAIT_FLAG_READABLE, 1));
AddWaiter          77 mojo/system/message_pipe_dispatcher_unittest.cc               d0->AddWaiter(&w, MOJO_WAIT_FLAG_READABLE, 2));
AddWaiter          93 mojo/system/message_pipe_dispatcher_unittest.cc               d0->AddWaiter(&w, MOJO_WAIT_FLAG_READABLE, 3));
AddWaiter         103 mojo/system/message_pipe_dispatcher_unittest.cc               d0->AddWaiter(&w, MOJO_WAIT_FLAG_READABLE, 3));
AddWaiter         183 mojo/system/message_pipe_dispatcher_unittest.cc               d0->AddWaiter(&w, MOJO_WAIT_FLAG_READABLE, 0));
AddWaiter         199 mojo/system/message_pipe_dispatcher_unittest.cc               d0->AddWaiter(&w, MOJO_WAIT_FLAG_READABLE, 1));
AddWaiter         214 mojo/system/message_pipe_dispatcher_unittest.cc               d0->AddWaiter(&w, MOJO_WAIT_FLAG_READABLE, 2));
AddWaiter         229 mojo/system/message_pipe_dispatcher_unittest.cc               d0->AddWaiter(&w, MOJO_WAIT_FLAG_READABLE, 3));
AddWaiter         234 mojo/system/message_pipe_dispatcher_unittest.cc               d0->AddWaiter(&w, MOJO_WAIT_FLAG_WRITABLE, 4));
AddWaiter         464 mojo/system/message_pipe_dispatcher_unittest.cc       result = read_dispatcher_->AddWaiter(&w, MOJO_WAIT_FLAG_READABLE, 0);
AddWaiter          67 mojo/system/message_pipe_endpoint.h   virtual MojoResult AddWaiter(Waiter* waiter,
AddWaiter         369 mojo/system/message_pipe_unittest.cc             mp->AddWaiter(0, &waiter, MOJO_WAIT_FLAG_WRITABLE, 0));
AddWaiter         372 mojo/system/message_pipe_unittest.cc             mp->AddWaiter(0,
AddWaiter         380 mojo/system/message_pipe_unittest.cc             mp->AddWaiter(0, &waiter, MOJO_WAIT_FLAG_READABLE, 1));
AddWaiter         395 mojo/system/message_pipe_unittest.cc             mp->AddWaiter(1, &waiter, MOJO_WAIT_FLAG_READABLE, 2));
AddWaiter         398 mojo/system/message_pipe_unittest.cc             mp->AddWaiter(1,
AddWaiter         405 mojo/system/message_pipe_unittest.cc             mp->AddWaiter(1, &waiter, MOJO_WAIT_FLAG_WRITABLE, 3));
AddWaiter         413 mojo/system/message_pipe_unittest.cc             mp->AddWaiter(1, &waiter, MOJO_WAIT_FLAG_WRITABLE, 4));
AddWaiter         418 mojo/system/message_pipe_unittest.cc             mp->AddWaiter(1, &waiter, MOJO_WAIT_FLAG_READABLE, 5));
AddWaiter         433 mojo/system/message_pipe_unittest.cc             mp->AddWaiter(1, &waiter, MOJO_WAIT_FLAG_READABLE, 6));
AddWaiter         451 mojo/system/message_pipe_unittest.cc               mp->AddWaiter(1, thread.waiter(), MOJO_WAIT_FLAG_READABLE, 0));
AddWaiter         477 mojo/system/message_pipe_unittest.cc               mp->AddWaiter(1, thread.waiter(), MOJO_WAIT_FLAG_READABLE, 0));
AddWaiter         498 mojo/system/message_pipe_unittest.cc               mp->AddWaiter(1, thread.waiter(), MOJO_WAIT_FLAG_READABLE, 0));
AddWaiter         120 mojo/system/multiprocess_message_pipe_unittest.cc   MojoResult add_result = mp->AddWaiter(0, &waiter, flags, MOJO_RESULT_OK);
AddWaiter         188 mojo/system/remote_message_pipe_unittest.cc             mp1->AddWaiter(1, &waiter, MOJO_WAIT_FLAG_READABLE, 123));
AddWaiter         214 mojo/system/remote_message_pipe_unittest.cc             mp0->AddWaiter(0, &waiter, MOJO_WAIT_FLAG_READABLE, 456));
AddWaiter         241 mojo/system/remote_message_pipe_unittest.cc   MojoResult result = mp1->AddWaiter(1, &waiter, MOJO_WAIT_FLAG_READABLE, 789);
AddWaiter         285 mojo/system/remote_message_pipe_unittest.cc             mp3->AddWaiter(1, &waiter, MOJO_WAIT_FLAG_READABLE, 789));
AddWaiter         330 mojo/system/remote_message_pipe_unittest.cc             mp1->AddWaiter(1, &waiter, MOJO_WAIT_FLAG_READABLE, 123));
AddWaiter         406 mojo/system/remote_message_pipe_unittest.cc             mp1->AddWaiter(1, &waiter, MOJO_WAIT_FLAG_READABLE, 123));
AddWaiter         450 mojo/system/remote_message_pipe_unittest.cc             mp1->AddWaiter(1, &waiter, MOJO_WAIT_FLAG_READABLE, 123));
AddWaiter         505 mojo/system/remote_message_pipe_unittest.cc             dispatcher->AddWaiter(&waiter, MOJO_WAIT_FLAG_READABLE, 456));
AddWaiter         521 mojo/system/remote_message_pipe_unittest.cc             local_mp->AddWaiter(1, &waiter, MOJO_WAIT_FLAG_READABLE, 789));
AddWaiter          39 mojo/system/simple_dispatcher.cc   waiter_list_.AddWaiter(waiter, flags, wake_result);
AddWaiter         105 mojo/system/simple_dispatcher_unittest.cc             d->AddWaiter(&w, MOJO_WAIT_FLAG_READABLE, 0));
AddWaiter         111 mojo/system/simple_dispatcher_unittest.cc   EXPECT_EQ(MOJO_RESULT_OK, d->AddWaiter(&w, MOJO_WAIT_FLAG_WRITABLE, 1));
AddWaiter         122 mojo/system/simple_dispatcher_unittest.cc   EXPECT_EQ(MOJO_RESULT_OK, d->AddWaiter(&w, MOJO_WAIT_FLAG_WRITABLE, 2));
AddWaiter         133 mojo/system/simple_dispatcher_unittest.cc   EXPECT_EQ(MOJO_RESULT_OK, d->AddWaiter(&w, MOJO_WAIT_FLAG_WRITABLE, 3));
AddWaiter         144 mojo/system/simple_dispatcher_unittest.cc   EXPECT_EQ(MOJO_RESULT_OK, d->AddWaiter(&w, MOJO_WAIT_FLAG_WRITABLE, 4));
AddWaiter         155 mojo/system/simple_dispatcher_unittest.cc   EXPECT_EQ(MOJO_RESULT_OK, d->AddWaiter(&w, MOJO_WAIT_FLAG_WRITABLE, 4));
AddWaiter         178 mojo/system/simple_dispatcher_unittest.cc             d->AddWaiter(&w, MOJO_WAIT_FLAG_WRITABLE, 5));
AddWaiter         184 mojo/system/simple_dispatcher_unittest.cc   EXPECT_EQ(MOJO_RESULT_OK, d->AddWaiter(&w, MOJO_WAIT_FLAG_WRITABLE, 6));
AddWaiter         195 mojo/system/simple_dispatcher_unittest.cc   EXPECT_EQ(MOJO_RESULT_OK, d->AddWaiter(&w, MOJO_WAIT_FLAG_WRITABLE, 6));
AddWaiter         207 mojo/system/simple_dispatcher_unittest.cc   EXPECT_EQ(MOJO_RESULT_OK, d->AddWaiter(&w, MOJO_WAIT_FLAG_WRITABLE, 7));
AddWaiter         230 mojo/system/simple_dispatcher_unittest.cc             d->AddWaiter(&w, MOJO_WAIT_FLAG_WRITABLE, 8));
AddWaiter         236 mojo/system/simple_dispatcher_unittest.cc   EXPECT_EQ(MOJO_RESULT_OK, d->AddWaiter(&w, MOJO_WAIT_FLAG_WRITABLE, 9));
AddWaiter         247 mojo/system/simple_dispatcher_unittest.cc   EXPECT_EQ(MOJO_RESULT_OK, d->AddWaiter(&w, MOJO_WAIT_FLAG_WRITABLE, 10));
AddWaiter         259 mojo/system/simple_dispatcher_unittest.cc   EXPECT_EQ(MOJO_RESULT_OK, d->AddWaiter(&w, MOJO_WAIT_FLAG_WRITABLE, 11));
AddWaiter          34 mojo/system/waiter_list.h   void AddWaiter(Waiter* waiter, MojoWaitFlags flags, MojoResult wake_result);
AddWaiter          31 mojo/system/waiter_list_unittest.cc     waiter_list.AddWaiter(thread.waiter(), MOJO_WAIT_FLAG_READABLE, 0);
AddWaiter          42 mojo/system/waiter_list_unittest.cc     waiter_list.AddWaiter(thread.waiter(), MOJO_WAIT_FLAG_WRITABLE, 1);
AddWaiter          52 mojo/system/waiter_list_unittest.cc     waiter_list.AddWaiter(thread.waiter(), MOJO_WAIT_FLAG_READABLE, 2);
AddWaiter          68 mojo/system/waiter_list_unittest.cc     waiter_list.AddWaiter(thread.waiter(), MOJO_WAIT_FLAG_READABLE, 0);
AddWaiter          81 mojo/system/waiter_list_unittest.cc     waiter_list.AddWaiter(thread.waiter(), MOJO_WAIT_FLAG_WRITABLE, 1);
AddWaiter          95 mojo/system/waiter_list_unittest.cc     waiter_list.AddWaiter(thread.waiter(), MOJO_WAIT_FLAG_READABLE, 2);
AddWaiter         114 mojo/system/waiter_list_unittest.cc     waiter_list.AddWaiter(thread.waiter(), MOJO_WAIT_FLAG_READABLE, 0);
AddWaiter         125 mojo/system/waiter_list_unittest.cc     waiter_list.AddWaiter(thread.waiter(), MOJO_WAIT_FLAG_WRITABLE, 1);
AddWaiter         137 mojo/system/waiter_list_unittest.cc     waiter_list.AddWaiter(thread.waiter(), MOJO_WAIT_FLAG_READABLE, 2);
AddWaiter         158 mojo/system/waiter_list_unittest.cc     waiter_list.AddWaiter(thread1.waiter(), MOJO_WAIT_FLAG_READABLE, 0);
AddWaiter         161 mojo/system/waiter_list_unittest.cc     waiter_list.AddWaiter(thread2.waiter(), MOJO_WAIT_FLAG_WRITABLE, 1);
AddWaiter         174 mojo/system/waiter_list_unittest.cc     waiter_list.AddWaiter(thread1.waiter(), MOJO_WAIT_FLAG_READABLE, 2);
AddWaiter         177 mojo/system/waiter_list_unittest.cc     waiter_list.AddWaiter(thread2.waiter(), MOJO_WAIT_FLAG_WRITABLE, 3);
AddWaiter         194 mojo/system/waiter_list_unittest.cc     waiter_list.AddWaiter(thread1.waiter(), MOJO_WAIT_FLAG_READABLE, 4);
AddWaiter         197 mojo/system/waiter_list_unittest.cc     waiter_list.AddWaiter(thread2.waiter(), MOJO_WAIT_FLAG_WRITABLE, 5);
AddWaiter         212 mojo/system/waiter_list_unittest.cc     waiter_list.AddWaiter(thread1.waiter(), MOJO_WAIT_FLAG_READABLE, 6);
AddWaiter         224 mojo/system/waiter_list_unittest.cc     waiter_list.AddWaiter(thread2.waiter(), MOJO_WAIT_FLAG_WRITABLE, 7);
AddWaiter         240 mojo/system/waiter_list_unittest.cc     waiter_list.AddWaiter(thread3.waiter(), MOJO_WAIT_FLAG_WRITABLE, 8);
AddWaiter         244 mojo/system/waiter_list_unittest.cc     waiter_list.AddWaiter(thread4.waiter(), MOJO_WAIT_FLAG_READABLE, 9);
AddWaiter          50 mojo/system/waiter_test_utils.cc   *result_out_ = dispatcher_->AddWaiter(&waiter_,