Home
last modified time | relevance | path

Searched refs:Event (Results 1 – 25 of 237) sorted by relevance

12345678910

/freebsd-13.1/lib/libdevdctl/
H A Devent.cc85 Event::EventTypeRecord Event::s_typeTable[] =
94 Event *
101 Event *
173 Event::TypeToString(Event::Type type) in TypeToString()
244 Event::~Event() in ~Event()
249 Event *
333 Event::Event(const Event &src) in Event() function in DevdCtl::Event
341 Event::ParseEventString(Event::Type type, in ParseEventString()
452 Event *
488 Event *
[all …]
H A Devent.h70 class Event
207 virtual ~Event();
253 Event(const Event &src);
291 inline Event::Type
292 Event::GetType() const in GetType()
298 Event::GetEventString() const in GetEventString()
304 Event::GetMap() const in GetMap()
316 class DevfsEvent : public Event
354 class GeomEvent : public Event
360 virtual Event *DeepCopy() const;
[all …]
H A Devent_factory.h58 typedef std::pair<Event::Type, std::string> Key;
61 typedef std::map<Key, Event::BuildMethod *> Registry;
66 Event::Type m_type;
68 Event::BuildMethod *m_buildMethod;
72 Event *Build(Event::Type type, NVPairMap &nvpairs,
75 EventFactory(Event::BuildMethod *defaultBuildMethod = NULL);
84 Event::BuildMethod *m_defaultBuildMethod;
H A Dconsumer.cc77 Consumer::Consumer(Event::BuildMethod *defBuilder, in Consumer()
177 Consumer::SaveEvent(const Event &event) in SaveEvent()
185 Event *
191 Event *event(NULL); in NextEvent()
197 Event::TimestampEventString(evString); in NextEvent()
198 event = Event::CreateEvent(m_eventFactory, evString); in NextEvent()
211 Event *event; in ProcessEvents()
H A Dconsumer.h46 class Event; variable
56 Consumer(Event::BuildMethod *defBuilder = NULL,
72 bool SaveEvent(const Event &event);
83 Event *NextEvent();
/freebsd-13.1/sys/contrib/dev/acpica/compiler/
H A Daslcompile.c209 UtEndEvent (Event); in CmDoCompile()
231 UtEndEvent (Event); in CmDoCompile()
238 UtEndEvent (Event); in CmDoCompile()
286 UtEndEvent (Event); in CmDoCompile()
325 UtEndEvent (Event); in CmDoAslMiddleAndBackEnd()
333 UtEndEvent (Event); in CmDoAslMiddleAndBackEnd()
351 UtEndEvent (Event); in CmDoAslMiddleAndBackEnd()
360 UtEndEvent (Event); in CmDoAslMiddleAndBackEnd()
368 UtEndEvent (Event); in CmDoAslMiddleAndBackEnd()
823 Delta = (UINT32) (Event->EndTime - Event->StartTime); in CmDumpAllEvents()
[all …]
/freebsd-13.1/contrib/llvm-project/lldb/include/lldb/Utility/
H A DEvent.h29 class Event; variable
37 friend class Event; variable
49 virtual void DoOnRemoval(Event *event_ptr) {} in DoOnRemoval()
120 void DoOnRemoval(Event *event_ptr) override { in DoOnRemoval()
158 GetEventDataFromEvent(const Event *event_ptr);
165 GetPluginFromEvent(const Event *event_ptr);
180 class Event {
196 ~Event();
249 Event(const Event &) = delete;
250 const Event &operator=(const Event &) = delete;
[all …]
/freebsd-13.1/contrib/llvm-project/clang/lib/DirectoryWatcher/linux/
H A DDirectoryWatcher-linux.cpp87 std::queue<DirectoryWatcher::Event> Events;
101 DirectoryWatcher::Event pop_front_blocking() { in pop_front_blocking()
107 DirectoryWatcher::Event Front = Events.front(); in pop_front_blocking()
247 P += sizeof(struct inotify_event) + Event->len; in InotifyPollingLoop()
250 Event->len <= 0) { in InotifyPollingLoop()
258 Event->name); in InotifyPollingLoop()
261 Event->name); in InotifyPollingLoop()
267 } else if (Event->mask & IN_IGNORED) { in InotifyPollingLoop()
286 DirectoryWatcher::Event Event = this->Queue.pop_front_blocking(); in EventReceivingLoop() local
287 this->Receiver(Event, false); in EventReceivingLoop()
[all …]
/freebsd-13.1/sys/contrib/dev/acpica/components/events/
H A Devxfevnt.c299 UINT32 Event, in ACPI_EXPORT_SYMBOL()
318 if (Event > ACPI_EVENT_MAX) in ACPI_EXPORT_SYMBOL()
328 AcpiGbl_FixedEventInfo[Event].EnableRegisterId, in ACPI_EXPORT_SYMBOL()
372 UINT32 Event, in ACPI_EXPORT_SYMBOL()
391 if (Event > ACPI_EVENT_MAX) in ACPI_EXPORT_SYMBOL()
401 AcpiGbl_FixedEventInfo[Event].EnableRegisterId, in ACPI_EXPORT_SYMBOL()
442 UINT32 Event) in ACPI_EXPORT_SYMBOL()
459 if (Event > ACPI_EVENT_MAX) in ACPI_EXPORT_SYMBOL()
494 UINT32 Event, in ACPI_EXPORT_SYMBOL()
512 if (Event > ACPI_EVENT_MAX) in ACPI_EXPORT_SYMBOL()
[all …]
H A Devevent.c169 UINT32 Event);
414 UINT32 Event) in AcpiEvFixedEventDispatch() argument
423 AcpiGbl_FixedEventInfo[Event].StatusRegisterId, in AcpiEvFixedEventDispatch()
430 if (!AcpiGbl_FixedEventHandlers[Event].Handler) in AcpiEvFixedEventDispatch()
433 AcpiGbl_FixedEventInfo[Event].EnableRegisterId, in AcpiEvFixedEventDispatch()
438 AcpiUtGetEventName (Event), Event)); in AcpiEvFixedEventDispatch()
445 return ((AcpiGbl_FixedEventHandlers[Event].Handler)( in AcpiEvFixedEventDispatch()
446 AcpiGbl_FixedEventHandlers[Event].Context)); in AcpiEvFixedEventDispatch()
H A Devxface.c816 UINT32 Event, in ACPI_EXPORT_SYMBOL()
828 if (Event > ACPI_EVENT_MAX) in ACPI_EXPORT_SYMBOL()
841 if (AcpiGbl_FixedEventHandlers[Event].Handler) in ACPI_EXPORT_SYMBOL()
852 Status = AcpiEnableEvent (Event, 0); in ACPI_EXPORT_SYMBOL()
857 AcpiUtGetEventName (Event), Event)); in ACPI_EXPORT_SYMBOL()
868 AcpiUtGetEventName (Event), Event, Handler)); in ACPI_EXPORT_SYMBOL()
895 UINT32 Event, in ACPI_EXPORT_SYMBOL()
906 if (Event > ACPI_EVENT_MAX) in ACPI_EXPORT_SYMBOL()
919 Status = AcpiDisableEvent (Event, 0); in ACPI_EXPORT_SYMBOL()
930 AcpiUtGetEventName (Event), Event)); in ACPI_EXPORT_SYMBOL()
[all …]
/freebsd-13.1/contrib/llvm-project/clang/lib/DirectoryWatcher/mac/
H A DDirectoryWatcher-mac.cpp50 std::function<void(llvm::ArrayRef<DirectoryWatcher::Event>, bool)> in DirectoryWatcherMac() argument
64 DirectoryWatcher::Event( in ~DirectoryWatcherMac()
76 std::function<void(llvm::ArrayRef<Event>, bool)> Receiver;
86 std::function<void(llvm::ArrayRef<DirectoryWatcher::Event>, bool)> in EventStreamContextData()
112 std::vector<DirectoryWatcher::Event> Events; in eventStreamCallback()
118 Events.emplace_back(DirectoryWatcher::Event{ in eventStreamCallback()
126 Events.emplace_back(DirectoryWatcher::Event{ in eventStreamCallback()
127 DirectoryWatcher::Event::EventKind::WatchedDirRemoved, ""}); in eventStreamCallback()
128 Events.emplace_back(DirectoryWatcher::Event{ in eventStreamCallback()
135 Events.emplace_back(DirectoryWatcher::Event::EventKind::Removed, in eventStreamCallback()
[all …]
/freebsd-13.1/contrib/llvm-project/lldb/source/Utility/
H A DEvent.cpp26 #pragma mark Event
30 Event::Event(Broadcaster *broadcaster, uint32_t event_type, EventData *data) in Event() function in Event
34 Event::Event(Broadcaster *broadcaster, uint32_t event_type, in Event() function in Event
39 Event::Event(uint32_t event_type, EventData *data) in Event() function in Event
42 Event::Event(uint32_t event_type, const EventDataSP &event_data_sp) in Event() function in Event
45 Event::~Event() = default;
47 void Event::Dump(Stream *s) const { in Dump()
80 void Event::DoOnRemoval() { in DoOnRemoval()
165 size_t EventDataBytes::GetByteSizeFromEvent(const Event *event_ptr) { in GetByteSizeFromEvent()
173 EventDataBytes::GetEventDataFromEvent(const Event *event_ptr) { in GetEventDataFromEvent()
[all …]
/freebsd-13.1/contrib/llvm-project/clang/lib/DirectoryWatcher/windows/
H A DDirectoryWatcher-windows.cpp37 std::function<void(ArrayRef<DirectoryWatcher::Event>, bool)> Callback;
47 std::queue<DirectoryWatcher::Event> Q;
51 void emplace(DirectoryWatcher::Event::EventKind Kind, StringRef Path) { in emplace()
59 DirectoryWatcher::Event pop_front() { in pop_front()
63 DirectoryWatcher::Event E = Q.front(); in pop_front()
179 Q.emplace(DirectoryWatcher::Event::EventKind::WatchedDirRemoved, in WatcherThreadProc()
200 DirectoryWatcher::Event::EventKind Kind = in WatcherThreadProc()
201 DirectoryWatcher::Event::EventKind::WatcherGotInvalidated; in WatcherThreadProc()
206 Kind = DirectoryWatcher::Event::EventKind::Modified; in WatcherThreadProc()
210 Kind = DirectoryWatcher::Event::EventKind::Removed; in WatcherThreadProc()
[all …]
/freebsd-13.1/contrib/llvm-project/lldb/source/API/
H A DSBEvent.cpp28 : m_event_sp(new Event(event_type, new EventDataBytes(cstr, cstr_len))), in SBEvent()
40 LLDB_RECORD_CONSTRUCTOR(SBEvent, (lldb_private::Event *), event_ptr); in SBEvent()
64 Event *lldb_event = get(); in GetDataFlavor()
77 const Event *lldb_event = get(); in GetType()
91 const Event *lldb_event = get(); in GetBroadcaster()
100 const Event *lldb_event = get(); in GetBroadcasterClass()
120 Event *lldb_event = get(); in BroadcasterMatchesRef()
132 Event *lldb_event = get(); in Clear()
139 Event *SBEvent::get() const { in get()
155 void SBEvent::reset(Event *event_ptr) { in reset()
[all …]
/freebsd-13.1/contrib/ntp/include/
H A Dntpsim.h75 } Event; typedef
134 Event *event (double t, funcTkn f);
135 void sim_event_timer (Event *e);
138 void sim_update_clocks (Event *e);
139 void sim_event_recv_packet (Event *e);
140 void sim_event_beep (Event *e);
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-mca/Views/
H A DBottleneckAnalysis.cpp67 const HWInstructionIssuedEvent &Event) { in handleInstructionIssuedEvent() argument
68 unsigned IID = Event.IR.getSourceIndex(); in handleInstructionIssuedEvent()
69 for (const ResourceUse &Use : Event.UsedResources) { in handleInstructionIssuedEvent()
105 assert(Event.Reason != HWPressureEvent::INVALID && in handlePressureEvent()
108 switch (Event.Reason) { in handlePressureEvent()
113 const uint64_t ResourceMask = Event.ResourceMask; in handlePressureEvent()
489 const unsigned IID = Event.IR.getSourceIndex(); in onEvent()
494 if (Event.Type == HWInstructionEvent::Executed) { in onEvent()
499 if (Event.Type != HWInstructionEvent::Issued) in onEvent()
544 Tracker.handlePressureEvent(Event); in onEvent()
[all …]
H A DSchedulerStatistics.cpp44 void SchedulerStatistics::onEvent(const HWInstructionEvent &Event) { in onEvent() argument
45 if (Event.Type == HWInstructionEvent::Issued) { in onEvent()
46 const Instruction &Inst = *Event.IR.getInstruction(); in onEvent()
48 } else if (Event.Type == HWInstructionEvent::Dispatched) { in onEvent()
49 const Instruction &Inst = *Event.IR.getInstruction(); in onEvent()
50 const unsigned Index = Event.IR.getSourceIndex(); in onEvent()
61 } else if (Event.Type == HWInstructionEvent::Executed) { in onEvent()
62 const Instruction &Inst = *Event.IR.getInstruction(); in onEvent()
H A DDispatchStatistics.cpp20 void DispatchStatistics::onEvent(const HWStallEvent &Event) { in onEvent() argument
21 if (Event.Type < HWStallEvent::LastGenericEvent) in onEvent()
22 HWStalls[Event.Type]++; in onEvent()
25 void DispatchStatistics::onEvent(const HWInstructionEvent &Event) { in onEvent() argument
26 if (Event.Type != HWInstructionEvent::Dispatched) in onEvent()
29 const auto &DE = static_cast<const HWInstructionDispatchedEvent &>(Event); in onEvent()
H A DRetireControlUnitStatistics.cpp31 void RetireControlUnitStatistics::onEvent(const HWInstructionEvent &Event) { in onEvent() argument
32 if (Event.Type == HWInstructionEvent::Dispatched) { in onEvent()
34 static_cast<const HWInstructionDispatchedEvent &>(Event).MicroOpcodes; in onEvent()
38 if (Event.Type == HWInstructionEvent::Retired) { in onEvent()
39 unsigned ReleasedEntries = Event.IR.getInstruction()->getDesc().NumMicroOps; in onEvent()
H A DSummaryView.cpp39 void SummaryView::onEvent(const HWInstructionEvent &Event) { in onEvent() argument
40 if (Event.Type == HWInstructionEvent::Dispatched) in onEvent()
41 LastInstructionIdx = Event.IR.getSourceIndex(); in onEvent()
45 if (Event.Type != HWInstructionEvent::Retired || in onEvent()
46 Event.IR.getSourceIndex() >= Source.size()) in onEvent()
53 const Instruction &Inst = *Event.IR.getInstruction(); in onEvent()
/freebsd-13.1/cddl/usr.sbin/zfsd/tests/
H A Dzfsd_unittest.cc75 using DevdCtl::Event;
98 MockZfsEvent(Event::Type, NVPairMap&, const string&);
119 Event *
120 MockZfsEvent::MockZfsEventBuilder(Event::Type type, in MockZfsEventBuilder()
158 MOCK_METHOD1(RegisterCallout, void(const Event &event));
396 Event *m_event;
409 m_event = Event::CreateEvent(*m_eventFactory, evString); in TEST_F()
459 Event *m_event;
562 Event *event(Event::CreateEvent(*m_eventFactory, in TEST_F()
615 Event *event(Event::CreateEvent(*m_eventFactory, in TEST_F()
[all …]
/freebsd-13.1/contrib/llvm-project/lldb/include/lldb/Target/
H A DThreadPlan.h360 bool PlanExplainsStop(Event *event_ptr);
362 virtual bool ShouldStop(Event *event_ptr) = 0;
370 virtual bool ShouldAutoContinue(Event *event_ptr) { return false; } in ShouldAutoContinue()
375 virtual Vote ShouldReportStop(Event *event_ptr);
377 Vote ShouldReportRun(Event *event_ptr);
490 virtual bool DoPlanExplainsStop(Event *event_ptr) = 0;
573 bool ShouldStop(Event *event_ptr) override;
586 bool DoPlanExplainsStop(Event *event_ptr) override;
/freebsd-13.1/contrib/ntp/ntpd/
H A Dntpsim.c18 int determine_event_ordering(const Event *e1, const Event *e2);
31 void (*event_ptr[]) (Event *) = {
42 const Event *e1, in determine_event_ordering()
43 const Event *e2 in determine_event_ordering()
106 Event * curr_event; in ntpsim()
209 Event *event(double t, funcTkn f) in event()
211 Event *e; in event()
226 void sim_event_timer(Event *e) in sim_event_timer()
384 void sim_update_clocks(Event *e) in sim_update_clocks()
443 void sim_event_recv_packet(Event *e) in sim_event_recv_packet()
[all …]
/freebsd-13.1/lib/libdevdctl/tests/
H A Dlibdevdctl_unittest.cc73 Event *m_ev;
78 { Event::NOTIFY, "DEVFS", &DevfsEvent::Builder },
79 { Event::NOTIFY, "GEOM", &GeomEvent::Builder }
87 m_ev = Event::CreateEvent(*m_factory, evString); in TEST_P()
96 m_ev = Event::CreateEvent(*m_factory, evString); in TEST_P()

12345678910