/netbsd-src/sys/external/bsd/acpica/dist/compiler/ |
H A D | aslcompile.c | 95 UINT8 Event; in CmDoCompile() local 100 Event = UtBeginEvent ("Open input and output files"); in CmDoCompile() 101 UtEndEvent (Event); in CmDoCompile() 103 Event = UtBeginEvent ("Preprocess input file"); in CmDoCompile() 119 UtEndEvent (Event); in CmDoCompile() 123 UtEndEvent (Event); in CmDoCompile() 128 Event = UtBeginEvent ("Parse source code and build parse tree"); in CmDoCompile() 130 UtEndEvent (Event); in CmDoCompile() 168 Event = UtBeginEvent ("Flush source input"); in CmDoCompile() 184 UtEndEvent (Event); in CmDoCompile() 212 UINT8 Event; CmDoAslMiddleAndBackEnd() local 701 ASL_EVENT_INFO *Event; CmDumpAllEvents() local [all...] |
H A D | dtcompile.c | 89 UINT8 Event; in DtDoCompile() local 104 Event = UtBeginEvent ("Preprocess input file"); in DtDoCompile() 106 UtEndEvent (Event); in DtDoCompile() 118 Event = UtBeginEvent ("Parse data table in prototype mode"); in DtDoCompile() 125 UtEndEvent (Event); in DtDoCompile() 133 Event = UtBeginEvent ("Scan and parse input file"); in DtDoCompile() 135 UtEndEvent (Event); in DtDoCompile() 150 Event = UtBeginEvent ("Compile parse tree"); in DtDoCompile() 153 UtEndEvent (Event); in DtDoCompile()
|
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/tsan/tests/rtl/ |
H A D | tsan_test_util_posix.cc | 192 struct Event { struct 219 Event(Type type, const void *ptr = 0, uptr arg = 0, uptr arg2 = 0) in Event() argument 242 void send(Event *ev); 243 void HandleEvent(Event *ev); 246 void ScopedThread::Impl::HandleEvent(Event *ev) { in HandleEvent() 252 case Event::READ: in HandleEvent() 253 case Event::WRITE: { in HandleEvent() 255 if (ev->type == Event::READ) { in HandleEvent() 283 case Event::VPTR_UPDATE: in HandleEvent() 286 case Event::CALL: in HandleEvent() [all …]
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/DirectoryWatcher/linux/ |
H A D | DirectoryWatcher-linux.cpp | 86 std::queue<DirectoryWatcher::Event> Events; 89 void push_back(const DirectoryWatcher::Event::EventKind K, in push_back() 100 DirectoryWatcher::Event pop_front_blocking() { in pop_front_blocking() 106 DirectoryWatcher::Event Front = Events.front(); in pop_front_blocking() 119 std::function<void(llvm::ArrayRef<Event>, bool)> Receiver, 142 std::function<void(llvm::ArrayRef<Event>, bool)> Receiver; 168 Queue.push_back(DirectoryWatcher::Event::EventKind::WatcherGotInvalidated, in StopWork() 245 struct inotify_event *Event = reinterpret_cast<struct inotify_event *>(P); in InotifyPollingLoop() local 246 P += sizeof(struct inotify_event) + Event->len; in InotifyPollingLoop() 248 if (Event->mask & (IN_CREATE | IN_MODIFY | IN_MOVED_TO | IN_DELETE) && in InotifyPollingLoop() [all …]
|
/netbsd-src/sys/external/bsd/acpica/dist/events/ |
H A D | evxfevnt.c | 191 UINT32 Event, in ACPI_EXPORT_SYMBOL() 210 if (Event > ACPI_EVENT_MAX) in ACPI_EXPORT_SYMBOL() 220 AcpiGbl_FixedEventInfo[Event].EnableRegisterId, in ACPI_EXPORT_SYMBOL() 230 AcpiGbl_FixedEventInfo[Event].EnableRegisterId, &Value); in ACPI_EXPORT_SYMBOL() 239 "Could not enable %s event", AcpiUtGetEventName (Event))); in ACPI_EXPORT_SYMBOL() 264 UINT32 Event, in ACPI_EXPORT_SYMBOL() 283 if (Event > ACPI_EVENT_MAX) in ACPI_EXPORT_SYMBOL() 293 AcpiGbl_FixedEventInfo[Event].EnableRegisterId, in ACPI_EXPORT_SYMBOL() 301 AcpiGbl_FixedEventInfo[Event].EnableRegisterId, &Value); in ACPI_EXPORT_SYMBOL() 310 "Could not disable %s events", AcpiUtGetEventName (Event))); in ACPI_EXPORT_SYMBOL() [all …]
|
H A D | evevent.c | 61 UINT32 Event); 306 UINT32 Event) in AcpiEvFixedEventDispatch() argument 315 AcpiGbl_FixedEventInfo[Event].StatusRegisterId, in AcpiEvFixedEventDispatch() 322 if (!AcpiGbl_FixedEventHandlers[Event].Handler) in AcpiEvFixedEventDispatch() 325 AcpiGbl_FixedEventInfo[Event].EnableRegisterId, in AcpiEvFixedEventDispatch() 330 AcpiUtGetEventName (Event), Event)); in AcpiEvFixedEventDispatch() 337 return ((AcpiGbl_FixedEventHandlers[Event].Handler)( in AcpiEvFixedEventDispatch() 338 AcpiGbl_FixedEventHandlers[Event].Context)); in AcpiEvFixedEventDispatch()
|
H A D | evxface.c | 708 UINT32 Event, in ACPI_EXPORT_SYMBOL() 720 if (Event > ACPI_EVENT_MAX) in ACPI_EXPORT_SYMBOL() 733 if (AcpiGbl_FixedEventHandlers[Event].Handler) in ACPI_EXPORT_SYMBOL() 741 AcpiGbl_FixedEventHandlers[Event].Handler = Handler; in ACPI_EXPORT_SYMBOL() 742 AcpiGbl_FixedEventHandlers[Event].Context = Context; in ACPI_EXPORT_SYMBOL() 744 Status = AcpiEnableEvent (Event, 0); in ACPI_EXPORT_SYMBOL() 749 AcpiUtGetEventName (Event), Event)); in ACPI_EXPORT_SYMBOL() 753 AcpiGbl_FixedEventHandlers[Event].Handler = NULL; in ACPI_EXPORT_SYMBOL() 754 AcpiGbl_FixedEventHandlers[Event].Context = NULL; in ACPI_EXPORT_SYMBOL() 760 AcpiUtGetEventName (Event), Event, Handler)); in ACPI_EXPORT_SYMBOL() [all …]
|
/netbsd-src/external/apache2/llvm/dist/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 …]
|
/netbsd-src/sys/external/bsd/gnu-efi/dist/lib/ |
H A D | event.c | 37 EFI_EVENT Event; in LibCreateProtocolNotifyEvent() local 50 &Event in LibCreateProtocolNotifyEvent() 63 Event, in LibCreateProtocolNotifyEvent() 74 uefi_call_wrapper(BS->SignalEvent, 1, Event); in LibCreateProtocolNotifyEvent() 75 return Event; in LibCreateProtocolNotifyEvent() 81 IN EFI_EVENT Event, in WaitForSingleEvent() argument 108 WaitList[0] = Event; in WaitForSingleEvent() 128 Status = uefi_call_wrapper(BS->WaitForEvent, 3, 1, &Event, &Index); in WaitForSingleEvent() 138 IN EFI_EVENT Event, in WaitForEventWithTimeout() argument 151 Status = WaitForSingleEvent (Event, 10000000); in WaitForEventWithTimeout()
|
/netbsd-src/games/trek/ |
H A D | warp.c | 167 percent = Event[i].evcode; in warp() 169 Event[i].date += time; in warp() 179 memcpy(p, Event, sizeof Event); in warp() 180 p += sizeof Event; in warp() 186 if (Event[i].evcode == E_FIXDV) in warp() 187 reschedule(&Event[i], Event[i].date - time); in warp()
|
/netbsd-src/external/apache2/llvm/dist/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() 71 for (const ResourceUse &Use : Event.UsedResources) { in handleInstructionIssuedEvent() 106 void PressureTracker::handlePressureEvent(const HWPressureEvent &Event) { in handlePressureEvent() argument 107 assert(Event.Reason != HWPressureEvent::INVALID && in handlePressureEvent() 110 switch (Event.Reason) { in handlePressureEvent() 115 const uint64_t ResourceMask = Event.ResourceMask; in handlePressureEvent() 116 updateResourcePressureDistribution(Event.ResourceMask); in handlePressureEvent() 118 for (const InstRef &IR : Event.AffectedInstructions) { in handlePressureEvent() 131 for (const InstRef &IR : Event.AffectedInstructions) { in handlePressureEvent() [all …]
|
H A D | DispatchStatistics.cpp | 21 void DispatchStatistics::onEvent(const HWStallEvent &Event) { in onEvent() argument 22 if (Event.Type < HWStallEvent::LastGenericEvent) in onEvent() 23 HWStalls[Event.Type]++; in onEvent() 26 void DispatchStatistics::onEvent(const HWInstructionEvent &Event) { in onEvent() argument 27 if (Event.Type != HWInstructionEvent::Dispatched) in onEvent() 30 const auto &DE = static_cast<const HWInstructionDispatchedEvent &>(Event); in onEvent()
|
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 | 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()
|
H A D | SummaryView.cpp | 40 void SummaryView::onEvent(const HWInstructionEvent &Event) { in onEvent() argument 41 if (Event.Type == HWInstructionEvent::Dispatched) in onEvent() 42 LastInstructionIdx = Event.IR.getSourceIndex(); in onEvent() 46 if (Event.Type != HWInstructionEvent::Retired || in onEvent() 47 Event.IR.getSourceIndex() >= Source.size()) in onEvent() 54 const Instruction &Inst = *Event.IR.getInstruction(); in onEvent()
|
H A D | ResourcePressureView.cpp | 44 void ResourcePressureView::onEvent(const HWInstructionEvent &Event) { in onEvent() argument 45 if (Event.Type == HWInstructionEvent::Dispatched) { in onEvent() 46 LastInstructionIdx = Event.IR.getSourceIndex(); in onEvent() 51 if (Event.Type != HWInstructionEvent::Issued) in onEvent() 54 const auto &IssueEvent = static_cast<const HWInstructionIssuedEvent &>(Event); in onEvent() 56 const unsigned SourceIdx = Event.IR.getSourceIndex() % Source.size(); in onEvent()
|
/netbsd-src/external/bsd/ntp/dist/include/ |
H A D | ntpsim.h | 77 } Event; typedef 136 Event *event (double t, funcTkn f); 137 void sim_event_timer (Event *e); 140 void sim_update_clocks (Event *e); 141 void sim_event_recv_packet (Event *e); 142 void sim_event_beep (Event *e);
|
/netbsd-src/external/bsd/ntp/dist/ntpd/ |
H A D | ntpsim.c | 20 int determine_event_ordering(const Event *e1, const Event *e2); 33 void (*event_ptr[]) (Event *) = { 44 const Event *e1, in determine_event_ordering() 45 const Event *e2 in determine_event_ordering() 108 Event * curr_event; in ntpsim() 211 Event *event(double t, funcTkn f) in event() 213 Event *e; in event() 228 void sim_event_timer(Event *e) in sim_event_timer() 268 Event *e; /* Packet receive event */ in simulate_server() 386 void sim_update_clocks(Event *e) in sim_update_clocks() [all …]
|
/netbsd-src/external/gpl3/gcc/dist/libsanitizer/tsan/ |
H A D | tsan_trace.h | 41 typedef u64 Event; typedef 83 struct Event { struct 93 static_assert(sizeof(Event) == 8, "bad Event size"); argument 96 static constexpr Event NopEvent = {1, 0, EventType::kAccessExt, 0}; 196 (kByteSize - sizeof(TraceHeader)) / sizeof(Event); 203 Event events[kSize]; 212 Event* final_pos =
|
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-exegesis/lib/ |
H A D | PerfHelper.cpp | 97 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
|
/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/sync/ |
H A D | event.d | 71 struct Event struct 133 @disable void opAssign(Event); 303 Event ev1 = Event(false, false); argument 310 Event ev2 = Event(true, true); 321 scope event = new Event(true, false);
|
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-profgen/ |
H A D | PerfReader.cpp | 304 void PerfReader::updateBinaryAddress(const MMapEvent &Event) { in updateBinaryAddress() argument 306 StringRef BinaryPath = Event.BinaryPath; in updateBinaryAddress() 312 if (I == BinaryTable.end() || Event.BaseAddress == I->second.getBaseAddress()) in updateBinaryAddress() 320 AddrToBinaryMap[Event.BaseAddress] = &Binary; in updateBinaryAddress() 323 Binary.setBaseAddress(Event.BaseAddress); in updateBinaryAddress() 606 MMapEvent Event; in parseMMap2Event() local 607 Fields[PID].getAsInteger(10, Event.PID); in parseMMap2Event() 608 Fields[BASE_ADDRESS].getAsInteger(0, Event.BaseAddress); in parseMMap2Event() 609 Fields[MMAPPED_SIZE].getAsInteger(0, Event.Size); in parseMMap2Event() 610 Fields[PAGE_OFFSET].getAsInteger(0, Event.Offset); in parseMMap2Event() [all …]
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/DirectoryWatcher/ |
H A D | DirectoryScanner.cpp | 42 std::vector<DirectoryWatcher::Event> 44 std::vector<DirectoryWatcher::Event> Events; in getAsFileEvents() 48 Events.emplace_back(DirectoryWatcher::Event{ in getAsFileEvents() 49 DirectoryWatcher::Event::EventKind::Modified, File}); in getAsFileEvents()
|
/netbsd-src/sys/external/bsd/acpica/dist/executer/ |
H A D | exsystem.c | 276 Status = AcpiOsSignalSemaphore (ObjDesc->Event.OsSemaphore, 1); in AcpiExSystemSignalEvent() 311 Status = AcpiExSystemWaitSemaphore (ObjDesc->Event.OsSemaphore, in AcpiExSystemWaitEvent() 349 (void) AcpiOsDeleteSemaphore (ObjDesc->Event.OsSemaphore); in AcpiExSystemResetEvent() 350 ObjDesc->Event.OsSemaphore = TempSemaphore; in AcpiExSystemResetEvent()
|
/netbsd-src/crypto/external/cpl/trousers/dist/src/tcs/ |
H A D | tcsi_evlog.c | 31 TSS_PCR_EVENT Event, /* in */ in TCS_LogPcrEvent_Internal() argument 39 if(Event.ulPcrIndex >= tpm_metrics.num_pcrs) in TCS_LogPcrEvent_Internal() 42 if (tcsd_options.kernel_pcrs & (1 << Event.ulPcrIndex)) { in TCS_LogPcrEvent_Internal() 44 Event.ulPcrIndex); in TCS_LogPcrEvent_Internal() 48 if (tcsd_options.firmware_pcrs & (1 << Event.ulPcrIndex)) { in TCS_LogPcrEvent_Internal() 50 Event.ulPcrIndex); in TCS_LogPcrEvent_Internal() 54 return event_log_add(&Event, pNumber); in TCS_LogPcrEvent_Internal()
|