/foundation/communication/bluetooth_service/services/bluetooth/stack/src/avctp/ |
H A D | avctp_ctrl_l2cap.h | 66 uint8_t reason; member 119 void AvctDisconnectAbnormalCallback(uint16_t lcid, uint8_t reason, void *ctx); 121 void AvctDisconnectAbnormalCBack(uint16_t lcid, uint8_t reason, void *ctx);
|
/foundation/communication/bluetooth_service/services/bluetooth/stack/include/ |
H A D | l2cap_def.h | 174 void (*disconnectAbnormal)(uint16_t lcid, uint8_t reason, void *ctx); 239 void (*leDisconnectAbnormal)(uint16_t lcid, uint8_t reason, void *ctx); 254 void (*leDisconnected)(uint16_t aclHandle, uint8_t status, uint8_t reason);
|
/foundation/window/window_manager/window_scene/session/container/include/zidl/ |
H A D | session_stage_proxy.h | 34 WSError UpdateRect(const WSRect& rect, SizeChangeReason reason, 57 void NotifySessionForeground(uint32_t reason, bool withAnimation) override; 58 void NotifySessionBackground(uint32_t reason, bool withAnimation, bool isFromInnerkits) override;
|
/kernel/linux/linux-5.10/arch/x86/xen/ |
H A D | enlighten.c | 36 * instruction by using the per-cpu offset held in %gs is the real reason 37 * vcpu info is in a per-cpu pointer and the original reason for this 259 void xen_reboot(int reason) in xen_reboot() argument 261 struct sched_shutdown r = { .reason = reason }; in xen_reboot()
|
/kernel/linux/linux-6.6/arch/riscv/kvm/ |
H A D | vcpu_sbi_replace.c | 143 u32 reason = cp->a1; in kvm_sbi_ext_srst_handler() local 152 reason); in kvm_sbi_ext_srst_handler() 159 reason); in kvm_sbi_ext_srst_handler()
|
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath6kl/ |
H A D | recovery.c | 42 void ath6kl_recovery_err_notify(struct ath6kl *ar, enum ath6kl_fw_err reason) in ath6kl_recovery_err_notify() argument 47 ath6kl_dbg(ATH6KL_DBG_RECOVERY, "Fw error detected, reason:%d\n", in ath6kl_recovery_err_notify() 48 reason); in ath6kl_recovery_err_notify() 50 set_bit(reason, &ar->fw_recovery.err_reason); in ath6kl_recovery_err_notify()
|
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath6kl/ |
H A D | recovery.c | 42 void ath6kl_recovery_err_notify(struct ath6kl *ar, enum ath6kl_fw_err reason) in ath6kl_recovery_err_notify() argument 47 ath6kl_dbg(ATH6KL_DBG_RECOVERY, "Fw error detected, reason:%d\n", in ath6kl_recovery_err_notify() 48 reason); in ath6kl_recovery_err_notify() 50 set_bit(reason, &ar->fw_recovery.err_reason); in ath6kl_recovery_err_notify()
|
/kernel/linux/linux-6.6/mm/kmsan/ |
H A D | report.c | 150 enum kmsan_bug_reason reason) in kmsan_report() 170 switch (reason) { in kmsan_report() 208 if (user_addr && reason == REASON_COPY_TO_USER) in kmsan_report() 148 kmsan_report(depot_stack_handle_t origin, void *address, int size, int off_first, int off_last, const void *user_addr, enum kmsan_bug_reason reason) kmsan_report() argument
|
/kernel/linux/linux-6.6/net/dsa/ |
H A D | tag_rtl8_4.c | 37 * REASON | reason for forwarding packet to CPU 155 u8 reason; in rtl8_4_read_tag() local 179 reason = FIELD_GET(RTL8_4_REASON, ntohs(tag16[1])); in rtl8_4_read_tag() 191 if (reason != RTL8_4_REASON_TRAP) in rtl8_4_read_tag()
|
/third_party/libwebsockets/minimal-examples/http-server/minimal-http-server-dynamic/ |
H A D | minimal-http-server-dynamic.c | 40 callback_dynamic_http(struct lws *wsi, enum lws_callback_reasons reason, in callback_dynamic_http() argument 52 switch (reason) { in callback_dynamic_http() 215 return lws_callback_http_dummy(wsi, reason, user, in, len); in callback_dynamic_http()
|
/third_party/libwebsockets/minimal-examples/gtk/minimal-gtk/ |
H A D | main.c | 64 callback_http(struct lws *wsi, enum lws_callback_reasons reason, in callback_http() argument 67 switch (reason) { in callback_http() 117 return lws_callback_http_dummy(wsi, reason, user, in, len); in callback_http()
|
/third_party/libwebsockets/minimal-examples/http-server/minimal-http-server-form-post-file/ |
H A D | minimal-http-server-form-post-file.c | 101 callback_http(struct lws *wsi, enum lws_callback_reasons reason, void *user, in callback_http() argument 109 switch (reason) { in callback_http() 187 return lws_callback_http_dummy(wsi, reason, user, in, len); in callback_http()
|
/third_party/libwebsockets/minimal-examples/ws-client/minimal-ws-client-spam-tx-rx/ |
H A D | minimal-ws-client.c | 43 callback(struct lws *wsi, enum lws_callback_reasons reason, in callback() argument 53 //lwsl_notice("callback called with reason %d\n", reason); in callback() 54 switch (reason) { in callback() 126 return lws_callback_http_dummy(wsi, reason, user, in, len); in callback()
|
/third_party/libwebsockets/minimal-examples/http-client/minimal-http-client-attach/ |
H A D | minimal-http-client-attach.c | 32 callback_http(struct lws *wsi, enum lws_callback_reasons reason, in callback_http() argument 35 switch (reason) { in callback_http() 102 return lws_callback_http_dummy(wsi, reason, user, in, len); in callback_http()
|
/third_party/libwebsockets/minimal-examples/http-client/minimal-http-client-post/ |
H A D | minimal-http-client-post.c | 28 callback_http(struct lws *wsi, enum lws_callback_reasons reason, in callback_http() argument 36 switch (reason) { in callback_http() 168 return lws_callback_http_dummy(wsi, reason, user, in, len); in callback_http()
|
/third_party/libwebsockets/minimal-examples/http-server/minimal-http-server-eventlib-foreign/ |
H A D | minimal-http-server-eventlib-foreign.c | 78 callback_http(struct lws *wsi, enum lws_callback_reasons reason, in callback_http() argument 81 switch (reason) { in callback_http() 125 return lws_callback_http_dummy(wsi, reason, user, in, len); in callback_http()
|
/third_party/python/Lib/test/support/ |
H A D | socket_helper.py | 236 (("ConnectionRefusedError" in err.reason) or 237 ("TimeoutError" in err.reason) or 238 ("EOFError" in err.reason))) or
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/ui_extension/ |
H A D | security_session_wrapper_impl.cpp | 599 auto reason = parentSession ? parentSession->GetSizeChangeReason() : session_->GetSizeChangeReason(); in NotifyDisplayArea() local 600 reason_ = (uint32_t)reason; in NotifyDisplayArea() 602 ACE_SCOPED_TRACE("NotifyDisplayArea id: %d, reason [%d]", persistentId, reason); in NotifyDisplayArea() 603 PLATFORM_LOGI("DisplayArea: %{public}s, persistentId: %{public}d, reason: %{public}d", in NotifyDisplayArea() 604 displayArea_.ToString().c_str(), persistentId, reason); in NotifyDisplayArea() 605 if (reason == Rosen::SizeChangeReason::ROTATION) { in NotifyDisplayArea() 618 reason, "NotifyDisplayArea", transaction); in NotifyDisplayArea() 625 auto reason = static_cast<Rosen::SizeChangeReason>(type); in NotifySizeChangeReason() local 626 session_->UpdateSizeChangeReason(reason); in NotifySizeChangeReason() [all...] |
/foundation/multimedia/audio_framework/services/audio_policy/test/unittest/audio_policy_client_stub_impl_test/src/ |
H A D | audio_policy_client_stub_impl_test.cpp | 471 AudioStreamDeviceChangeReasonExt reason(AudioStreamDeviceChangeReason::NEW_DEVICE_AVAILABLE); in HWTEST() 472 audioPolicyClient_->OnRendererDeviceChange(0, deviceInfo, reason); in HWTEST() 475 audioPolicyClient_->OnRendererDeviceChange(1, deviceInfo, reason); in HWTEST() 508 AudioStreamDeviceChangeReasonExt reason(AudioStreamDeviceChangeReason::NEW_DEVICE_AVAILABLE); in HWTEST() 509 audioPolicyClient_->OnRecreateRendererStreamEvent(0, 0, reason); in HWTEST() 511 audioPolicyClient_->OnRecreateCapturerStreamEvent(0, 0, reason); in HWTEST() 514 audioPolicyClient_->OnRecreateRendererStreamEvent(1, 0, reason); in HWTEST() 516 audioPolicyClient_->OnRecreateCapturerStreamEvent(1, 0, reason); in HWTEST()
|
/foundation/window/window_manager/dm_lite/src/ |
H A D | display_manager_lite.cpp | 568 bool DisplayManagerLite::WakeUpBegin(PowerStateChangeReason reason)
in WakeUpBegin() argument 570 WLOGFD("[UL_POWER]WakeUpBegin start, reason:%{public}u", reason);
in WakeUpBegin() 571 return SingletonContainer::Get<DisplayManagerAdapterLite>().WakeUpBegin(reason);
in WakeUpBegin() 580 bool DisplayManagerLite::SuspendBegin(PowerStateChangeReason reason)
in SuspendBegin() argument 583 WLOGFD("[UL_POWER]SuspendBegin start, reason:%{public}u", reason);
in SuspendBegin() 584 return SingletonContainer::Get<DisplayManagerAdapterLite>().SuspendBegin(reason);
in SuspendBegin() 599 bool DisplayManagerLite::SetScreenPowerById(ScreenId screenId, ScreenPowerState state, PowerStateChangeReason reason)
in SetScreenPowerById() argument 602 return SingletonContainer::Get<DisplayManagerAdapterLite>().SetScreenPowerById(screenId, state, reason);
in SetScreenPowerById() [all...] |
/foundation/window/window_manager/dmserver/src/ |
H A D | display_manager_stub.cpp | 147 PowerStateChangeReason reason = static_cast<PowerStateChangeReason>(data.ReadUint32());
in OnRemoteRequest() local 148 reply.WriteBool(WakeUpBegin(reason));
in OnRemoteRequest() 156 PowerStateChangeReason reason = static_cast<PowerStateChangeReason>(data.ReadUint32());
in OnRemoteRequest() local 157 reply.WriteBool(SuspendBegin(reason));
in OnRemoteRequest() 167 PowerStateChangeReason reason = static_cast<PowerStateChangeReason>(data.ReadUint32());
in OnRemoteRequest() local 168 reply.WriteBool(SetSpecifiedScreenPower(screenId, state, reason));
in OnRemoteRequest() 173 PowerStateChangeReason reason = static_cast<PowerStateChangeReason>(data.ReadUint32());
in OnRemoteRequest() local 174 reply.WriteBool(SetScreenPowerForAll(state, reason));
in OnRemoteRequest()
|
/foundation/distributedhardware/device_manager/interfaces/kits/js/include/ |
H A D | native_devicemanager_js.h | 126 DmNapiStateJsCallback(std::string bundleName, uint16_t subscribeId, int32_t reason,
in DmNapiStateJsCallback() 128 : bundleName_(bundleName), subscribeId_(subscribeId), reason_(reason), deviceInfo_(deviceInfo) {}
in DmNapiStateJsCallback() 136 DmNapiPublishJsCallback(std::string bundleName, int32_t publishId, int32_t reason)
in DmNapiPublishJsCallback() 137 : bundleName_(bundleName), publishId_(publishId), reason_(reason) {}
in DmNapiPublishJsCallback() 157 int32_t reason)
in DmNapiAuthJsCallback() 158 : bundleName_(bundleName), deviceId_(deviceId), token_(token), status_(status), reason_(reason) {}
in DmNapiAuthJsCallback() 262 void OnAuthResult(const std::string &deviceId, const std::string &token, int32_t status, int32_t reason) override;
352 void OnAuthResult(const std::string &deviceId, const std::string &token, int32_t status, int32_t reason);
|
/kernel/linux/linux-5.10/tools/testing/selftests/ |
H A D | kselftest_harness.h | 126 snprintf(_metadata->results->reason, \ 127 sizeof(_metadata->results->reason), fmt, ##__VA_ARGS__); \ 130 _metadata->results->reason); \ 771 char reason[1024]; /* Reason for test result */ member 970 memset(t->results->reason, 0, sizeof(t->results->reason)); in __run_test() 1000 ksft_test_result_skip("%s\n", t->results->reason[0] ? in __run_test() 1001 t->results->reason : "unknown"); in __run_test()
|
/kernel/linux/linux-5.10/drivers/net/wireless/ti/wlcore/ |
H A D | tx.c | 1199 u8 queue, enum wlcore_queue_stop_reason reason) in wlcore_stop_queue_locked() 1204 /* queue should not be stopped for this reason */ in wlcore_stop_queue_locked() 1205 WARN_ON_ONCE(test_and_set_bit(reason, &wl->queue_stop_reasons[hwq])); in wlcore_stop_queue_locked() 1214 enum wlcore_queue_stop_reason reason) in wlcore_stop_queue() 1219 wlcore_stop_queue_locked(wl, wlvif, queue, reason); in wlcore_stop_queue() 1224 enum wlcore_queue_stop_reason reason) in wlcore_wake_queue() 1231 /* queue should not be clear for this reason */ in wlcore_wake_queue() 1232 WARN_ON_ONCE(!test_and_clear_bit(reason, &wl->queue_stop_reasons[hwq])); in wlcore_wake_queue() 1244 enum wlcore_queue_stop_reason reason) in wlcore_stop_queues() 1253 WARN_ON_ONCE(test_and_set_bit(reason, in wlcore_stop_queues() 1198 wlcore_stop_queue_locked(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 queue, enum wlcore_queue_stop_reason reason) wlcore_stop_queue_locked() argument 1213 wlcore_stop_queue(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 queue, enum wlcore_queue_stop_reason reason) wlcore_stop_queue() argument 1223 wlcore_wake_queue(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 queue, enum wlcore_queue_stop_reason reason) wlcore_wake_queue() argument 1243 wlcore_stop_queues(struct wl1271 *wl, enum wlcore_queue_stop_reason reason) wlcore_stop_queues() argument 1264 wlcore_wake_queues(struct wl1271 *wl, enum wlcore_queue_stop_reason reason) wlcore_wake_queues() argument 1285 wlcore_is_queue_stopped_by_reason(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 queue, enum wlcore_queue_stop_reason reason) wlcore_is_queue_stopped_by_reason() argument 1300 wlcore_is_queue_stopped_by_reason_locked(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 queue, enum wlcore_queue_stop_reason reason) wlcore_is_queue_stopped_by_reason_locked() argument [all...] |
/kernel/linux/linux-5.10/net/batman-adv/ |
H A D | tp_meter.c | 206 * @reason: reason for tp meter session stop 213 static void batadv_tp_batctl_notify(enum batadv_tp_meter_reason reason, in batadv_tp_batctl_notify() argument 222 if (!batadv_tp_is_error(reason)) { in batadv_tp_batctl_notify() 227 result = reason; in batadv_tp_batctl_notify() 238 * @reason: reason for tp meter session stop 243 static void batadv_tp_batctl_error_notify(enum batadv_tp_meter_reason reason, in batadv_tp_batctl_error_notify() argument 248 batadv_tp_batctl_notify(reason, dst, bat_priv, 0, 0, cookie); in batadv_tp_batctl_error_notify() 407 "Test towards %pM finished..shutting down (reason in batadv_tp_sender_end() 434 batadv_tp_sender_shutdown(struct batadv_tp_vars *tp_vars, enum batadv_tp_meter_reason reason) batadv_tp_sender_shutdown() argument [all...] |