Home
last modified time | relevance | path

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

12345678910

/openbsd-src/gnu/llvm/compiler-rt/lib/tsan/tests/rtl/
H A Dtsan_test_util_posix.cpp189 struct Event { struct
216 explicit Event(Type type, const void *ptr = 0, uptr arg = 0, uptr arg2 = 0) in Event() argument
238 void send(Event *ev);
239 void HandleEvent(Event *ev);
242 void ScopedThread::Impl::HandleEvent(Event *ev) { in HandleEvent()
248 case Event::READ: in HandleEvent()
249 case Event::WRITE: { in HandleEvent()
251 if (ev->type == Event::READ) { in HandleEvent()
299 case Event::VPTR_UPDATE: in HandleEvent()
302 case Event::CALL: in HandleEvent()
[all …]
/openbsd-src/gnu/llvm/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 …]
/openbsd-src/gnu/llvm/lldb/include/lldb/Utility/
H A DEvent.h29 class Event; variable
37 friend class Event; variable
51 virtual void DoOnRemoval(Event *event_ptr) {} in DoOnRemoval()
87 static const EventDataBytes *GetEventDataFromEvent(const Event *event_ptr);
89 static const void *GetBytesFromEvent(const Event *event_ptr);
91 static size_t GetByteSizeFromEvent(const Event *event_ptr);
122 void DoOnRemoval(Event *event_ptr) override { in DoOnRemoval()
160 GetEventDataFromEvent(const Event *event_ptr);
162 static lldb::ProcessSP GetProcessFromEvent(const Event *event_ptr);
164 static StructuredData::ObjectSP GetObjectFromEvent(const Event *event_ptr);
[all …]
/openbsd-src/gnu/usr.bin/perl/cpan/Test-Simple/t/Test2/modules/
H A DEvent.t5 use Test2::Event();
7 use Test2::Event::Generic;
16 use base 'Test2::Event';
46 …my $e = Test2::Event->new(trace => Test2::EventFacet::Trace->new(frame => ['foo', 'foo.pl', 42], n…
61 …like($warnings->[0], qr/Use of Test2::Event->nested\(\) is deprecated/, "Warned about deprecation"…
62 …like($warnings->[1], qr/Use of Test2::Event->in_subtest\(\) is deprecated/, "Warned about deprecat…
66 my $e = Test2::Event::Generic->new(
83 package => 'Test2::Event::Generic',
84 details => 'Test2::Event::Generic',
102 package => 'Test2::Event::Generic',
[all …]
/openbsd-src/gnu/llvm/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 …]
/openbsd-src/gnu/llvm/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()
156 const void *EventDataBytes::GetBytesFromEvent(const Event *event_ptr) { in GetBytesFromEvent()
163 size_t EventDataBytes::GetByteSizeFromEvent(const Event *event_ptr) { in GetByteSizeFromEvent()
[all …]
/openbsd-src/gnu/usr.bin/perl/cpan/Test-Simple/t/Test2/behavior/
H A Dno_load_api.t18 require Test2::Event;
19 require Test2::Event::Bail;
20 require Test2::Event::Diag;
21 require Test2::Event::Exception;
22 require Test2::Event::Note;
23 require Test2::Event::Ok;
24 require Test2::Event::Plan;
25 require Test2::Event::Skip;
26 require Test2::Event::Subtest;
27 require Test2::Event::Waiting;
/openbsd-src/gnu/llvm/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 …]
/openbsd-src/gnu/usr.bin/perl/cpan/Test-Simple/t/Test2/modules/Tools/
H A DTiny.t79 my ($plan, $ok, $is, $isnt, $like, $unlike, $is_deeply) = grep {!$_->isa('Test2::Event::Diag')} @$main_events;
82 ok($plan->isa('Test2::Event::Plan'), "got plan");
85 ok($ok->isa('Test2::Event::Fail'), "got 'ok' result");
88 ok($is->isa('Test2::Event::Fail'), "got 'is' result");
91 ok($isnt->isa('Test2::Event::Fail'), "got 'isnt' result");
94 ok($like->isa('Test2::Event::Fail'), "got 'like' result");
97 ok($unlike->isa('Test2::Event::Fail'), "got 'unlike' result");
100 ok($is_deeply->isa('Test2::Event::Fail'), "got 'is_deeply' result");
103 ok($diag->isa('Test2::Event::Diag'), "got 'diag' result");
106 ok($note->isa('Test2::Event
[all...]
/openbsd-src/gnu/llvm/lldb/source/API/
H A DSBEvent.cpp28 : m_event_sp(new Event(event_type, new EventDataBytes(cstr, cstr_len))), 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()
114 Event *lldb_event = get(); in BroadcasterMatchesRef()
126 Event *lldb_event = get(); in Clear()
133 Event *SBEvent::get() const { in get()
149 void SBEvent::reset(Event *event_ptr) { in reset()
/openbsd-src/gnu/usr.bin/perl/cpan/Test-Simple/t/Test2/modules/IPC/Driver/
H A DFiles.t66 use base 'Test2::Event';
251 Storable::store(bless({}, 'Test2::Event::FakeEvent'), $fn);
255 qr{IPC Fatal Error: Event has unknown type \(Test2::Event::FakeEvent\), tried to load 'Test2/Event/FakeEvent\.pm' but failed: Can't locate Test2/Event/FakeEvent\.pm},
263 qr{'Test2::API=HASH\(.*\)' is not a 'Test2::Event' object},
358 $ipc->parse_event_filename(join ipc_separator, qw'GLOBAL 123 456 789 Event Type Foo.ready.complete'),
363 type => "Event::Type::Foo",
368 file => join ipc_separator, qw'GLOBAL 123 456 789 Event Typ
[all...]
/openbsd-src/gnu/usr.bin/perl/cpan/Test-Simple/t/Test2/modules/API/InterceptResult/
H A DSquasher.t6 use Test2::API::InterceptResult::Event;
17 Test2::API::InterceptResult::Event->new(facet_data => {
21 Test2::API::InterceptResult::Event->new(facet_data => {
25 Test2::API::InterceptResult::Event->new(facet_data => {
29 Test2::API::InterceptResult::Event->new(facet_data => {
35 Test2::API::InterceptResult::Event->new(facet_data => {
42 Test2::API::InterceptResult::Event->new(facet_data => {
48 Test2::API::InterceptResult::Event->new(facet_data => {
52 Test2::API::InterceptResult::Event->new(facet_data => {
57 Test2::API::InterceptResult::Event
[all...]
/openbsd-src/games/trek/
H A Dwarp.c158 percent = Event[i].evcode; in warp()
160 Event[i].date += time; in warp()
170 memcpy(p, Event, sizeof Event); in warp()
171 p += sizeof Event; in warp()
176 if (Event[i].evcode == E_FIXDV) in warp()
177 reschedule(&Event[i], Event[i].date - time); in warp()
/openbsd-src/gnu/usr.bin/perl/cpan/Test-Simple/t/Test2/modules/Event/
H A DSubtest.t5 use Test2::Event::Subtest;
6 my $st = 'Test2::Event::Subtest';
17 ok($one->isa('Test2::Event::Ok'), "Inherit from Ok");
30 require Test2::Event::Pass;
31 push @{$one->subevents} => Test2::Event::Pass->new(name => 'xxx');
45 package => 'Test2::Event::Pass',
73 package => 'Test2::Event::Pass',
H A DPlan.t5 use Test2::Event::Plan;
8 my $plan = Test2::Event::Plan->new(
36 $plan = Test2::Event::Plan->new(
43 $plan = Test2::Event::Plan->new(
53 $plan = Test2::Event::Plan->new(
65 $plan = Test2::Event::Plan->new(
77 $plan = Test2::Event::Plan->new(
87 $plan = Test2::Event::Plan->new(
96 $plan = Test2::Event::Plan->new(
110 $plan = Test2::Event::Plan->new(
[all …]
H A DNote.t5 use Test2::Event::Note;
8 my $note = Test2::Event::Note->new(
15 $note = Test2::Event::Note->new(
23 $note = Test2::Event::Note->new(
30 $note = Test2::Event::Note->new(
H A DDiag.t4 use Test2::Event::Diag;
7 my $diag = Test2::Event::Diag->new(
14 $diag = Test2::Event::Diag->new(
22 $diag = Test2::Event::Diag->new(
31 $diag = Test2::Event::Diag->new(
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/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;
/openbsd-src/gnu/usr.bin/perl/cpan/Test-Simple/t/Test2/modules/API/
H A DInterceptResult.t45 require Test2::Event::Pass;
46 my $event = Test2::Event::Pass->new(name => 'soup for you', trace => {frame => ['foo', 'foo.pl', 42]});
47 ok($event->isa('Test2::Event'), "Start with an event");
51 ok($up->isa('Test2::API::InterceptResult::Event'), "Upgraded the event");
63 require Test2::Event::V2;
64 my $subtest = 'Test2::Event::V2'->new(
76 $subup->the_subtest->{children}->[0]->isa('Test2::API::InterceptResult::Event'),
117 ok($one->[0]->isa('Test2::Event::Ok'), "Original event is not upgraded 0");
118 ok($one->[1]->isa('Test2::Event::Ok'), "Original event is not upgraded 1");
121 ok($one->[0]->isa('Test2::Event
[all...]
/openbsd-src/gnu/llvm/llvm/tools/llvm-exegesis/lib/
H A DPerfHelper.cpp97 Counter::Counter(PerfEvent &&E) : Event(std::move(E)){ in Counter()
98 assert(Event.valid()); in Counter()
103 perf_event_attr AttrCopy = *Event.attribute(); in Counter()
146 Counter::Counter(PerfEvent &&Event) : Event(std::move(Event)) {} in Counter() argument

12345678910