Home
last modified time | relevance | path

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

/external/webrtc/webrtc/system_wrappers/source/
Dcondition_variable_event_win.cc96 events_[WAKEALL_0] = CreateEvent(NULL, // no security attributes in ConditionVariableEventWin()
101 events_[WAKEALL_1] = CreateEvent(NULL, // no security attributes in ConditionVariableEventWin()
106 events_[WAKE] = CreateEvent(NULL, // no security attributes in ConditionVariableEventWin()
113 CloseHandle(events_[WAKE]); in ~ConditionVariableEventWin()
114 CloseHandle(events_[WAKEALL_1]); in ~ConditionVariableEventWin()
115 CloseHandle(events_[WAKEALL_0]); in ~ConditionVariableEventWin()
140 events[0] = events_[WAKE]; in SleepCS()
141 events[1] = events_[eventID]; in SleepCS()
161 ResetEvent(events_[eventID]); in SleepCS()
175 SetEvent(events_[WAKE]); in Wake()
[all …]
Dcondition_variable_event_win.h41 HANDLE events_[EVENT_COUNT]; variable
/external/grpc-grpc-java/services/src/generated/main/java/io/grpc/channelz/v1/
DChannelTrace.java24 events_ = java.util.Collections.emptyList(); in ChannelTrace()
78 events_ = new java.util.ArrayList<io.grpc.channelz.v1.ChannelTraceEvent>(); in ChannelTrace()
81 events_.add( in ChannelTrace()
94 events_ = java.util.Collections.unmodifiableList(events_); in ChannelTrace()
162 private java.util.List<io.grpc.channelz.v1.ChannelTraceEvent> events_; field in ChannelTrace
171 return events_; in getEventsList()
182 return events_; in getEventsOrBuilderList()
192 return events_.size(); in getEventsCount()
202 return events_.get(index); in getEvents()
213 return events_.get(index); in getEventsOrBuilder()
[all …]
/external/webrtc/webrtc/base/
Dprofiler.cc101 EventMap::iterator it = events_.find(event_name); in StartEvent()
102 bool needs_insert = (it == events_.end()); in StartEvent()
108 it = events_.insert( in StartEvent()
119 EventMap::iterator it = events_.find(event_name); in StopEvent()
120 if (it != events_.end()) { in StopEvent()
142 for (EventMap::const_iterator it = events_.begin(); in ReportToLog()
143 it != events_.end(); ++it) { in ReportToLog()
161 events_.find(event_name); in GetEvent()
162 return (it == events_.end()) ? NULL : &it->second; in GetEvent()
169 EventMap::iterator it = events_.begin(); in Clear()
[all …]
Dtestutils.h63 events_.erase(stream); in Monitor()
68 events_.erase(stream); in Unmonitor()
83 events_.erase(socket); in Monitor()
90 events_.erase(socket); in Unmonitor()
122 EventMap::iterator it = events_.find(obj); in AddEvents()
123 if (events_.end() == it) { in AddEvents()
124 events_.insert(EventMap::value_type(obj, events)); in AddEvents()
130 EventMap::iterator it = events_.find(obj); in DoCheck()
131 if ((events_.end() == it) || (0 == (it->second & event))) { in DoCheck()
140 EventMap::iterator it = events_.find(obj); in DoEvents()
[all …]
Dprofiler.h134 EventMap events_; variable
/external/libchrome/mojo/public/cpp/bindings/lib/
Dsync_handle_registry.cc69 auto it = events_.find(event); in RegisterEvent()
70 if (it == events_.end()) { in RegisterEvent()
71 auto result = events_.emplace(event, EventCallbackList{}); in RegisterEvent()
85 auto it = events_.find(event); in UnregisterEvent()
86 if (it == events_.end()) in UnregisterEvent()
108 events_.erase(it); in UnregisterEvent()
149 const auto iter = events_.find(ready_event); in Wait()
150 DCHECK(iter != events_.end()); in Wait()
185 for (auto it = events_.begin(); it != events_.end();) { in RemoveInvalidEventCallbacks()
192 events_.erase(it++); in RemoveInvalidEventCallbacks()
/external/perfetto/src/trace_processor/
Dtrace_sorter.cc36 PERFETTO_DCHECK(sort_start_idx_ < events_.size()); in Sort()
45 auto sort_end = events_.begin() + static_cast<ssize_t>(sort_start_idx_); in Sort()
46 PERFETTO_DCHECK(std::is_sorted(events_.begin(), sort_end)); in Sort()
47 auto sort_begin = std::lower_bound(events_.begin(), sort_end, sort_min_ts_, in Sort()
49 std::sort(sort_begin, events_.end()); in Sort()
54 PERFETTO_DCHECK(std::is_sorted(events_.begin(), events_.end())); in Sort()
96 if (queue.events_.empty()) in SortAndExtractEventsBeyondWindow()
116 auto& events = queue.events_; in SortAndExtractEventsBeyondWindow()
169 queue.min_ts_ = queue.events_.front().timestamp; in SortAndExtractEventsBeyondWindow()
Dtrace_sorter.h234 events_.emplace_back(std::move(ttp)); in Append()
247 PERFETTO_DCHECK(events_.size() >= 2); in Append()
248 sort_start_idx_ = events_.size() - 1; in Append()
261 base::CircularQueue<TimestampedTracePiece> events_; member
/external/tensorflow/tensorflow/core/profiler/internal/cpu/
Dhost_tracer.cc52 events_ = TraceMeRecorder::Stop(); in Stop()
67 if (events_.empty() && recording_) { in CollectDataToCollector()
68 events_ = TraceMeRecorder::Collect(); in CollectDataToCollector()
72 for (const auto& thread : events_) { in CollectDataToCollector()
81 for (auto& thread : events_) { in CollectDataToCollector()
113 events_.clear(); in CollectDataToCollector()
Dhost_tracer.h60 TraceMeRecorder::Events events_; variable
/external/libchrome/base/message_loop/
Dmessage_pump_glib_unittest.cc48 if (events_.empty()) in HandlePrepare()
50 TimeDelta delta = events_[0].time - Time::NowFromSystemTime(); in HandlePrepare()
55 if (events_.empty()) in HandleCheck()
57 return events_[0].time <= Time::NowFromSystemTime(); in HandleCheck()
61 if (events_.empty()) in HandleDispatch()
63 Event event = std::move(events_[0]); in HandleDispatch()
64 events_.erase(events_.begin()); in HandleDispatch()
88 events_.clear(); in Reset()
106 if (!events_.empty()) in AddEventHelper()
107 last_time = (events_.end()-1)->time; in AddEventHelper()
[all …]
/external/perfetto/src/traced/probes/ftrace/
Dproto_translation_table.cc460 events_(BuildEventsVector(events)), in ProtoTranslationTable()
461 largest_id_(events_.size() - 1), in ProtoTranslationTable()
466 &events_.at(event.ftrace_event_id); in ProtoTranslationTable()
467 name_to_events_[event.name].push_back(&events_.at(event.ftrace_event_id)); in ProtoTranslationTable()
468 group_to_events_[event.group].push_back(&events_.at(event.ftrace_event_id)); in ProtoTranslationTable()
488 events_.resize(ftrace_event.id + 1); in GetOrCreateEvent()
493 Event* e = &events_.at(ftrace_event.id); in GetOrCreateEvent()
509 group_and_name_to_event_[group_and_name] = &events_.at(e->ftrace_event_id); in GetOrCreateEvent()
510 name_to_events_[e->name].push_back(&events_.at(e->ftrace_event_id)); in GetOrCreateEvent()
511 group_to_events_[e->group].push_back(&events_.at(e->ftrace_event_id)); in GetOrCreateEvent()
Dproto_translation_table.h117 if (!events_.at(id).ftrace_event_id) in GetEventById()
119 return &events_.at(id); in GetEventById()
128 const std::vector<Event>& events() { return events_; } in events()
165 std::vector<Event> events_; variable
/external/tensorflow/tensorflow/core/profiler/internal/
Dtfprof_timeline.cc80 events_.push_back(event); in EmitFlowStart()
87 events_.push_back(event); in EmitFlowEnd()
98 events_.push_back(event); in EmitCounter()
124 events_.push_back(event2); in EmitCounter()
133 for (const Json::Value& v : events_) { in Format()
Dtfprof_timeline.h59 std::vector<Json::Value> events_;
/external/libchrome/ipc/
Dipc_sync_channel_unittest.cc1423 events_(events), in RestrictedDispatchDeadlockServer()
1427 events_[3]->Signal(); in OnDoServerTask()
1428 events_[2]->Wait(); in OnDoServerTask()
1429 events_[0]->Signal(); in OnDoServerTask()
1465 WaitableEvent** events_; member in IPC::__anonbab8626c0111::RestrictedDispatchDeadlockServer
1478 events_(events), in RestrictedDispatchDeadlockClient2()
1488 events_[3]->Wait(); in OnDoClient2Task()
1489 events_[1]->Signal(); in OnDoClient2Task()
1490 events_[2]->Signal(); in OnDoClient2Task()
1523 WaitableEvent** events_; member in IPC::__anonbab8626c0111::RestrictedDispatchDeadlockClient2
[all …]
/external/libchrome/mojo/public/cpp/bindings/
Dsync_handle_registry.h73 EventMap events_; variable