/third_party/pulseaudio/src/pulse/ |
H A D | context.c | 1590 const char *event; local 1607 if (pa_tagstruct_gets(t, &event) < 0 || 1609 !pa_tagstruct_eof(t) || !event) { 1615 c->event_callback(c, event, pl, c->event_userdata);
|
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/ |
H A D | VkCommandBuffer.cpp | 926 const VkPipelineStageFlags stageMask; // TODO(b/117835459): We currently ignore the flags and signal the event at the last stage 947 const VkPipelineStageFlags stageMask; // FIXME(b/117835459): We currently ignore the flags and reset the event at the last stage 1663 void CommandBuffer::setEvent(Event *event, VkPipelineStageFlags stageMask) in setEvent() argument 1667 addCommand<::CmdSignalEvent>(event, stageMask); in setEvent() 1670 void CommandBuffer::resetEvent(Event *event, VkPipelineStageFlags stageMask) in resetEvent() argument 1674 addCommand<::CmdResetEvent>(event, stageMask); in resetEvent()
|
/third_party/skia/third_party/externals/microhttpd/src/microhttpd/ |
H A D | connection.c | 972 * the next round of the event loop. 2678 of the event loop, as we're waiting on the application */ 2723 struct epoll_event event; local 2725 event.events = EPOLLIN | EPOLLOUT | EPOLLET; 2726 event.data.ptr = connection; 2730 &event))
|
/foundation/ability/ability_runtime/test/unittest/appkit/main_thread_test/ |
H A D | main_thread_test.cpp | 2019 * @tc.desc: Main handler process event. 2027 auto event = InnerEvent::Get(callback, name); in HWTEST_F() local 2028 mainThread_->mainHandler_->ProcessEvent(event); in HWTEST_F() 2030 event->innerEventId_ = CHECK_MAIN_THREAD_IS_ALIVE; in HWTEST_F() 2031 mainThread_->mainHandler_->ProcessEvent(event); in HWTEST_F() 2035 mainThread_->mainHandler_->ProcessEvent(event); in HWTEST_F() 2195 want.SetAction("usual.event.OVERLAY_STATE_CHANGED"); in HWTEST_F() 2226 want.SetAction("usual.event.OVERLAY_STATE_CHANGED"); in HWTEST_F()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_textfield.cpp | 1030 NG::TextFieldCommonEvent& event) { in CreateJsTextFieldCommonEvent() 1037 object->SetProperty<std::string>("text", event.GetText()); in CreateJsTextFieldCommonEvent() 1039 object->Wrap<NG::TextFieldCommonEvent>(&event); in CreateJsTextFieldCommonEvent() 1045 UiSessionManager::GetInstance().ReportComponentChangeEvent("event", "onSubmit"); in CreateJsTextFieldCommonEvent() 1130 JSRef<JSVal> JSTextField::CreateJSTextCommonEvent(NG::TextCommonEvent& event) in CreateJSTextCommonEvent() argument 1136 object->Wrap<NG::TextCommonEvent>(&event); in CreateJSTextCommonEvent() 1153 UiSessionManager::GetInstance().ReportComponentChangeEvent("event", "onPaste"); in SetOnPaste()
|
/foundation/multimedia/audio_framework/services/audio_policy/server/src/ |
H A D | audio_policy_manager_stub.cpp | 2146 InterruptEvent event; in InjectInterruptionInternal() local 2147 event.eventType = static_cast<InterruptType>(data.ReadInt32()); in InjectInterruptionInternal() 2148 event.forceType = static_cast<InterruptForceType>(data.ReadInt32()); in InjectInterruptionInternal() 2149 event.hintType = static_cast<InterruptHint>(data.ReadInt32()); in InjectInterruptionInternal() 2151 int32_t result = InjectInterruption(networkId, event); in InjectInterruptionInternal()
|
/foundation/multimedia/camera_framework/services/camera_service/src/ |
H A D | hcamera_service.cpp | 1614 void HCameraService::DropDetectionDataCallbackImpl(SensorEvent* event) in DropDetectionDataCallbackImpl() argument 1617 CHECK_ERROR_RETURN_LOG(event == nullptr, "SensorEvent is nullptr."); in DropDetectionDataCallbackImpl() 1618 CHECK_ERROR_RETURN_LOG(event[0].data == nullptr, "SensorEvent[0].data is nullptr."); in DropDetectionDataCallbackImpl() 1619 CHECK_ERROR_RETURN_LOG(event[0].dataLen < sizeof(DropDetectionData), in DropDetectionDataCallbackImpl() 1620 "less than drop detection data size, event.dataLen:%{public}u", event[0].dataLen); in DropDetectionDataCallbackImpl()
|
/kernel/linux/linux-5.10/sound/pci/ |
H A D | es1968.c | 1958 u32 event; in snd_es1968_interrupt() local 1960 if (!(event = inb(chip->io_port + 0x1A))) in snd_es1968_interrupt() 1965 if (event & ESM_HWVOL_IRQ) in snd_es1968_interrupt() 1971 if ((event & ESM_MPU401_IRQ) && chip->rmidi) { in snd_es1968_interrupt() 1975 if (event & ESM_SOUND_IRQ) { in snd_es1968_interrupt()
|
/kernel/linux/linux-5.10/sound/soc/ |
H A D | soc-pcm.c | 279 /* DPCM stream event, send event to FE and all active BEs. */ 281 int event) in dpcm_dapm_stream_event() 289 dev_dbg(be->dev, "ASoC: BE %s event %d dir %d\n", in dpcm_dapm_stream_event() 290 be->dai_link->name, event, dir); in dpcm_dapm_stream_event() 292 if ((event == SND_SOC_DAPM_STREAM_STOP) && in dpcm_dapm_stream_event() 296 snd_soc_dapm_stream_event(be, dir, event); in dpcm_dapm_stream_event() 299 snd_soc_dapm_stream_event(fe, dir, event); in dpcm_dapm_stream_event() 1883 /* run the stream event for each BE */ in dpcm_fe_dai_shutdown() 2390 /* run the stream event fo in dpcm_fe_dai_prepare() 280 dpcm_dapm_stream_event(struct snd_soc_pcm_runtime *fe, int dir, int event) dpcm_dapm_stream_event() argument [all...] |
/kernel/linux/linux-5.10/drivers/message/fusion/ |
H A D | mptscsih.c | 720 /* else fibre, just stall until rescan event */ in mptscsih_io_done() 2434 ioc->events[idx].event = MPI_EVENT_SCSI_DEVICE_STATUS_CHANGE; in mptscsih_copy_sense_data() 2583 u8 event = le32_to_cpu(pEvReply->Event) & 0xFF; in mptscsih_event_process() local 2586 "MPT event (=%02Xh) routed to SCSI host driver!\n", in mptscsih_event_process() 2587 ioc->name, event)); in mptscsih_event_process() 2589 if ((event == MPI_EVENT_IOC_BUS_RESET || in mptscsih_event_process() 2590 event == MPI_EVENT_EXT_BUS_RESET) && in mptscsih_event_process()
|
/kernel/linux/linux-5.10/drivers/pci/controller/ |
H A D | pci-hyperv.c | 556 * This function is used to trigger an event and report status 1671 struct completion *event; in survey_child_resources() local 1676 event = xchg(&hbus->survey_event, NULL); in survey_child_resources() 1677 if (!event) in survey_child_resources() 1682 complete(event); in survey_child_resources() 1723 complete(event); in survey_child_resources()
|
/kernel/linux/linux-5.10/drivers/staging/ks7010/ |
H A D | ks_wlan_net.c | 1246 * Rate : stuffing multiple values in a single event in ks_wlan_translate_scan() 1264 /* Add new value to event */ in ks_wlan_translate_scan() 1269 /* Check if we added any event */ in ks_wlan_translate_scan() 2192 static void print_hif_event(struct net_device *dev, int event) in print_hif_event() argument 2194 switch (event) { in print_hif_event() 2309 int i, event; in ks_wlan_hostt() local 2313 event = in ks_wlan_hostt() 2316 print_hif_event(dev, event); in ks_wlan_hostt()
|
/kernel/linux/linux-6.6/drivers/message/fusion/ |
H A D | mptscsih.c | 720 /* else fibre, just stall until rescan event */ in mptscsih_io_done() 2433 ioc->events[idx].event = MPI_EVENT_SCSI_DEVICE_STATUS_CHANGE; in mptscsih_copy_sense_data() 2582 u8 event = le32_to_cpu(pEvReply->Event) & 0xFF; in mptscsih_event_process() local 2585 "MPT event (=%02Xh) routed to SCSI host driver!\n", in mptscsih_event_process() 2586 ioc->name, event)); in mptscsih_event_process() 2588 if ((event == MPI_EVENT_IOC_BUS_RESET || in mptscsih_event_process() 2589 event == MPI_EVENT_EXT_BUS_RESET) && in mptscsih_event_process()
|
/kernel/linux/linux-6.6/drivers/staging/ks7010/ |
H A D | ks_wlan_net.c | 1245 * Rate : stuffing multiple values in a single event in ks_wlan_translate_scan() 1263 /* Add new value to event */ in ks_wlan_translate_scan() 1268 /* Check if we added any event */ in ks_wlan_translate_scan() 2195 static void print_hif_event(struct net_device *dev, int event) in print_hif_event() argument 2197 switch (event) { in print_hif_event() 2312 int i, event; in ks_wlan_hostt() local 2316 event = in ks_wlan_hostt() 2319 print_hif_event(dev, event); in ks_wlan_hostt()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/dispnv50/ |
H A D | disp.c | 49 #include <nvif/event.h> 2131 if (new_crtc_state->event) in nv50_disp_atomic_commit_tail() 2218 if (new_crtc_state->event) { in nv50_disp_atomic_commit_tail() 2224 drm_crtc_send_vblank_event(crtc, new_crtc_state->event); in nv50_disp_atomic_commit_tail() 2227 new_crtc_state->event = NULL; in nv50_disp_atomic_commit_tail()
|
/kernel/linux/linux-6.6/drivers/scsi/hisi_sas/ |
H A D | hisi_sas_main.c | 908 enum hisi_sas_phy_event event) in hisi_sas_phyup_work_common() 911 container_of(work, typeof(*phy), works[event]); in hisi_sas_phyup_work_common() 954 enum hisi_sas_phy_event event) in hisi_sas_notify_phy_event() 958 if (WARN_ON(event >= HISI_PHYES_NUM)) in hisi_sas_notify_phy_event() 961 return queue_work(hisi_hba->wq, &phy->works[event]); in hisi_sas_notify_phy_event() 1539 /* Init and wait for PHYs to come up and all libsas event finished. */ in hisi_sas_controller_reset_done() 907 hisi_sas_phyup_work_common(struct work_struct *work, enum hisi_sas_phy_event event) hisi_sas_phyup_work_common() argument 953 hisi_sas_notify_phy_event(struct hisi_sas_phy *phy, enum hisi_sas_phy_event event) hisi_sas_notify_phy_event() argument
|
/kernel/linux/linux-6.6/sound/soc/ |
H A D | soc-pcm.c | 345 /* DPCM stream event, send event to FE and all active BEs. */ 347 int event) in dpcm_dapm_stream_event() 357 dev_dbg(be->dev, "ASoC: BE %s event %d dir %d\n", in dpcm_dapm_stream_event() 358 be->dai_link->name, event, dir); in dpcm_dapm_stream_event() 360 if ((event == SND_SOC_DAPM_STREAM_STOP) && in dpcm_dapm_stream_event() 364 snd_soc_dapm_stream_event(be, dir, event); in dpcm_dapm_stream_event() 367 snd_soc_dapm_stream_event(fe, dir, event); in dpcm_dapm_stream_event() 950 /* run the stream event */ in soc_pcm_hw_clean() 1940 /* run the stream stop event */ in dpcm_fe_dai_shutdown() 346 dpcm_dapm_stream_event(struct snd_soc_pcm_runtime *fe, int dir, int event) dpcm_dapm_stream_event() argument [all...] |
/third_party/icu/tools/unicodetools/com/ibm/rbm/gui/ |
H A D | RBManagerGUI.java | 10 import java.awt.event.*; 14 import javax.swing.event.*; 223 addWindowListener(new java.awt.event.WindowAdapter() { in initComponents() 224 public void windowClosing(java.awt.event.WindowEvent e) { in initComponents() 1200 void thisWindowClosing(java.awt.event.WindowEvent e) in thisWindowClosing()
|
/third_party/pulseaudio/src/pulsecore/ |
H A D | sink-input.c | 2549 void pa_sink_input_send_event(pa_sink_input *i, const char *event, pa_proplist *data) { in pa_sink_input_send_event() argument 2555 pa_assert(event); in pa_sink_input_send_event() 2565 hook_data.event = event; in pa_sink_input_send_event() 2570 i->send_event(i, event, data); in pa_sink_input_send_event()
|
/third_party/python/Lib/test/test_asyncio/ |
H A D | test_base_events.py | 284 # 50 ms: maximum granularity of the event loop 298 msg = ("Non-thread-safe operation invoked on an event loop other " 312 def check_in_thread(loop, event, debug, create_loop, fut): 313 # wait until the event loop is running 314 event.wait() 333 event = threading.Event() 335 loop.call_soon(event.set) 336 args = (loop, event, debug, create_loop, fut) 345 # raise RuntimeError if the thread has no event loop 351 # raise RuntimeError if the event loo [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/amdgpu_dm/ |
H A D | amdgpu_dm.c | 376 e = amdgpu_crtc->event; in dm_pflip_high_irq() 377 amdgpu_crtc->event = NULL; in dm_pflip_high_irq() 395 /* Wake up userspace by sending the pageflip event with proper in dm_pflip_high_irq() 406 * timestamp for pageflip event will only be up to date after in dm_pflip_high_irq() 409 * pageflip event for send-out by drm_crtc_handle_vblank() with in dm_pflip_high_irq() 492 * event handler. 557 if (acrtc->event) { in dm_crtc_high_irq() 558 drm_crtc_send_vblank_event(&acrtc->base, acrtc->event); in dm_crtc_high_irq() 559 acrtc->event = NULL; in dm_crtc_high_irq() 2330 * 2. Send an event an in amdgpu_dm_update_connector_after_detect() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/igb/ |
H A D | igb_main.c | 3865 * Hot-Plug event, or because the driver is going to be removed from 5406 "Spoof event(s) detected on VF %d\n", j); in igb_spoof_check() 5465 static bool igb_thermal_sensor_event(struct e1000_hw *hw, u32 event) in igb_thermal_sensor_event() argument 5470 /* check for thermal sensor event on i350 copper only */ in igb_thermal_sensor_event() 5477 ret = !!(thstat & event); in igb_thermal_sensor_event() 5588 /* check for thermal sensor event */ in igb_watchdog_task() 5639 /* check for thermal sensor event */ in igb_watchdog_task() 6957 struct ptp_clock_event event; in igb_extts() local 6979 event.type = PTP_CLOCK_EXTTS; in igb_extts() 6980 event in igb_extts() 6989 struct ptp_clock_event event; igb_tsync_interrupt() local 7170 unsigned long event = *(unsigned long *)data; __igb_notify_dca() local 7200 igb_notify_dca(struct notifier_block *nb, unsigned long event, void *p) igb_notify_dca() argument [all...] |
/foundation/arkui/ace_engine/adapter/ohos/entrance/ |
H A D | ui_content_impl.cpp | 592 void OnDrag(int32_t x, int32_t y, OHOS::Rosen::DragEvent event) in OnDrag() argument 604 switch (event) { in OnDrag() 2300 LOGI("UIExtension consumed backpressed event"); in ProcessBackPressed() 3505 const std::string& event, const CustomPopupUIExtensionConfig& config, int32_t nodeId) in OnPopupStateChange() 3508 config.onStateChange(event); in OnPopupStateChange() 3511 auto visible = JsonUtil::ParseJsonString(event); in OnPopupStateChange() 3583 popupParam->SetOnStateChange([config, nodeId, UICONTENT_IMPL_HELPER(content)](const std::string& event) { in CreateCustomPopupUIExtension() 3585 UICONTENT_IMPL_PTR(content)->OnPopupStateChange(event, config, nodeId); in CreateCustomPopupUIExtension() 3655 [createConfig, targetId, UICONTENT_IMPL_HELPER(content)](const std::string& event) { in UpdateCustomPopupUIExtension() 3657 UICONTENT_IMPL_PTR(content)->OnPopupStateChange(event, createConfi in UpdateCustomPopupUIExtension() 3504 OnPopupStateChange( const std::string& event, const CustomPopupUIExtensionConfig& config, int32_t nodeId) OnPopupStateChange() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/bonding/ |
H A D | bond_main.c | 124 "failover event (alias of num_unsol_na)"); 127 "failover event (alias of num_grat_arp)"); 2278 * is no concern that another slave add/remove event in __bond_release_one() 3415 /*-------------------------- netdev event handling --------------------------*/ 3428 static int bond_master_netdev_event(unsigned long event, in bond_master_netdev_event() argument 3435 switch (event) { in bond_master_netdev_event() 3454 static int bond_slave_netdev_event(unsigned long event, in bond_slave_netdev_event() argument 3461 /* A netdev event can be generated while enslaving a device in bond_slave_netdev_event() 3476 switch (event) { in bond_slave_netdev_event() 3560 call_netdevice_notifiers(event, slav in bond_slave_netdev_event() 3576 bond_netdev_event(struct notifier_block *this, unsigned long event, void *ptr) bond_netdev_event() argument [all...] |
/kernel/linux/linux-5.10/drivers/infiniband/hw/hns/ |
H A D | hns_roce_hw_v1.c | 1678 u16 op, u16 token, int event) in hns_roce_v1_post_mbox() 1700 roce_set_bit(tmp, ROCEE_MB6_ROCEE_MB_EVENT_S, event); in hns_roce_v1_post_mbox() 3760 qpn = roce_get_field(aeqe->event.qp_event.qp, in hns_roce_v1_qp_err_handle() 3763 phy_port = roce_get_field(aeqe->event.qp_event.qp, in hns_roce_v1_qp_err_handle() 3794 cqn = roce_get_field(aeqe->event.cq_event.cq, in hns_roce_v1_cq_err_handle() 3917 le16_to_cpu(aeqe->event.cmd.token), in hns_roce_v1_aeq_int() 3918 aeqe->event.cmd.status, in hns_roce_v1_aeq_int() 3919 le64_to_cpu(aeqe->event.cmd.out_param in hns_roce_v1_aeq_int() 3927 roce_get_field(aeqe->event.ce_event.ceqe, in hns_roce_v1_aeq_int() 3932 dev_warn(dev, "Unhandled event in hns_roce_v1_aeq_int() 1676 hns_roce_v1_post_mbox(struct hns_roce_dev *hr_dev, u64 in_param, u64 out_param, u32 in_modifier, u8 op_modifier, u16 op, u16 token, int event) hns_roce_v1_post_mbox() argument [all...] |