| /freebsd-14.2/lib/libdevdctl/ |
| H A D | event.cc | 82 Event::EventTypeRecord Event::s_typeTable[] = 91 Event * 98 Event * 170 Event::TypeToString(Event::Type type) in TypeToString() 241 Event::~Event() in ~Event() 246 Event * 330 Event::Event(const Event &src) in Event() function in DevdCtl::Event 338 Event::ParseEventString(Event::Type type, in ParseEventString() 449 Event * 485 Event * [all …]
|
| H A D | event.h | 68 class Event 205 virtual ~Event(); 251 Event(const Event &src); 289 inline Event::Type 290 Event::GetType() const in GetType() 296 Event::GetEventString() const in GetEventString() 302 Event::GetMap() const in GetMap() 314 class DevfsEvent : public Event 352 class GeomEvent : public Event 358 virtual Event *DeepCopy() const; [all …]
|
| H A D | event_factory.h | 56 typedef std::pair<Event::Type, std::string> Key; 59 typedef std::map<Key, Event::BuildMethod *> Registry; 64 Event::Type m_type; 66 Event::BuildMethod *m_buildMethod; 70 Event *Build(Event::Type type, NVPairMap &nvpairs, 73 EventFactory(Event::BuildMethod *defaultBuildMethod = NULL); 82 Event::BuildMethod *m_defaultBuildMethod;
|
| H A D | consumer.cc | 74 Consumer::Consumer(Event::BuildMethod *defBuilder, in Consumer() 174 Consumer::SaveEvent(const Event &event) in SaveEvent() 182 Event * 188 Event *event(NULL); in NextEvent() 194 Event::TimestampEventString(evString); in NextEvent() 195 event = Event::CreateEvent(m_eventFactory, evString); in NextEvent() 208 Event *event; in ProcessEvents()
|
| H A D | consumer.h | 44 class Event; variable 54 Consumer(Event::BuildMethod *defBuilder = NULL, 70 bool SaveEvent(const Event &event); 81 Event *NextEvent();
|
| /freebsd-14.2/sys/contrib/dev/acpica/compiler/ |
| H A D | aslcompile.c | 209 UtEndEvent (Event); in CmDoCompile() 231 UtEndEvent (Event); in CmDoCompile() 238 UtEndEvent (Event); in CmDoCompile() 292 UtEndEvent (Event); in CmDoCompile() 332 UtEndEvent (Event); in CmDoAslMiddleAndBackEnd() 340 UtEndEvent (Event); in CmDoAslMiddleAndBackEnd() 358 UtEndEvent (Event); in CmDoAslMiddleAndBackEnd() 367 UtEndEvent (Event); in CmDoAslMiddleAndBackEnd() 375 UtEndEvent (Event); in CmDoAslMiddleAndBackEnd() 830 Delta = (UINT32) (Event->EndTime - Event->StartTime); in CmDumpAllEvents() [all …]
|
| /freebsd-14.2/contrib/llvm-project/lldb/include/lldb/Utility/ |
| H A D | Event.h | 29 class Event; variable 37 friend class Event; variable 51 virtual void DoOnRemoval(Event *event_ptr) {} in DoOnRemoval() 119 void DoOnRemoval(Event *event_ptr) override { in DoOnRemoval() 157 GetEventDataFromEvent(const Event *event_ptr); 164 GetPluginFromEvent(const Event *event_ptr); 179 class Event : public std::enable_shared_from_this<Event> { 195 ~Event(); 256 Event(const Event &) = delete; 257 const Event &operator=(const Event &) = delete; [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/DirectoryWatcher/linux/ |
| H A D | DirectoryWatcher-linux.cpp | 88 std::queue<DirectoryWatcher::Event> Events; 102 DirectoryWatcher::Event pop_front_blocking() { in pop_front_blocking() 108 DirectoryWatcher::Event Front = Events.front(); in pop_front_blocking() 248 P += sizeof(struct inotify_event) + Event->len; in InotifyPollingLoop() 251 Event->len <= 0) { in InotifyPollingLoop() 259 Event->name); in InotifyPollingLoop() 262 Event->name); in InotifyPollingLoop() 268 } else if (Event->mask & IN_IGNORED) { in InotifyPollingLoop() 287 DirectoryWatcher::Event Event = this->Queue.pop_front_blocking(); in EventReceivingLoop() local 288 this->Receiver(Event, false); in EventReceivingLoop() [all …]
|
| /freebsd-14.2/sys/contrib/dev/acpica/components/events/ |
| H A D | evxfevnt.c | 299 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 D | evevent.c | 169 UINT32 Event); 420 UINT32 Event) in AcpiEvFixedEventDispatch() argument 429 AcpiGbl_FixedEventInfo[Event].StatusRegisterId, in AcpiEvFixedEventDispatch() 436 if (!AcpiGbl_FixedEventHandlers[Event].Handler) in AcpiEvFixedEventDispatch() 439 AcpiGbl_FixedEventInfo[Event].EnableRegisterId, in AcpiEvFixedEventDispatch() 440 (Event == ACPI_EVENT_PCIE_WAKE) ? in AcpiEvFixedEventDispatch() 445 AcpiUtGetEventName (Event), Event)); in AcpiEvFixedEventDispatch() 452 return ((AcpiGbl_FixedEventHandlers[Event].Handler)( in AcpiEvFixedEventDispatch() 453 AcpiGbl_FixedEventHandlers[Event].Context)); in AcpiEvFixedEventDispatch()
|
| H A D | evxface.c | 816 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-14.2/contrib/llvm-project/clang/lib/DirectoryWatcher/mac/ |
| H A D | DirectoryWatcher-mac.cpp | 50 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-14.2/contrib/llvm-project/lldb/source/Utility/ |
| H A D | Event.cpp | 29 #pragma mark Event 33 Event::Event(Broadcaster *broadcaster, uint32_t event_type, EventData *data) in Event() function in Event 37 Event::Event(Broadcaster *broadcaster, uint32_t event_type, in Event() function in Event 42 Event::Event(uint32_t event_type, EventData *data) in Event() function in Event 45 Event::Event(uint32_t event_type, const EventDataSP &event_data_sp) in Event() function in Event 48 Event::~Event() = default; 50 void Event::Dump(Stream *s) const { in Dump() 83 void Event::DoOnRemoval() { in DoOnRemoval() 171 size_t EventDataBytes::GetByteSizeFromEvent(const Event *event_ptr) { in GetByteSizeFromEvent() 179 EventDataBytes::GetEventDataFromEvent(const Event *event_ptr) { in GetEventDataFromEvent() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/DirectoryWatcher/windows/ |
| H A D | DirectoryWatcher-windows.cpp | 37 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() 184 Q.emplace(DirectoryWatcher::Event::EventKind::WatchedDirRemoved, in WatcherThreadProc() 205 DirectoryWatcher::Event::EventKind Kind = in WatcherThreadProc() 206 DirectoryWatcher::Event::EventKind::WatcherGotInvalidated; in WatcherThreadProc() 211 Kind = DirectoryWatcher::Event::EventKind::Modified; in WatcherThreadProc() 215 Kind = DirectoryWatcher::Event::EventKind::Removed; in WatcherThreadProc() [all …]
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/API/ |
| H A D | SBEvent.cpp | 27 : m_event_sp(new Event(event_type, new EventDataBytes(cstr, cstr_len))), in SBEvent() 37 SBEvent::SBEvent(Event *event_ptr) : m_opaque_ptr(event_ptr) { in SBEvent() 61 Event *lldb_event = get(); in GetDataFlavor() 73 const Event *lldb_event = get(); in GetType() 86 const Event *lldb_event = get(); in GetBroadcaster() 95 const Event *lldb_event = get(); in GetBroadcasterClass() 113 Event *lldb_event = get(); in BroadcasterMatchesRef() 125 Event *lldb_event = get(); in Clear() 132 Event *SBEvent::get() const { in get() 148 void SBEvent::reset(Event *event_ptr) { in reset()
|
| /freebsd-14.2/contrib/ntp/include/ |
| H A D | ntpsim.h | 75 } 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-14.2/contrib/llvm-project/llvm/tools/llvm-mca/Views/ |
| H A D | BottleneckAnalysis.cpp | 67 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 D | SchedulerStatistics.cpp | 44 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 D | DispatchStatistics.cpp | 20 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 D | RetireControlUnitStatistics.cpp | 31 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()
|
| /freebsd-14.2/cddl/usr.sbin/zfsd/tests/ |
| H A D | zfsd_unittest.cc | 72 using DevdCtl::Event; 95 MockZfsEvent(Event::Type, NVPairMap&, const string&); 116 Event * 117 MockZfsEvent::MockZfsEventBuilder(Event::Type type, in MockZfsEventBuilder() 156 MOCK_METHOD1(RegisterCallout, void(const Event &event)); 394 Event *m_event; 459 Event *m_event; 579 Event *event(Event::CreateEvent(*m_eventFactory, in TEST_F() 628 Event *event(Event::CreateEvent(*m_eventFactory, in TEST_F() 681 Event *event(Event::CreateEvent(*m_eventFactory, in TEST_F() [all …]
|
| /freebsd-14.2/contrib/llvm-project/lldb/include/lldb/Target/ |
| H A D | ThreadPlan.h | 365 bool PlanExplainsStop(Event *event_ptr); 367 virtual bool ShouldStop(Event *event_ptr) = 0; 375 virtual bool ShouldAutoContinue(Event *event_ptr) { return false; } in ShouldAutoContinue() 380 virtual Vote ShouldReportStop(Event *event_ptr); 382 Vote ShouldReportRun(Event *event_ptr); 497 virtual bool DoPlanExplainsStop(Event *event_ptr) = 0; 580 bool ShouldStop(Event *event_ptr) override; 593 bool DoPlanExplainsStop(Event *event_ptr) override;
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Core/ |
| H A D | DebuggerEvents.cpp | 18 static const T *GetEventDataFromEventImpl(const Event *event_ptr) { in GetEventDataFromEventImpl() 49 ProgressEventData::GetEventDataFromEvent(const Event *event_ptr) { in GetEventDataFromEvent() 54 ProgressEventData::GetAsStructuredData(const Event *event_ptr) { in GetAsStructuredData() 105 DiagnosticEventData::GetEventDataFromEvent(const Event *event_ptr) { in GetEventDataFromEvent() 110 DiagnosticEventData::GetAsStructuredData(const Event *event_ptr) { in GetAsStructuredData() 134 SymbolChangeEventData::GetEventDataFromEvent(const Event *event_ptr) { in GetEventDataFromEvent() 138 void SymbolChangeEventData::DoOnRemoval(Event *event_ptr) { in DoOnRemoval()
|
| /freebsd-14.2/contrib/ntp/ntpd/ |
| H A D | ntpsim.c | 18 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-14.2/lib/libdevdctl/tests/ |
| H A D | libdevdctl_unittest.cc | 71 Event *m_ev; 76 { Event::NOTIFY, "DEVFS", &DevfsEvent::Builder }, 77 { Event::NOTIFY, "GEOM", &GeomEvent::Builder } 85 m_ev = Event::CreateEvent(*m_factory, evString); in TEST_P() 94 m_ev = Event::CreateEvent(*m_factory, evString); in TEST_P()
|