/llvm-project/flang/test/Semantics/ |
H A D | event02b.f90 | 2 ! This test checks for semantic errors in event wait statements based on the 23 !_________________________ invalid event-variable ________________________________ 25 !ERROR: The event-variable must be of type EVENT_TYPE from module ISO_FORTRAN_ENV 26 event wait(non_event) 28 !ERROR: A event-variable in a EVENT WAIT statement may not be a coindexed object 29 event wait(concert[1]) 31 !ERROR: A event-variable in a EVENT WAIT statement may not be a coindexed object 32 event wai [all...] |
H A D | event02a.f90 | 2 ! This test checks for semantic errors in event wait statements based on the 19 event wait(concert) 20 event wait(occurrences(1)) 21 event wait(concert, until_count=threshold) 22 event wait(concert, until_count=indexed(1)) 23 event wait(concert, until_count=co_indexed_integer[1]) 24 event wait(concert, stat=sync_status) 25 event wait(concert, until_count=threshold, stat=sync_status) 26 event wait(concert, errmsg=error_message) 27 event wait(concert, until_count=threshold, errmsg=error_message) [all …]
|
H A D | event01a.f90 | 2 ! This test checks for semantic errors in event post statements based on the 19 event post(concert) 20 event post(concert[1]) 21 event post(occurrences(1)) 22 event post(occurrences(1)[1]) 23 event post(concert, stat=sync_status) 24 event post(concert, errmsg=error_message) 25 event post(concert, stat=sync_status, errmsg=error_message) 29 !______ invalid event-variable ____________________________ 31 ! event-variable has an unknown keyword argument [all …]
|
H A D | event01b.f90 | 2 ! This test checks for semantic errors in event post statements based on the 18 type(event_type) event 32 !ERROR: Variable 'non_coarray_component1' with EVENT_TYPE or LOCK_TYPE potential component '%event' must be a coarray 34 !ERROR: Variable 'non_coarray_component2' with EVENT_TYPE or LOCK_TYPE potential component '%component%event' must be a coarray 36 !ERROR: Variable 'non_coarray_component3' with EVENT_TYPE or LOCK_TYPE potential component '%component%event' must be a coarray 55 !______ invalid event-variable ____________________________ 57 ! event-variable must be event_type 58 !ERROR: The event-variable must be of type EVENT_TYPE from module ISO_FORTRAN_ENV 59 event post(non_event) 62 event pos [all...] |
H A D | notifywait03.f90 | 39 !_____________ invalid event-wait-spec-lists: invalid until-spec _________________ 63 !______ invalid event-wait-spec-lists: redundant event-wait-spec-list ____________ 65 !ERROR: Until-spec in a event-wait-spec-list may not be repeated 68 !ERROR: Until-spec in a event-wait-spec-list may not be repeated 71 !ERROR: Until-spec in a event-wait-spec-list may not be repeated 74 !ERROR: Until-spec in a event-wait-spec-list may not be repeated 77 !ERROR: A stat-variable in a event-wait-spec-list may not be repeated 80 !ERROR: A stat-variable in a event-wait-spec-list may not be repeated 83 !ERROR: A stat-variable in a event-wait-spec-list may not be repeated 86 !ERROR: A stat-variable in a event-wait-spec-list may not be repeated [all …]
|
H A D | event_query.f90 | 20 call event_query(event=concert, count=counter) 21 call event_query(count=counter, event=concert) 26 call event_query(event=concert, count=counter, stat=sync_status) 27 call event_query(stat=sync_status, count=counter, event=concert) 31 ! event-variable must be event_type 32 ! ERROR: Actual argument for 'event=' has bad type 'INTEGER(4)' 35 ! event-variable must be a scalar variable 36 ! ERROR: 'event=' argument has unacceptable rank 1 39 ! event-variable must not be coindexed 40 ! ERROR: EVENT [all...] |
/llvm-project/compiler-rt/lib/tsan/tests/rtl/ |
H A D | tsan_test_util_posix.cpp | 189 struct Event { struct 216 explicit Event(Type type, const void *ptr = 0, uptr arg = 0, uptr arg2 = 0) in Event() argument 235 __tsan::atomic_uintptr_t event; // 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() [all …]
|
/llvm-project/lldb/source/Plugins/Process/Utility/ |
H A D | GDBRemoteSignals.cpp | 45 AddSignal(23, "SIGIO", false, true, true, "input/output ready/Pollable event"); in Reset() 55 AddSignal(33, "SIGPOLL", false, true, true, "pollable event"); in Reset() 68 AddSignal(45, "SIG33", false, false, false, "real-time event 33"); in Reset() 69 AddSignal(46, "SIG34", false, false, false, "real-time event 34"); in Reset() 70 AddSignal(47, "SIG35", false, false, false, "real-time event 35"); in Reset() 71 AddSignal(48, "SIG36", false, false, false, "real-time event 36"); in Reset() 72 AddSignal(49, "SIG37", false, false, false, "real-time event 37"); in Reset() 73 AddSignal(50, "SIG38", false, false, false, "real-time event 38"); in Reset() 74 AddSignal(51, "SIG39", false, false, false, "real-time event 39"); in Reset() 75 AddSignal(52, "SIG40", false, false, false, "real-time event 40"); in Reset() [all …]
|
/llvm-project/lldb/test/API/python_api/event/ |
H A D | TestEvents.py | 2 Test lldb Python event APIs. 64 # Create an empty event object. 65 event = lldb.SBEvent() 71 # Create MyListeningThread class to wait for any kind of event. 77 # Let's only try at most 4 times to retrieve any kind of event. 81 print("Try wait for event...") 82 if listener.WaitForEvent(5, event): 84 desc = lldbutil.get_description(event) 85 print("Event description:", desc) 86 print("Event dat [all...] |
/llvm-project/lldb/source/API/ |
H A D | SBListener.cpp | 59 void SBListener::AddEvent(const SBEvent &event) { in AddEvent() argument 60 LLDB_INSTRUMENT_VA(this, event); in AddEvent() 62 EventSP &event_sp = event.GetSP(); in AddEvent() 129 bool SBListener::WaitForEvent(uint32_t timeout_secs, SBEvent &event) { in WaitForEvent() argument 130 LLDB_INSTRUMENT_VA(this, timeout_secs, event); in WaitForEvent() 143 event.reset(event_sp); in WaitForEvent() 149 event.reset(nullptr); in WaitForEvent() 155 SBEvent &event) { in WaitForEventForBroadcaster() argument 156 LLDB_INSTRUMENT_VA(this, num_seconds, broadcaster, event); in WaitForEventForBroadcaster() 165 event.reset(event_sp); in WaitForEventForBroadcaster() [all …]
|
/llvm-project/lldb/test/API/api/listeners/ |
H A D | TestListener.py | 15 """Make sure we also clear listerers from the hook up for event type manager""" 44 event = lldb.SBEvent() 45 my_listener.WaitForEvent(1, event) 47 not event.IsValid(), "We don't get events we aren't listening to." 51 """Test that we get breakpoint added events, waiting on event classes on the debugger""" 65 event = lldb.SBEvent() 66 my_listener.WaitForEvent(1, event) 68 self.assertTrue(event.IsValid(), "Got a valid event.") 70 lldb.SBBreakpoint.EventIsBreakpointEvent(event), "It is a breakpoint event." 73 lldb.SBBreakpoint.GetBreakpointEventTypeFromEvent(event), [all …]
|
/llvm-project/lldb/bindings/interface/ |
H A D | SBEventDocstrings.i | 6 Try wait for event... 7 …Event description: 0x103d0bb70 Event: broadcaster = 0x1009c8410, type = 0x00000001, data = { proce… 8 Event data flavor: Process::ProcessEventData 11 Try wait for event... 12 …Event description: 0x103a700a0 Event: broadcaster = 0x1009c8410, type = 0x00000001, data = { proce… 13 Event data flavor: Process::ProcessEventData 16 Try wait for event... 17 …Event description: 0x103d0d4a0 Event: broadcaster = 0x1009c8410, type = 0x00000001, data = { proce… 18 Event data flavor: Process::ProcessEventData 21 Try wait for event... [all …]
|
/llvm-project/lldb/include/lldb/Utility/ |
H A D | Event.h | 1 //===-- Event.h -------------------------------------------------*- C++ -*-===// 29 class Event; variable 37 friend class Event; variable 52 /// listeners after the primary listener pulled the event from the event queue 53 /// and ran its DoOnRemoval, right before the event is delivered. 54 /// If it returns true, the event will also be forwarded to the secondary 55 /// listeners, and if false, event propagation stops at the primary listener. 57 /// a private Listener, and then forward the event to the Public Listeners 60 virtual bool ForwardEventToPendingListeners(Event *event_pt [all...] |
/llvm-project/lldb/test/API/functionalities/interactive_scripted_process/ |
H A D | TestInteractiveScriptedProcess.py | 26 # so the basic event flow is right, but somehow the handling is off. 39 event = lldbutil.fetch_next_event( 42 self.assertState(lldb.SBProcess.GetStateFromEvent(event), lldb.eStateRunning) 43 event = lldbutil.fetch_next_event( 46 self.assertState(lldb.SBProcess.GetStateFromEvent(event), lldb.eStateStopped) 48 event = lldbutil.fetch_next_event( 51 self.assertState(lldb.SBProcess.GetStateFromEvent(event), lldb.eStateRunning) 52 event = lldbutil.fetch_next_event( 55 self.assertState(lldb.SBProcess.GetStateFromEvent(event), lldb.eStateStopped) 89 event = lldbutil.fetch_next_event( [all …]
|
/llvm-project/lldb/source/Utility/ |
H A D | Event.cpp | 1 //===-- Event.cpp ---------------------------------------------------------===// 9 #include "lldb/Utility/Event.h" 29 #pragma mark Event 31 // Event functions 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_ function in Event 45 Event::Event(uint32_t event_type, const EventDataSP &event_data_sp) Event() function in Event [all...] |
/llvm-project/mlir/lib/Debug/Observers/ |
H A D | ActionProfiler.cpp | 26 print(action, "B"); // begin event. in beforeExecute() 30 print(action, "E"); // end event. in afterExecute() 33 // Print an event in JSON format. 36 // Create the event. in print() 38 llvm::raw_string_ostream event(str); in print() local 39 event << "{"; in print() 40 event << R"("name": ")" << action->getAction().getTag() << "\", "; in print() 41 event << R"("cat": "PERF", )"; in print() 42 event << R"("ph": ")" << phase << "\", "; in print() 43 event << in print() [all...] |
/llvm-project/lldb/test/API/commands/trace/ |
H A D | TestTraceEvents.py | 24 0: (event) HW clock tick [40450075477621505] 25 1: (event) CPU core changed [new CPU=51] 26 2: (event) HW clock tick [40450075477657246] 27 3: (event) trace synchronization point [offset = 0x0x1331] 37 "event": "HW clock tick", 42 "event": "CPU core changed", 51 Everytime the target stops running on the CPU, a 'disabled' event will 53 event. 72 0: \(event\) trace synchronization point \[offset \= 0x0xec0\] 73 1: \(event\) hardware disabled tracing [all …]
|
/llvm-project/lldb/tools/lldb-dap/ |
H A D | ProgressEvent.h | 29 /// Actual constructor to use that returns an optional, as the event might be 30 /// not apt for the IDE, e.g. an unnamed start event, or a redundant one. 33 /// ID for this event. 45 /// Previous event if this one is an update. If \b nullptr, then a start 46 /// event will be created. 55 /// \b true if two event messages would result in the same event for the 63 /// Report this progress event to the provided callback only if enough time 64 /// has passed since the creation of the event and since the previous reported 85 /// Class that keeps the start event an [all...] |
H A D | ProgressEvent.cpp | 18 // The minimum duration of an event for it to be reported 36 // Start event in ProgressEvent() 38 // Wait a bit before reporting the start event in case in completes really in ProgressEvent() 45 // End event in ProgressEvent() 47 // We should report the end event right away. in ProgressEvent() 52 // Update event in ProgressEvent() 72 // If it's an update without a previous event, we abort in Create() 75 ProgressEvent event(progress_id, message, completed, total, prev_event); in Create() local 77 if (event.GetEventType() == progressStart && event in Create() 107 llvm::json::Object event(CreateEventObject(GetEventName())); ToJSON() local 170 if (std::optional<ProgressEvent> event = ProgressEvent::Create( Update() local 223 if (std::optional<ProgressEvent> event = ProgressEvent::Create( Push() local [all...] |
/llvm-project/lldb/test/API/python_api/default-constructor/ |
H A D | sb_listener.py | 12 event = lldb.SBEvent() 14 obj.WaitForEvent(5, event) 15 obj.WaitForEventForBroadcaster(5, broadcaster, event) 16 obj.WaitForEventForBroadcasterWithType(5, broadcaster, 0xFFFFFFFF, event) 17 obj.PeekAtNextEvent(event) 18 obj.PeekAtNextEventForBroadcaster(broadcaster, event) 19 obj.PeekAtNextEventForBroadcasterWithType(broadcaster, 0xFFFFFFFF, event) 20 obj.GetNextEvent(event) 21 obj.GetNextEventForBroadcaster(broadcaster, event) 22 obj.GetNextEventForBroadcasterWithType(broadcaster, 0xFFFFFFFF, event) [all …]
|
/llvm-project/clang/lib/DirectoryWatcher/linux/ |
H A D | DirectoryWatcher-linux.cpp | 88 std::queue<DirectoryWatcher::Event> Events; 91 void push_back(const DirectoryWatcher::Event::EventKind K, in push_back() 101 // event to return. 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; 163 // Push event of WatcherGotInvalidated kind to the Queue to stop the loop. 170 Queue.push_back(DirectoryWatcher::Event::EventKind::WatcherGotInvalidated, in StopWork() 237 // event for stopping, it must be an inotify event ready for reading. in InotifyPollingLoop() [all …]
|
/llvm-project/lldb/test/API/commands/watchpoints/watchpoint_events/ |
H A D | TestWatchpointEvents.py | 86 # We added a watchpoint so we should get a watchpoint added event. 87 event = lldb.SBEvent() 88 success = self.listener.WaitForEvent(1, event) 89 self.assertTrue(success, "Successfully got watchpoint event") 91 lldb.SBWatchpoint.EventIsWatchpointEvent(event), 92 "Event is a watchpoint event.", 94 found_type = lldb.SBWatchpoint.GetWatchpointEventTypeFromEvent(event) 98 "Event is not correct type, expected: %d, found: %d" 101 # There shouldn't be another event waiting around: 103 self.target_bcast, lldb.SBTarget.eBroadcastBitBreakpointChanged, event [all …]
|
/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() 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 …]
|
/llvm-project/llvm/test/ExecutionEngine/ |
H A D | test-interp-target-ext-type.ll |
|
/llvm-project/lldb/source/Plugins/Process/Linux/ |
H A D | Perf.h | 77 /// Exposes the metadata page and data and aux buffers of a perf event. 78 /// Handles the management of the event's file descriptor and mmap'ed 82 /// Create a new performance monitoring event via the perf_event_open syscall. 89 /// Configuration information for the event. 92 /// The process or thread to be monitored by the event. If \b None, then 96 /// The cpu to be monitored by the event. If \b None, then all cpus are 115 /// Create a new performance monitoring event via the perf_event_open syscall 118 /// Convenience method to be used when the perf event requires minimal 122 /// Configuration information for the event. 125 /// The process or thread to be monitored by the event. If \b [all …]
|