Home
last modified time | relevance | path

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

1234567891011

/freebsd/lib/libdevdctl/
H A Devent.cc80 const string Event::s_theEmptyString;
82 Event::EventTypeRecord Event::s_typeTable[] =
84 { Event::NOTIFY, "Notify" },
85 { Event::NOMATCH, "No Driver Match" },
86 { Event::ATTACH, "Attach" },
87 { Event::DETACH, "Detach" }
91 Event *
92 Event::Builder(Event::Type type, NVPairMap &nvPairs, in Builder()
95 return (new Event(type, nvPairs, eventString)); in Builder()
98 Event *
[all …]
H A Devent.h68 class Event
93 typedef Event* (BuildMethod)(Type, NVPairMap &, const std::string &);
98 static Event *CreateEvent(const EventFactory &factory,
202 virtual Event *DeepCopy() const;
205 virtual ~Event();
248 Event(Type type, NVPairMap &map, const std::string &eventString);
251 Event(const Event &src);
289 inline Event::Type
290 Event::GetType() const in GetType()
296 Event::GetEventString() const in GetEventString()
[all …]
H A Devent_factory.h56 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 Dconsumer.cc74 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()
/freebsd/sys/contrib/dev/acpica/compiler/
H A Daslcompile.c203 UINT8 Event; in CmDoCompile() local
208 Event = UtBeginEvent ("Open input and output files"); in CmDoCompile()
209 UtEndEvent (Event); in CmDoCompile()
211 Event = UtBeginEvent ("Preprocess input file"); in CmDoCompile()
227 UtEndEvent (Event); in CmDoCompile()
231 UtEndEvent (Event); in CmDoCompile()
236 Event = UtBeginEvent ("Parse source code and build parse tree"); in CmDoCompile()
238 UtEndEvent (Event); in CmDoCompile()
276 Event = UtBeginEvent ("Flush source input"); in CmDoCompile()
292 UtEndEvent (Event); in CmDoCompile()
[all …]
/freebsd/contrib/llvm-project/lldb/include/lldb/Utility/
H A DEvent.h29 class Event; variable
37 friend class Event; variable
60 virtual bool ForwardEventToPendingListeners(Event *event_ptr) { return true; } in ForwardEventToPendingListeners()
62 virtual void DoOnRemoval(Event *event_ptr) {} in DoOnRemoval()
88 static const EventDataBytes *GetEventDataFromEvent(const Event *event_ptr);
90 static const void *GetBytesFromEvent(const Event *event_ptr);
92 static size_t GetByteSizeFromEvent(const Event *event_ptr);
120 void DoOnRemoval(Event *event_ptr) override { in DoOnRemoval()
158 GetEventDataFromEvent(const Event *event_ptr);
160 static lldb::ProcessSP GetProcessFromEvent(const Event *event_ptr);
[all …]
/freebsd/contrib/llvm-project/clang/lib/DirectoryWatcher/linux/
H A DDirectoryWatcher-linux.cpp88 std::queue<DirectoryWatcher::Event> Events;
91 void push_back(const DirectoryWatcher::Event::EventKind K, in push_back()
102 DirectoryWatcher::Event pop_front_blocking() { in pop_front_blocking()
108 DirectoryWatcher::Event Front = Events.front(); in pop_front_blocking()
121 std::function<void(llvm::ArrayRef<Event>, bool)> Receiver,
144 std::function<void(llvm::ArrayRef<Event>, bool)> Receiver;
170 Queue.push_back(DirectoryWatcher::Event::EventKind::WatcherGotInvalidated, in StopWork()
247 struct inotify_event *Event = reinterpret_cast<struct inotify_event *>(P); in InotifyPollingLoop() local
248 P += sizeof(struct inotify_event) + Event->len; in InotifyPollingLoop()
250 if (Event->mask & (IN_CREATE | IN_MODIFY | IN_MOVED_TO | IN_DELETE) && in InotifyPollingLoop()
[all …]
/freebsd/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()
338 AcpiGbl_FixedEventInfo[Event].EnableRegisterId, &Value); in ACPI_EXPORT_SYMBOL()
347 "Could not enable %s event", AcpiUtGetEventName (Event))); 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()
409 AcpiGbl_FixedEventInfo[Event].EnableRegisterId, &Value); in ACPI_EXPORT_SYMBOL()
418 "Could not disable %s events", AcpiUtGetEventName (Event))); 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()
849 AcpiGbl_FixedEventHandlers[Event].Handler = Handler; in ACPI_EXPORT_SYMBOL()
850 AcpiGbl_FixedEventHandlers[Event].Context = Context; in ACPI_EXPORT_SYMBOL()
852 Status = AcpiEnableEvent (Event, 0); in ACPI_EXPORT_SYMBOL()
857 AcpiUtGetEventName (Event), Event)); in ACPI_EXPORT_SYMBOL()
861 AcpiGbl_FixedEventHandlers[Event].Handler = NULL; in ACPI_EXPORT_SYMBOL()
862 AcpiGbl_FixedEventHandlers[Event].Context = NULL; in ACPI_EXPORT_SYMBOL()
868 AcpiUtGetEventName (Event), Event, Handler)); in ACPI_EXPORT_SYMBOL()
[all …]
/freebsd/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()
65 DirectoryWatcher::Event::EventKind::WatcherGotInvalidated, ""), in ~DirectoryWatcherMac()
76 std::function<void(llvm::ArrayRef<Event>, bool)> Receiver;
82 std::function<void(llvm::ArrayRef<DirectoryWatcher::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()
119 DirectoryWatcher::Event::EventKind::WatcherGotInvalidated, ""}); in eventStreamCallback()
126 Events.emplace_back(DirectoryWatcher::Event{ in eventStreamCallback()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Utility/
H A DEvent.cpp29 #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()
146 const void *EventDataBytes::GetBytesFromEvent(const Event *event_ptr) { in GetBytesFromEvent()
153 size_t EventDataBytes::GetByteSizeFromEvent(const Event *event_ptr) { in GetByteSizeFromEvent()
[all …]
/freebsd/contrib/llvm-project/clang/lib/DirectoryWatcher/windows/
H A DDirectoryWatcher-windows.cpp25 std::function<void(llvm::ArrayRef<clang::DirectoryWatcher::Event>, bool)>;
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()
157 Q.emplace(DirectoryWatcher::Event::EventKind::WatcherGotInvalidated, in WatcherThreadProc()
172 Q.emplace(DirectoryWatcher::Event::EventKind::WatcherGotInvalidated, in WatcherThreadProc()
184 Q.emplace(DirectoryWatcher::Event::EventKind::WatchedDirRemoved, in WatcherThreadProc()
186 Q.emplace(DirectoryWatcher::Event::EventKind::WatcherGotInvalidated, in WatcherThreadProc()
[all …]
/freebsd/contrib/llvm-project/lldb/source/API/
H A DSBEvent.cpp27 : m_event_sp(new Event( in SBEvent()
38 SBEvent::SBEvent(Event *event_ptr) : m_opaque_ptr(event_ptr) { in SBEvent()
62 Event *lldb_event = get(); in GetDataFlavor()
74 const Event *lldb_event = get(); in GetType()
87 const Event *lldb_event = get(); in GetBroadcaster()
96 const Event *lldb_event = get(); in GetBroadcasterClass()
115 Event *lldb_event = get(); in BroadcasterMatchesRef()
127 Event *lldb_event = get(); in Clear()
134 Event *SBEvent::get() const { in get()
150 void SBEvent::reset(Event *event_ptr) { in reset()
/freebsd/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/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()
104 void PressureTracker::handlePressureEvent(const HWPressureEvent &Event) { in handlePressureEvent() argument
105 assert(Event.Reason != HWPressureEvent::INVALID && in handlePressureEvent()
108 switch (Event.Reason) { in handlePressureEvent()
113 const uint64_t ResourceMask = Event.ResourceMask; in handlePressureEvent()
114 updateResourcePressureDistribution(Event.ResourceMask); in handlePressureEvent()
116 for (const InstRef &IR : Event.AffectedInstructions) { in handlePressureEvent()
129 for (const InstRef &IR : Event.AffectedInstructions) { in handlePressureEvent()
[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/cddl/usr.sbin/zfsd/tests/
H A Dzfsd_unittest.cc72 using DevdCtl::Event;
98 MockZfsEvent(Event::Type, NVPairMap&, const string&);
110 { Event::NOTIFY, "ZFS", &MockZfsEvent::MockZfsEventBuilder }
113 MockZfsEvent::MockZfsEvent(Event::Type type, NVPairMap& map, in MockZfsEvent()
119 Event *
120 MockZfsEvent::MockZfsEventBuilder(Event::Type type, in MockZfsEventBuilder()
159 MOCK_METHOD1(RegisterCallout, void(const Event &event));
397 Event *m_event;
410 m_event = Event::CreateEvent(*m_eventFactory, evString); in TEST_F()
462 Event *m_event;
[all …]
/freebsd/contrib/llvm-project/lldb/include/lldb/Target/
H A DThreadPlan.h365 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/contrib/llvm-project/lldb/source/Core/
H A DDebuggerEvents.cpp19 static const T *GetEventDataFromEventImpl(const Event *event_ptr) { in GetEventDataFromEventImpl()
50 ProgressEventData::GetEventDataFromEvent(const Event *event_ptr) { in GetEventDataFromEvent()
55 ProgressEventData::GetAsStructuredData(const Event *event_ptr) { in GetAsStructuredData()
106 DiagnosticEventData::GetEventDataFromEvent(const Event *event_ptr) { in GetEventDataFromEvent()
111 DiagnosticEventData::GetAsStructuredData(const Event *event_ptr) { in GetAsStructuredData()
135 SymbolChangeEventData::GetEventDataFromEvent(const Event *event_ptr) { in GetEventDataFromEvent()
139 void SymbolChangeEventData::DoOnRemoval(Event *event_ptr) { in DoOnRemoval()
/freebsd/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()
266 Event *e; /* Packet receive event */ in simulate_server()
384 void sim_update_clocks(Event *e) in sim_update_clocks()
[all …]
/freebsd/lib/libdevdctl/tests/
H A Dlibdevdctl_unittest.cc71 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()

1234567891011