Home
last modified time | relevance | path

Searched refs:events_ (Results 1 – 18 of 18) sorted by relevance

/external/chromium/base/files/
Dfile_path_watcher_mac.cc128 EventVector events_; member in base::files::__anon3dae81130111::FilePathWatcherImpl
212 EventVector::iterator event = events_.begin(); in AreKeventValuesValid()
213 for (; event != events_.end(); ++event) { in AreKeventValuesValid()
219 if (event != events_.end()) { in AreKeventValuesValid()
248 for (; local_event != events_.end(); ++local_event) { in HandleAttributesChange()
267 for (; local_event != events_.end(); ++local_event) { in HandleDeleteOrMoveChange()
305 for (valid = 0; valid < events_.size(); ++valid) { in UpdateWatches()
306 if (!IsKeventFileDescriptorOpen(events_[valid])) { in UpdateWatches()
316 int count = HANDLE_EINTR(kevent(kqueue_, &events_[0], valid, &updates[0], in UpdateWatches()
322 for (; valid < events_.size(); ++valid) { in UpdateWatches()
[all …]
/external/chromium/base/win/
Devent_trace_consumer_unittest.cc44 EventQueue::const_iterator it(events_.begin()), end(events_.end()); in ClearQueue()
50 events_.clear(); in ClearQueue()
54 events_.push_back(*event); in EnqueueEvent()
55 EVENT_TRACE& back = events_.back(); in EnqueueEvent()
69 static EventQueue events_; member in __anonb7fe78ff0111::TestConsumer
76 EventQueue TestConsumer::events_; member in __anonb7fe78ff0111::TestConsumer
235 ASSERT_EQ(0, TestConsumer::events_.size()); in TEST_F()
244 ASSERT_NE(0u, TestConsumer::events_.size()); in TEST_F()
303 events_.swap(TestConsumer::events_); in ConsumeEventFromTempSession()
318 if (events_.empty()) in RoundTripEvent()
[all …]
/external/chromium/chrome/browser/resources/touch_ntp/
Dtouchhandler.js91 this.events_ = new EventTracker();
345 this.events_.add(this.element_, 'touchstart', this.onStart_.bind(this),
347 this.events_.add(this.element_, 'mousedown',
352 this.events_.add(this.element_, 'click', this.onClick_.bind(this), true);
360 this.events_.removeAll();
443 this.events_.remove(document, 'touchmove');
444 this.events_.remove(document, 'touchend');
445 this.events_.remove(document, 'touchcancel');
446 this.events_.remove(document, 'mousemove');
447 this.events_.remove(document, 'mouseup');
[all …]
Dgrabber.js48 this.events_ = new EventTracker();
58 this.events_.add(this.element, 'dragstart', function(e) {
63 this.events_.add(this.element, TouchHandler.EventType.TOUCH_START,
65 this.events_.add(this.element, TouchHandler.EventType.LONG_PRESS,
67 this.events_.add(this.element, TouchHandler.EventType.DRAG_START,
69 this.events_.add(this.element, TouchHandler.EventType.DRAG_MOVE,
71 this.events_.add(this.element, TouchHandler.EventType.DRAG_END,
73 this.events_.add(this.element, TouchHandler.EventType.TOUCH_END,
163 this.events_.removeAll();
/external/chromium/chrome/browser/resources/ntp4/
Dtouch_handler.js91 this.events_ = new EventTracker();
345 this.events_.add(this.element_, 'touchstart', this.onStart_.bind(this),
347 this.events_.add(this.element_, 'mousedown',
352 this.events_.add(this.element_, 'click', this.onClick_.bind(this), true);
360 this.events_.removeAll();
443 this.events_.remove(document, 'touchmove');
444 this.events_.remove(document, 'touchend');
445 this.events_.remove(document, 'touchcancel');
446 this.events_.remove(document, 'mousemove');
447 this.events_.remove(document, 'mouseup');
[all …]
Dgrabber.js48 this.events_ = new EventTracker();
58 this.events_.add(this.element, 'dragstart', function(e) {
63 this.events_.add(this.element, TouchHandler.EventType.TOUCH_START,
65 this.events_.add(this.element, TouchHandler.EventType.LONG_PRESS,
67 this.events_.add(this.element, TouchHandler.EventType.DRAG_START,
69 this.events_.add(this.element, TouchHandler.EventType.DRAG_MOVE,
71 this.events_.add(this.element, TouchHandler.EventType.DRAG_END,
73 this.events_.add(this.element, TouchHandler.EventType.TOUCH_END,
163 this.events_.removeAll();
/external/chromium/net/tools/flip_server/
Dsm_connection.cc33 events_(0), in SMConnection()
227 events_ |= event->in_events; in OnEvent()
229 if (events_) { in OnEvent()
230 event->out_ready_mask = events_; in OnEvent()
231 events_ = 0; in OnEvent()
258 << EpollServer::EventMaskToString(events_).c_str(); in HandleEvents()
260 if (events_ & EPOLLIN) { in HandleEvents()
265 if (events_ & EPOLLOUT) { in HandleEvents()
294 if (events_ & (EPOLLHUP | EPOLLERR)) { in HandleEvents()
424 events_ &= ~EPOLLIN; in DoRead()
[all …]
Dsm_connection.h129 int events_; variable
Depoll_server.cc369 events_, in WaitForEventsAndExecuteCallbacks()
406 events_, in WaitForEventsAndExecuteCallbacks()
Depoll_server.h715 struct epoll_event events_[256]; variable
/external/chromium/net/socket_stream/
Dsocket_stream_unittest.cc75 events_.push_back( in OnConnected()
80 on_connected_->Run(&events_.back()); in OnConnected()
84 events_.push_back( in OnSentData()
88 on_sent_data_->Run(&events_.back()); in OnSentData()
92 events_.push_back( in OnReceivedData()
96 on_received_data_->Run(&events_.back()); in OnReceivedData()
99 events_.push_back( in OnClose()
103 on_close_->Run(&events_.back()); in OnClose()
109 events_.push_back( in OnAuthRequired()
113 on_auth_required_->Run(&events_.back()); in OnAuthRequired()
[all …]
/external/chromium/base/
Dmessage_pump_glib_unittest.cc39 if (events_.empty()) in HandlePrepare()
41 base::TimeDelta delta = events_[0].time - base::Time::NowFromSystemTime(); in HandlePrepare()
46 if (events_.empty()) in HandleCheck()
48 return events_[0].time <= base::Time::NowFromSystemTime(); in HandleCheck()
52 if (events_.empty()) in HandleDispatch()
54 Event event = events_[0]; in HandleDispatch()
55 events_.erase(events_.begin()); in HandleDispatch()
67 if (!events_.empty()) { in AddEvent()
68 last_time = (events_.end()-1)->time; in AddEvent()
74 events_.push_back(event); in AddEvent()
[all …]
/external/chromium/net/websockets/
Dwebsocket_unittest.cc62 events_.push_back( in OnOpen()
66 onopen_->Run(&events_.back()); in OnOpen()
70 events_.push_back( in OnMessage()
73 onmessage_->Run(&events_.back()); in OnMessage()
76 events_.push_back( in OnError()
80 onerror_->Run(&events_.back()); in OnError()
83 events_.push_back( in OnClose()
87 onclose_->Run(&events_.back()); in OnClose()
97 return events_; in GetSeenEvents()
101 std::vector<WebSocketEvent> events_; member in WebSocketEventRecorder
/external/chromium-trace/trace-viewer/src/
Dtrace_event_importer.js41 this.events_ = JSON.parse(eventData);
44 this.events_ = eventData;
50 if (this.events_.traceEvents) {
51 this.events_ = this.events_.traceEvents;
52 for (fieldName in this.events_) {
56 value: this.events_[fieldName]});
152 var events = this.events_;
Dlinux_perf_importer.js88 this.events_ = events;
508 this.lines_ = this.events_.split('\n');
/external/chromium/chrome/browser/metrics/
Dmetrics_response.h43 int events() { return events_; } in events()
52 int events_; variable
Dmetrics_response.cc65 events_(0), in MetricsResponse()
79 events_ = state.events; in MetricsResponse()
/external/chromium-trace/
Dscript.js180events_=JSON.parse(a)):this.events_=a;if(this.events_.traceEvents)for(fieldName in this.events_=th…
182 …ush(0):a.samples.push(c.args[b])},importEvents:function(){for(var c=this.events_,a=0;a<c.length;a+…
237 …e(a){this.cpu=a}function c(a,b){this.importPriority=2;this.model_=a;this.events_=b;this.clockSyncR…
249 …event "+a),!0):e(a,b,c,d,q,k)},importCpuData:function(){this.lines_=this.events_.split("\n");var b=