events 104 ash/autoclick/autoclick_unittest.cc std::vector<ui::MouseEvent> events; events 108 ash/autoclick/autoclick_unittest.cc events = WaitForMouseEvents(); events 109 ash/autoclick/autoclick_unittest.cc EXPECT_EQ(0u, events.size()); events 116 ash/autoclick/autoclick_unittest.cc events = WaitForMouseEvents(); events 117 ash/autoclick/autoclick_unittest.cc EXPECT_EQ(2u, events.size()); events 118 ash/autoclick/autoclick_unittest.cc EXPECT_EQ(ui::ET_MOUSE_PRESSED, events[0].type()); events 119 ash/autoclick/autoclick_unittest.cc EXPECT_EQ(ui::ET_MOUSE_RELEASED, events[1].type()); events 122 ash/autoclick/autoclick_unittest.cc events = WaitForMouseEvents(); events 123 ash/autoclick/autoclick_unittest.cc EXPECT_EQ(0u, events.size()); events 125 ash/autoclick/autoclick_unittest.cc events = WaitForMouseEvents(); events 126 ash/autoclick/autoclick_unittest.cc EXPECT_EQ(2u, events.size()); events 127 ash/autoclick/autoclick_unittest.cc EXPECT_EQ(ui::ET_MOUSE_PRESSED, events[0].type()); events 128 ash/autoclick/autoclick_unittest.cc EXPECT_EQ(ui::ET_MOUSE_RELEASED, events[1].type()); events 133 ash/autoclick/autoclick_unittest.cc events = WaitForMouseEvents(); events 134 ash/autoclick/autoclick_unittest.cc EXPECT_EQ(0u, events.size()); events 138 ash/autoclick/autoclick_unittest.cc std::vector<ui::MouseEvent> events; events 147 ash/autoclick/autoclick_unittest.cc events = WaitForMouseEvents(); events 148 ash/autoclick/autoclick_unittest.cc EXPECT_EQ(2u, events.size()); events 149 ash/autoclick/autoclick_unittest.cc EXPECT_EQ(p1.ToString(), events[0].root_location().ToString()); events 150 ash/autoclick/autoclick_unittest.cc EXPECT_EQ(p1.ToString(), events[1].root_location().ToString()); events 156 ash/autoclick/autoclick_unittest.cc events = WaitForMouseEvents(); events 157 ash/autoclick/autoclick_unittest.cc EXPECT_EQ(2u, events.size()); events 158 ash/autoclick/autoclick_unittest.cc EXPECT_EQ(p3.ToString(), events[0].root_location().ToString()); events 159 ash/autoclick/autoclick_unittest.cc EXPECT_EQ(p3.ToString(), events[1].root_location().ToString()); events 183 ash/autoclick/autoclick_unittest.cc std::vector<ui::MouseEvent> events = WaitForMouseEvents(); events 184 ash/autoclick/autoclick_unittest.cc EXPECT_EQ(2u, events.size()); events 185 ash/autoclick/autoclick_unittest.cc EXPECT_EQ(ui::EF_SHIFT_DOWN, events[0].flags() & ui::EF_SHIFT_DOWN); events 186 ash/autoclick/autoclick_unittest.cc EXPECT_EQ(ui::EF_SHIFT_DOWN, events[1].flags() & ui::EF_SHIFT_DOWN); events 194 ash/autoclick/autoclick_unittest.cc std::vector<ui::MouseEvent> events = WaitForMouseEvents(); events 195 ash/autoclick/autoclick_unittest.cc EXPECT_EQ(2u, events.size()); events 196 ash/autoclick/autoclick_unittest.cc EXPECT_EQ(modifier_flags, events[0].flags() & modifier_flags); events 197 ash/autoclick/autoclick_unittest.cc EXPECT_EQ(modifier_flags, events[1].flags() & modifier_flags); events 212 ash/autoclick/autoclick_unittest.cc std::vector<ui::MouseEvent> events; events 213 ash/autoclick/autoclick_unittest.cc events = WaitForMouseEvents(); events 214 ash/autoclick/autoclick_unittest.cc EXPECT_EQ(2u, events.size()); events 215 ash/autoclick/autoclick_unittest.cc EXPECT_EQ(0, events[0].flags() & ui::EF_CONTROL_DOWN); events 216 ash/autoclick/autoclick_unittest.cc EXPECT_EQ(0, events[0].flags() & ui::EF_SHIFT_DOWN); events 217 ash/autoclick/autoclick_unittest.cc EXPECT_EQ(ui::EF_ALT_DOWN, events[0].flags() & ui::EF_ALT_DOWN); events 227 ash/autoclick/autoclick_unittest.cc std::vector<ui::MouseEvent> events; events 232 ash/autoclick/autoclick_unittest.cc events = WaitForMouseEvents(); events 233 ash/autoclick/autoclick_unittest.cc EXPECT_EQ(2u, events.size()); events 234 ash/autoclick/autoclick_unittest.cc EXPECT_EQ(100, events[0].root_location().x()); events 235 ash/autoclick/autoclick_unittest.cc EXPECT_EQ(200, events[0].root_location().y()); events 240 ash/autoclick/autoclick_unittest.cc events = WaitForMouseEvents(); events 241 ash/autoclick/autoclick_unittest.cc EXPECT_EQ(2u, events.size()); events 242 ash/autoclick/autoclick_unittest.cc EXPECT_EQ(300, events[0].root_location().x()); events 243 ash/autoclick/autoclick_unittest.cc EXPECT_EQ(400, events[0].root_location().y()); events 250 ash/autoclick/autoclick_unittest.cc std::vector<ui::MouseEvent> events; events 256 ash/autoclick/autoclick_unittest.cc events = WaitForMouseEvents(); events 257 ash/autoclick/autoclick_unittest.cc EXPECT_EQ(0u, events.size()); events 263 ash/autoclick/autoclick_unittest.cc events = WaitForMouseEvents(); events 264 ash/autoclick/autoclick_unittest.cc EXPECT_EQ(2u, events.size()); events 269 ash/autoclick/autoclick_unittest.cc events = WaitForMouseEvents(); events 270 ash/autoclick/autoclick_unittest.cc EXPECT_EQ(0u, events.size()); events 279 ash/autoclick/autoclick_unittest.cc events = WaitForMouseEvents(); events 280 ash/autoclick/autoclick_unittest.cc EXPECT_EQ(0u, events.size()); events 287 ash/autoclick/autoclick_unittest.cc events = WaitForMouseEvents(); events 288 ash/autoclick/autoclick_unittest.cc EXPECT_EQ(0u, events.size()); events 293 ash/autoclick/autoclick_unittest.cc std::vector<ui::MouseEvent> events; events 295 ash/autoclick/autoclick_unittest.cc events = WaitForMouseEvents(); events 296 ash/autoclick/autoclick_unittest.cc EXPECT_EQ(2u, events.size()); events 305 ash/autoclick/autoclick_unittest.cc events = WaitForMouseEvents(); events 306 ash/autoclick/autoclick_unittest.cc EXPECT_EQ(0u, events.size()); events 39 ash/sticky_keys/sticky_keys_unittest.cc void PopEvents(ScopedVector<ui::Event>* events) { events 40 ash/sticky_keys/sticky_keys_unittest.cc events->clear(); events 41 ash/sticky_keys/sticky_keys_unittest.cc events->swap(events_); events 797 ash/sticky_keys/sticky_keys_unittest.cc ScopedVector<ui::Event> events; events 805 ash/sticky_keys/sticky_keys_unittest.cc buffer.PopEvents(&events); events 811 ash/sticky_keys/sticky_keys_unittest.cc buffer.PopEvents(&events); events 812 ash/sticky_keys/sticky_keys_unittest.cc EXPECT_EQ(2u, events.size()); events 813 ash/sticky_keys/sticky_keys_unittest.cc EXPECT_EQ(ui::ET_KEY_PRESSED, events[0]->type()); events 814 ash/sticky_keys/sticky_keys_unittest.cc EXPECT_EQ(ui::VKEY_C, static_cast<ui::KeyEvent*>(events[0])->key_code()); events 815 ash/sticky_keys/sticky_keys_unittest.cc EXPECT_TRUE(events[0]->flags() & ui::EF_CONTROL_DOWN); events 816 ash/sticky_keys/sticky_keys_unittest.cc EXPECT_EQ(ui::ET_KEY_RELEASED, events[1]->type()); events 818 ash/sticky_keys/sticky_keys_unittest.cc static_cast<ui::KeyEvent*>(events[1])->key_code()); events 824 ash/sticky_keys/sticky_keys_unittest.cc buffer.PopEvents(&events); events 825 ash/sticky_keys/sticky_keys_unittest.cc EXPECT_EQ(1u, events.size()); events 826 ash/sticky_keys/sticky_keys_unittest.cc EXPECT_EQ(ui::ET_KEY_RELEASED, events[0]->type()); events 828 ash/sticky_keys/sticky_keys_unittest.cc static_cast<ui::KeyEvent*>(events[0])->key_code()); events 829 ash/sticky_keys/sticky_keys_unittest.cc EXPECT_FALSE(events[0]->flags() & ui::EF_CONTROL_DOWN); events 846 ash/sticky_keys/sticky_keys_unittest.cc ScopedVector<ui::Event> events; events 854 ash/sticky_keys/sticky_keys_unittest.cc buffer.PopEvents(&events); events 862 ash/sticky_keys/sticky_keys_unittest.cc buffer.PopEvents(&events); events 863 ash/sticky_keys/sticky_keys_unittest.cc EXPECT_EQ(1u, events.size()); events 864 ash/sticky_keys/sticky_keys_unittest.cc EXPECT_EQ(ui::ET_MOUSE_PRESSED, events[0]->type()); events 865 ash/sticky_keys/sticky_keys_unittest.cc EXPECT_TRUE(events[0]->flags() & ui::EF_CONTROL_DOWN); events 867 ash/sticky_keys/sticky_keys_unittest.cc static_cast<ui::MouseEvent*>(events[0])->location().ToString()); events 874 ash/sticky_keys/sticky_keys_unittest.cc buffer.PopEvents(&events); events 875 ash/sticky_keys/sticky_keys_unittest.cc EXPECT_EQ(2u, events.size()); events 876 ash/sticky_keys/sticky_keys_unittest.cc EXPECT_EQ(ui::ET_MOUSE_RELEASED, events[0]->type()); events 877 ash/sticky_keys/sticky_keys_unittest.cc EXPECT_TRUE(events[0]->flags() & ui::EF_CONTROL_DOWN); events 878 ash/sticky_keys/sticky_keys_unittest.cc EXPECT_EQ(ui::ET_KEY_RELEASED, events[1]->type()); events 880 ash/sticky_keys/sticky_keys_unittest.cc static_cast<ui::MouseEvent*>(events[0])->location().ToString()); events 882 ash/sticky_keys/sticky_keys_unittest.cc static_cast<ui::KeyEvent*>(events[1])->key_code()); events 895 ash/sticky_keys/sticky_keys_unittest.cc ScopedVector<ui::Event> events; events 903 ash/sticky_keys/sticky_keys_unittest.cc buffer.PopEvents(&events); events 910 ash/sticky_keys/sticky_keys_unittest.cc buffer.PopEvents(&events); events 911 ash/sticky_keys/sticky_keys_unittest.cc EXPECT_EQ(2u, events.size()); events 912 ash/sticky_keys/sticky_keys_unittest.cc EXPECT_TRUE(events[0]->IsMouseWheelEvent()); events 914 ash/sticky_keys/sticky_keys_unittest.cc static_cast<ui::MouseWheelEvent*>(events[0])->y_offset()); events 915 ash/sticky_keys/sticky_keys_unittest.cc EXPECT_TRUE(events[0]->flags() & ui::EF_CONTROL_DOWN); events 916 ash/sticky_keys/sticky_keys_unittest.cc EXPECT_EQ(ui::ET_KEY_RELEASED, events[1]->type()); events 918 ash/sticky_keys/sticky_keys_unittest.cc static_cast<ui::KeyEvent*>(events[1])->key_code()); events 923 ash/sticky_keys/sticky_keys_unittest.cc buffer.PopEvents(&events); events 928 ash/sticky_keys/sticky_keys_unittest.cc buffer.PopEvents(&events); events 929 ash/sticky_keys/sticky_keys_unittest.cc EXPECT_EQ(2u, events.size()); events 930 ash/sticky_keys/sticky_keys_unittest.cc EXPECT_TRUE(events[0]->IsMouseWheelEvent()); events 932 ash/sticky_keys/sticky_keys_unittest.cc static_cast<ui::MouseWheelEvent*>(events[0])->y_offset()); events 933 ash/sticky_keys/sticky_keys_unittest.cc EXPECT_TRUE(events[0]->flags() & ui::EF_CONTROL_DOWN); events 934 ash/sticky_keys/sticky_keys_unittest.cc EXPECT_EQ(ui::ET_KEY_RELEASED, events[1]->type()); events 936 ash/sticky_keys/sticky_keys_unittest.cc static_cast<ui::KeyEvent*>(events[1])->key_code()); events 119 base/files/file_path_watcher_kqueue.cc static int EventsForPath(FilePath path, EventVector *events); events 159 base/files/file_path_watcher_kqueue.cc int FilePathWatcherImpl::EventsForPath(FilePath path, EventVector* events) { events 162 base/files/file_path_watcher_kqueue.cc DCHECK(events->empty()); events 196 base/files/file_path_watcher_kqueue.cc events->push_back(event); events 151 base/message_loop/message_pump_glib.cc wakeup_gpollfd_->events = G_IO_IN; events 213 base/message_loop/message_pump_libevent.cc static void timer_callback(int fd, short events, void *context) events 238 base/message_loop/message_pump_x11.cc x_poll_->events = G_IO_IN; events 151 base/sync_socket_win.cc HANDLE events[] = { io_event->handle(), cancel_event->handle() }; events 153 base/sync_socket_win.cc ARRAYSIZE_UNSAFE(events), events, FALSE, events 79 base/synchronization/waitable_event_win.cc size_t WaitableEvent::WaitMany(WaitableEvent** events, size_t count) { events 86 base/synchronization/waitable_event_win.cc handles[i] = events[i]->handle(); events 119 base/test/sequenced_task_runner_test_template.cc std::vector<int> GetEventTypeOrder(const std::vector<TaskEvent>& events, events 123 base/test/sequenced_task_runner_test_template.cc for (event = events.begin(); event != events.end(); ++event) { events 132 base/test/sequenced_task_runner_test_template.cc const std::vector<TaskEvent>& events, events 136 base/test/sequenced_task_runner_test_template.cc for (event = events.begin(); event != events.end(); ++event) { events 147 base/test/sequenced_task_runner_test_template.cc const std::vector<TaskEvent>& events, events 158 base/test/sequenced_task_runner_test_template.cc GetEventsForTask(events, i); events 173 base/test/sequenced_task_runner_test_template.cc const std::vector<TaskEvent>& events) { events 178 base/test/sequenced_task_runner_test_template.cc for (event = events.begin(); event != events.end(); ++event) { events 216 base/test/sequenced_task_runner_test_template.cc << "; event dump: " << ::testing::PrintToString(events); events 221 base/test/sequenced_task_runner_test_template.cc const int event_i = event - events.begin(); events 225 base/test/sequenced_task_runner_test_template.cc << ::testing::PrintToString(events); events 235 base/test/sequenced_task_runner_test_template.cc const std::vector<TaskEvent>& events, events 238 base/test/sequenced_task_runner_test_template.cc GetEventTypeOrder(events, TaskEvent::POST); events 240 base/test/sequenced_task_runner_test_template.cc GetEventTypeOrder(events, TaskEvent::START); events 242 base/test/sequenced_task_runner_test_template.cc GetEventTypeOrder(events, TaskEvent::END); events 261 base/test/sequenced_task_runner_test_template.cc CheckEventOrdersForEachTask(events, task_count); events 265 base/test/sequenced_task_runner_test_template.cc return CheckNoTaskRunsOverlap(events); events 114 base/test/sequenced_task_runner_test_template.h const std::vector<TaskEvent>& events, events 635 base/test/trace_event_analyzer.cc size_t FindMatchingEvents(const std::vector<TraceEvent>& events, events 638 base/test/trace_event_analyzer.cc for (size_t i = 0; i < events.size(); ++i) { events 639 base/test/trace_event_analyzer.cc if (query.Evaluate(events[i])) events 640 base/test/trace_event_analyzer.cc output->push_back(&events[i]); events 830 base/test/trace_event_analyzer.cc bool GetRateStats(const TraceEventVector& events, events 836 base/test/trace_event_analyzer.cc if (events.size() < kMinEvents) { events 837 base/test/trace_event_analyzer.cc LOG(ERROR) << "Not enough events: " << events.size(); events 842 base/test/trace_event_analyzer.cc size_t num_deltas = events.size() - 1; events 844 base/test/trace_event_analyzer.cc double delta = events.at(i + 1)->timestamp - events.at(i)->timestamp; events 855 base/test/trace_event_analyzer.cc if (options->trim_min + options->trim_max > events.size() - kMinEvents) { events 883 base/test/trace_event_analyzer.cc bool FindFirstOf(const TraceEventVector& events, events 888 base/test/trace_event_analyzer.cc for (size_t i = position; i < events.size(); ++i) { events 889 base/test/trace_event_analyzer.cc if (query.Evaluate(*events[i])) { events 897 base/test/trace_event_analyzer.cc bool FindLastOf(const TraceEventVector& events, events 902 base/test/trace_event_analyzer.cc for (size_t i = std::min(position + 1, events.size()); i != 0; --i) { events 903 base/test/trace_event_analyzer.cc if (query.Evaluate(*events[i - 1])) { events 911 base/test/trace_event_analyzer.cc bool FindClosest(const TraceEventVector& events, events 917 base/test/trace_event_analyzer.cc if (events.empty() || position >= events.size()) events 919 base/test/trace_event_analyzer.cc size_t closest = events.size(); events 920 base/test/trace_event_analyzer.cc size_t second_closest = events.size(); events 921 base/test/trace_event_analyzer.cc for (size_t i = 0; i < events.size(); ++i) { events 922 base/test/trace_event_analyzer.cc if (!query.Evaluate(*events.at(i))) events 924 base/test/trace_event_analyzer.cc if (closest == events.size()) { events 928 base/test/trace_event_analyzer.cc if (fabs(events.at(i)->timestamp - events.at(position)->timestamp) < events 929 base/test/trace_event_analyzer.cc fabs(events.at(closest)->timestamp - events.at(position)->timestamp)) { events 932 base/test/trace_event_analyzer.cc } else if (second_closest == events.size()) { events 937 base/test/trace_event_analyzer.cc if (closest < events.size() && events 938 base/test/trace_event_analyzer.cc (!return_second_closest || second_closest < events.size())) { events 948 base/test/trace_event_analyzer.cc size_t CountMatches(const TraceEventVector& events, events 952 base/test/trace_event_analyzer.cc if (begin_position >= events.size()) events 954 base/test/trace_event_analyzer.cc end_position = (end_position < events.size()) ? end_position : events.size(); events 957 base/test/trace_event_analyzer.cc if (query.Evaluate(*events.at(i))) events 659 base/test/trace_event_analyzer.h bool GetRateStats(const TraceEventVector& events, events 665 base/test/trace_event_analyzer.h bool FindFirstOf(const TraceEventVector& events, events 672 base/test/trace_event_analyzer.h bool FindLastOf(const TraceEventVector& events, events 682 base/test/trace_event_analyzer.h bool FindClosest(const TraceEventVector& events, events 689 base/test/trace_event_analyzer.h size_t CountMatches(const TraceEventVector& events, events 695 base/test/trace_event_analyzer.h static inline size_t CountMatches(const TraceEventVector& events, events 697 base/test/trace_event_analyzer.h return CountMatches(events, query, 0u, events.size()); events 704 base/test/trace_event_analyzer_unittest.cc std::vector<TraceEvent> events; events 705 base/test/trace_event_analyzer_unittest.cc events.reserve(100); events 718 base/test/trace_event_analyzer_unittest.cc events.push_back(event); events 719 base/test/trace_event_analyzer_unittest.cc event_ptrs.push_back(&events.back()); events 730 base/test/trace_event_analyzer_unittest.cc events.push_back(event); events 731 base/test/trace_event_analyzer_unittest.cc event_ptrs.push_back(&events.back()); events 750 base/test/trace_event_analyzer_unittest.cc events.push_back(event); events 751 base/test/trace_event_analyzer_unittest.cc event_ptrs.push_back(&events.back()); events 786 base/test/trace_event_analyzer_unittest.cc std::vector<TraceEvent> events; events 787 base/test/trace_event_analyzer_unittest.cc events.resize(num_events); events 788 base/test/trace_event_analyzer_unittest.cc for (size_t i = 0; i < events.size(); ++i) events 789 base/test/trace_event_analyzer_unittest.cc event_ptrs.push_back(&events[i]); events 791 base/test/trace_event_analyzer_unittest.cc events[bam_index].name = "bam"; events 792 base/test/trace_event_analyzer_unittest.cc Query query_bam = Query::EventName() == Query::String(events[bam_index].name); events 831 base/test/trace_event_analyzer_unittest.cc std::vector<TraceEvent> events; events 832 base/test/trace_event_analyzer_unittest.cc events.resize(num_events); events 833 base/test/trace_event_analyzer_unittest.cc for (size_t i = 0; i < events.size(); ++i) { events 836 base/test/trace_event_analyzer_unittest.cc events[i].timestamp = static_cast<double>(i) * static_cast<double>(i); events 837 base/test/trace_event_analyzer_unittest.cc event_ptrs.push_back(&events[i]); events 839 base/test/trace_event_analyzer_unittest.cc events[0].name = "one"; events 840 base/test/trace_event_analyzer_unittest.cc events[2].name = "two"; events 841 base/test/trace_event_analyzer_unittest.cc events[4].name = "three"; events 871 base/test/trace_event_analyzer_unittest.cc std::vector<TraceEvent> events; events 872 base/test/trace_event_analyzer_unittest.cc events.resize(num_events); events 873 base/test/trace_event_analyzer_unittest.cc for (size_t i = 0; i < events.size(); ++i) events 874 base/test/trace_event_analyzer_unittest.cc event_ptrs.push_back(&events[i]); events 875 base/test/trace_event_analyzer_unittest.cc events[0].name = "one"; events 876 base/test/trace_event_analyzer_unittest.cc events[2].name = "two"; events 877 base/test/trace_event_analyzer_unittest.cc events[4].name = "three"; events 158 base/win/event_trace_consumer_unittest.cc HANDLE events[] = { consumer_ready_, consumer_thread_ }; events 159 base/win/event_trace_consumer_unittest.cc DWORD result = ::WaitForMultipleObjects(arraysize(events), events, events 22 base/win/startup_information_unittest.cc HANDLE* events = reinterpret_cast<HANDLE*>(::MapViewOfFile(section, events 25 base/win/startup_information_unittest.cc if (::SetEvent(events[1])) events 28 base/win/startup_information_unittest.cc if (!::SetEvent(events[0])) events 48 base/win/startup_information_unittest.cc HANDLE* events = reinterpret_cast<HANDLE*>(::MapViewOfFile(section, events 54 base/win/startup_information_unittest.cc events[0] = ::CreateEvent(&security_attributes, false, false, NULL); events 55 base/win/startup_information_unittest.cc ASSERT_TRUE(events[0]); events 56 base/win/startup_information_unittest.cc events[1] = ::CreateEvent(&security_attributes, false, false, NULL); events 57 base/win/startup_information_unittest.cc ASSERT_TRUE(events[1]); events 61 base/win/startup_information_unittest.cc PROC_THREAD_ATTRIBUTE_HANDLE_LIST, &events[0], events 62 base/win/startup_information_unittest.cc sizeof(events[0]))); events 75 base/win/startup_information_unittest.cc EXPECT_EQ(WAIT_OBJECT_0, ::WaitForMultipleObjects(2, events, false, events 138 cc/animation/layer_animation_controller.cc AnimationEventsVector* events) { events 139 cc/animation/layer_animation_controller.cc if (!events) events 158 cc/animation/layer_animation_controller.cc events->push_back(event); events 171 cc/animation/layer_animation_controller.cc events->push_back(event); events 184 cc/animation/layer_animation_controller.cc events->push_back(event); events 204 cc/animation/layer_animation_controller.cc AnimationEventsVector* events) { events 209 cc/animation/layer_animation_controller.cc PromoteStartedAnimations(last_tick_time_, events); events 212 cc/animation/layer_animation_controller.cc MarkAnimationsForDeletion(last_tick_time_, events); events 216 cc/animation/layer_animation_controller.cc PromoteStartedAnimations(last_tick_time_, events); events 219 cc/animation/layer_animation_controller.cc AccumulatePropertyUpdates(last_tick_time_, events); events 630 cc/animation/layer_animation_controller.cc AnimationEventsVector* events) { events 636 cc/animation/layer_animation_controller.cc if (events) { events 644 cc/animation/layer_animation_controller.cc events->push_back(started_event); events 660 cc/animation/layer_animation_controller.cc double monotonic_time, AnimationEventsVector* events) { events 670 cc/animation/layer_animation_controller.cc if (events && !active_animations_[i]->is_impl_only()) { events 677 cc/animation/layer_animation_controller.cc events->push_back(aborted_event); events 691 cc/animation/layer_animation_controller.cc events || active_animations_[i]->received_finished_event(); events 699 cc/animation/layer_animation_controller.cc events || active_animations_[j]->received_finished_event(); events 716 cc/animation/layer_animation_controller.cc if (events) { events 724 cc/animation/layer_animation_controller.cc events->push_back(finished_event); events 57 cc/animation/layer_animation_controller.h AnimationEventsVector* events); events 60 cc/animation/layer_animation_controller.h AnimationEventsVector* events); events 148 cc/animation/layer_animation_controller.h AnimationEventsVector* events); events 151 cc/animation/layer_animation_controller.h AnimationEventsVector* events); events 81 cc/animation/layer_animation_controller_unittest.cc AnimationEventsVector events; events 83 cc/animation/layer_animation_controller_unittest.cc controller_impl->UpdateState(true, &events); events 86 cc/animation/layer_animation_controller_unittest.cc EXPECT_EQ(1u, events.size()); events 87 cc/animation/layer_animation_controller_unittest.cc controller->NotifyAnimationStarted(events[0]); events 115 cc/animation/layer_animation_controller_unittest.cc scoped_ptr<AnimationEventsVector> events( events 137 cc/animation/layer_animation_controller_unittest.cc controller_impl->UpdateState(true, events.get()); events 138 cc/animation/layer_animation_controller_unittest.cc EXPECT_EQ(1u, events->size()); events 139 cc/animation/layer_animation_controller_unittest.cc controller->NotifyAnimationStarted((*events)[0]); events 154 cc/animation/layer_animation_controller_unittest.cc events.reset(new AnimationEventsVector); events 156 cc/animation/layer_animation_controller_unittest.cc controller_impl->UpdateState(true, events.get()); events 163 cc/animation/layer_animation_controller_unittest.cc EXPECT_EQ(1u, events->size()); events 164 cc/animation/layer_animation_controller_unittest.cc controller->NotifyAnimationFinished((*events)[0]); events 207 cc/animation/layer_animation_controller_unittest.cc AnimationEventsVector events; events 209 cc/animation/layer_animation_controller_unittest.cc controller_impl->UpdateState(true, &events); events 280 cc/animation/layer_animation_controller_unittest.cc scoped_ptr<AnimationEventsVector> events( events 295 cc/animation/layer_animation_controller_unittest.cc controller_impl->UpdateState(true, events.get()); events 298 cc/animation/layer_animation_controller_unittest.cc EXPECT_EQ(1u, events->size()); events 299 cc/animation/layer_animation_controller_unittest.cc EXPECT_EQ(AnimationEvent::Started, (*events)[0].type); events 300 cc/animation/layer_animation_controller_unittest.cc controller->NotifyAnimationStarted((*events)[0]); events 308 cc/animation/layer_animation_controller_unittest.cc events.reset(new AnimationEventsVector); events 310 cc/animation/layer_animation_controller_unittest.cc controller_impl->UpdateState(true, events.get()); events 315 cc/animation/layer_animation_controller_unittest.cc EXPECT_EQ(1u, events->size()); events 316 cc/animation/layer_animation_controller_unittest.cc EXPECT_EQ(AnimationEvent::Finished, (*events)[0].type); events 322 cc/animation/layer_animation_controller_unittest.cc controller->NotifyAnimationFinished((*events)[0]); events 338 cc/animation/layer_animation_controller_unittest.cc const AnimationEventsVector* events) { events 340 cc/animation/layer_animation_controller_unittest.cc for (size_t i = 0; i < events->size(); ++i) events 341 cc/animation/layer_animation_controller_unittest.cc if ((*events)[i].type == AnimationEvent::PropertyUpdate) events 342 cc/animation/layer_animation_controller_unittest.cc event = &(*events)[i]; events 348 cc/animation/layer_animation_controller_unittest.cc scoped_ptr<AnimationEventsVector> events( events 362 cc/animation/layer_animation_controller_unittest.cc controller->UpdateState(true, events.get()); events 366 cc/animation/layer_animation_controller_unittest.cc const AnimationEvent* event = GetMostRecentPropertyUpdateEvent(events.get()); events 369 cc/animation/layer_animation_controller_unittest.cc controller->UpdateState(true, events.get()); events 372 cc/animation/layer_animation_controller_unittest.cc event = GetMostRecentPropertyUpdateEvent(events.get()); events 377 cc/animation/layer_animation_controller_unittest.cc scoped_ptr<AnimationEventsVector> events( events 392 cc/animation/layer_animation_controller_unittest.cc controller_impl->UpdateState(true, events.get()); events 395 cc/animation/layer_animation_controller_unittest.cc EXPECT_EQ(2u, events->size()); events 397 cc/animation/layer_animation_controller_unittest.cc GetMostRecentPropertyUpdateEvent(events.get()); events 401 cc/animation/layer_animation_controller_unittest.cc controller_impl->UpdateState(true, events.get()); events 404 cc/animation/layer_animation_controller_unittest.cc EXPECT_EQ(4u, events->size()); events 406 cc/animation/layer_animation_controller_unittest.cc GetMostRecentPropertyUpdateEvent(events.get()); events 411 cc/animation/layer_animation_controller_unittest.cc scoped_ptr<AnimationEventsVector> events( events 441 cc/animation/layer_animation_controller_unittest.cc controller_impl->UpdateState(true, events.get()); events 444 cc/animation/layer_animation_controller_unittest.cc EXPECT_EQ(2u, events->size()); events 446 cc/animation/layer_animation_controller_unittest.cc GetMostRecentPropertyUpdateEvent(events.get()); events 455 cc/animation/layer_animation_controller_unittest.cc controller_impl->UpdateState(true, events.get()); events 458 cc/animation/layer_animation_controller_unittest.cc EXPECT_EQ(4u, events->size()); events 460 cc/animation/layer_animation_controller_unittest.cc GetMostRecentPropertyUpdateEvent(events.get()); events 466 cc/animation/layer_animation_controller_unittest.cc scoped_ptr<AnimationEventsVector> events( events 490 cc/animation/layer_animation_controller_unittest.cc controller->UpdateState(true, events.get()); events 494 cc/animation/layer_animation_controller_unittest.cc const AnimationEvent* event = GetMostRecentPropertyUpdateEvent(events.get()); events 498 cc/animation/layer_animation_controller_unittest.cc controller->UpdateState(true, events.get()); events 502 cc/animation/layer_animation_controller_unittest.cc event = GetMostRecentPropertyUpdateEvent(events.get()); events 506 cc/animation/layer_animation_controller_unittest.cc controller->UpdateState(true, events.get()); events 509 cc/animation/layer_animation_controller_unittest.cc event = GetMostRecentPropertyUpdateEvent(events.get()); events 514 cc/animation/layer_animation_controller_unittest.cc scoped_ptr<AnimationEventsVector> events( events 541 cc/animation/layer_animation_controller_unittest.cc controller_impl->UpdateState(true, events.get()); events 544 cc/animation/layer_animation_controller_unittest.cc EXPECT_EQ(2u, events->size()); events 546 cc/animation/layer_animation_controller_unittest.cc GetMostRecentPropertyUpdateEvent(events.get()); events 552 cc/animation/layer_animation_controller_unittest.cc controller_impl->UpdateState(true, events.get()); events 555 cc/animation/layer_animation_controller_unittest.cc EXPECT_EQ(4u, events->size()); events 557 cc/animation/layer_animation_controller_unittest.cc GetMostRecentPropertyUpdateEvent(events.get()); events 570 cc/animation/layer_animation_controller_unittest.cc scoped_ptr<AnimationEventsVector> events( events 607 cc/animation/layer_animation_controller_unittest.cc controller_impl->UpdateState(true, events.get()); events 611 cc/animation/layer_animation_controller_unittest.cc const AnimationEvent* event = GetMostRecentPropertyUpdateEvent(events.get()); events 614 cc/animation/layer_animation_controller_unittest.cc controller->NotifyAnimationStarted((*events)[0]); events 621 cc/animation/layer_animation_controller_unittest.cc controller_impl->UpdateState(true, events.get()); events 624 cc/animation/layer_animation_controller_unittest.cc event = GetMostRecentPropertyUpdateEvent(events.get()); events 628 cc/animation/layer_animation_controller_unittest.cc controller_impl->UpdateState(true, events.get()); events 631 cc/animation/layer_animation_controller_unittest.cc event = GetMostRecentPropertyUpdateEvent(events.get()); events 648 cc/animation/layer_animation_controller_unittest.cc scoped_ptr<AnimationEventsVector> events( events 685 cc/animation/layer_animation_controller_unittest.cc controller_impl->UpdateState(true, events.get()); events 689 cc/animation/layer_animation_controller_unittest.cc const AnimationEvent* event = GetMostRecentPropertyUpdateEvent(events.get()); events 692 cc/animation/layer_animation_controller_unittest.cc controller->NotifyAnimationStarted((*events)[0]); events 699 cc/animation/layer_animation_controller_unittest.cc controller_impl->UpdateState(true, events.get()); events 702 cc/animation/layer_animation_controller_unittest.cc event = GetMostRecentPropertyUpdateEvent(events.get()); events 706 cc/animation/layer_animation_controller_unittest.cc controller_impl->UpdateState(true, events.get()); events 709 cc/animation/layer_animation_controller_unittest.cc event = GetMostRecentPropertyUpdateEvent(events.get()); events 723 cc/animation/layer_animation_controller_unittest.cc scoped_ptr<AnimationEventsVector> events( events 741 cc/animation/layer_animation_controller_unittest.cc controller_impl->UpdateState(true, events.get()); events 745 cc/animation/layer_animation_controller_unittest.cc const AnimationEvent* event = GetMostRecentPropertyUpdateEvent(events.get()); events 749 cc/animation/layer_animation_controller_unittest.cc controller_impl->UpdateState(true, events.get()); events 752 cc/animation/layer_animation_controller_unittest.cc event = GetMostRecentPropertyUpdateEvent(events.get()); events 756 cc/animation/layer_animation_controller_unittest.cc controller_impl->UpdateState(true, events.get()); events 759 cc/animation/layer_animation_controller_unittest.cc event = GetMostRecentPropertyUpdateEvent(events.get()); events 798 cc/animation/layer_animation_controller_unittest.cc scoped_ptr<AnimationEventsVector> events( events 815 cc/animation/layer_animation_controller_unittest.cc controller_impl->UpdateState(true, events.get()); events 818 cc/animation/layer_animation_controller_unittest.cc EXPECT_EQ(2u, events->size()); events 819 cc/animation/layer_animation_controller_unittest.cc EXPECT_EQ(AnimationEvent::Started, (*events)[0].type); events 820 cc/animation/layer_animation_controller_unittest.cc EXPECT_TRUE((*events)[0].is_impl_only); events 821 cc/animation/layer_animation_controller_unittest.cc EXPECT_EQ(AnimationEvent::PropertyUpdate, (*events)[1].type); events 822 cc/animation/layer_animation_controller_unittest.cc EXPECT_TRUE((*events)[1].is_impl_only); events 827 cc/animation/layer_animation_controller_unittest.cc controller->NotifyAnimationStarted((*events)[0]); events 830 cc/animation/layer_animation_controller_unittest.cc events.reset(new AnimationEventsVector); events 832 cc/animation/layer_animation_controller_unittest.cc controller_impl->UpdateState(true, events.get()); events 835 cc/animation/layer_animation_controller_unittest.cc EXPECT_EQ(2u, events->size()); events 836 cc/animation/layer_animation_controller_unittest.cc EXPECT_EQ(AnimationEvent::Finished, (*events)[0].type); events 837 cc/animation/layer_animation_controller_unittest.cc EXPECT_TRUE((*events)[0].is_impl_only); events 838 cc/animation/layer_animation_controller_unittest.cc EXPECT_EQ(AnimationEvent::PropertyUpdate, (*events)[1].type); events 839 cc/animation/layer_animation_controller_unittest.cc EXPECT_TRUE((*events)[1].is_impl_only); events 844 cc/animation/layer_animation_controller_unittest.cc controller->NotifyAnimationFinished((*events)[0]); events 852 cc/animation/layer_animation_controller_unittest.cc scoped_ptr<AnimationEventsVector> events( events 869 cc/animation/layer_animation_controller_unittest.cc controller->UpdateState(true, events.get()); events 873 cc/animation/layer_animation_controller_unittest.cc controller->UpdateState(true, events.get()); events 877 cc/animation/layer_animation_controller_unittest.cc controller->UpdateState(true, events.get()); events 885 cc/animation/layer_animation_controller_unittest.cc controller->UpdateState(true, events.get()); events 892 cc/animation/layer_animation_controller_unittest.cc scoped_ptr<AnimationEventsVector> events( events 910 cc/animation/layer_animation_controller_unittest.cc controller->UpdateState(true, events.get()); events 914 cc/animation/layer_animation_controller_unittest.cc controller->UpdateState(true, events.get()); events 918 cc/animation/layer_animation_controller_unittest.cc controller->UpdateState(true, events.get()); events 925 cc/animation/layer_animation_controller_unittest.cc scoped_ptr<AnimationEventsVector> events( events 936 cc/animation/layer_animation_controller_unittest.cc controller->UpdateState(true, events.get()); events 951 cc/animation/layer_animation_controller_unittest.cc controller->UpdateState(true, events.get()); events 955 cc/animation/layer_animation_controller_unittest.cc controller->UpdateState(true, events.get()); events 963 cc/animation/layer_animation_controller_unittest.cc scoped_ptr<AnimationEventsVector> events( events 984 cc/animation/layer_animation_controller_unittest.cc controller->UpdateState(true, events.get()); events 988 cc/animation/layer_animation_controller_unittest.cc controller->UpdateState(true, events.get()); events 994 cc/animation/layer_animation_controller_unittest.cc controller->UpdateState(true, events.get()); events 1003 cc/animation/layer_animation_controller_unittest.cc scoped_ptr<AnimationEventsVector> events( events 1026 cc/animation/layer_animation_controller_unittest.cc controller->UpdateState(true, events.get()); events 1033 cc/animation/layer_animation_controller_unittest.cc controller->UpdateState(true, events.get()); events 1041 cc/animation/layer_animation_controller_unittest.cc controller->UpdateState(true, events.get()); events 1048 cc/animation/layer_animation_controller_unittest.cc scoped_ptr<AnimationEventsVector> events( events 1063 cc/animation/layer_animation_controller_unittest.cc controller->UpdateState(true, events.get()); events 1067 cc/animation/layer_animation_controller_unittest.cc controller->UpdateState(true, events.get()); events 1071 cc/animation/layer_animation_controller_unittest.cc controller->UpdateState(true, events.get()); events 1075 cc/animation/layer_animation_controller_unittest.cc controller->UpdateState(true, events.get()); events 1079 cc/animation/layer_animation_controller_unittest.cc controller->UpdateState(true, events.get()); events 1083 cc/animation/layer_animation_controller_unittest.cc controller->UpdateState(true, events.get()); events 1089 cc/animation/layer_animation_controller_unittest.cc controller->UpdateState(true, events.get()); events 1095 cc/animation/layer_animation_controller_unittest.cc scoped_ptr<AnimationEventsVector> events( events 1111 cc/animation/layer_animation_controller_unittest.cc controller->UpdateState(true, events.get()); events 1115 cc/animation/layer_animation_controller_unittest.cc controller->UpdateState(true, events.get()); events 1119 cc/animation/layer_animation_controller_unittest.cc controller->UpdateState(true, events.get()); events 1124 cc/animation/layer_animation_controller_unittest.cc controller->UpdateState(true, events.get()); events 1128 cc/animation/layer_animation_controller_unittest.cc controller->UpdateState(true, events.get()); events 1141 cc/animation/layer_animation_controller_unittest.cc scoped_ptr<AnimationEventsVector> events( events 1155 cc/animation/layer_animation_controller_unittest.cc controller->UpdateState(true, events.get()); events 1159 cc/animation/layer_animation_controller_unittest.cc controller->UpdateState(true, events.get()); events 1168 cc/animation/layer_animation_controller_unittest.cc controller->UpdateState(true, events.get()); events 1177 cc/animation/layer_animation_controller_unittest.cc controller->UpdateState(true, events.get()); events 1181 cc/animation/layer_animation_controller_unittest.cc controller->UpdateState(true, events.get()); events 1187 cc/animation/layer_animation_controller_unittest.cc scoped_ptr<AnimationEventsVector> events( events 1210 cc/animation/layer_animation_controller_unittest.cc controller->UpdateState(true, events.get()); events 1214 cc/animation/layer_animation_controller_unittest.cc controller->UpdateState(true, events.get()); events 1222 cc/animation/layer_animation_controller_unittest.cc controller->UpdateState(true, events.get()); events 1226 cc/animation/layer_animation_controller_unittest.cc controller->UpdateState(true, events.get()); events 1236 cc/animation/layer_animation_controller_unittest.cc scoped_ptr<AnimationEventsVector> events( events 1251 cc/animation/layer_animation_controller_unittest.cc controller->UpdateState(true, events.get()); events 1267 cc/animation/layer_animation_controller_unittest.cc scoped_ptr<AnimationEventsVector> events( events 1280 cc/animation/layer_animation_controller_unittest.cc controller->UpdateState(true, events.get()); events 1291 cc/animation/layer_animation_controller_unittest.cc events.reset(new AnimationEventsVector); events 1292 cc/animation/layer_animation_controller_unittest.cc controller->UpdateState(true, events.get()); events 1295 cc/animation/layer_animation_controller_unittest.cc EXPECT_EQ(2u, events->size()); events 1296 cc/animation/layer_animation_controller_unittest.cc EXPECT_NE((*events)[0].type, (*events)[1].type); events 1303 cc/animation/layer_animation_controller_unittest.cc controller->UpdateState(true, events.get()); events 1313 cc/animation/layer_animation_controller_unittest.cc scoped_ptr<AnimationEventsVector> events( events 1329 cc/animation/layer_animation_controller_unittest.cc controller->UpdateState(true, events.get()); events 1330 cc/animation/layer_animation_controller_unittest.cc EXPECT_EQ(0u, events->size()); events 1340 cc/animation/layer_animation_controller_unittest.cc controller->UpdateState(true, events.get()); events 1341 cc/animation/layer_animation_controller_unittest.cc EXPECT_EQ(0u, events->size()); events 1349 cc/animation/layer_animation_controller_unittest.cc controller->UpdateState(true, events.get()); events 1350 cc/animation/layer_animation_controller_unittest.cc EXPECT_EQ(0u, events->size()); events 1360 cc/animation/layer_animation_controller_unittest.cc controller->UpdateState(true, events.get()); events 1361 cc/animation/layer_animation_controller_unittest.cc EXPECT_EQ(1u, events->size()); events 1562 cc/animation/layer_animation_controller_unittest.cc AnimationEventsVector events; events 1564 cc/animation/layer_animation_controller_unittest.cc controller_impl->UpdateState(true, &events); events 1566 cc/animation/layer_animation_controller_unittest.cc EXPECT_EQ(1u, events.size()); events 1567 cc/animation/layer_animation_controller_unittest.cc EXPECT_EQ(AnimationEvent::Aborted, events[0].type); events 1571 cc/animation/layer_animation_controller_unittest.cc controller->NotifyAnimationAborted(events[0]); events 1589 cc/animation/layer_animation_controller_unittest.cc scoped_ptr<AnimationEventsVector> events( events 1607 cc/animation/layer_animation_controller_unittest.cc controller_impl->UpdateState(true, events.get()); events 1610 cc/animation/layer_animation_controller_unittest.cc EXPECT_EQ(2u, events->size()); events 1611 cc/animation/layer_animation_controller_unittest.cc EXPECT_EQ(AnimationEvent::Started, (*events)[0].type); events 1612 cc/animation/layer_animation_controller_unittest.cc EXPECT_EQ(AnimationEvent::Started, (*events)[1].type); events 1614 cc/animation/layer_animation_controller_unittest.cc events.reset(new AnimationEventsVector); events 1616 cc/animation/layer_animation_controller_unittest.cc controller_impl->UpdateState(true, events.get()); events 1620 cc/animation/layer_animation_controller_unittest.cc EXPECT_EQ(0u, events->size()); events 1628 cc/animation/layer_animation_controller_unittest.cc controller_impl->UpdateState(true, events.get()); events 1631 cc/animation/layer_animation_controller_unittest.cc EXPECT_EQ(2u, events->size()); events 1632 cc/animation/layer_animation_controller_unittest.cc EXPECT_EQ(AnimationEvent::Finished, (*events)[0].type); events 1633 cc/animation/layer_animation_controller_unittest.cc EXPECT_EQ(AnimationEvent::Finished, (*events)[1].type); events 1640 cc/animation/layer_animation_controller_unittest.cc scoped_ptr<AnimationEventsVector> events( events 1658 cc/animation/layer_animation_controller_unittest.cc controller_impl->UpdateState(true, events.get()); events 1661 cc/animation/layer_animation_controller_unittest.cc EXPECT_EQ(2u, events->size()); events 1662 cc/animation/layer_animation_controller_unittest.cc EXPECT_EQ(AnimationEvent::Started, (*events)[0].type); events 1663 cc/animation/layer_animation_controller_unittest.cc EXPECT_EQ(AnimationEvent::Started, (*events)[1].type); events 1667 cc/animation/layer_animation_controller_unittest.cc events.reset(new AnimationEventsVector); events 1669 cc/animation/layer_animation_controller_unittest.cc controller_impl->UpdateState(true, events.get()); events 1673 cc/animation/layer_animation_controller_unittest.cc EXPECT_EQ(2u, events->size()); events 1674 cc/animation/layer_animation_controller_unittest.cc EXPECT_EQ(AnimationEvent::Finished, (*events)[0].type); events 1675 cc/animation/layer_animation_controller_unittest.cc EXPECT_EQ(Animation::Transform, (*events)[0].target_property); events 1676 cc/animation/layer_animation_controller_unittest.cc EXPECT_EQ(AnimationEvent::Aborted, (*events)[1].type); events 1677 cc/animation/layer_animation_controller_unittest.cc EXPECT_EQ(Animation::Opacity, (*events)[1].target_property); events 696 cc/resources/picture_layer_tiling.cc EdgeEvent events[] = { events 704 cc/resources/picture_layer_tiling.cc if (events[0].distance > events[1].distance) std::swap(events[0], events[1]); events 705 cc/resources/picture_layer_tiling.cc if (events[2].distance > events[3].distance) std::swap(events[2], events[3]); events 706 cc/resources/picture_layer_tiling.cc if (events[0].distance > events[2].distance) std::swap(events[0], events[2]); events 707 cc/resources/picture_layer_tiling.cc if (events[1].distance > events[3].distance) std::swap(events[1], events[3]); events 708 cc/resources/picture_layer_tiling.cc if (events[1].distance > events[2].distance) std::swap(events[1], events[2]); events 711 cc/resources/picture_layer_tiling.cc const EdgeEvent& event = events[event_index]; events 725 cc/resources/picture_layer_tiling.cc switch (events[i].edge) { events 741 cc/resources/picture_layer_tiling.cc events[i].distance -= delta; events 31 cc/test/fake_layer_tree_host_impl_client.h scoped_ptr<AnimationEventsVector> events) OVERRIDE {} events 565 cc/trees/layer_tree_host.cc scoped_ptr<AnimationEventsVector> events) { events 567 cc/trees/layer_tree_host.cc for (size_t event_index = 0; event_index < events->size(); ++event_index) { events 568 cc/trees/layer_tree_host.cc int event_layer_id = (*events)[event_index].layer_id; events 577 cc/trees/layer_tree_host.cc switch ((*events)[event_index].type) { events 579 cc/trees/layer_tree_host.cc (*iter).second->NotifyAnimationStarted((*events)[event_index]); events 583 cc/trees/layer_tree_host.cc (*iter).second->NotifyAnimationFinished((*events)[event_index]); events 587 cc/trees/layer_tree_host.cc (*iter).second->NotifyAnimationAborted((*events)[event_index]); events 591 cc/trees/layer_tree_host.cc (*iter).second->NotifyAnimationPropertyUpdate((*events)[event_index]); events 186 cc/trees/layer_tree_host.h void SetAnimationEvents(scoped_ptr<AnimationEventsVector> events); events 2733 cc/trees/layer_tree_host_impl.cc scoped_ptr<AnimationEventsVector> events = events 2740 cc/trees/layer_tree_host_impl.cc (*iter).second->UpdateState(start_ready_animations, events.get()); events 2742 cc/trees/layer_tree_host_impl.cc if (!events->empty()) { events 2743 cc/trees/layer_tree_host_impl.cc client_->PostAnimationEventsToMainThreadOnImplThread(events.Pass()); events 77 cc/trees/layer_tree_host_impl.h scoped_ptr<AnimationEventsVector> events) = 0; events 138 cc/trees/layer_tree_host_impl_unittest.cc scoped_ptr<AnimationEventsVector> events) OVERRIDE {} events 326 cc/trees/single_thread_proxy.cc scoped_ptr<AnimationEventsVector> events) { events 331 cc/trees/single_thread_proxy.cc layer_tree_host_->SetAnimationEvents(events.Pass()); events 72 cc/trees/single_thread_proxy.h scoped_ptr<AnimationEventsVector> events) OVERRIDE; events 484 cc/trees/thread_proxy.cc scoped_ptr<AnimationEventsVector> events) { events 492 cc/trees/thread_proxy.cc base::Passed(&events))); events 1423 cc/trees/thread_proxy.cc void ThreadProxy::SetAnimationEvents(scoped_ptr<AnimationEventsVector> events) { events 1428 cc/trees/thread_proxy.cc layer_tree_host()->SetAnimationEvents(events.Pass()); events 67 chrome/browser/chromeos/accessibility/speech_monitor.cc voice.events.insert(TTS_EVENT_END); events 58 chrome/browser/chromeos/drive/job_scheduler_unittest.cc for (size_t i = 0; i < events.size(); ++i) { events 59 chrome/browser/chromeos/drive/job_scheduler_unittest.cc if (events[i].type == type && events[i].info.job_type == job_type) events 67 chrome/browser/chromeos/drive/job_scheduler_unittest.cc for (size_t i = 0; i < events.size(); ++i) { events 68 chrome/browser/chromeos/drive/job_scheduler_unittest.cc if (events[i].type == UPDATED && events[i].info.job_type == job_type) events 69 chrome/browser/chromeos/drive/job_scheduler_unittest.cc progress->push_back(events[i].info.num_completed_bytes); events 75 chrome/browser/chromeos/drive/job_scheduler_unittest.cc events.push_back(EventLog(ADDED, info)); events 79 chrome/browser/chromeos/drive/job_scheduler_unittest.cc events.push_back(EventLog(UPDATED, info)); events 83 chrome/browser/chromeos/drive/job_scheduler_unittest.cc events.push_back(EventLog(DONE, info)); events 87 chrome/browser/chromeos/drive/job_scheduler_unittest.cc std::vector<EventLog> events; events 191 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc ASSERT_EQ(1U, observer.events().size()); events 192 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc LoggingObserver::Event event = observer.events()[0]; events 201 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc ASSERT_EQ(2U, observer.events().size()); events 202 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc event = observer.events()[1]; events 217 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc ASSERT_EQ(0U, observer.events().size()); events 232 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc EXPECT_EQ(0U, observer.events().size()); events 236 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc EXPECT_EQ(0U, observer.events().size()); events 240 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc EXPECT_EQ(0U, observer.events().size()); events 258 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc EXPECT_EQ(0U, observer.events().size()); events 266 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc ASSERT_EQ(1U, observer.events().size()); events 267 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc const LoggingObserver::Event& event = observer.events()[0]; events 299 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc ASSERT_EQ(1U, observer.events().size()); events 300 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc const LoggingObserver::Event& event = observer.events()[0]; events 322 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc ASSERT_EQ(1U, observer.events().size()); events 323 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc const LoggingObserver::Event& event = observer.events()[0]; events 347 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc ASSERT_EQ(1U, observer.events().size()); events 348 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc const LoggingObserver::Event& event = observer.events()[0]; events 369 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc ASSERT_EQ(1U, observer.events().size()); events 370 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc const LoggingObserver::Event& event = observer.events()[0]; events 393 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc ASSERT_EQ(1U, observer.events().size()); events 394 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc const LoggingObserver::Event& event = observer.events()[0]; events 414 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc EXPECT_EQ(1U, observer.events().size()); events 428 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc ASSERT_EQ(1U, observer.events().size()); events 429 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc const LoggingObserver::Event& event = observer.events()[0]; events 443 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc ASSERT_EQ(1U, observer.events().size()); events 444 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc const LoggingObserver::Event& event = observer.events()[0]; events 459 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc EXPECT_EQ(0U, observer.events().size()); events 478 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc ASSERT_EQ(1U, observer.events().size()); events 479 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc LoggingObserver::Event event = observer.events()[0]; events 489 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc ASSERT_EQ(2U, observer.events().size()); events 490 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc event = observer.events()[1]; events 539 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc ASSERT_EQ(1U, observer.events().size()); events 540 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc const LoggingObserver::Event& event = observer.events()[0]; events 564 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc ASSERT_EQ(0U, observer.events().size()); events 578 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc ASSERT_EQ(1U, observer.events().size()); events 579 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc const LoggingObserver::Event& event = observer.events()[0]; events 596 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc ASSERT_EQ(1U, observer.events().size()); events 597 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc const LoggingObserver::Event& event = observer.events()[0]; events 614 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc ASSERT_EQ(1U, observer.events().size()); events 615 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc const LoggingObserver::Event& event = observer.events()[0]; events 641 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc ASSERT_EQ(1U, observer.events().size()); events 642 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc const LoggingObserver::Event& event = observer.events()[0]; events 715 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc for (size_t i = 0; i < main_observer.events().size(); ++i) { events 716 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc if (main_observer.events()[i].type == events 724 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc for (size_t i = 0; i < secondary_observer.events().size(); ++i) { events 725 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc if (secondary_observer.events()[i].type == events 780 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc EXPECT_EQ(2u, observer.events().size()); events 793 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc EXPECT_EQ(3u, observer.events().size()); events 806 chrome/browser/chromeos/file_manager/volume_manager_unittest.cc EXPECT_EQ(3u, observer.events().size()); events 217 chrome/browser/chromeos/input_method/input_method_engine.cc const std::vector<KeyboardEvent>& events) { events 230 chrome/browser/chromeos/input_method/input_method_engine.cc for (size_t i = 0; i < events.size(); ++i) { events 231 chrome/browser/chromeos/input_method/input_method_engine.cc const KeyboardEvent& event = events[i]; events 64 chrome/browser/chromeos/input_method/input_method_engine.h const std::vector<KeyboardEvent>& events) OVERRIDE; events 198 chrome/browser/chromeos/input_method/input_method_engine_interface.h const std::vector<KeyboardEvent>& events) = 0; events 49 chrome/browser/chromeos/input_method/mock_input_method_engine.cc const std::vector<KeyboardEvent>& events) { events 54 chrome/browser/chromeos/input_method/mock_input_method_engine.h const std::vector<KeyboardEvent>& events) OVERRIDE; events 177 chrome/browser/extensions/api/cast_streaming/performance_test.cc void MapFrameTimes(const std::vector<TimeData>& events, TimeMap* map) { events 178 chrome/browser/extensions/api/cast_streaming/performance_test.cc for (size_t i = kSkipEvents; i < events.size(); i++) { events 179 chrome/browser/extensions/api/cast_streaming/performance_test.cc base::TimeTicks& frame_tick = (*map)[events[i].frame_no]; events 181 chrome/browser/extensions/api/cast_streaming/performance_test.cc frame_tick = events[i].render_time; events 183 chrome/browser/extensions/api/cast_streaming/performance_test.cc frame_tick = std::min(events[i].render_time, frame_tick); events 365 chrome/browser/extensions/api/cast_streaming/performance_test.cc trace_analyzer::TraceEventVector* events) { events 372 chrome/browser/extensions/api/cast_streaming/performance_test.cc analyzer->FindEvents(query, events); events 385 chrome/browser/extensions/api/cast_streaming/performance_test.cc trace_analyzer::TraceEventVector events; events 386 chrome/browser/extensions/api/cast_streaming/performance_test.cc GetTraceEvents(analyzer, event_name, &events); events 387 chrome/browser/extensions/api/cast_streaming/performance_test.cc for (size_t i = 0; i < events.size(); i++) { events 389 chrome/browser/extensions/api/cast_streaming/performance_test.cc for (j = events[i]->arg_numbers.begin(); events 390 chrome/browser/extensions/api/cast_streaming/performance_test.cc j != events[i]->arg_numbers.end(); events 392 chrome/browser/extensions/api/cast_streaming/performance_test.cc (*event_map)[*j] = events[i]; events 530 chrome/browser/extensions/api/cast_streaming/performance_test.cc trace_analyzer::TraceEventVector events; events 531 chrome/browser/extensions/api/cast_streaming/performance_test.cc GetTraceEvents(analyzer, event_name, &events); events 534 chrome/browser/extensions/api/cast_streaming/performance_test.cc for (size_t i = kSkipEvents + 1; i < events.size(); ++i) { events 535 chrome/browser/extensions/api/cast_streaming/performance_test.cc double delta_micros = events[i]->timestamp - events[i - 1]->timestamp; events 21 chrome/browser/extensions/api/declarative/declarative_api.cc using extensions::api::events::Rule; events 23 chrome/browser/extensions/api/declarative/declarative_api.cc namespace AddRules = extensions::api::events::Event::AddRules; events 24 chrome/browser/extensions/api/declarative/declarative_api.cc namespace GetRules = extensions::api::events::Event::GetRules; events 25 chrome/browser/extensions/api/declarative/declarative_api.cc namespace RemoveRules = extensions::api::events::Event::RemoveRules; events 194 chrome/browser/extensions/api/declarative/declarative_rule.h typedef extensions::api::events::Rule JsonRule; events 40 chrome/browser/extensions/api/declarative/rules_registry.h typedef extensions::api::events::Rule Rule; events 98 chrome/browser/extensions/api/identity/account_tracker_unittest.cc std::string Str(const std::vector<TrackingEvent>& events) { events 102 chrome/browser/extensions/api/identity/account_tracker_unittest.cc events.begin(); it != events.end(); ++it) { events 153 chrome/browser/extensions/api/identity/account_tracker_unittest.cc const std::vector<TrackingEvent>& events); events 177 chrome/browser/extensions/api/identity/account_tracker_unittest.cc std::vector<TrackingEvent> events; events 178 chrome/browser/extensions/api/identity/account_tracker_unittest.cc return CheckEvents(events); events 183 chrome/browser/extensions/api/identity/account_tracker_unittest.cc std::vector<TrackingEvent> events; events 184 chrome/browser/extensions/api/identity/account_tracker_unittest.cc events.push_back(e1); events 185 chrome/browser/extensions/api/identity/account_tracker_unittest.cc return CheckEvents(events); events 191 chrome/browser/extensions/api/identity/account_tracker_unittest.cc std::vector<TrackingEvent> events; events 192 chrome/browser/extensions/api/identity/account_tracker_unittest.cc events.push_back(e1); events 193 chrome/browser/extensions/api/identity/account_tracker_unittest.cc events.push_back(e2); events 194 chrome/browser/extensions/api/identity/account_tracker_unittest.cc return CheckEvents(events); events 201 chrome/browser/extensions/api/identity/account_tracker_unittest.cc std::vector<TrackingEvent> events; events 202 chrome/browser/extensions/api/identity/account_tracker_unittest.cc events.push_back(e1); events 203 chrome/browser/extensions/api/identity/account_tracker_unittest.cc events.push_back(e2); events 204 chrome/browser/extensions/api/identity/account_tracker_unittest.cc events.push_back(e3); events 205 chrome/browser/extensions/api/identity/account_tracker_unittest.cc return CheckEvents(events); events 213 chrome/browser/extensions/api/identity/account_tracker_unittest.cc std::vector<TrackingEvent> events; events 214 chrome/browser/extensions/api/identity/account_tracker_unittest.cc events.push_back(e1); events 215 chrome/browser/extensions/api/identity/account_tracker_unittest.cc events.push_back(e2); events 216 chrome/browser/extensions/api/identity/account_tracker_unittest.cc events.push_back(e3); events 217 chrome/browser/extensions/api/identity/account_tracker_unittest.cc events.push_back(e4); events 218 chrome/browser/extensions/api/identity/account_tracker_unittest.cc return CheckEvents(events); events 227 chrome/browser/extensions/api/identity/account_tracker_unittest.cc std::vector<TrackingEvent> events; events 228 chrome/browser/extensions/api/identity/account_tracker_unittest.cc events.push_back(e1); events 229 chrome/browser/extensions/api/identity/account_tracker_unittest.cc events.push_back(e2); events 230 chrome/browser/extensions/api/identity/account_tracker_unittest.cc events.push_back(e3); events 231 chrome/browser/extensions/api/identity/account_tracker_unittest.cc events.push_back(e4); events 232 chrome/browser/extensions/api/identity/account_tracker_unittest.cc events.push_back(e5); events 233 chrome/browser/extensions/api/identity/account_tracker_unittest.cc return CheckEvents(events); events 243 chrome/browser/extensions/api/identity/account_tracker_unittest.cc std::vector<TrackingEvent> events; events 244 chrome/browser/extensions/api/identity/account_tracker_unittest.cc events.push_back(e1); events 245 chrome/browser/extensions/api/identity/account_tracker_unittest.cc events.push_back(e2); events 246 chrome/browser/extensions/api/identity/account_tracker_unittest.cc events.push_back(e3); events 247 chrome/browser/extensions/api/identity/account_tracker_unittest.cc events.push_back(e4); events 248 chrome/browser/extensions/api/identity/account_tracker_unittest.cc events.push_back(e5); events 249 chrome/browser/extensions/api/identity/account_tracker_unittest.cc events.push_back(e6); events 250 chrome/browser/extensions/api/identity/account_tracker_unittest.cc return CheckEvents(events); events 254 chrome/browser/extensions/api/identity/account_tracker_unittest.cc const std::vector<TrackingEvent>& events) { events 255 chrome/browser/extensions/api/identity/account_tracker_unittest.cc std::string maybe_newline = (events.size() + events_.size()) > 2 ? "\n" : ""; events 257 chrome/browser/extensions/api/identity/account_tracker_unittest.cc (events_ == events) events 260 chrome/browser/extensions/api/identity/account_tracker_unittest.cc << "Expected " << maybe_newline << Str(events) << ", " events 135 chrome/browser/extensions/api/log_private/log_private_api_chromeos.cc scoped_ptr<Event> event(new Event(events::kOnAddNetInternalsEntries, events 147 chrome/browser/extensions/api/tab_capture/tab_capture_performancetest.cc trace_analyzer::TraceEventVector events; events 154 chrome/browser/extensions/api/tab_capture/tab_capture_performancetest.cc analyzer->FindEvents(query, &events); events 155 chrome/browser/extensions/api/tab_capture/tab_capture_performancetest.cc if (events.size() < 20) { events 161 chrome/browser/extensions/api/tab_capture/tab_capture_performancetest.cc trace_analyzer::TraceEventVector rate_events(events.begin() + 3, events 162 chrome/browser/extensions/api/tab_capture/tab_capture_performancetest.cc events.end() - 3); events 226 chrome/browser/mac/relauncher.cc int events = kevent(kq.get(), NULL, 0, &event, 1, NULL); events 227 chrome/browser/mac/relauncher.cc if (events != 1) { events 228 chrome/browser/mac/relauncher.cc if (events < 0) { events 231 chrome/browser/mac/relauncher.cc LOG(ERROR) << "kevent (monitor): unexpected result " << events; events 164 chrome/browser/performance_monitor/database.cc EventVector events; events 188 chrome/browser/performance_monitor/database.cc events.push_back(linked_ptr<Event>(event.release())); events 191 chrome/browser/performance_monitor/database.cc return events; events 277 chrome/browser/performance_monitor/database_unittest.cc Database::EventVector events = db_->GetEvents(); events 278 chrome/browser/performance_monitor/database_unittest.cc ASSERT_EQ(4u, events.size()); events 279 chrome/browser/performance_monitor/database_unittest.cc EXPECT_TRUE(events[0]->data()->Equals(install_event_1_->data())); events 280 chrome/browser/performance_monitor/database_unittest.cc EXPECT_TRUE(events[1]->data()->Equals(install_event_2_->data())); events 281 chrome/browser/performance_monitor/database_unittest.cc EXPECT_TRUE(events[2]->data()->Equals(uninstall_event_1_->data())); events 282 chrome/browser/performance_monitor/database_unittest.cc EXPECT_TRUE(events[3]->data()->Equals(uninstall_event_2_->data())); events 318 chrome/browser/performance_monitor/database_unittest.cc Database::EventVector events = db_->GetEvents(start_time, clock_->GetTime()); events 319 chrome/browser/performance_monitor/database_unittest.cc ASSERT_EQ(1u, events.size()); events 320 chrome/browser/performance_monitor/database_unittest.cc EXPECT_TRUE(events[0]->data()->Equals(crash_event->data())); events 324 chrome/browser/performance_monitor/database_unittest.cc Database::EventVector events = db_->GetEvents(EVENT_EXTENSION_INSTALL); events 325 chrome/browser/performance_monitor/database_unittest.cc ASSERT_EQ(2u, events.size()); events 326 chrome/browser/performance_monitor/database_unittest.cc EXPECT_TRUE(events[0]->data()->Equals(install_event_1_->data())); events 327 chrome/browser/performance_monitor/database_unittest.cc EXPECT_TRUE(events[1]->data()->Equals(install_event_2_->data())); events 340 chrome/browser/performance_monitor/database_unittest.cc Database::EventVector events = db_->GetEvents(); events 341 chrome/browser/performance_monitor/database_unittest.cc ASSERT_EQ(original_number_of_entries, events.size()); events 348 chrome/browser/performance_monitor/database_unittest.cc Database::EventVector events = db_->GetEvents(EVENT_EXTENSION_DISABLE); events 349 chrome/browser/performance_monitor/database_unittest.cc ASSERT_TRUE(events.empty()); events 350 chrome/browser/performance_monitor/database_unittest.cc events = db_->GetEvents(EVENT_EXTENSION_DISABLE, clock_->GetTime(), events 352 chrome/browser/performance_monitor/database_unittest.cc ASSERT_TRUE(events.empty()); events 370 chrome/browser/performance_monitor/database_unittest.cc Database::EventVector events = db_->GetEvents(start_time, end_time); events 371 chrome/browser/performance_monitor/database_unittest.cc ASSERT_EQ(2u, events.size()); events 372 chrome/browser/performance_monitor/database_unittest.cc EXPECT_TRUE(events[0]->data()->Equals(new_install_event->data())); events 373 chrome/browser/performance_monitor/database_unittest.cc EXPECT_TRUE(events[1]->data()->Equals(new_uninstall_event->data())); events 374 chrome/browser/performance_monitor/database_unittest.cc events = db_->GetEvents( events 376 chrome/browser/performance_monitor/database_unittest.cc ASSERT_EQ(1u, events.size()); events 377 chrome/browser/performance_monitor/database_unittest.cc EXPECT_TRUE(events[0]->data()->Equals(new_install_event->data())); events 122 chrome/browser/performance_monitor/performance_monitor_browsertest.cc const Database::EventVector& events) { events 123 chrome/browser/performance_monitor/performance_monitor_browsertest.cc ASSERT_EQ(expected_event_types.size(), events.size()); events 126 chrome/browser/performance_monitor/performance_monitor_browsertest.cc CheckEventType(expected_event_types[i], events[i]); events 134 chrome/browser/performance_monitor/performance_monitor_browsertest.cc const Database::EventVector& events, events 136 chrome/browser/performance_monitor/performance_monitor_browsertest.cc CheckEventTypes(expected_event_types, events); events 139 chrome/browser/performance_monitor/performance_monitor_browsertest.cc ValidateExtensionInfo(extension_infos[i], events[i]->data()); events 141 chrome/browser/performance_monitor/performance_monitor_browsertest.cc ASSERT_TRUE(events[i]->data()->GetInteger("eventType", &event_type)); events 185 chrome/browser/performance_monitor/performance_monitor_browsertest.cc void GetEventsOnBackgroundThread(Database::EventVector* events) { events 191 chrome/browser/performance_monitor/performance_monitor_browsertest.cc *events = performance_monitor_->database()->GetEvents( events 204 chrome/browser/performance_monitor/performance_monitor_browsertest.cc Database::EventVector events; events 210 chrome/browser/performance_monitor/performance_monitor_browsertest.cc &events)); events 213 chrome/browser/performance_monitor/performance_monitor_browsertest.cc return events; events 401 chrome/browser/performance_monitor/performance_monitor_browsertest.cc Database::EventVector events = GetEvents(); events 402 chrome/browser/performance_monitor/performance_monitor_browsertest.cc CheckExtensionEvents(expected_event_types, events, extension_infos); events 435 chrome/browser/performance_monitor/performance_monitor_browsertest.cc Database::EventVector events = GetEvents(); events 436 chrome/browser/performance_monitor/performance_monitor_browsertest.cc CheckExtensionEvents(expected_event_types, events, extension_infos); events 496 chrome/browser/performance_monitor/performance_monitor_browsertest.cc Database::EventVector events = GetEvents(); events 498 chrome/browser/performance_monitor/performance_monitor_browsertest.cc CheckExtensionEvents(expected_event_types, events, extension_infos); events 523 chrome/browser/performance_monitor/performance_monitor_browsertest.cc Database::EventVector events = GetEvents(); events 525 chrome/browser/performance_monitor/performance_monitor_browsertest.cc CheckExtensionEvents(expected_event_types, events, extension_infos); events 542 chrome/browser/performance_monitor/performance_monitor_browsertest.cc Database::EventVector events = GetEvents(); events 543 chrome/browser/performance_monitor/performance_monitor_browsertest.cc ASSERT_EQ(1u, events.size()); events 544 chrome/browser/performance_monitor/performance_monitor_browsertest.cc ASSERT_EQ(EVENT_CHROME_UPDATE, events[0]->type()); events 547 chrome/browser/performance_monitor/performance_monitor_browsertest.cc ASSERT_TRUE(events[0]->data()->GetAsDictionary(&value)); events 612 chrome/browser/performance_monitor/performance_monitor_browsertest.cc Database::EventVector events = GetEvents(); events 614 chrome/browser/performance_monitor/performance_monitor_browsertest.cc ASSERT_EQ(1u, events.size()); events 615 chrome/browser/performance_monitor/performance_monitor_browsertest.cc CheckEventType(EVENT_RENDERER_KILLED, events[0]); events 619 chrome/browser/performance_monitor/performance_monitor_browsertest.cc ASSERT_TRUE(events[0]->data()->GetString("url", &url)); events 635 chrome/browser/performance_monitor/performance_monitor_browsertest.cc Database::EventVector events = GetEvents(); events 636 chrome/browser/performance_monitor/performance_monitor_browsertest.cc ASSERT_EQ(1u, events.size()); events 638 chrome/browser/performance_monitor/performance_monitor_browsertest.cc CheckEventType(EVENT_RENDERER_CRASH, events[0]); events 641 chrome/browser/performance_monitor/performance_monitor_browsertest.cc ASSERT_TRUE(events[0]->data()->GetString("url", &url)); events 657 chrome/browser/performance_monitor/performance_monitor_browsertest.cc Database::EventVector events = GetEvents(); events 660 chrome/browser/performance_monitor/performance_monitor_browsertest.cc ASSERT_EQ(kNumEvents, events.size()); events 662 chrome/browser/performance_monitor/performance_monitor_browsertest.cc CheckEventType(EVENT_UNCLEAN_EXIT, events[0]); events 665 chrome/browser/performance_monitor/performance_monitor_browsertest.cc ASSERT_TRUE(events[0]->data()->GetString("profileName", &event_profile)); events 691 chrome/browser/performance_monitor/performance_monitor_browsertest.cc Database::EventVector events = GetEvents(); events 695 chrome/browser/performance_monitor/performance_monitor_browsertest.cc for (size_t i = 0; i < events.size(); ++i) { events 697 chrome/browser/performance_monitor/performance_monitor_browsertest.cc if (events[i]->data()->GetInteger("eventType", &event_type) && events 701 chrome/browser/performance_monitor/performance_monitor_browsertest.cc CheckEventType(EVENT_UNCLEAN_EXIT, events[i]); events 707 chrome/browser/performance_monitor/performance_monitor_browsertest.cc ASSERT_TRUE(events[0]->data()->GetString("profileName", &event_profile)); events 710 chrome/browser/performance_monitor/performance_monitor_browsertest.cc ASSERT_TRUE(events[1]->data()->GetString("profileName", &event_profile)); events 37 chrome/browser/performance_monitor/performance_monitor_util.cc events::ExtensionEvent event; events 54 chrome/browser/performance_monitor/performance_monitor_util.cc events::RendererFailure event; events 64 chrome/browser/performance_monitor/performance_monitor_util.cc events::UncleanExit event; events 76 chrome/browser/performance_monitor/performance_monitor_util.cc events::ChromeUpdate event; events 116 chrome/browser/speech/extension_api/tts_engine_extension_api.cc result_voice.events.insert(TtsEventTypeFromString(*iter)); events 123 chrome/browser/speech/extension_api/tts_engine_extension_api.cc result_voice.events.insert(TTS_EVENT_CANCELLED); events 124 chrome/browser/speech/extension_api/tts_engine_extension_api.cc result_voice.events.insert(TTS_EVENT_INTERRUPTED); events 134 chrome/browser/speech/extension_api/tts_engine_extension_api.cc bool sends_end_event = voice.events.find(TTS_EVENT_END) != voice.events.end(); events 129 chrome/browser/speech/extension_api/tts_extension_api.cc new extensions::Event(events::kOnEvent, arguments.Pass())); events 331 chrome/browser/speech/extension_api/tts_extension_api.cc for (std::set<TtsEventType>::iterator iter = voice.events.begin(); events 332 chrome/browser/speech/extension_api/tts_extension_api.cc iter != voice.events.end(); ++iter) { events 79 chrome/browser/speech/extension_api/tts_extension_apitest.cc voice.events.insert(TTS_EVENT_START); events 80 chrome/browser/speech/extension_api/tts_extension_apitest.cc voice.events.insert(TTS_EVENT_END); events 99 chrome/browser/speech/tts_android.cc data.events.insert(TTS_EVENT_START); events 100 chrome/browser/speech/tts_android.cc data.events.insert(TTS_EVENT_END); events 101 chrome/browser/speech/tts_android.cc data.events.insert(TTS_EVENT_ERROR); events 197 chrome/browser/speech/tts_controller.cc voice.events.find(TTS_EVENT_END) != voice.events.end(); events 412 chrome/browser/speech/tts_controller.cc if (voice.events.find(*iter) == voice.events.end()) { events 68 chrome/browser/speech/tts_controller.h std::set<TtsEventType> events; events 272 chrome/browser/speech/tts_linux.cc voice.events.insert(TTS_EVENT_START); events 273 chrome/browser/speech/tts_linux.cc voice.events.insert(TTS_EVENT_END); events 274 chrome/browser/speech/tts_linux.cc voice.events.insert(TTS_EVENT_CANCELLED); events 275 chrome/browser/speech/tts_linux.cc voice.events.insert(TTS_EVENT_MARKER); events 276 chrome/browser/speech/tts_linux.cc voice.events.insert(TTS_EVENT_PAUSE); events 277 chrome/browser/speech/tts_linux.cc voice.events.insert(TTS_EVENT_RESUME); events 181 chrome/browser/speech/tts_win.cc voice.events.insert(TTS_EVENT_START); events 182 chrome/browser/speech/tts_win.cc voice.events.insert(TTS_EVENT_END); events 183 chrome/browser/speech/tts_win.cc voice.events.insert(TTS_EVENT_MARKER); events 184 chrome/browser/speech/tts_win.cc voice.events.insert(TTS_EVENT_WORD); events 185 chrome/browser/speech/tts_win.cc voice.events.insert(TTS_EVENT_SENTENCE); events 186 chrome/browser/speech/tts_win.cc voice.events.insert(TTS_EVENT_PAUSE); events 187 chrome/browser/speech/tts_win.cc voice.events.insert(TTS_EVENT_RESUME); events 824 chrome/browser/ui/webui/history_ui.cc const base::ListValue* events = NULL; events 825 chrome/browser/ui/webui/history_ui.cc if (results_value && results_value->GetList("event", &events)) { events 826 chrome/browser/ui/webui/history_ui.cc web_history_query_results_.reserve(events->GetSize()); events 827 chrome/browser/ui/webui/history_ui.cc for (unsigned int i = 0; i < events->GetSize(); ++i) { events 836 chrome/browser/ui/webui/history_ui.cc if (!(events->GetDictionary(i, &event) && events 129 chrome/browser/ui/webui/instant_ui.cc const std::list<DebugEvent>& events = instant->debug_events(); events 133 chrome/browser/ui/webui/instant_ui.cc for (std::list<DebugEvent>::const_iterator it = events.begin(); events 134 chrome/browser/ui/webui/instant_ui.cc it != events.end(); ++it) { events 260 chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.cc base::ListValue* events = new base::ListValue(); events 261 chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.cc event_results->Set("events", events); events 305 chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.cc events->Append(localized_event); events 75 chrome/test/chromedriver/chrome/stub_web_view.cc Status StubWebView::DispatchMouseEvents(const std::list<MouseEvent>& events, events 84 chrome/test/chromedriver/chrome/stub_web_view.cc Status StubWebView::DispatchTouchEvents(const std::list<TouchEvent>& events) { events 88 chrome/test/chromedriver/chrome/stub_web_view.cc Status StubWebView::DispatchKeyEvents(const std::list<KeyEvent>& events) { events 50 chrome/test/chromedriver/chrome/stub_web_view.h const std::list<MouseEvent>& events, const std::string& frame) OVERRIDE; events 53 chrome/test/chromedriver/chrome/stub_web_view.h const std::list<TouchEvent>& events) OVERRIDE; events 54 chrome/test/chromedriver/chrome/stub_web_view.h virtual Status DispatchKeyEvents(const std::list<KeyEvent>& events) OVERRIDE; events 102 chrome/test/chromedriver/chrome/web_view.h virtual Status DispatchMouseEvents(const std::list<MouseEvent>& events, events 109 chrome/test/chromedriver/chrome/web_view.h virtual Status DispatchTouchEvents(const std::list<TouchEvent>& events) = 0; events 112 chrome/test/chromedriver/chrome/web_view.h virtual Status DispatchKeyEvents(const std::list<KeyEvent>& events) = 0; events 233 chrome/test/chromedriver/chrome/web_view_impl.cc Status WebViewImpl::DispatchMouseEvents(const std::list<MouseEvent>& events, events 235 chrome/test/chromedriver/chrome/web_view_impl.cc for (std::list<MouseEvent>::const_iterator it = events.begin(); events 236 chrome/test/chromedriver/chrome/web_view_impl.cc it != events.end(); ++it) { events 276 chrome/test/chromedriver/chrome/web_view_impl.cc Status WebViewImpl::DispatchTouchEvents(const std::list<TouchEvent>& events) { events 277 chrome/test/chromedriver/chrome/web_view_impl.cc for (std::list<TouchEvent>::const_iterator it = events.begin(); events 278 chrome/test/chromedriver/chrome/web_view_impl.cc it != events.end(); ++it) { events 286 chrome/test/chromedriver/chrome/web_view_impl.cc Status WebViewImpl::DispatchKeyEvents(const std::list<KeyEvent>& events) { events 287 chrome/test/chromedriver/chrome/web_view_impl.cc for (std::list<KeyEvent>::const_iterator it = events.begin(); events 288 chrome/test/chromedriver/chrome/web_view_impl.cc it != events.end(); ++it) { events 70 chrome/test/chromedriver/chrome/web_view_impl.h const std::list<MouseEvent>& events, const std::string& frame) OVERRIDE; events 73 chrome/test/chromedriver/chrome/web_view_impl.h const std::list<TouchEvent>& events) OVERRIDE; events 74 chrome/test/chromedriver/chrome/web_view_impl.h virtual Status DispatchKeyEvents(const std::list<KeyEvent>& events) OVERRIDE; events 145 chrome/test/chromedriver/element_commands.cc std::list<MouseEvent> events; events 146 chrome/test/chromedriver/element_commands.cc events.push_back(move_event); events 147 chrome/test/chromedriver/element_commands.cc status = web_view->DispatchMouseEvents(events, session->GetCurrentFrameId()); events 180 chrome/test/chromedriver/element_commands.cc std::list<MouseEvent> events; events 181 chrome/test/chromedriver/element_commands.cc events.push_back( events 184 chrome/test/chromedriver/element_commands.cc events.push_back( events 187 chrome/test/chromedriver/element_commands.cc events.push_back( events 191 chrome/test/chromedriver/element_commands.cc web_view->DispatchMouseEvents(events, session->GetCurrentFrameId()); events 215 chrome/test/chromedriver/element_commands.cc std::list<TouchEvent> events; events 216 chrome/test/chromedriver/element_commands.cc events.push_back( events 218 chrome/test/chromedriver/element_commands.cc events.push_back( events 220 chrome/test/chromedriver/element_commands.cc return web_view->DispatchTouchEvents(events); events 24 chrome/test/chromedriver/key_converter_unittest.cc std::list<KeyEvent> events; events 26 chrome/test/chromedriver/key_converter_unittest.cc &modifiers, &events).code()); events 27 chrome/test/chromedriver/key_converter_unittest.cc EXPECT_EQ(expected_size, events.size()); events 29 chrome/test/chromedriver/key_converter_unittest.cc std::list<KeyEvent>::const_iterator it = events.begin(); events 30 chrome/test/chromedriver/key_converter_unittest.cc while (i < expected_size && it != events.end()) { events 61 chrome/test/chromedriver/key_converter_unittest.cc std::list<KeyEvent> events; events 64 chrome/test/chromedriver/key_converter_unittest.cc &modifiers, &events).code()); events 65 chrome/test/chromedriver/key_converter_unittest.cc ASSERT_EQ(3u, events.size()) << "Char: " << character; events 66 chrome/test/chromedriver/key_converter_unittest.cc std::list<KeyEvent>::const_iterator it = events.begin(); events 81 chrome/test/chromedriver/key_converter_unittest.cc std::list<KeyEvent> events; events 84 chrome/test/chromedriver/key_converter_unittest.cc &modifiers, &events).code()); events 85 chrome/test/chromedriver/key_converter_unittest.cc ASSERT_EQ(5u, events.size()) << "Char: " << character; events 86 chrome/test/chromedriver/key_converter_unittest.cc std::list<KeyEvent>::const_iterator it = events.begin(); events 351 chrome/test/chromedriver/key_converter_unittest.cc std::list<KeyEvent> events; events 355 chrome/test/chromedriver/key_converter_unittest.cc &modifiers, &events).code()) events 357 chrome/test/chromedriver/key_converter_unittest.cc EXPECT_EQ(0u, events.size()) << "Index: " << i; events 361 chrome/test/chromedriver/key_converter_unittest.cc &modifiers, &events).code()) events 364 chrome/test/chromedriver/key_converter_unittest.cc EXPECT_EQ(0u, events.size()) << "Index: " << i; events 366 chrome/test/chromedriver/key_converter_unittest.cc EXPECT_EQ(2u, events.size()) << "Index: " << i; events 368 chrome/test/chromedriver/key_converter_unittest.cc ASSERT_EQ(3u, events.size()) << "Index: " << i; events 369 chrome/test/chromedriver/key_converter_unittest.cc std::list<KeyEvent>::const_iterator it = events.begin(); events 61 chrome/test/chromedriver/util.cc std::list<KeyEvent> events; events 64 chrome/test/chromedriver/util.cc keys, release_modifiers, &sticky_modifiers_tmp, &events); events 67 chrome/test/chromedriver/util.cc status = web_view->DispatchKeyEvents(events); events 182 chrome/test/chromedriver/window_commands.cc std::list<TouchEvent> events; events 183 chrome/test/chromedriver/window_commands.cc events.push_back( events 185 chrome/test/chromedriver/window_commands.cc return web_view->DispatchTouchEvents(events); events 480 chrome/test/chromedriver/window_commands.cc std::list<MouseEvent> events; events 481 chrome/test/chromedriver/window_commands.cc events.push_back( events 485 chrome/test/chromedriver/window_commands.cc web_view->DispatchMouseEvents(events, session->GetCurrentFrameId()); events 500 chrome/test/chromedriver/window_commands.cc std::list<MouseEvent> events; events 501 chrome/test/chromedriver/window_commands.cc events.push_back( events 505 chrome/test/chromedriver/window_commands.cc events.push_back( events 509 chrome/test/chromedriver/window_commands.cc return web_view->DispatchMouseEvents(events, session->GetCurrentFrameId()); events 521 chrome/test/chromedriver/window_commands.cc std::list<MouseEvent> events; events 522 chrome/test/chromedriver/window_commands.cc events.push_back( events 526 chrome/test/chromedriver/window_commands.cc return web_view->DispatchMouseEvents(events, session->GetCurrentFrameId()); events 538 chrome/test/chromedriver/window_commands.cc std::list<MouseEvent> events; events 539 chrome/test/chromedriver/window_commands.cc events.push_back( events 543 chrome/test/chromedriver/window_commands.cc return web_view->DispatchMouseEvents(events, session->GetCurrentFrameId()); events 555 chrome/test/chromedriver/window_commands.cc std::list<MouseEvent> events; events 556 chrome/test/chromedriver/window_commands.cc events.push_back( events 560 chrome/test/chromedriver/window_commands.cc events.push_back( events 564 chrome/test/chromedriver/window_commands.cc return web_view->DispatchMouseEvents(events, session->GetCurrentFrameId()); events 125 chrome/test/gpu/gpu_feature_browsertest.cc TraceEventVector events; events 131 chrome/test/gpu/gpu_feature_browsertest.cc analyzer_->FindEvents(Query::EventNameIs(event_name), &events); events 463 chrome/test/gpu/gpu_feature_browsertest.cc TraceEventVector events; events 464 chrome/test/gpu/gpu_feature_browsertest.cc size_t num_events = analyzer_->FindEvents(query_raf, &events); events 469 chrome/test/gpu/gpu_feature_browsertest.cc EXPECT_TRUE(trace_analyzer::GetRateStats(events, &stats, &stats_options)); events 1420 components/breakpad/app/breakpad_linux.cc poll_fd.events = POLLIN | POLLPRI | POLLERR; events 240 content/browser/accessibility/browser_accessibility_win_unittest.cc std::vector<AccessibilityHostMsg_EventParams> events; events 241 content/browser/accessibility/browser_accessibility_win_unittest.cc events.push_back(param); events 242 content/browser/accessibility/browser_accessibility_win_unittest.cc manager->OnAccessibilityEvents(events); events 312 content/browser/accessibility/browser_accessibility_win_unittest.cc std::vector<AccessibilityHostMsg_EventParams> events; events 313 content/browser/accessibility/browser_accessibility_win_unittest.cc events.push_back(param); events 314 content/browser/accessibility/browser_accessibility_win_unittest.cc manager->OnAccessibilityEvents(events); events 29 content/browser/devtools/devtools_power_handler.cc void DevToolsPowerHandler::OnPowerEvent(const PowerEventVector& events) { events 34 content/browser/devtools/devtools_power_handler.cc for (iter = events.begin(); iter != events.end(); ++iter) { events 102 content/browser/frame_host/render_widget_host_view_guest.cc ScopedVector<ui::TouchEvent> events; events 103 content/browser/frame_host/render_widget_host_view_guest.cc if (!MakeUITouchEventsFromWebTouchEvents(touch, &events, LOCAL_COORDINATES)) events 108 content/browser/frame_host/render_widget_host_view_guest.cc for (ScopedVector<ui::TouchEvent>::iterator iter = events.begin(), events 109 content/browser/frame_host/render_widget_host_view_guest.cc end = events.end(); iter != end; ++iter) { events 182 content/browser/media/media_internals.cc int render_process_id, const std::vector<media::MediaLogEvent>& events) { events 185 content/browser/media/media_internals.cc for (std::vector<media::MediaLogEvent>::const_iterator event = events.begin(); events 186 content/browser/media/media_internals.cc event != events.end(); ++event) { events 37 content/browser/media/media_internals.h const std::vector<media::MediaLogEvent>& events); events 151 content/browser/media/webrtc_getusermedia_browsertest.cc trace_analyzer::TraceEventVector events; events 155 content/browser/media/webrtc_getusermedia_browsertest.cc &events); events 156 content/browser/media/webrtc_getusermedia_browsertest.cc ASSERT_GT(events.size(), 0u) events 161 content/browser/media/webrtc_getusermedia_browsertest.cc for (size_t i = 0; i != events.size(); ++i) { events 163 content/browser/media/webrtc_getusermedia_browsertest.cc base::StringPrintf("%d,", static_cast<int>(events[i]->duration))); events 166 content/browser/media/webrtc_getusermedia_browsertest.cc for (size_t i = 1; i < events.size(); ++i) { events 169 content/browser/media/webrtc_getusermedia_browsertest.cc static_cast<int>((events[i]->timestamp - events[i - 1]->timestamp) / events 30 content/browser/power_profiler/power_data_provider_ia_win.cc PowerEventVector events; events 33 content/browser/power_profiler/power_data_provider_ia_win.cc return events; events 52 content/browser/power_profiler/power_data_provider_ia_win.cc events.push_back(event); events 54 content/browser/power_profiler/power_data_provider_ia_win.cc return events; events 102 content/browser/power_profiler/power_profiler_service.cc void PowerProfilerService::Notify(const PowerEventVector& events) { events 103 content/browser/power_profiler/power_profiler_service.cc FOR_EACH_OBSERVER(PowerProfilerObserver, observers_, OnPowerEvent(events)); events 111 content/browser/power_profiler/power_profiler_service.cc PowerEventVector events = data_provider_->GetData(); events 112 content/browser/power_profiler/power_profiler_service.cc if (events.size() != 0) { events 114 content/browser/power_profiler/power_profiler_service.cc &PowerProfilerService::Notify, base::Unretained(this), events)); events 24 content/browser/power_profiler/power_profiler_service_unittest.cc PowerEventVector events; events 26 content/browser/power_profiler/power_profiler_service_unittest.cc return events; events 32 content/browser/power_profiler/power_profiler_service_unittest.cc events.push_back(event); events 35 content/browser/power_profiler/power_profiler_service_unittest.cc return events; events 50 content/browser/power_profiler/power_profiler_service_unittest.cc virtual void OnPowerEvent(const PowerEventVector& events) OVERRIDE { events 51 content/browser/power_profiler/power_profiler_service_unittest.cc if (IsValidEvent(events[0])) events 277 content/browser/renderer_host/input/input_router_impl_perftest.cc const std::vector<EventType>& events, events 282 content/browser/renderer_host/input/input_router_impl_perftest.cc const size_t event_count = events.size(); events 289 content/browser/renderer_host/input/input_router_impl_perftest.cc SendEvent(events[i++], CreateLatencyInfo()); events 292 content/browser/renderer_host/input/input_router_impl_perftest.cc SendEvent(events[i], CreateLatencyInfo()); events 293 content/browser/renderer_host/input/input_router_impl_perftest.cc SendEventAck(events[ack_i].type, INPUT_EVENT_ACK_STATE_CONSUMED); events 297 content/browser/renderer_host/input/input_router_impl_perftest.cc SendEventAck(events.back().type, INPUT_EVENT_ACK_STATE_CONSUMED); events 29 content/browser/renderer_host/input/synthetic_gesture_target_aura.cc ScopedVector<ui::TouchEvent> events; events 31 content/browser/renderer_host/input/synthetic_gesture_target_aura.cc touch_with_latency, &events, LOCAL_COORDINATES); events 36 content/browser/renderer_host/input/synthetic_gesture_target_aura.cc for (ScopedVector<ui::TouchEvent>::iterator iter = events.begin(), events 37 content/browser/renderer_host/input/synthetic_gesture_target_aura.cc end = events.end(); iter != end; ++iter) { events 1096 content/browser/renderer_host/render_message_filter.cc const std::vector<media::MediaLogEvent>& events) { events 1098 content/browser/renderer_host/render_message_filter.cc media_internals_->OnMediaEvents(render_process_id_, events); events 94 content/browser/renderer_host/render_sandbox_host_linux.cc pfds[0].events = POLLIN; events 96 content/browser/renderer_host/render_sandbox_host_linux.cc pfds[1].events = POLLIN; events 2102 content/browser/renderer_host/render_widget_host_view_aura.cc ScopedVector<ui::TouchEvent> events; events 2103 content/browser/renderer_host/render_widget_host_view_aura.cc if (!MakeUITouchEventsFromWebTouchEvents(touch, &events, events 2114 content/browser/renderer_host/render_widget_host_view_aura.cc for (ScopedVector<ui::TouchEvent>::iterator iter = events.begin(), events 2115 content/browser/renderer_host/render_widget_host_view_aura.cc end = events.end(); iter != end; ++iter) { events 298 content/browser/web_contents/aura/window_slider_unittest.cc ui::Event* events[] = { events 311 content/browser/web_contents/aura/window_slider_unittest.cc for (int i = 0; events[i]; ++i) { events 321 content/browser/web_contents/aura/window_slider_unittest.cc base::Owned(events[i]))); events 448 content/child/blink_platform_impl.cc std::vector<base::WaitableEvent*> events; events 450 content/child/blink_platform_impl.cc events.push_back(static_cast<WebWaitableEventImpl*>(web_events[i])->impl()); events 452 content/child/blink_platform_impl.cc vector_as_array(&events), events.size()); events 87 content/child/blink_platform_impl.h const blink::WebVector<blink::WebWaitableEvent*>& events); events 807 content/common/gpu/media/dxva_video_decode_accelerator.cc IMFCollection* events = output_data_buffer.pEvents; events 808 content/common/gpu/media/dxva_video_decode_accelerator.cc if (events != NULL) { events 810 content/common/gpu/media/dxva_video_decode_accelerator.cc events->Release(); events 50 content/common/gpu/media/exynos_v4l2_video_device.cc pollfds[0].events = POLLIN | POLLERR; events 56 content/common/gpu/media/exynos_v4l2_video_device.cc pollfds[nfds].events = POLLIN | POLLOUT | POLLERR | POLLPRI; events 1058 content/common/gpu/media/exynos_video_encode_accelerator.cc pollfds[0].events = POLLIN | POLLERR; events 1066 content/common/gpu/media/exynos_video_encode_accelerator.cc pollfds[nfds].events = POLLIN | POLLOUT | POLLERR; events 1072 content/common/gpu/media/exynos_video_encode_accelerator.cc pollfds[nfds].events = POLLIN | POLLOUT | POLLERR; events 145 content/common/input/input_param_traits_unittest.cc InputEvents events; events 152 content/common/input/input_param_traits_unittest.cc events.push_back(new InputEvent(key_event, latency, false)); events 158 content/common/input/input_param_traits_unittest.cc events.push_back(new InputEvent(wheel_event, latency, false)); events 164 content/common/input/input_param_traits_unittest.cc events.push_back(new InputEvent(mouse_event, latency, false)); events 169 content/common/input/input_param_traits_unittest.cc events.push_back(new InputEvent(gesture_event, latency, false)); events 175 content/common/input/input_param_traits_unittest.cc events.push_back(new InputEvent(touch_event, latency, false)); events 177 content/common/input/input_param_traits_unittest.cc Verify(events); events 87 content/renderer/accessibility/renderer_accessibility_focus_only.cc std::vector<AccessibilityHostMsg_EventParams> events; events 88 content/renderer/accessibility/renderer_accessibility_focus_only.cc events.push_back(AccessibilityHostMsg_EventParams()); events 89 content/renderer/accessibility/renderer_accessibility_focus_only.cc AccessibilityHostMsg_EventParams& event = events[0]; events 148 content/renderer/accessibility/renderer_accessibility_focus_only.cc Send(new AccessibilityHostMsg_Events(routing_id(), events)); events 101 content/renderer/input/input_event_filter_unittest.cc const std::vector<IPC::Message>& events) { events 102 content/renderer/input/input_event_filter_unittest.cc for (size_t i = 0; i < events.size(); ++i) { events 103 content/renderer/input/input_event_filter_unittest.cc message_filter->OnMessageReceived(events[i]); events 110 content/renderer/input/input_event_filter_unittest.cc const WebMouseEvent events[], events 116 content/renderer/input/input_event_filter_unittest.cc kTestRoutingID, &events[i], ui::LatencyInfo(), false)); events 39 content/renderer/media/render_media_log_unittest.cc Tuple1<std::vector<media::MediaLogEvent> > events; events 40 content/renderer/media/render_media_log_unittest.cc ViewHostMsg_MediaLogEvents::Read(msg, &events); events 41 content/renderer/media/render_media_log_unittest.cc return events.a; events 67 content/renderer/media/render_media_log_unittest.cc std::vector<media::MediaLogEvent> events = GetMediaLogEvents(); events 68 content/renderer/media/render_media_log_unittest.cc ASSERT_EQ(3u, events.size()); events 69 content/renderer/media/render_media_log_unittest.cc EXPECT_EQ(media::MediaLogEvent::LOAD, events[0].type); events 70 content/renderer/media/render_media_log_unittest.cc EXPECT_EQ(media::MediaLogEvent::SEEK, events[1].type); events 71 content/renderer/media/render_media_log_unittest.cc EXPECT_EQ(media::MediaLogEvent::PLAY, events[2].type); events 96 content/renderer/media/render_media_log_unittest.cc std::vector<media::MediaLogEvent> events = GetMediaLogEvents(); events 97 content/renderer/media/render_media_log_unittest.cc ASSERT_EQ(4u, events.size()); events 98 content/renderer/media/render_media_log_unittest.cc EXPECT_EQ(media::MediaLogEvent::LOAD, events[0].type); events 99 content/renderer/media/render_media_log_unittest.cc EXPECT_EQ(media::MediaLogEvent::SEEK, events[1].type); events 100 content/renderer/media/render_media_log_unittest.cc EXPECT_EQ(media::MediaLogEvent::PLAY, events[2].type); events 101 content/renderer/media/render_media_log_unittest.cc EXPECT_EQ(media::MediaLogEvent::BUFFERED_EXTENTS_CHANGED, events[3].type); events 614 content/renderer/pepper/event_conversion.cc std::vector<linked_ptr<WebInputEvent> > events; events 627 content/renderer/pepper/event_conversion.cc events.push_back(original_event); events 635 content/renderer/pepper/event_conversion.cc events.push_back(original_event); events 649 content/renderer/pepper/event_conversion.cc events.push_back(original_event); events 685 content/renderer/pepper/event_conversion.cc events.push_back(linked_ptr<WebInputEvent>(key_down_event.release())); events 690 content/renderer/pepper/event_conversion.cc events.push_back(original_event); events 694 content/renderer/pepper/event_conversion.cc events.push_back(linked_ptr<WebInputEvent>(key_up_event.release())); events 701 content/renderer/pepper/event_conversion.cc return events; events 1071 content/renderer/pepper/pepper_plugin_instance_impl.cc std::vector< ppapi::InputEventData > events; events 1072 content/renderer/pepper/pepper_plugin_instance_impl.cc CreateInputEventData(event, &events); events 1086 content/renderer/pepper/pepper_plugin_instance_impl.cc for (size_t i = 0; i < events.size(); i++) { events 1088 content/renderer/pepper/pepper_plugin_instance_impl.cc events[i].is_filtered = true; events 1093 content/renderer/pepper/pepper_plugin_instance_impl.cc pp_instance(), events[i])); events 2096 content/renderer/pepper/pepper_plugin_instance_impl.cc std::vector<linked_ptr<WebInputEvent> > events = events 2101 content/renderer/pepper/pepper_plugin_instance_impl.cc for (std::vector<linked_ptr<WebInputEvent> >::iterator it = events.begin(); events 2102 content/renderer/pepper/pepper_plugin_instance_impl.cc it != events.end(); ++it) { events 275 content/renderer/render_view_browsertest.cc std::vector<GdkEvent*> events; events 281 content/renderer/render_view_browsertest.cc &events); events 284 content/renderer/render_view_browsertest.cc for (size_t i = 0; i < events.size(); ++i) { events 287 content/renderer/render_view_browsertest.cc if ((i + 1) == (events.size() / 2) || i == (events.size() / 2)) { events 288 content/renderer/render_view_browsertest.cc unicode_key = gdk_keyval_to_unicode(events[i]->key.keyval); events 289 content/renderer/render_view_browsertest.cc NativeWebKeyboardEvent webkit_event(events[i]); events 300 content/renderer/render_view_browsertest.cc gdk_event_free(events[i]); events 70 device/bluetooth/bluetooth_socket_chromeos.cc pollfd.events = 0; events 246 extensions/browser/event_router.cc std::set<std::string> events = GetRegisteredEvents(extension_id); events 247 extensions/browser/event_router.cc bool prefs_is_new = events.insert(event_name).second; events 249 extensions/browser/event_router.cc SetRegisteredEvents(extension_id, events); events 260 extensions/browser/event_router.cc std::set<std::string> events = GetRegisteredEvents(extension_id); events 261 extensions/browser/event_router.cc bool prefs_did_exist = events.erase(event_name) > 0; events 263 extensions/browser/event_router.cc SetRegisteredEvents(extension_id, events); events 336 extensions/browser/event_router.cc std::set<std::string> events; events 342 extensions/browser/event_router.cc return events; events 348 extensions/browser/event_router.cc events.insert(event); events 350 extensions/browser/event_router.cc return events; events 354 extensions/browser/event_router.cc const std::set<std::string>& events) { events 356 extensions/browser/event_router.cc for (std::set<std::string>::const_iterator iter = events.begin(); events 357 extensions/browser/event_router.cc iter != events.end(); ++iter) { events 406 extensions/browser/event_router.cc const DictionaryValue* events = NULL; events 408 extensions/browser/event_router.cc extension_id, kFilteredEvents, &events); events 409 extensions/browser/event_router.cc return events; events 153 extensions/browser/event_router.h const std::set<std::string>& events); events 1377 ipc/ipc_sync_channel_unittest.cc WaitableEvent** events, events 1382 ipc/ipc_sync_channel_unittest.cc events_(events), events 1432 ipc/ipc_sync_channel_unittest.cc WaitableEvent** events) events 1435 ipc/ipc_sync_channel_unittest.cc events_(events), events 1491 ipc/ipc_sync_channel_unittest.cc WaitableEvent** events) events 1496 ipc/ipc_sync_channel_unittest.cc events_(events), events 1565 ipc/ipc_sync_channel_unittest.cc WaitableEvent* events[4] = {&event0, &event1, &event2, &event3}; events 1572 ipc/ipc_sync_channel_unittest.cc server2 = new RestrictedDispatchDeadlockServer(2, &server2_ready, events, events 1578 ipc/ipc_sync_channel_unittest.cc events); events 1581 ipc/ipc_sync_channel_unittest.cc server1 = new RestrictedDispatchDeadlockServer(1, &server1_ready, events, events 1587 ipc/ipc_sync_channel_unittest.cc &server1_ready, events); events 57 ipc/ipc_sync_message_filter.cc base::WaitableEvent* events[2] = { shutdown_event_, &done_event }; events 58 ipc/ipc_sync_message_filter.cc base::WaitableEvent::WaitMany(events, 2); events 171 jingle/glue/thread_wrapper.cc base::WaitableEvent* events[] = {&pending_send.done_event, events 173 jingle/glue/thread_wrapper.cc size_t event = base::WaitableEvent::WaitMany(events, arraysize(events)); events 62 media/cast/rtcp/sender_rtcp_event_subscriber_unittest.cc RtcpEventMap events; events 63 media/cast/rtcp/sender_rtcp_event_subscriber_unittest.cc event_subscriber_.GetRtcpEventsAndReset(&events); events 65 media/cast/rtcp/sender_rtcp_event_subscriber_unittest.cc ASSERT_EQ(3u, events.size()); events 67 media/cast/rtcp/sender_rtcp_event_subscriber_unittest.cc RtcpEventMap::iterator it = events.begin(); events 84 media/cast/rtcp/sender_rtcp_event_subscriber_unittest.cc RtcpEventMap events; events 85 media/cast/rtcp/sender_rtcp_event_subscriber_unittest.cc event_subscriber_.GetRtcpEventsAndReset(&events); events 86 media/cast/rtcp/sender_rtcp_event_subscriber_unittest.cc EXPECT_EQ(1u, events.size()); events 89 media/cast/rtcp/sender_rtcp_event_subscriber_unittest.cc event_subscriber_.GetRtcpEventsAndReset(&events); events 90 media/cast/rtcp/sender_rtcp_event_subscriber_unittest.cc EXPECT_TRUE(events.empty()); events 99 media/cast/rtcp/sender_rtcp_event_subscriber_unittest.cc RtcpEventMap events; events 100 media/cast/rtcp/sender_rtcp_event_subscriber_unittest.cc event_subscriber_.GetRtcpEventsAndReset(&events); events 102 media/cast/rtcp/sender_rtcp_event_subscriber_unittest.cc ASSERT_EQ(10u, events.size()); events 103 media/cast/rtcp/sender_rtcp_event_subscriber_unittest.cc EXPECT_EQ(10u, events.begin()->first); events 104 media/cast/rtcp/sender_rtcp_event_subscriber_unittest.cc EXPECT_EQ(100u, events.rbegin()->first); events 111 media/cast/rtcp/sender_rtcp_event_subscriber_unittest.cc event_subscriber_.GetRtcpEventsAndReset(&events); events 114 media/cast/rtcp/sender_rtcp_event_subscriber_unittest.cc ASSERT_EQ(10u, events.size()); events 115 media/cast/rtcp/sender_rtcp_event_subscriber_unittest.cc EXPECT_EQ(20u, events.begin()->first); events 116 media/cast/rtcp/sender_rtcp_event_subscriber_unittest.cc EXPECT_EQ(110u, events.rbegin()->first); events 47 media/filters/blocking_url_protocol.cc base::WaitableEvent* events[] = { &aborted_, &read_complete_ }; events 48 media/filters/blocking_url_protocol.cc size_t index = base::WaitableEvent::WaitMany(events, arraysize(events)); events 50 media/filters/blocking_url_protocol.cc if (events[index] == &aborted_) events 255 media/midi/midi_manager_alsa.cc poll_fds_[0].events = kPollEventMask; events 296 media/midi/midi_manager_alsa.cc poll_fds_[fds_index].events = 0; events 23 native_client_sdk/src/libraries/nacl_io/event_emitter.cc void EventEmitter::RegisterListener(EventListener* listener, uint32_t events) { events 25 native_client_sdk/src/libraries/nacl_io/event_emitter.cc RegisterListener_Locked(listener, events); events 34 native_client_sdk/src/libraries/nacl_io/event_emitter.cc uint32_t events) { events 36 native_client_sdk/src/libraries/nacl_io/event_emitter.cc listeners_[listener] = events; events 52 native_client_sdk/src/libraries/nacl_io/event_emitter.h void RaiseEvents_Locked(uint32_t events); events 55 native_client_sdk/src/libraries/nacl_io/event_emitter.h void ClearEvents_Locked(uint32_t events); events 61 native_client_sdk/src/libraries/nacl_io/event_emitter.h void RegisterListener(EventListener* listener, uint32_t events); events 63 native_client_sdk/src/libraries/nacl_io/event_emitter.h void RegisterListener_Locked(EventListener* listener, uint32_t events); events 81 native_client_sdk/src/libraries/nacl_io/event_listener.cc uint32_t events) { events 86 native_client_sdk/src/libraries/nacl_io/event_listener.cc Error EventListenerLock::WaitOnEvent(uint32_t events, int ms_timeout) { events 90 native_client_sdk/src/libraries/nacl_io/event_listener.cc emitter_->RegisterListener_Locked(this, events); events 91 native_client_sdk/src/libraries/nacl_io/event_listener.cc while ((emitter_->GetEventStatus() & events) == 0) { events 117 native_client_sdk/src/libraries/nacl_io/event_listener.cc uint32_t events) { events 119 native_client_sdk/src/libraries/nacl_io/event_listener.cc emitters_[emitter]->events |= events; events 135 native_client_sdk/src/libraries/nacl_io/event_listener.cc request->events = 0; events 143 native_client_sdk/src/libraries/nacl_io/event_listener.cc uint32_t events = request->emitter->GetEventStatus() & request->filter; events 145 native_client_sdk/src/libraries/nacl_io/event_listener.cc if (events) { events 147 native_client_sdk/src/libraries/nacl_io/event_listener.cc request->events |= events; events 178 native_client_sdk/src/libraries/nacl_io/event_listener.cc if (request->events & POLLERR) events 71 native_client_sdk/src/libraries/nacl_io/event_listener.h uint32_t events; events 78 native_client_sdk/src/libraries/nacl_io/event_listener.h uint32_t events; events 100 native_client_sdk/src/libraries/nacl_io/event_listener.h virtual void ReceiveEvents(EventEmitter* emitter, uint32_t events) = 0; events 121 native_client_sdk/src/libraries/nacl_io/event_listener.h virtual void ReceiveEvents(EventEmitter* emitter, uint32_t events); events 131 native_client_sdk/src/libraries/nacl_io/event_listener.h Error WaitOnEvent(uint32_t events, int ms_max); events 147 native_client_sdk/src/libraries/nacl_io/event_listener.h virtual void ReceiveEvents(EventEmitter* emitter, uint32_t events); events 30 native_client_sdk/src/libraries/nacl_io/include/sys/poll.h uint16_t events; events 1045 native_client_sdk/src/libraries/nacl_io/kernel_proxy.cc int events = 0; events 1047 native_client_sdk/src/libraries/nacl_io/kernel_proxy.cc events |= POLLIN; events 1050 native_client_sdk/src/libraries/nacl_io/kernel_proxy.cc events |= POLLOUT; events 1053 native_client_sdk/src/libraries/nacl_io/kernel_proxy.cc events |= POLLERR | POLLHUP; events 1055 native_client_sdk/src/libraries/nacl_io/kernel_proxy.cc if (events) { events 1058 native_client_sdk/src/libraries/nacl_io/kernel_proxy.cc info.events = events; events 1138 native_client_sdk/src/libraries/nacl_io/kernel_proxy.cc int events = POLLIN | POLLOUT; events 1140 native_client_sdk/src/libraries/nacl_io/kernel_proxy.cc events = emitter->GetEventStatus(); events 1142 native_client_sdk/src/libraries/nacl_io/kernel_proxy.cc if (events & fd_info->events) { events 1143 native_client_sdk/src/libraries/nacl_io/kernel_proxy.cc fd_info->revents = events & fd_info->events; events 1159 native_client_sdk/src/libraries/nacl_io/kernel_proxy.cc request.filter = fd_info->events; events 1160 native_client_sdk/src/libraries/nacl_io/kernel_proxy.cc request.events = 0; events 1166 native_client_sdk/src/libraries/nacl_io/kernel_proxy.cc requests[info->index].filter |= fd_info->events; events 1180 native_client_sdk/src/libraries/nacl_io/kernel_proxy.cc if (request->events) { events 1184 native_client_sdk/src/libraries/nacl_io/kernel_proxy.cc uint32_t events = fd_info->events & request->events; events 1185 native_client_sdk/src/libraries/nacl_io/kernel_proxy.cc if (events) { events 1186 native_client_sdk/src/libraries/nacl_io/kernel_proxy.cc fd_info->revents = events; events 681 native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc pollfd.events = POLLIN | POLLOUT; events 696 native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc pollfd.events = POLLIN | POLLOUT; events 35 native_client_sdk/src/tests/nacl_io_test/event_test.cc virtual void ReceiveEvents(EventEmitter* emitter, uint32_t events) { events 36 native_client_sdk/src/tests/nacl_io_test/event_test.cc events_ |= events; events 231 native_client_sdk/src/tests/nacl_io_test/event_test.cc pollfds[index].events = POLLIN | POLLOUT; events 110 net/base/keygen_handler_unittest.cc base::WaitableEvent* events[NUM_HANDLERS] = { NULL }; events 113 net/base/keygen_handler_unittest.cc events[i] = new base::WaitableEvent(false, false); events 116 net/base/keygen_handler_unittest.cc base::Bind(ConcurrencyTestCallback, events[i], "some challenge", events 123 net/base/keygen_handler_unittest.cc events[i]->Wait(); events 124 net/base/keygen_handler_unittest.cc delete events[i]; events 125 net/base/keygen_handler_unittest.cc events[i] = NULL; events 46 net/base/net_log_logger_unittest.cc base::ListValue* events; events 47 net/base/net_log_logger_unittest.cc ASSERT_TRUE(dict->GetList("events", &events)); events 48 net/base/net_log_logger_unittest.cc ASSERT_EQ(0u, events->GetSize()); events 78 net/base/net_log_logger_unittest.cc base::ListValue* events; events 79 net/base/net_log_logger_unittest.cc ASSERT_TRUE(dict->GetList("events", &events)); events 80 net/base/net_log_logger_unittest.cc ASSERT_EQ(1u, events->GetSize()); events 113 net/base/net_log_logger_unittest.cc base::ListValue* events; events 114 net/base/net_log_logger_unittest.cc ASSERT_TRUE(dict->GetList("events", &events)); events 115 net/base/net_log_logger_unittest.cc ASSERT_EQ(2u, events->GetSize()); events 894 net/socket/tcp_socket_win.cc WSANETWORKEVENTS events; events 896 net/socket/tcp_socket_win.cc &events); events 902 net/socket/tcp_socket_win.cc } else if (events.lNetworkEvents & FD_CONNECT) { events 903 net/socket/tcp_socket_win.cc os_error = events.iErrorCode[FD_CONNECT_BIT]; events 327 net/socket/unix_domain_socket_posix_unittest.cc poll_fd.events = POLLIN; events 436 net/socket_stream/socket_stream_unittest.cc const std::vector<SocketStreamEvent>& events = delegate->GetSeenEvents(); events 437 net/socket_stream/socket_stream_unittest.cc ASSERT_EQ(7U, events.size()); events 440 net/socket_stream/socket_stream_unittest.cc events[0].event_type); events 441 net/socket_stream/socket_stream_unittest.cc EXPECT_EQ(SocketStreamEvent::EVENT_CONNECTED, events[1].event_type); events 442 net/socket_stream/socket_stream_unittest.cc EXPECT_EQ(SocketStreamEvent::EVENT_SENT_DATA, events[2].event_type); events 443 net/socket_stream/socket_stream_unittest.cc EXPECT_EQ(SocketStreamEvent::EVENT_RECEIVED_DATA, events[3].event_type); events 444 net/socket_stream/socket_stream_unittest.cc EXPECT_EQ(SocketStreamEvent::EVENT_SENT_DATA, events[4].event_type); events 445 net/socket_stream/socket_stream_unittest.cc EXPECT_EQ(SocketStreamEvent::EVENT_SENT_DATA, events[5].event_type); events 446 net/socket_stream/socket_stream_unittest.cc EXPECT_EQ(SocketStreamEvent::EVENT_CLOSE, events[6].event_type); events 477 net/socket_stream/socket_stream_unittest.cc const std::vector<SocketStreamEvent>& events = delegate->GetSeenEvents(); events 478 net/socket_stream/socket_stream_unittest.cc ASSERT_EQ(2U, events.size()); events 480 net/socket_stream/socket_stream_unittest.cc EXPECT_EQ(SocketStreamEvent::EVENT_ERROR, events[0].event_type); events 481 net/socket_stream/socket_stream_unittest.cc EXPECT_EQ(SocketStreamEvent::EVENT_CLOSE, events[1].event_type); events 510 net/socket_stream/socket_stream_unittest.cc const std::vector<SocketStreamEvent>& events = delegate->GetSeenEvents(); events 511 net/socket_stream/socket_stream_unittest.cc ASSERT_EQ(4U, events.size()); events 514 net/socket_stream/socket_stream_unittest.cc events[0].event_type); events 515 net/socket_stream/socket_stream_unittest.cc EXPECT_EQ(SocketStreamEvent::EVENT_CONNECTED, events[1].event_type); events 516 net/socket_stream/socket_stream_unittest.cc EXPECT_EQ(SocketStreamEvent::EVENT_ERROR, events[2].event_type); events 517 net/socket_stream/socket_stream_unittest.cc EXPECT_EQ(SocketStreamEvent::EVENT_CLOSE, events[3].event_type); events 579 net/socket_stream/socket_stream_unittest.cc const std::vector<SocketStreamEvent>& events = delegate->GetSeenEvents(); events 580 net/socket_stream/socket_stream_unittest.cc ASSERT_EQ(5U, events.size()); events 583 net/socket_stream/socket_stream_unittest.cc events[0].event_type); events 584 net/socket_stream/socket_stream_unittest.cc EXPECT_EQ(SocketStreamEvent::EVENT_AUTH_REQUIRED, events[1].event_type); events 585 net/socket_stream/socket_stream_unittest.cc EXPECT_EQ(SocketStreamEvent::EVENT_CONNECTED, events[2].event_type); events 586 net/socket_stream/socket_stream_unittest.cc EXPECT_EQ(SocketStreamEvent::EVENT_ERROR, events[3].event_type); events 587 net/socket_stream/socket_stream_unittest.cc EXPECT_EQ(ERR_ABORTED, events[3].error_code); events 588 net/socket_stream/socket_stream_unittest.cc EXPECT_EQ(SocketStreamEvent::EVENT_CLOSE, events[4].event_type); events 640 net/socket_stream/socket_stream_unittest.cc const std::vector<SocketStreamEvent>& events = delegate->GetSeenEvents(); events 641 net/socket_stream/socket_stream_unittest.cc ASSERT_EQ(4U, events.size()); events 643 net/socket_stream/socket_stream_unittest.cc events[0].event_type); events 644 net/socket_stream/socket_stream_unittest.cc EXPECT_EQ(SocketStreamEvent::EVENT_CONNECTED, events[1].event_type); events 645 net/socket_stream/socket_stream_unittest.cc EXPECT_EQ(ERR_ABORTED, events[2].error_code); events 646 net/socket_stream/socket_stream_unittest.cc EXPECT_EQ(SocketStreamEvent::EVENT_CLOSE, events[3].event_type); events 697 net/socket_stream/socket_stream_unittest.cc const std::vector<SocketStreamEvent>& events = delegate->GetSeenEvents(); events 698 net/socket_stream/socket_stream_unittest.cc ASSERT_EQ(4U, events.size()); events 700 net/socket_stream/socket_stream_unittest.cc events[0].event_type); events 701 net/socket_stream/socket_stream_unittest.cc EXPECT_EQ(SocketStreamEvent::EVENT_CONNECTED, events[1].event_type); events 702 net/socket_stream/socket_stream_unittest.cc EXPECT_EQ(ERR_ABORTED, events[2].error_code); events 703 net/socket_stream/socket_stream_unittest.cc EXPECT_EQ(SocketStreamEvent::EVENT_CLOSE, events[3].event_type); events 759 net/socket_stream/socket_stream_unittest.cc const std::vector<SocketStreamEvent>& events = delegate->GetSeenEvents(); events 760 net/socket_stream/socket_stream_unittest.cc ASSERT_EQ(7U, events.size()); events 763 net/socket_stream/socket_stream_unittest.cc events[0].event_type); events 764 net/socket_stream/socket_stream_unittest.cc EXPECT_EQ(SocketStreamEvent::EVENT_CONNECTED, events[1].event_type); events 765 net/socket_stream/socket_stream_unittest.cc EXPECT_EQ(SocketStreamEvent::EVENT_SENT_DATA, events[2].event_type); events 766 net/socket_stream/socket_stream_unittest.cc EXPECT_EQ(SocketStreamEvent::EVENT_RECEIVED_DATA, events[3].event_type); events 767 net/socket_stream/socket_stream_unittest.cc EXPECT_EQ(SocketStreamEvent::EVENT_SENT_DATA, events[4].event_type); events 768 net/socket_stream/socket_stream_unittest.cc EXPECT_EQ(SocketStreamEvent::EVENT_SENT_DATA, events[5].event_type); events 769 net/socket_stream/socket_stream_unittest.cc EXPECT_EQ(SocketStreamEvent::EVENT_CLOSE, events[6].event_type); events 790 net/socket_stream/socket_stream_unittest.cc const std::vector<SocketStreamEvent>& events = delegate->GetSeenEvents(); events 791 net/socket_stream/socket_stream_unittest.cc ASSERT_EQ(2U, events.size()); events 794 net/socket_stream/socket_stream_unittest.cc events[0].event_type); events 795 net/socket_stream/socket_stream_unittest.cc EXPECT_EQ(SocketStreamEvent::EVENT_ERROR, events[1].event_type); events 796 net/socket_stream/socket_stream_unittest.cc EXPECT_EQ(ERR_PROTOCOL_SWITCHED, events[1].error_code); events 822 net/socket_stream/socket_stream_unittest.cc const std::vector<SocketStreamEvent>& events = delegate->GetSeenEvents(); events 823 net/socket_stream/socket_stream_unittest.cc ASSERT_EQ(2U, events.size()); events 826 net/socket_stream/socket_stream_unittest.cc events[0].event_type); events 827 net/socket_stream/socket_stream_unittest.cc EXPECT_EQ(SocketStreamEvent::EVENT_ERROR, events[1].event_type); events 828 net/socket_stream/socket_stream_unittest.cc EXPECT_EQ(ERR_PROTOCOL_SWITCHED, events[1].error_code); events 872 net/socket_stream/socket_stream_unittest.cc const std::vector<SocketStreamEvent>& events = delegate->GetSeenEvents(); events 873 net/socket_stream/socket_stream_unittest.cc ASSERT_EQ(3U, events.size()); events 876 net/socket_stream/socket_stream_unittest.cc events[0].event_type); events 877 net/socket_stream/socket_stream_unittest.cc EXPECT_EQ(SocketStreamEvent::EVENT_ERROR, events[1].event_type); events 878 net/socket_stream/socket_stream_unittest.cc EXPECT_EQ(ERR_SSL_PROTOCOL_ERROR, events[1].error_code); events 879 net/socket_stream/socket_stream_unittest.cc EXPECT_EQ(SocketStreamEvent::EVENT_CLOSE, events[2].event_type); events 923 net/socket_stream/socket_stream_unittest.cc const std::vector<SocketStreamEvent>& events = delegate->GetSeenEvents(); events 924 net/socket_stream/socket_stream_unittest.cc ASSERT_EQ(4U, events.size()); events 927 net/socket_stream/socket_stream_unittest.cc events[0].event_type); events 928 net/socket_stream/socket_stream_unittest.cc EXPECT_EQ(SocketStreamEvent::EVENT_CONNECTED, events[1].event_type); events 929 net/socket_stream/socket_stream_unittest.cc EXPECT_EQ(SocketStreamEvent::EVENT_ERROR, events[2].event_type); events 930 net/socket_stream/socket_stream_unittest.cc EXPECT_EQ(ERR_ABORTED, events[2].error_code); events 931 net/socket_stream/socket_stream_unittest.cc EXPECT_EQ(SocketStreamEvent::EVENT_CLOSE, events[3].event_type); events 953 net/socket_stream/socket_stream_unittest.cc const std::vector<SocketStreamEvent>& events = delegate->GetSeenEvents(); events 954 net/socket_stream/socket_stream_unittest.cc ASSERT_EQ(2U, events.size()); events 956 net/socket_stream/socket_stream_unittest.cc EXPECT_EQ(SocketStreamEvent::EVENT_ERROR, events[0].event_type); events 957 net/socket_stream/socket_stream_unittest.cc EXPECT_EQ(ERR_ACCESS_DENIED, events[0].error_code); events 958 net/socket_stream/socket_stream_unittest.cc EXPECT_EQ(SocketStreamEvent::EVENT_CLOSE, events[1].event_type); events 1033 net/socket_stream/socket_stream_unittest.cc const std::vector<SocketStreamEvent>& events = delegate->GetSeenEvents(); events 1034 net/socket_stream/socket_stream_unittest.cc ASSERT_EQ(5U, events.size()); events 1037 net/socket_stream/socket_stream_unittest.cc events[0].event_type); events 1038 net/socket_stream/socket_stream_unittest.cc EXPECT_EQ(SocketStreamEvent::EVENT_CONNECTED, events[1].event_type); events 1039 net/socket_stream/socket_stream_unittest.cc EXPECT_EQ(SocketStreamEvent::EVENT_SENT_DATA, events[2].event_type); events 1040 net/socket_stream/socket_stream_unittest.cc EXPECT_EQ(SocketStreamEvent::EVENT_RECEIVED_DATA, events[3].event_type); events 1041 net/socket_stream/socket_stream_unittest.cc EXPECT_EQ(SocketStreamEvent::EVENT_CLOSE, events[4].event_type); events 352 net/spdy/spdy_websocket_stream_unittest.cc const std::vector<SpdyWebSocketStreamEvent>& events = events 354 net/spdy/spdy_websocket_stream_unittest.cc ASSERT_EQ(7U, events.size()); events 357 net/spdy/spdy_websocket_stream_unittest.cc events[0].event_type); events 358 net/spdy/spdy_websocket_stream_unittest.cc EXPECT_EQ(OK, events[0].result); events 360 net/spdy/spdy_websocket_stream_unittest.cc events[1].event_type); events 361 net/spdy/spdy_websocket_stream_unittest.cc EXPECT_EQ(OK, events[1].result); events 363 net/spdy/spdy_websocket_stream_unittest.cc events[2].event_type); events 364 net/spdy/spdy_websocket_stream_unittest.cc EXPECT_EQ(static_cast<int>(kMessageFrameLength), events[2].result); events 366 net/spdy/spdy_websocket_stream_unittest.cc events[3].event_type); events 367 net/spdy/spdy_websocket_stream_unittest.cc EXPECT_EQ(static_cast<int>(kMessageFrameLength), events[3].result); events 369 net/spdy/spdy_websocket_stream_unittest.cc events[4].event_type); events 370 net/spdy/spdy_websocket_stream_unittest.cc EXPECT_EQ(static_cast<int>(kClosingFrameLength), events[4].result); events 372 net/spdy/spdy_websocket_stream_unittest.cc events[5].event_type); events 373 net/spdy/spdy_websocket_stream_unittest.cc EXPECT_EQ(static_cast<int>(kClosingFrameLength), events[5].result); events 375 net/spdy/spdy_websocket_stream_unittest.cc events[6].event_type); events 376 net/spdy/spdy_websocket_stream_unittest.cc EXPECT_EQ(OK, events[6].result); events 414 net/spdy/spdy_websocket_stream_unittest.cc const std::vector<SpdyWebSocketStreamEvent>& events = events 416 net/spdy/spdy_websocket_stream_unittest.cc EXPECT_EQ(5U, events.size()); events 419 net/spdy/spdy_websocket_stream_unittest.cc events[0].event_type); events 420 net/spdy/spdy_websocket_stream_unittest.cc EXPECT_EQ(OK, events[0].result); events 422 net/spdy/spdy_websocket_stream_unittest.cc events[1].event_type); events 423 net/spdy/spdy_websocket_stream_unittest.cc EXPECT_EQ(OK, events[1].result); events 425 net/spdy/spdy_websocket_stream_unittest.cc events[2].event_type); events 426 net/spdy/spdy_websocket_stream_unittest.cc EXPECT_EQ(static_cast<int>(kClosingFrameLength), events[2].result); events 428 net/spdy/spdy_websocket_stream_unittest.cc events[3].event_type); events 429 net/spdy/spdy_websocket_stream_unittest.cc EXPECT_EQ(static_cast<int>(kClosingFrameLength), events[3].result); events 431 net/spdy/spdy_websocket_stream_unittest.cc events[4].event_type); events 432 net/spdy/spdy_websocket_stream_unittest.cc EXPECT_EQ(OK, events[4].result); events 479 net/spdy/spdy_websocket_stream_unittest.cc const std::vector<SpdyWebSocketStreamEvent>& events = events 481 net/spdy/spdy_websocket_stream_unittest.cc ASSERT_GE(4U, events.size()); events 484 net/spdy/spdy_websocket_stream_unittest.cc events[0].event_type); events 485 net/spdy/spdy_websocket_stream_unittest.cc EXPECT_EQ(OK, events[0].result); events 487 net/spdy/spdy_websocket_stream_unittest.cc events[1].event_type); events 488 net/spdy/spdy_websocket_stream_unittest.cc EXPECT_EQ(OK, events[1].result); events 490 net/spdy/spdy_websocket_stream_unittest.cc events[2].event_type); events 491 net/spdy/spdy_websocket_stream_unittest.cc EXPECT_EQ(static_cast<int>(kMessageFrameLength), events[2].result); events 493 net/spdy/spdy_websocket_stream_unittest.cc events[3].event_type); events 494 net/spdy/spdy_websocket_stream_unittest.cc EXPECT_EQ(static_cast<int>(kMessageFrameLength), events[3].result); events 540 net/spdy/spdy_websocket_stream_unittest.cc const std::vector<SpdyWebSocketStreamEvent>& events = events 542 net/spdy/spdy_websocket_stream_unittest.cc ASSERT_EQ(5U, events.size()); events 545 net/spdy/spdy_websocket_stream_unittest.cc events[0].event_type); events 546 net/spdy/spdy_websocket_stream_unittest.cc EXPECT_EQ(OK, events[0].result); events 548 net/spdy/spdy_websocket_stream_unittest.cc events[1].event_type); events 549 net/spdy/spdy_websocket_stream_unittest.cc EXPECT_EQ(OK, events[1].result); events 551 net/spdy/spdy_websocket_stream_unittest.cc events[2].event_type); events 552 net/spdy/spdy_websocket_stream_unittest.cc EXPECT_EQ(static_cast<int>(kMessageFrameLength), events[2].result); events 554 net/spdy/spdy_websocket_stream_unittest.cc events[3].event_type); events 555 net/spdy/spdy_websocket_stream_unittest.cc EXPECT_EQ(static_cast<int>(kMessageFrameLength), events[3].result); events 556 net/spdy/spdy_websocket_stream_unittest.cc EXPECT_EQ(SpdyWebSocketStreamEvent::EVENT_CLOSE, events[4].event_type); events 635 net/spdy/spdy_websocket_stream_unittest.cc const std::vector<SpdyWebSocketStreamEvent>& events = events 637 net/spdy/spdy_websocket_stream_unittest.cc ASSERT_EQ(8U, events.size()); events 639 net/spdy/spdy_websocket_stream_unittest.cc events[0].event_type); events 640 net/spdy/spdy_websocket_stream_unittest.cc EXPECT_EQ(0, events[0].result); events 642 net/spdy/spdy_websocket_stream_unittest.cc events[1].event_type); events 643 net/spdy/spdy_websocket_stream_unittest.cc EXPECT_EQ(OK, events[1].result); events 645 net/spdy/spdy_websocket_stream_unittest.cc events[2].event_type); events 646 net/spdy/spdy_websocket_stream_unittest.cc EXPECT_EQ(OK, events[2].result); events 648 net/spdy/spdy_websocket_stream_unittest.cc events[3].event_type); events 649 net/spdy/spdy_websocket_stream_unittest.cc EXPECT_EQ(static_cast<int>(kMessageFrameLength), events[3].result); events 651 net/spdy/spdy_websocket_stream_unittest.cc events[4].event_type); events 652 net/spdy/spdy_websocket_stream_unittest.cc EXPECT_EQ(static_cast<int>(kMessageFrameLength), events[4].result); events 654 net/spdy/spdy_websocket_stream_unittest.cc events[5].event_type); events 655 net/spdy/spdy_websocket_stream_unittest.cc EXPECT_EQ(static_cast<int>(kClosingFrameLength), events[5].result); events 657 net/spdy/spdy_websocket_stream_unittest.cc events[6].event_type); events 658 net/spdy/spdy_websocket_stream_unittest.cc EXPECT_EQ(static_cast<int>(kClosingFrameLength), events[6].result); events 660 net/spdy/spdy_websocket_stream_unittest.cc events[7].event_type); events 661 net/spdy/spdy_websocket_stream_unittest.cc EXPECT_EQ(OK, events[7].result); events 71 net/test/spawned_test_server/local_test_server_posix.cc poll_fds[0].events = POLLIN | POLLPRI; events 252 net/tools/epoll_server/epoll_server.cc struct epoll_event* events, events 255 net/tools/epoll_server/epoll_server.cc return epoll_wait(epfd, events, max_events, timeout_in_ms); events 574 net/tools/epoll_server/epoll_server.cc ee.events = event_mask | EPOLLERR | EPOLLHUP; events 577 net/tools/epoll_server/epoll_server.cc event_recorder_.RecordFDMaskEvent(fd, ee.events, "AddFD"); events 592 net/tools/epoll_server/epoll_server.cc ee.events = event_mask | EPOLLERR | EPOLLHUP; events 595 net/tools/epoll_server/epoll_server.cc event_recorder_.RecordFDMaskEvent(fd, ee.events, "ModFD"); events 598 net/tools/epoll_server/epoll_server.cc << EventMaskToString(ee.events); events 632 net/tools/epoll_server/epoll_server.cc struct epoll_event events[], events 652 net/tools/epoll_server/epoll_server.cc events, events 671 net/tools/epoll_server/epoll_server.cc int event_mask = events[i].events; events 672 net/tools/epoll_server/epoll_server.cc int fd = events[i].data.fd; events 48 net/tools/epoll_server/epoll_server.h EpollEvent(int events, bool is_epoll_wait) events 49 net/tools/epoll_server/epoll_server.h : in_events(events), events 500 net/tools/epoll_server/epoll_server.h struct epoll_event* events, events 637 net/tools/epoll_server/epoll_server.h struct epoll_event events[], events 28 net/tools/quic/test_tools/mock_epoll_server.cc struct epoll_event* events, events 39 net/tools/quic/test_tools/mock_epoll_server.cc events[num_events] = event_queue_.begin()->second; events 92 net/tools/quic/test_tools/mock_epoll_server.h struct epoll_event* events, events 1252 ppapi/tests/test_websocket.cc const std::vector<WebSocketEvent>& events = ws.GetSeenEvents(); events 1253 ppapi/tests/test_websocket.cc ASSERT_EQ(WebSocketEvent::EVENT_ERROR, events[0].event_type); events 1254 ppapi/tests/test_websocket.cc ASSERT_EQ(WebSocketEvent::EVENT_CLOSE, events[1].event_type); events 1285 ppapi/tests/test_websocket.cc const std::vector<WebSocketEvent>& events = websocket.GetSeenEvents(); events 1289 ppapi/tests/test_websocket.cc ASSERT_EQ(2U, events.size()); events 1290 ppapi/tests/test_websocket.cc ASSERT_EQ(WebSocketEvent::EVENT_ERROR, events[0].event_type); events 1291 ppapi/tests/test_websocket.cc ASSERT_EQ(WebSocketEvent::EVENT_CLOSE, events[1].event_type); events 1292 ppapi/tests/test_websocket.cc ASSERT_FALSE(events[1].was_clean); events 1307 ppapi/tests/test_websocket.cc const std::vector<WebSocketEvent>& events = websocket.GetSeenEvents(); events 1308 ppapi/tests/test_websocket.cc ASSERT_EQ(WebSocketEvent::EVENT_ERROR, events[0].event_type); events 1309 ppapi/tests/test_websocket.cc ASSERT_EQ(WebSocketEvent::EVENT_CLOSE, events[1].event_type); events 1310 ppapi/tests/test_websocket.cc ASSERT_EQ(2U, events.size()); events 1329 ppapi/tests/test_websocket.cc const std::vector<WebSocketEvent>& events = websocket.GetSeenEvents(); events 1330 ppapi/tests/test_websocket.cc ASSERT_EQ(1U, events.size()); events 1331 ppapi/tests/test_websocket.cc ASSERT_EQ(WebSocketEvent::EVENT_OPEN, events[0].event_type); events 1359 ppapi/tests/test_websocket.cc const std::vector<WebSocketEvent>& events = websocket.GetSeenEvents(); events 1360 ppapi/tests/test_websocket.cc ASSERT_EQ(1U, events.size()); events 1361 ppapi/tests/test_websocket.cc ASSERT_EQ(WebSocketEvent::EVENT_OPEN, events[0].event_type); events 1381 ppapi/tests/test_websocket.cc const std::vector<WebSocketEvent>& events = websocket.GetSeenEvents(); events 1382 ppapi/tests/test_websocket.cc ASSERT_EQ(2U, events.size()); events 1383 ppapi/tests/test_websocket.cc ASSERT_EQ(WebSocketEvent::EVENT_OPEN, events[0].event_type); events 1384 ppapi/tests/test_websocket.cc ASSERT_EQ(WebSocketEvent::EVENT_CLOSE, events[1].event_type); events 1385 ppapi/tests/test_websocket.cc ASSERT_TRUE(events[1].was_clean); events 1386 ppapi/tests/test_websocket.cc ASSERT_EQ(PP_WEBSOCKETSTATUSCODE_NORMAL_CLOSURE, events[1].close_code); events 1387 ppapi/tests/test_websocket.cc ASSERT_TRUE(AreEqualWithString(events[1].var.pp_var(), reason.c_str())); events 1401 ppapi/tests/test_websocket.cc const std::vector<WebSocketEvent>& events = websocket.GetSeenEvents(); events 1402 ppapi/tests/test_websocket.cc ASSERT_TRUE(events.size() == 2 || events.size() == 3); events 1404 ppapi/tests/test_websocket.cc if (events.size() == 3) events 1405 ppapi/tests/test_websocket.cc ASSERT_EQ(WebSocketEvent::EVENT_OPEN, events[index++].event_type); events 1406 ppapi/tests/test_websocket.cc ASSERT_EQ(WebSocketEvent::EVENT_ERROR, events[index++].event_type); events 1407 ppapi/tests/test_websocket.cc ASSERT_EQ(WebSocketEvent::EVENT_CLOSE, events[index].event_type); events 1408 ppapi/tests/test_websocket.cc ASSERT_FALSE(events[index].was_clean); events 1424 ppapi/tests/test_websocket.cc const std::vector<WebSocketEvent>& events = websocket.GetSeenEvents(); events 1425 ppapi/tests/test_websocket.cc ASSERT_TRUE(events.size() == 2 || events.size() == 3); events 1427 ppapi/tests/test_websocket.cc if (events.size() == 3) events 1428 ppapi/tests/test_websocket.cc ASSERT_EQ(WebSocketEvent::EVENT_OPEN, events[index++].event_type); events 1429 ppapi/tests/test_websocket.cc ASSERT_EQ(WebSocketEvent::EVENT_ERROR, events[index++].event_type); events 1430 ppapi/tests/test_websocket.cc ASSERT_EQ(WebSocketEvent::EVENT_CLOSE, events[index].event_type); events 1431 ppapi/tests/test_websocket.cc ASSERT_FALSE(events[index].was_clean); events 1448 ppapi/tests/test_websocket.cc const std::vector<WebSocketEvent>& events = websocket.GetSeenEvents(); events 1452 ppapi/tests/test_websocket.cc ASSERT_EQ(2U, events.size()); events 1453 ppapi/tests/test_websocket.cc ASSERT_EQ(WebSocketEvent::EVENT_OPEN, events[0].event_type); events 1454 ppapi/tests/test_websocket.cc ASSERT_EQ(WebSocketEvent::EVENT_MESSAGE, events[1].event_type); events 1455 ppapi/tests/test_websocket.cc ASSERT_TRUE(AreEqualWithString(events[1].var.pp_var(), protocol.c_str())); events 1483 ppapi/tests/test_websocket.cc const std::vector<WebSocketEvent>& events = websocket.GetSeenEvents(); events 1484 ppapi/tests/test_websocket.cc ASSERT_EQ(3U, events.size()); events 1485 ppapi/tests/test_websocket.cc ASSERT_EQ(WebSocketEvent::EVENT_OPEN, events[0].event_type); events 1486 ppapi/tests/test_websocket.cc ASSERT_EQ(WebSocketEvent::EVENT_MESSAGE, events[1].event_type); events 1487 ppapi/tests/test_websocket.cc ASSERT_TRUE(AreEqualWithString(events[1].var.pp_var(), message1.c_str())); events 1488 ppapi/tests/test_websocket.cc ASSERT_EQ(WebSocketEvent::EVENT_MESSAGE, events[2].event_type); events 1489 ppapi/tests/test_websocket.cc ASSERT_TRUE(AreEqualWithString(events[2].var.pp_var(), message2.c_str())); events 1516 ppapi/tests/test_websocket.cc const std::vector<WebSocketEvent>& events = websocket.GetSeenEvents(); events 1517 ppapi/tests/test_websocket.cc ASSERT_EQ(2U, events.size()); events 1518 ppapi/tests/test_websocket.cc ASSERT_EQ(WebSocketEvent::EVENT_OPEN, events[0].event_type); events 1519 ppapi/tests/test_websocket.cc ASSERT_EQ(WebSocketEvent::EVENT_MESSAGE, events[1].event_type); events 1520 ppapi/tests/test_websocket.cc ASSERT_TRUE(AreEqualWithBinary(events[1].var.pp_var(), binary)); events 1573 ppapi/tests/test_websocket.cc const std::vector<WebSocketEvent>& events = websocket.GetSeenEvents(); events 1574 ppapi/tests/test_websocket.cc ASSERT_EQ(events_on_closed, events.size()); events 1575 ppapi/tests/test_websocket.cc ASSERT_EQ(WebSocketEvent::EVENT_OPEN, events[0].event_type); events 1578 ppapi/tests/test_websocket.cc ASSERT_EQ(WebSocketEvent::EVENT_MESSAGE, events[i].event_type); events 1579 ppapi/tests/test_websocket.cc ASSERT_TRUE(AreEqualWithString(events[i].var.pp_var(), message)); events 1581 ppapi/tests/test_websocket.cc ASSERT_EQ(WebSocketEvent::EVENT_CLOSE, events[last_event].event_type); events 1582 ppapi/tests/test_websocket.cc ASSERT_TRUE(events[last_event].was_clean); events 149 rlz/chromeos/lib/rlz_value_store_chromeos.cc std::vector<std::string>* events) { events 154 rlz/chromeos/lib/rlz_value_store_chromeos.cc events->clear(); events 158 rlz/chromeos/lib/rlz_value_store_chromeos.cc events->push_back(event); events 49 rlz/chromeos/lib/rlz_value_store_chromeos.h std::vector<std::string>* events) OVERRIDE; events 105 rlz/lib/rlz_lib.cc std::string events = response_line.substr(field_header.size()); events 106 rlz/lib/rlz_lib.cc base::TrimWhitespaceASCII(events, base::TRIM_LEADING, &events); events 108 rlz/lib/rlz_lib.cc int events_length = events.find_first_of("\r\n "); events 110 rlz/lib/rlz_lib.cc events_length = events.size(); events 111 rlz/lib/rlz_lib.cc events = events.substr(0, events_length); events 117 rlz/lib/rlz_lib.cc event_end_index = events.find(rlz_lib::kEventsCgiSeparator, event_begin); events 122 rlz/lib/rlz_lib.cc std::string event_string = events.substr(event_begin, events 180 rlz/lib/rlz_lib.cc std::vector<std::string> events; events 181 rlz/lib/rlz_lib.cc if (!store->ReadProductEvents(product, &events)) events 187 rlz/lib/rlz_lib.cc for (num_values = 0; num_values < events.size(); ++num_values) { events 195 rlz/lib/rlz_lib.cc strncpy(cgi + index + divider, events[num_values].c_str(), size); events 199 rlz/lib/rlz_lib.cc index += std::min((int)events[num_values].length(), size) + divider; events 552 rlz/lib/rlz_lib_test.cc std::string events(cgi); events 553 rlz/lib/rlz_lib_test.cc EXPECT_LT(0u, events.find("I7S")); events 554 rlz/lib/rlz_lib_test.cc EXPECT_LT(0u, events.find("T4I")); events 555 rlz/lib/rlz_lib_test.cc EXPECT_LT(0u, events.find("T4R")); events 57 rlz/lib/rlz_value_store.h std::vector<std::string>* events) = 0; events 36 rlz/mac/lib/rlz_value_store_mac.h std::vector<std::string>* events) OVERRIDE; events 277 rlz/win/lib/rlz_value_store_registry.cc std::vector<std::string>* events) { events 296 rlz/win/lib/rlz_value_store_registry.cc events->push_back(std::string(buffer)); events 33 rlz/win/lib/rlz_value_store_registry.h std::vector<std::string>* events) OVERRIDE; events 142 sandbox/win/sandbox_poc/pocdll/invasive.cc int events = 0; events 159 sandbox/win/sandbox_poc/pocdll/invasive.cc events++; events 165 sandbox/win/sandbox_poc/pocdll/invasive.cc events, mutexes + jobs + events); events 197 sandbox/win/src/broker_services.cc DWORD events = 0; events 201 sandbox/win/src/broker_services.cc if (!::GetQueuedCompletionStatus(port, &events, &key, &ovl, INFINITE)) events 212 sandbox/win/src/broker_services.cc switch (events) { events 384 sandbox/win/src/ipc_unittest.cc ServerEvents* events = reinterpret_cast<ServerEvents*>(param); events 386 sandbox/win/src/ipc_unittest.cc wait_result = ::WaitForSingleObject(events->ping, INFINITE); events 387 sandbox/win/src/ipc_unittest.cc ::InterlockedExchange(events->state, kAckChannel); events 388 sandbox/win/src/ipc_unittest.cc ::SetEvent(events->pong); events 420 sandbox/win/src/ipc_unittest.cc ServerEvents events = {0}; events 421 sandbox/win/src/ipc_unittest.cc events.ping = client_control->channels[1].ping_event; events 422 sandbox/win/src/ipc_unittest.cc events.pong = client_control->channels[1].pong_event; events 423 sandbox/win/src/ipc_unittest.cc events.state = &client_control->channels[1].state; events 425 sandbox/win/src/ipc_unittest.cc HANDLE t1 = ::CreateThread(NULL, 0, QuickResponseServer, &events, 0, NULL); events 458 sandbox/win/src/ipc_unittest.cc HANDLE t2 = ::CreateThread(NULL, 0, QuickResponseServer, &events, 0, NULL); events 463 sandbox/win/src/ipc_unittest.cc events.ping = client_control->channels[0].ping_event; events 464 sandbox/win/src/ipc_unittest.cc events.pong = client_control->channels[0].pong_event; events 465 sandbox/win/src/ipc_unittest.cc events.state = &client_control->channels[0].state; events 490 sandbox/win/src/ipc_unittest.cc ServerEvents* events = reinterpret_cast<ServerEvents*>(param); events 492 sandbox/win/src/ipc_unittest.cc wait_result = ::WaitForSingleObject(events->ping, INFINITE); events 494 sandbox/win/src/ipc_unittest.cc ::InterlockedExchange(events->state, kAckChannel); events 495 sandbox/win/src/ipc_unittest.cc ::SetEvent(events->pong); events 501 sandbox/win/src/ipc_unittest.cc ServerEvents* events = reinterpret_cast<ServerEvents*>(param); events 503 sandbox/win/src/ipc_unittest.cc wait_result = ::WaitForSingleObject(events->mutex, INFINITE); events 522 sandbox/win/src/ipc_unittest.cc ServerEvents events = {0}; events 523 sandbox/win/src/ipc_unittest.cc events.ping = client_control->channels[0].ping_event; events 524 sandbox/win/src/ipc_unittest.cc events.pong = client_control->channels[0].pong_event; events 525 sandbox/win/src/ipc_unittest.cc events.state = &client_control->channels[0].state; events 527 sandbox/win/src/ipc_unittest.cc HANDLE t1 = ::CreateThread(NULL, 0, SlowResponseServer, &events, 0, NULL); events 532 sandbox/win/src/ipc_unittest.cc events2.pong = events.pong; events 47 sync/internal_api/debug_info_event_listener_unittest.cc ASSERT_TRUE(debug_info.events(0).has_singleton_event()); events 48 sync/internal_api/debug_info_event_listener_unittest.cc ASSERT_EQ(debug_info.events(0).singleton_event(), events 1040 sync/protocol/proto_value_conversions.cc SET_REP(events, DebugEventInfoToValue); events 65 third_party/libevent/devpoll.c struct pollfd *events; events 106 third_party/libevent/devpoll.c devpoll_queue(struct devpollop *devpollop, int fd, int events) { events 120 third_party/libevent/devpoll.c pfd->events = events; events 154 third_party/libevent/devpoll.c devpollop->events = calloc(nfiles, sizeof(struct pollfd)); events 155 third_party/libevent/devpoll.c if (devpollop->events == NULL) { events 164 third_party/libevent/devpoll.c free(devpollop->events); events 174 third_party/libevent/devpoll.c free(devpollop->events); events 216 third_party/libevent/devpoll.c struct pollfd *events = devpollop->events; events 227 third_party/libevent/devpoll.c dvp.dp_fds = devpollop->events; events 249 third_party/libevent/devpoll.c int what = events[i].revents; events 252 third_party/libevent/devpoll.c assert(events[i].fd < devpollop->nfds); events 253 third_party/libevent/devpoll.c evdp = &devpollop->fds[events[i].fd]; events 294 third_party/libevent/devpoll.c int fd, events; events 314 third_party/libevent/devpoll.c events = 0; events 320 third_party/libevent/devpoll.c events |= POLLIN; events 328 third_party/libevent/devpoll.c events |= POLLOUT; events 331 third_party/libevent/devpoll.c if (devpoll_queue(devpollop, fd, events) != 0) events 348 third_party/libevent/devpoll.c int fd, events; events 359 third_party/libevent/devpoll.c events = 0; events 361 third_party/libevent/devpoll.c events |= POLLIN; events 363 third_party/libevent/devpoll.c events |= POLLOUT; events 375 third_party/libevent/devpoll.c if ((events & (POLLIN|POLLOUT)) != (POLLIN|POLLOUT)) { events 381 third_party/libevent/devpoll.c if ((events & POLLIN) && evdp->evwrite != NULL) { events 385 third_party/libevent/devpoll.c } else if ((events & POLLOUT) && evdp->evread != NULL) { events 408 third_party/libevent/devpoll.c if (devpollop->events) events 409 third_party/libevent/devpoll.c free(devpollop->events); events 67 third_party/libevent/epoll.c struct epoll_event *events; events 134 third_party/libevent/epoll.c epollop->events = malloc(INITIAL_NEVENTS * sizeof(struct epoll_event)); events 135 third_party/libevent/epoll.c if (epollop->events == NULL) { events 143 third_party/libevent/epoll.c free(epollop->events); events 185 third_party/libevent/epoll.c struct epoll_event *events = epollop->events; events 198 third_party/libevent/epoll.c res = epoll_wait(epollop->epfd, events, epollop->nevents, timeout); events 215 third_party/libevent/epoll.c int what = events[i].events; events 217 third_party/libevent/epoll.c int fd = events[i].data.fd; events 251 third_party/libevent/epoll.c new_events = realloc(epollop->events, events 254 third_party/libevent/epoll.c epollop->events = new_events; events 269 third_party/libevent/epoll.c int fd, op, events; events 282 third_party/libevent/epoll.c events = 0; events 284 third_party/libevent/epoll.c events |= EPOLLIN; events 288 third_party/libevent/epoll.c events |= EPOLLOUT; events 293 third_party/libevent/epoll.c events |= EPOLLIN; events 295 third_party/libevent/epoll.c events |= EPOLLOUT; events 298 third_party/libevent/epoll.c epev.events = events; events 317 third_party/libevent/epoll.c int fd, events, op; events 329 third_party/libevent/epoll.c events = 0; events 332 third_party/libevent/epoll.c events |= EPOLLIN; events 334 third_party/libevent/epoll.c events |= EPOLLOUT; events 336 third_party/libevent/epoll.c if ((events & (EPOLLIN|EPOLLOUT)) != (EPOLLIN|EPOLLOUT)) { events 337 third_party/libevent/epoll.c if ((events & EPOLLIN) && evep->evwrite != NULL) { events 339 third_party/libevent/epoll.c events = EPOLLOUT; events 341 third_party/libevent/epoll.c } else if ((events & EPOLLOUT) && evep->evread != NULL) { events 343 third_party/libevent/epoll.c events = EPOLLIN; events 348 third_party/libevent/epoll.c epev.events = events; events 370 third_party/libevent/epoll.c if (epollop->events) events 371 third_party/libevent/epoll.c free(epollop->events); events 49 third_party/libevent/epoll_sub.c epoll_wait(int epfd, struct epoll_event *events, int maxevents, int timeout) events 51 third_party/libevent/epoll_sub.c return (syscall(__NR_epoll_wait, epfd, events, maxevents, timeout)); events 424 third_party/libevent/evbuffer.c bufferevent_setwatermark(struct bufferevent *bufev, short events, events 427 third_party/libevent/evbuffer.c if (events & EV_READ) { events 432 third_party/libevent/evbuffer.c if (events & EV_WRITE) { events 322 third_party/libevent/evdns.c static void nameserver_ready_callback(int fd, short events, void *arg); events 337 third_party/libevent/evdns.c static void server_port_ready_callback(int fd, short events, void *arg); events 449 third_party/libevent/evdns.c nameserver_prod_callback(int fd, short events, void *arg) { events 452 third_party/libevent/evdns.c (void)events; events 1268 third_party/libevent/evdns.c nameserver_ready_callback(int fd, short events, void *arg) { events 1272 third_party/libevent/evdns.c if (events & EV_WRITE) { events 1278 third_party/libevent/evdns.c if (events & EV_READ) { events 1286 third_party/libevent/evdns.c server_port_ready_callback(int fd, short events, void *arg) { events 1290 third_party/libevent/evdns.c if (events & EV_WRITE) { events 1294 third_party/libevent/evdns.c if (events & EV_READ) { events 1883 third_party/libevent/evdns.c evdns_request_timeout_callback(int fd, short events, void *arg) { events 1886 third_party/libevent/evdns.c (void) events; events 551 third_party/libevent/event.c event_once_cb(int fd, short events, void *arg) events 555 third_party/libevent/event.c (*eonce->cb)(fd, events, eonce->arg); events 561 third_party/libevent/event.c event_once(int fd, short events, events 564 third_party/libevent/event.c return event_base_once(current_base, fd, events, callback, arg, tv); events 569 third_party/libevent/event.c event_base_once(struct event_base *base, int fd, short events, events 577 third_party/libevent/event.c if (events & EV_SIGNAL) events 586 third_party/libevent/event.c if (events == EV_TIMEOUT) { events 593 third_party/libevent/event.c } else if (events & (EV_READ|EV_WRITE)) { events 594 third_party/libevent/event.c events &= EV_READ|EV_WRITE; events 596 third_party/libevent/event.c event_set(&eonce->ev, fd, events, event_once_cb, eonce); events 615 third_party/libevent/event.c event_set(struct event *ev, int fd, short events, events 624 third_party/libevent/event.c ev->ev_events = events; events 588 third_party/libevent/event.h int event_base_once(struct event_base *base, int fd, short events, events 961 third_party/libevent/event.h void bufferevent_setwatermark(struct bufferevent *bufev, short events, events 74 third_party/libevent/kqueue.c struct kevent *events; events 129 third_party/libevent/kqueue.c kqueueop->events = malloc(NEVENT * sizeof(struct kevent)); events 130 third_party/libevent/kqueue.c if (kqueueop->events == NULL) { events 152 third_party/libevent/kqueue.c kqueueop->changes, 1, kqueueop->events, NEVENT, NULL) != 1 || events 153 third_party/libevent/kqueue.c kqueueop->events[0].ident != -1 || events 154 third_party/libevent/kqueue.c kqueueop->events[0].flags != EV_ERROR) { events 157 third_party/libevent/kqueue.c free(kqueueop->events); events 185 third_party/libevent/kqueue.c newresult = realloc(kqop->events, events 196 third_party/libevent/kqueue.c kqop->events = newresult; events 222 third_party/libevent/kqueue.c struct kevent *events = kqop->events; events 233 third_party/libevent/kqueue.c events, kqop->nevents, ts_p); events 249 third_party/libevent/kqueue.c if (events[i].flags & EV_ERROR) { events 262 third_party/libevent/kqueue.c if (events[i].data == EBADF || events 263 third_party/libevent/kqueue.c events[i].data == EINVAL || events 264 third_party/libevent/kqueue.c events[i].data == ENOENT) events 266 third_party/libevent/kqueue.c errno = events[i].data; events 270 third_party/libevent/kqueue.c if (events[i].filter == EVFILT_READ) { events 272 third_party/libevent/kqueue.c } else if (events[i].filter == EVFILT_WRITE) { events 274 third_party/libevent/kqueue.c } else if (events[i].filter == EVFILT_SIGNAL) { events 281 third_party/libevent/kqueue.c if (events[i].filter == EVFILT_SIGNAL) { events 283 third_party/libevent/kqueue.c (struct event_list *)events[i].udata; events 285 third_party/libevent/kqueue.c event_active(ev, which, events[i].data); events 288 third_party/libevent/kqueue.c ev = (struct event *)events[i].udata; events 444 third_party/libevent/kqueue.c if (kqop->events) events 445 third_party/libevent/kqueue.c free(kqop->events); events 113 third_party/libevent/poll.c if (pop->event_set[idx].events & POLLIN) { events 119 third_party/libevent/poll.c if (pop->event_set[idx].events & POLLOUT) { events 285 third_party/libevent/poll.c pfd->events = 0; events 293 third_party/libevent/poll.c pfd->events |= POLLOUT; events 297 third_party/libevent/poll.c pfd->events |= POLLIN; events 330 third_party/libevent/poll.c pfd->events &= ~POLLIN; events 334 third_party/libevent/poll.c pfd->events &= ~POLLOUT; events 338 third_party/libevent/poll.c if (pfd->events) events 64 third_party/libevent/test/bench.c static struct event *events; events 90 third_party/libevent/test/bench.c event_del(&events[i]); events 91 third_party/libevent/test/bench.c event_set(&events[i], cp[0], EV_READ | EV_PERSIST, read_cb, (void *) i); events 92 third_party/libevent/test/bench.c event_add(&events[i], NULL); events 159 third_party/libevent/test/bench.c events = calloc(num_pipes, sizeof(struct event)); events 161 third_party/libevent/test/bench.c if (events == NULL || pipes == NULL) { events 970 third_party/libevent/test/regress.c break_cb(int fd, short events, void *arg) events 977 third_party/libevent/test/regress.c fail_cb(int fd, short events, void *arg) events 257 third_party/libevent/test/regress_http.c http_chunked_trickle_cb(int fd, short events, void *arg) events 155 third_party/libusb/src/libusb/hotplug.c if (!(hotplug_cb->events & event)) { events 202 third_party/libusb/src/libusb/hotplug.c libusb_hotplug_event events, libusb_hotplug_flag flags, events 235 third_party/libusb/src/libusb/hotplug.c new_callback->events = events; events 51 third_party/libusb/src/libusb/hotplug.h libusb_hotplug_event events; events 1951 third_party/libusb/src/libusb/io.c fds[i].events = pollfd->events; events 2422 third_party/libusb/src/libusb/io.c int usbi_add_pollfd(struct libusb_context *ctx, int fd, short events) events 2428 third_party/libusb/src/libusb/io.c usbi_dbg("add fd %d events %d", fd, events); events 2430 third_party/libusb/src/libusb/io.c ipollfd->pollfd.events = events; events 2436 third_party/libusb/src/libusb/io.c ctx->fd_added_cb(fd, events, ctx->fd_cb_user_data); events 1797 third_party/libusb/src/libusb/libusb.h short events; events 1810 third_party/libusb/src/libusb/libusb.h typedef void (LIBUSB_CALL *libusb_pollfd_added_cb)(int fd, short events, events 1935 third_party/libusb/src/libusb/libusb.h libusb_hotplug_event events, events 465 third_party/libusb/src/libusb/libusbi.h int usbi_add_pollfd(struct libusb_context *ctx, int fd, short events); events 309 third_party/libusb/src/libusb/os/linux_netlink.c .events = POLLIN }, events 311 third_party/libusb/src/libusb/os/linux_netlink.c .events = POLLIN }, events 168 third_party/libusb/src/libusb/os/linux_udev.c .events = POLLIN}, events 170 third_party/libusb/src/libusb/os/linux_udev.c .events = POLLIN}, events 531 third_party/libusb/src/libusb/os/poll_windows.c if ((fds[i].events & ~POLLIN) && (!(fds[i].events & POLLOUT))) { events 540 third_party/libusb/src/libusb/os/poll_windows.c poll_dbg("fd[%d]=%d: (overlapped=%p) got events %04X", i, poll_fd[_index].fd, poll_fd[_index].overlapped, fds[i].events); events 555 third_party/libusb/src/libusb/os/poll_windows.c if ((fds[i].events & POLLIN) && (poll_fd[_index].rw != RW_READ)) { events 564 third_party/libusb/src/libusb/os/poll_windows.c if ((fds[i].events & POLLOUT) && (poll_fd[_index].rw != RW_WRITE)) { events 578 third_party/libusb/src/libusb/os/poll_windows.c fds[i].revents = fds[i].events; events 602 third_party/libusb/src/libusb/os/poll_windows.c fds[i].revents = fds[i].events; events 63 third_party/libusb/src/libusb/os/poll_windows.h short events; /* requested events */ events 500 third_party/libxml/src/nanohttp.c p.events = POLLOUT; events 597 third_party/libxml/src/nanohttp.c p.events = POLLIN; events 966 third_party/libxml/src/nanohttp.c p.events = POLLOUT; events 527 third_party/npapi/npspy/extern/nspr/md/_unixos.h short events; events 182 tools/gn/trace.cc std::vector<TraceItem*> events = trace_log->events(); events 188 tools/gn/trace.cc for (size_t i = 0; i < events.size(); i++) { events 189 tools/gn/trace.cc switch (events[i]->type()) { events 191 tools/gn/trace.cc parses.push_back(events[i]); events 194 tools/gn/trace.cc file_execs.push_back(events[i]); events 197 tools/gn/trace.cc script_execs.push_back(events[i]); events 230 tools/gn/trace.cc std::vector<TraceItem*> events = trace_log->events(); events 231 tools/gn/trace.cc for (size_t i = 0; i < events.size(); i++) { events 232 tools/gn/trace.cc const TraceItem& item = *events[i]; events 66 tools/memory_watcher/dllmain.cc HANDLE events[2] = { g_dump_event, g_quit_event }; events 68 tools/memory_watcher/dllmain.cc DWORD rv = WaitForMultipleObjects(2, events, FALSE, INFINITE); events 42 ui/aura/gestures/gesture_recognizer_unittest.cc #define EXPECT_0_EVENTS(events) \ events 43 ui/aura/gestures/gesture_recognizer_unittest.cc EXPECT_EQ(0u, events.size()) events 45 ui/aura/gestures/gesture_recognizer_unittest.cc #define EXPECT_1_EVENT(events, e0) \ events 46 ui/aura/gestures/gesture_recognizer_unittest.cc EXPECT_EQ(1u, events.size()); \ events 47 ui/aura/gestures/gesture_recognizer_unittest.cc EXPECT_EQ(e0, events[0]) events 49 ui/aura/gestures/gesture_recognizer_unittest.cc #define EXPECT_2_EVENTS(events, e0, e1) \ events 50 ui/aura/gestures/gesture_recognizer_unittest.cc EXPECT_EQ(2u, events.size()); \ events 51 ui/aura/gestures/gesture_recognizer_unittest.cc EXPECT_EQ(e0, events[0]); \ events 52 ui/aura/gestures/gesture_recognizer_unittest.cc EXPECT_EQ(e1, events[1]) events 54 ui/aura/gestures/gesture_recognizer_unittest.cc #define EXPECT_3_EVENTS(events, e0, e1, e2) \ events 55 ui/aura/gestures/gesture_recognizer_unittest.cc EXPECT_EQ(3u, events.size()); \ events 56 ui/aura/gestures/gesture_recognizer_unittest.cc EXPECT_EQ(e0, events[0]); \ events 57 ui/aura/gestures/gesture_recognizer_unittest.cc EXPECT_EQ(e1, events[1]); \ events 58 ui/aura/gestures/gesture_recognizer_unittest.cc EXPECT_EQ(e2, events[2]) events 60 ui/aura/gestures/gesture_recognizer_unittest.cc #define EXPECT_4_EVENTS(events, e0, e1, e2, e3) \ events 61 ui/aura/gestures/gesture_recognizer_unittest.cc EXPECT_EQ(4u, events.size()); \ events 62 ui/aura/gestures/gesture_recognizer_unittest.cc EXPECT_EQ(e0, events[0]); \ events 63 ui/aura/gestures/gesture_recognizer_unittest.cc EXPECT_EQ(e1, events[1]); \ events 64 ui/aura/gestures/gesture_recognizer_unittest.cc EXPECT_EQ(e2, events[2]); \ events 65 ui/aura/gestures/gesture_recognizer_unittest.cc EXPECT_EQ(e3, events[3]) events 1022 ui/aura/gestures/gesture_recognizer_unittest.cc EXPECT_2_EVENTS(delegate->events(), events 1032 ui/aura/gestures/gesture_recognizer_unittest.cc EXPECT_3_EVENTS(delegate->events(), events 1048 ui/aura/gestures/gesture_recognizer_unittest.cc EXPECT_1_EVENT(delegate->events(), ui::ET_GESTURE_SCROLL_UPDATE); events 1054 ui/aura/gestures/gesture_recognizer_unittest.cc EXPECT_1_EVENT(delegate->events(), ui::ET_GESTURE_SCROLL_UPDATE); events 1065 ui/aura/gestures/gesture_recognizer_unittest.cc EXPECT_2_EVENTS(delegate->events(), events 1098 ui/aura/gestures/gesture_recognizer_unittest.cc EXPECT_2_EVENTS(delegate->events(), events 1107 ui/aura/gestures/gesture_recognizer_unittest.cc EXPECT_3_EVENTS(delegate->events(), events 1120 ui/aura/gestures/gesture_recognizer_unittest.cc EXPECT_1_EVENT(delegate->events(), events 1134 ui/aura/gestures/gesture_recognizer_unittest.cc EXPECT_1_EVENT(delegate->events(), ui::ET_GESTURE_SCROLL_UPDATE); events 1144 ui/aura/gestures/gesture_recognizer_unittest.cc EXPECT_1_EVENT(delegate->events(), ui::ET_GESTURE_SCROLL_UPDATE); events 1987 ui/aura/gestures/gesture_recognizer_unittest.cc EXPECT_2_EVENTS(delegate->events(), events 1997 ui/aura/gestures/gesture_recognizer_unittest.cc EXPECT_3_EVENTS(delegate->events(), events 2008 ui/aura/gestures/gesture_recognizer_unittest.cc EXPECT_2_EVENTS(delegate->events(), events 2019 ui/aura/gestures/gesture_recognizer_unittest.cc EXPECT_2_EVENTS(delegate->events(), events 2030 ui/aura/gestures/gesture_recognizer_unittest.cc EXPECT_2_EVENTS(delegate->events(), events 2041 ui/aura/gestures/gesture_recognizer_unittest.cc EXPECT_2_EVENTS(delegate->events(), events 2052 ui/aura/gestures/gesture_recognizer_unittest.cc EXPECT_1_EVENT(delegate->events(), ui::ET_GESTURE_SCROLL_UPDATE); events 2129 ui/aura/gestures/gesture_recognizer_unittest.cc EXPECT_2_EVENTS(delegate->events(), events 2139 ui/aura/gestures/gesture_recognizer_unittest.cc EXPECT_2_EVENTS(delegate->events(), events 2150 ui/aura/gestures/gesture_recognizer_unittest.cc EXPECT_2_EVENTS(delegate->events(), events 2161 ui/aura/gestures/gesture_recognizer_unittest.cc EXPECT_2_EVENTS(delegate->events(), events 2172 ui/aura/gestures/gesture_recognizer_unittest.cc EXPECT_2_EVENTS(delegate->events(), events 2183 ui/aura/gestures/gesture_recognizer_unittest.cc EXPECT_1_EVENT(delegate->events(), ui::ET_GESTURE_SCROLL_UPDATE); events 452 ui/aura/window_event_dispatcher_unittest.cc Events events = events_; events 454 ui/aura/window_event_dispatcher_unittest.cc return events; events 569 ui/aura/window_event_dispatcher_unittest.cc std::string EventTypesToString(const EventFilterRecorder::Events& events) { events 571 ui/aura/window_event_dispatcher_unittest.cc for (size_t i = 0; i < events.size(); ++i) { events 574 ui/aura/window_event_dispatcher_unittest.cc result += EventTypeToString(events[i]); events 599 ui/aura/window_event_dispatcher_unittest.cc EXPECT_TRUE(EventTypesToString(recorder->events()).find("MOUSE_PRESSED") != events 600 ui/aura/window_event_dispatcher_unittest.cc std::string::npos) << EventTypesToString(recorder->events()); events 623 ui/aura/window_event_dispatcher_unittest.cc EXPECT_TRUE(filter->events().empty()); events 631 ui/aura/window_event_dispatcher_unittest.cc EventTypesToString(filter->events())); events 639 ui/aura/window_event_dispatcher_unittest.cc EXPECT_TRUE(filter->events().empty()); events 642 ui/aura/window_event_dispatcher_unittest.cc EventTypesToString(filter->events())); events 649 ui/aura/window_event_dispatcher_unittest.cc EXPECT_TRUE(filter->events().empty()); events 651 ui/aura/window_event_dispatcher_unittest.cc EXPECT_EQ("MOUSE_DRAGGED", EventTypesToString(filter->events())); events 661 ui/aura/window_event_dispatcher_unittest.cc EventTypesToString(filter->events())); events 664 ui/aura/window_event_dispatcher_unittest.cc EXPECT_TRUE(filter->events().empty()); events 672 ui/aura/window_event_dispatcher_unittest.cc EXPECT_EQ("MOUSE_DRAGGED", EventTypesToString(filter->events())); events 675 ui/aura/window_event_dispatcher_unittest.cc EXPECT_TRUE(filter->events().empty()); events 687 ui/aura/window_event_dispatcher_unittest.cc EXPECT_TRUE(filter->events().empty()); events 690 ui/aura/window_event_dispatcher_unittest.cc EXPECT_EQ("MOUSE_MOVED", EventTypesToString(filter->events())); events 719 ui/aura/window_event_dispatcher_unittest.cc EXPECT_TRUE(filter->events().empty()); events 725 ui/aura/window_event_dispatcher_unittest.cc EXPECT_TRUE(filter->events().empty()); events 728 ui/aura/window_event_dispatcher_unittest.cc EXPECT_EQ("TOUCH_MOVED", EventTypesToString(filter->events())); events 740 ui/aura/window_event_dispatcher_unittest.cc EventTypesToString(filter->events())); events 744 ui/aura/window_event_dispatcher_unittest.cc EXPECT_TRUE(filter->events().empty()); events 798 ui/aura/window_event_dispatcher_unittest.cc const EventFilterRecorder::Events& events = filter->events(); events 800 ui/aura/window_event_dispatcher_unittest.cc EventTypesToString(events)); events 826 ui/aura/window_event_dispatcher_unittest.cc EXPECT_FALSE(filter->events().empty()); events 833 ui/aura/window_event_dispatcher_unittest.cc EXPECT_FALSE(filter->events().empty()); events 839 ui/aura/window_event_dispatcher_unittest.cc EXPECT_TRUE(filter->events().empty()); events 859 ui/aura/window_event_dispatcher_unittest.cc EXPECT_TRUE(filter->events().empty()); events 861 ui/aura/window_event_dispatcher_unittest.cc EXPECT_FALSE(filter->events().empty()); events 866 ui/aura/window_event_dispatcher_unittest.cc EXPECT_FALSE(filter->events().empty()); events 867 ui/aura/window_event_dispatcher_unittest.cc EXPECT_EQ("MOUSE_EXITED", EventTypesToString(filter->events())); events 895 ui/aura/window_event_dispatcher_unittest.cc EXPECT_TRUE(filter->events().empty()); events 897 ui/aura/window_event_dispatcher_unittest.cc EXPECT_FALSE(filter->events().empty()); events 908 ui/aura/window_event_dispatcher_unittest.cc EXPECT_FALSE(filter->events().empty()); events 911 ui/aura/window_event_dispatcher_unittest.cc EXPECT_EQ("MOUSE_EXITED MOUSE_EXITED", EventTypesToString(filter->events())); events 1147 ui/aura/window_event_dispatcher_unittest.cc EXPECT_FALSE(EventTypesToString(filter->events()).find("GESTURE_TAP_DOWN") != events 1249 ui/aura/window_event_dispatcher_unittest.cc for (size_t i = 0; i < repost_event_recorder->events().size(); ++i) { events 1250 ui/aura/window_event_dispatcher_unittest.cc if (repost_event_recorder->events()[i] == ui::ET_GESTURE_TAP_DOWN) events 1260 ui/aura/window_event_dispatcher_unittest.cc EventTypesToString(repost_event_recorder->events())); events 1325 ui/aura/window_event_dispatcher_unittest.cc EventTypesToString(w1_filter->events())); events 1505 ui/aura/window_event_dispatcher_unittest.cc EventTypesToString(filter->events())); events 1536 ui/aura/window_event_dispatcher_unittest.cc EventTypesToString(filter->events())); events 1567 ui/aura/window_event_dispatcher_unittest.cc EventTypesToString(filter1->events())); events 1569 ui/aura/window_event_dispatcher_unittest.cc EXPECT_TRUE(filter2->events().empty()); events 1784 ui/aura/window_event_dispatcher_unittest.cc const EventFilterRecorder::Events& events = filter->events(); events 1786 ui/aura/window_event_dispatcher_unittest.cc EventTypesToString(events)); events 44 ui/base/gtk/event_synthesis_gtk.cc std::vector<GdkEvent*>* events) { events 46 ui/base/gtk/event_synthesis_gtk.cc events->push_back( events 50 ui/base/gtk/event_synthesis_gtk.cc events->push_back(SynthesizeKeyEvent(window, true, GDK_Shift_L, events 57 ui/base/gtk/event_synthesis_gtk.cc events->push_back( events 68 ui/base/gtk/event_synthesis_gtk.cc events->push_back(SynthesizeKeyEvent(window, true, gdk_key, state)); events 69 ui/base/gtk/event_synthesis_gtk.cc events->push_back(SynthesizeKeyEvent(window, false, gdk_key, state)); events 74 ui/base/gtk/event_synthesis_gtk.cc events->push_back( events 79 ui/base/gtk/event_synthesis_gtk.cc events->push_back( events 85 ui/base/gtk/event_synthesis_gtk.cc events->push_back( events 34 ui/base/gtk/event_synthesis_gtk.h std::vector<GdkEvent*>* events); events 134 ui/base/test/ui_controls_gtk.cc std::vector<GdkEvent*> events; events 135 ui/base/test/ui_controls_gtk.cc ui::SynthesizeKeyPressEvents(event_window, key, control, shift, alt, &events); events 136 ui/base/test/ui_controls_gtk.cc for (std::vector<GdkEvent*>::iterator iter = events.begin(); events 137 ui/base/test/ui_controls_gtk.cc iter != events.end(); ++iter) { events 41 ui/events/platform/platform_event_source_unittest.cc size_t DispatchEventStream(const ScopedVector<PlatformEvent>& events) { events 42 ui/events/platform/platform_event_source_unittest.cc for (size_t count = 0; count < events.size(); ++count) { events 43 ui/events/platform/platform_event_source_unittest.cc uint32_t action = DispatchEvent(*events[count]); events 47 ui/events/platform/platform_event_source_unittest.cc return events.size(); events 435 ui/events/platform/platform_event_source_unittest.cc ScopedVector<PlatformEvent> events; events 437 ui/events/platform/platform_event_source_unittest.cc events.push_back(event.release()); events 439 ui/events/platform/platform_event_source_unittest.cc events.push_back(event.release()); events 444 ui/events/platform/platform_event_source_unittest.cc size_t count = source()->DispatchEventStream(events); events 451 ui/events/platform/platform_event_source_unittest.cc ASSERT_LT(count, events.size()); events 452 ui/events/platform/platform_event_source_unittest.cc events.erase(events.begin(), events.begin() + count); events 454 ui/events/platform/platform_event_source_unittest.cc count = source()->DispatchEventStream(events); events 174 ui/events/platform/x11/x11_event_source.cc x_poll_->events = G_IO_IN; events 642 webkit/browser/appcache/appcache_update_job_unittest.cc MockFrontend::RaisedEvents& events = mock_frontend.raised_events_; events 644 webkit/browser/appcache/appcache_update_job_unittest.cc EXPECT_EQ(expected, events.size()); events 645 webkit/browser/appcache/appcache_update_job_unittest.cc EXPECT_EQ(expected, events[0].first.size()); events 646 webkit/browser/appcache/appcache_update_job_unittest.cc EXPECT_EQ(host.host_id(), events[0].first[0]); events 647 webkit/browser/appcache/appcache_update_job_unittest.cc EXPECT_EQ(CHECKING_EVENT, events[0].second); events 693 webkit/browser/appcache/appcache_update_job_unittest.cc MockFrontend::RaisedEvents& events = mock_frontend1.raised_events_; events 695 webkit/browser/appcache/appcache_update_job_unittest.cc EXPECT_EQ(expected, events.size()); events 697 webkit/browser/appcache/appcache_update_job_unittest.cc EXPECT_EQ(expected, events[0].first.size()); events 698 webkit/browser/appcache/appcache_update_job_unittest.cc MockFrontend::HostIds& host_ids = events[0].first; events 703 webkit/browser/appcache/appcache_update_job_unittest.cc EXPECT_EQ(CHECKING_EVENT, events[0].second); events 705 webkit/browser/appcache/appcache_update_job_unittest.cc events = mock_frontend2.raised_events_; events 707 webkit/browser/appcache/appcache_update_job_unittest.cc EXPECT_EQ(expected, events.size()); events 708 webkit/browser/appcache/appcache_update_job_unittest.cc EXPECT_EQ(expected, events[0].first.size()); // 1 host using frontend2 events 709 webkit/browser/appcache/appcache_update_job_unittest.cc EXPECT_EQ(host2.host_id(), events[0].first[0]); events 710 webkit/browser/appcache/appcache_update_job_unittest.cc EXPECT_EQ(CHECKING_EVENT, events[0].second); events 712 webkit/browser/appcache/appcache_update_job_unittest.cc events = mock_frontend3.raised_events_; events 713 webkit/browser/appcache/appcache_update_job_unittest.cc EXPECT_TRUE(events.empty()); events 3436 webkit/browser/appcache/appcache_update_job_unittest.cc MockFrontend::RaisedEvents events = mock_frontend.raised_events_; events 3438 webkit/browser/appcache/appcache_update_job_unittest.cc EXPECT_EQ(expected, events.size()); events 3439 webkit/browser/appcache/appcache_update_job_unittest.cc EXPECT_EQ(expected, events[0].first.size()); events 3440 webkit/browser/appcache/appcache_update_job_unittest.cc EXPECT_EQ(host.host_id(), events[0].first[0]); events 3441 webkit/browser/appcache/appcache_update_job_unittest.cc EXPECT_EQ(CHECKING_EVENT, events[0].second); events 3464 webkit/browser/appcache/appcache_update_job_unittest.cc MockFrontend::RaisedEvents events = mock_frontend.raised_events_; events 3466 webkit/browser/appcache/appcache_update_job_unittest.cc EXPECT_EQ(expected, events.size()); events 3468 webkit/browser/appcache/appcache_update_job_unittest.cc EXPECT_EQ(expected, events[0].first.size()); events 3469 webkit/browser/appcache/appcache_update_job_unittest.cc EXPECT_EQ(host.host_id(), events[0].first[0]); events 3470 webkit/browser/appcache/appcache_update_job_unittest.cc EXPECT_EQ(CHECKING_EVENT, events[0].second); events 3472 webkit/browser/appcache/appcache_update_job_unittest.cc EXPECT_EQ(expected, events[1].first.size()); events 3473 webkit/browser/appcache/appcache_update_job_unittest.cc EXPECT_EQ(host.host_id(), events[1].first[0]); events 3474 webkit/browser/appcache/appcache_update_job_unittest.cc EXPECT_EQ(appcache::DOWNLOADING_EVENT, events[1].second);