Home
last modified time | relevance | path

Searched refs:reason (Results 126 - 150 of 3380) sorted by relevance

12345678910>>...136

/kernel/linux/linux-5.10/arch/loongarch/kvm/
H A Dtrace.h115 TP_PROTO(struct kvm_vcpu *vcpu, unsigned int reason),
116 TP_ARGS(vcpu, reason),
119 __field(unsigned int, reason)
124 __entry->reason = reason;
128 __print_symbolic(__entry->reason,
/third_party/node/test/common/
H A Dchild_process.js48 return { passed: false, reason: `did not match ${util.inspect(check)}` };
56 reason: `did not match expectation, checker throws:\n${util.inspect(error)}`,
96 const { passed, reason } = checkOutput(trim ? stderrStr.trim() : stderrStr, stderrCheck);
98 failures.push(`- stderr ${reason}`);
103 const { passed, reason } = checkOutput(trim ? stdoutStr.trim() : stdoutStr, stdoutCheck);
105 failures.push(`- stdout ${reason}`);
/third_party/python/Tools/c-analyzer/c_analyzer/
H A Ddatafiles.py87 'reason',
101 *varidinfo, reason = row
105 if reason in bogus:
106 reason = None
109 yield varid, reason
116 reason = '???'
124 rows=(r.render_rowdata() + (reason,) for r in decls),
/third_party/python/Tools/ssl/
H A Dmake_ssl_data.py5 `library` and `reason` mnemonics to a more recent OpenSSL version.
54 reason, libname, errname, num = match.groups()
55 if "_F_" in reason:
59 yield reason, libname, errname, num
66 reason, libname, errname, num = match.groups()
68 yield reason, libname, errname, num
86 for reason, libname, errname, num in args.reasons:
87 yield f" #ifdef {reason}"
88 yield f' {{"{errname}", ERR_LIB_{libname}, {reason}}},'
/kernel/linux/linux-6.6/arch/powerpc/kernel/
H A Dtraps.c349 * reason why _exception() should enable irqs for an exception handler, in exception_common()
510 /* For the reason explained in die_mce, nmi_exit before die */ in DEFINE_INTERRUPT_HANDLER_NMI()
571 /* On 4xx, the reason for the machine check or program exception
586 /* On non-4xx, the reason for the machine check or program
602 #define inst_length(reason) (((reason) & REASON_PREFIXED) ? 8 : 4)
609 unsigned long reason = mcsr; in machine_check_e500mc() local
612 if (reason & MCSR_LD) { in machine_check_e500mc()
619 printk("Caused by (from MCSR=%lx): ", reason); in machine_check_e500mc()
621 if (reason in machine_check_e500mc()
714 unsigned long reason = mfspr(SPRN_MCSR); machine_check_e500() local
761 unsigned long reason = regs->msr; machine_check_generic() local
1342 tm_abort_check(struct pt_regs *regs, int reason) tm_abort_check() argument
1481 unsigned int reason = get_reason(regs); do_program_check() local
1644 unsigned long reason; DEFINE_INTERRUPT_HANDLER() local
[all...]
/foundation/ability/ability_runtime/services/common/src/
H A Dres_sched_util.cpp88 std::string reason; in GetThawReasonByAbilityType() local
90 reason = "THAW_BY_START_PAGE_ABILITY"; in GetThawReasonByAbilityType()
93 reason = "THAW_BY_START_SERVICE_EXTENSION"; in GetThawReasonByAbilityType()
96 reason = "THAW_BY_START_UI_EXTENSION"; in GetThawReasonByAbilityType()
98 reason = "THAW_BY_START_NOT_PAGE_ABILITY"; in GetThawReasonByAbilityType()
100 return reason; in GetThawReasonByAbilityType()
103 void ResSchedUtil::ReportEventToRSS(const int32_t uid, const std::string &bundleName, const std::string &reason, in ReportEventToRSS() argument
112 payload.emplace("reason", reason); in ReportEventToRSS()
/third_party/node/test/parallel/
H A Dtest-abortcontroller.js156 // Test AbortSignal.reason
158 ac.abort('reason');
159 strictEqual(ac.signal.reason, 'reason');
163 // Test AbortSignal.reason
164 const signal = AbortSignal.abort('reason');
165 strictEqual(signal.reason, 'reason');
174 strictEqual(signal.reason.name, 'TimeoutError');
175 strictEqual(signal.reason
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
H A Dmbo.c28 static int wpas_mbo_validate_non_pref_chan(u8 oper_class, u8 chan, u8 reason) in wpas_mbo_validate_non_pref_chan() argument
30 if (reason > MBO_NON_PREF_CHAN_REASON_INT_INTERFERENCE) in wpas_mbo_validate_non_pref_chan()
97 wpabuf_put_u8(mbo, wpa_s->non_pref_chan[start].reason); in wpas_mbo_non_pref_chan_attr_body()
166 non_pref->reason != start_pref->reason || in wpas_mbo_non_pref_chan_attrs()
295 * preference and reason. To make it easy for the functions that build
297 * by their oper_class and reason.
305 if (a->reason != b->reason) in wpa_non_pref_chan_cmp()
306 return (int) a->reason in wpa_non_pref_chan_cmp()
534 wpas_mbo_ie_bss_trans_reject(struct wpa_supplicant *wpa_s, u8 *pos, size_t len, enum mbo_transition_reject_reason reason) wpas_mbo_ie_bss_trans_reject() argument
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
H A Dmbo.c29 static int wpas_mbo_validate_non_pref_chan(u8 oper_class, u8 chan, u8 reason) in wpas_mbo_validate_non_pref_chan() argument
31 if (reason > MBO_NON_PREF_CHAN_REASON_INT_INTERFERENCE) in wpas_mbo_validate_non_pref_chan()
127 wpabuf_put_u8(mbo, wpa_s->non_pref_chan[start].reason); in wpas_mbo_non_pref_chan_attr_body()
196 non_pref->reason != start_pref->reason || in wpas_mbo_non_pref_chan_attrs()
325 * preference and reason. To make it easy for the functions that build
327 * by their oper_class and reason.
335 if (a->reason != b->reason) in wpa_non_pref_chan_cmp()
336 return (int) a->reason in wpa_non_pref_chan_cmp()
564 wpas_mbo_ie_bss_trans_reject(struct wpa_supplicant *wpa_s, u8 *pos, size_t len, enum mbo_transition_reject_reason reason) wpas_mbo_ie_bss_trans_reject() argument
[all...]
/foundation/window/window_manager/window_scene/test/dms_unittest/
H A Dscreen_session_manager_test.cpp114 PowerStateChangeReason reason = PowerStateChangeReason::STATE_CHANGE_REASON_POWER_KEY; in HWTEST_F() local
115 ASSERT_EQ(true, ssm_->WakeUpBegin(reason)); in HWTEST_F()
117 reason = PowerStateChangeReason::STATE_CHANGE_REASON_SWITCH; in HWTEST_F()
118 ASSERT_EQ(true, ssm_->WakeUpBegin(reason)); in HWTEST_F()
120 reason = PowerStateChangeReason::STATE_CHANGE_REASON_PRE_BRIGHT; in HWTEST_F()
121 ASSERT_EQ(true, ssm_->WakeUpBegin(reason)); in HWTEST_F()
123 reason = PowerStateChangeReason::STATE_CHANGE_REASON_PRE_BRIGHT_AUTH_SUCCESS; in HWTEST_F()
124 ASSERT_EQ(true, ssm_->WakeUpBegin(reason)); in HWTEST_F()
126 reason = PowerStateChangeReason::STATE_CHANGE_REASON_PRE_BRIGHT_AUTH_FAIL_SCREEN_ON; in HWTEST_F()
127 ASSERT_EQ(true, ssm_->WakeUpBegin(reason)); in HWTEST_F()
153 PowerStateChangeReason reason = PowerStateChangeReason::POWER_BUTTON; HWTEST_F() local
180 PowerStateChangeReason reason = PowerStateChangeReason::STATE_CHANGE_REASON_INIT; HWTEST_F() local
207 PowerStateChangeReason reason = PowerStateChangeReason::STATE_CHANGE_REASON_TIMEOUT; HWTEST_F() local
234 PowerStateChangeReason reason = PowerStateChangeReason::STATE_CHANGE_REASON_RUNNING_LOCK; HWTEST_F() local
261 PowerStateChangeReason reason = PowerStateChangeReason::STATE_CHANGE_REASON_BATTERY; HWTEST_F() local
288 PowerStateChangeReason reason = PowerStateChangeReason::STATE_CHANGE_REASON_THERMAL; HWTEST_F() local
315 PowerStateChangeReason reason = PowerStateChangeReason::STATE_CHANGE_REASON_WORK; HWTEST_F() local
342 PowerStateChangeReason reason = PowerStateChangeReason::STATE_CHANGE_REASON_SYSTEM; HWTEST_F() local
369 PowerStateChangeReason reason = PowerStateChangeReason::STATE_CHANGE_REASON_APPLICATION; HWTEST_F() local
396 PowerStateChangeReason reason = PowerStateChangeReason::STATE_CHANGE_REASON_SETTINGS; HWTEST_F() local
424 PowerStateChangeReason reason = PowerStateChangeReason::STATE_CHANGE_REASON_HARD_KEY; HWTEST_F() local
474 PowerStateChangeReason reason = PowerStateChangeReason::STATE_CHANGE_REASON_POWER_KEY; HWTEST_F() local
502 PowerStateChangeReason reason = PowerStateChangeReason::STATE_CHANGE_REASON_POWER_KEY; HWTEST_F() local
530 PowerStateChangeReason reason = PowerStateChangeReason::STATE_CHANGE_REASON_POWER_KEY; HWTEST_F() local
558 PowerStateChangeReason reason = PowerStateChangeReason::STATE_CHANGE_REASON_POWER_KEY; HWTEST_F() local
605 PowerStateChangeReason reason = PowerStateChangeReason::STATE_CHANGE_REASON_INIT; HWTEST_F() local
633 PowerStateChangeReason reason = PowerStateChangeReason::STATE_CHANGE_REASON_RUNNING_LOCK; HWTEST_F() local
661 PowerStateChangeReason reason = PowerStateChangeReason::STATE_CHANGE_REASON_BATTERY; HWTEST_F() local
689 PowerStateChangeReason reason = PowerStateChangeReason::STATE_CHANGE_REASON_THERMAL; HWTEST_F() local
717 PowerStateChangeReason reason = PowerStateChangeReason::STATE_CHANGE_REASON_WORK; HWTEST_F() local
745 PowerStateChangeReason reason = PowerStateChangeReason::STATE_CHANGE_REASON_SYSTEM; HWTEST_F() local
773 PowerStateChangeReason reason = PowerStateChangeReason::STATE_CHANGE_REASON_APPLICATION; HWTEST_F() local
801 PowerStateChangeReason reason = PowerStateChangeReason::STATE_CHANGE_REASON_SETTINGS; HWTEST_F() local
829 PowerStateChangeReason reason = PowerStateChangeReason::STATE_CHANGE_REASON_HARD_KEY; HWTEST_F() local
857 PowerStateChangeReason reason = PowerStateChangeReason::STATE_CHANGE_REASON_TOUCH; HWTEST_F() local
894 PowerStateChangeReason reason = PowerStateChangeReason::POWER_BUTTON; HWTEST_F() local
1958 PowerStateChangeReason reason = PowerStateChangeReason::POWER_BUTTON; HWTEST_F() local
[all...]
/foundation/systemabilitymgr/safwk/interfaces/innerkits/safwk/rust/src/
H A Dability.rs34 fn on_idle(&self, reason: SystemAbilityOnDemandReason) -> i32 { in on_idle()
38 fn on_active(&self, reason: SystemAbilityOnDemandReason) {} in on_active()
40 fn on_start_with_reason(&self, reason: SystemAbilityOnDemandReason, handler: Handler) { in on_start_with_reason()
44 fn on_stop_with_reason(&self, reason: SystemAbilityOnDemandReason) { in on_stop_with_reason()
/foundation/window/window_manager/test/common/mock/
H A Dmock_display_manager_adapter_lite.h34 MOCK_METHOD1(WakeUpBegin, bool(PowerStateChangeReason reason));
36 MOCK_METHOD1(SuspendBegin, bool(PowerStateChangeReason reason));
50 PowerStateChangeReason reason));
51 MOCK_METHOD2(SetScreenPowerForAll, bool(ScreenPowerState state, PowerStateChangeReason reason));
/foundation/window/window_manager/window_scene/test/mock/
H A Dmock_keyboard_session.h41 using UpdateSessionRectCallBack = std::function<void(const WSRect& rect, const SizeChangeReason reason)>;
48 WSError UpdateSessionRect(const WSRect& rect, const SizeChangeReason reason, bool isGlobal = false) override
50 updateRectCallback_(rect, reason);
60 UpdateSessionRectCallBack updateRectCallback_ = [](const WSRect& rect, const SizeChangeReason reason) {};
/kernel/linux/linux-5.10/include/linux/
H A Dlapb.h28 void (*connect_confirmation)(struct net_device *dev, int reason);
29 void (*connect_indication)(struct net_device *dev, int reason);
30 void (*disconnect_confirmation)(struct net_device *dev, int reason);
31 void (*disconnect_indication)(struct net_device *dev, int reason);
/kernel/linux/linux-6.6/include/linux/
H A Dlapb.h33 void (*connect_confirmation)(struct net_device *dev, int reason);
34 void (*connect_indication)(struct net_device *dev, int reason);
35 void (*disconnect_confirmation)(struct net_device *dev, int reason);
36 void (*disconnect_indication)(struct net_device *dev, int reason);
/kernel/linux/linux-5.10/arch/powerpc/platforms/4xx/
H A Dmachine_check.c13 unsigned long reason = regs->dsisr; in machine_check_4xx() local
15 if (reason & ESR_IMCP) { in machine_check_4xx()
17 mtspr(SPRN_ESR, reason & ~ESR_IMCP); in machine_check_4xx()
/kernel/linux/linux-6.6/arch/powerpc/platforms/4xx/
H A Dmachine_check.c13 unsigned long reason = regs->esr; in machine_check_4xx() local
15 if (reason & ESR_IMCP) { in machine_check_4xx()
17 mtspr(SPRN_ESR, reason & ~ESR_IMCP); in machine_check_4xx()
/kernel/linux/linux-5.10/include/trace/events/
H A Dafs.h1393 enum afs_cb_break_reason reason, bool skipped),
1395 TP_ARGS(fid, cb_break, reason, skipped),
1400 __field(enum afs_cb_break_reason, reason )
1407 __entry->reason = reason;
1415 __print_symbolic(__entry->reason, afs_cb_break_reasons))
1419 TP_PROTO(struct afs_fid *fid, enum afs_cb_break_reason reason),
1421 TP_ARGS(fid, reason),
1425 __field(enum afs_cb_break_reason, reason )
1430 __entry->reason
[all...]
/kernel/linux/linux-6.6/include/trace/events/
H A Dafs.h1390 enum afs_cb_break_reason reason, bool skipped),
1392 TP_ARGS(fid, cb_break, reason, skipped),
1397 __field(enum afs_cb_break_reason, reason )
1404 __entry->reason = reason;
1412 __print_symbolic(__entry->reason, afs_cb_break_reasons))
1416 TP_PROTO(struct afs_fid *fid, enum afs_cb_break_reason reason),
1418 TP_ARGS(fid, reason),
1422 __field(enum afs_cb_break_reason, reason )
1427 __entry->reason
[all...]
/kernel/linux/linux-6.6/net/ipv6/
H A Dndisc.c802 SKB_DR(reason); in ndisc_recv_ns()
811 return reason; in ndisc_recv_ns()
820 return reason; in ndisc_recv_ns()
831 return reason; in ndisc_recv_ns()
842 return reason; in ndisc_recv_ns()
870 return reason; in ndisc_recv_ns()
902 return reason; in ndisc_recv_ns()
926 SKB_DR_SET(reason, IPV6_NDISC_NS_OTHERHOST); in ndisc_recv_ns()
961 reason = SKB_CONSUMED; in ndisc_recv_ns()
969 return reason; in ndisc_recv_ns()
1790 enum skb_drop_reason reason = ndisc_recv_ns(skb); pndisc_redo() local
[all...]
/foundation/ability/ability_runtime/frameworks/native/ability/native/recovery/
H A Dability_recovery.cpp244 bool AbilityRecovery::ScheduleSaveAbilityState(StateReason reason) in ScheduleSaveAbilityState() argument
257 if (!IsSaveAbilityState(reason)) { in ScheduleSaveAbilityState()
276 if (reason == StateReason::LIFECYCLE && DefaultRecovery()) { in ScheduleSaveAbilityState()
284 bool AbilityRecovery::ScheduleRecoverAbility(StateReason reason, const Want *want) in ScheduleRecoverAbility() argument
302 abilityMgr->ScheduleRecoverAbility(token, reason, want); in ScheduleRecoverAbility()
337 bool AbilityRecovery::LoadSavedState(StateReason reason) in LoadSavedState() argument
370 bool AbilityRecovery::ScheduleRestoreAbilityState(StateReason reason, const Want &want) in ScheduleRestoreAbilityState() argument
378 if (!IsSaveAbilityState(reason)) { in ScheduleRestoreAbilityState()
383 if (!LoadSavedState(reason)) { in ScheduleRestoreAbilityState()
396 std::string AbilityRecovery::GetSavedPageStack(StateReason reason) in GetSavedPageStack() argument
410 IsSaveAbilityState(StateReason reason) IsSaveAbilityState() argument
[all...]
/foundation/multimedia/av_session/services/session/server/softbus/
H A Dsoftbus_session_manager.cpp35 static void OnShutdown(int32_t socket, ShutdownReason reason) in OnShutdown() argument
37 SLOGI("OnSessionClosed sessionId[%{public}d], reason[%{public}d]", socket, reason); in OnShutdown()
38 SoftbusSessionManager::GetInstance().OnShutdown(socket, reason); in OnShutdown()
161 void SoftbusSessionManager::OnShutdown(int32_t socket, ShutdownReason reason) in OnShutdown() argument
163 SLOGI("ShutdownReason = %{public}d", reason); in OnShutdown()
166 listener->OnShutdown(socket, reason); in OnShutdown()
/foundation/communication/dsoftbus/core/connection/wifi_direct_cpp/command/
H A Dconnect_command.cpp102 void ConnectCommand::OnFailure(int32_t reason) const in OnFailure()
104 CONN_LOGI(CONN_WIFI_DIRECT, "requestId=%{public}u, reason=%{public}d, remoteDeviceId=%{public}s", in OnFailure()
105 info_.info_.requestId, reason, WifiDirectAnonymizeDeviceId(remoteDeviceId_).c_str()); in OnFailure()
106 if (reason == SOFTBUS_CONN_NEED_RENEGOTIATE && !HasRetried()) { in OnFailure()
112 failureCallback_(reason); in OnFailure()
115 WifiDirectDfx::GetInstance().DfxRecord(false, reason, info_.info_); in OnFailure()
117 callback_.onConnectFailure(info_.info_.requestId, reason); in OnFailure()
/foundation/communication/dsoftbus/sdk/frame/small/src/
H A Dbus_center_client_stub.c194 int32_t reason; in ClientOnPublishLNNResult() local
195 ReadInt32(data, &reason); in ClientOnPublishLNNResult()
196 LnnOnPublishLNNResult(publishId, reason); in ClientOnPublishLNNResult()
207 int32_t reason; in ClientOnRefreshLNNResult() local
208 ReadInt32(data, &reason); in ClientOnRefreshLNNResult()
209 LnnOnRefreshLNNResult(refreshId, reason); in ClientOnRefreshLNNResult()
/kernel/linux/linux-6.6/fs/afs/
H A Dcallback.c74 void __afs_break_callback(struct afs_vnode *vnode, enum afs_cb_break_reason reason) in __afs_break_callback() argument
87 if (reason != afs_cb_break_for_deleted && in __afs_break_callback()
92 trace_afs_cb_break(&vnode->fid, vnode->cb_break, reason, true); in __afs_break_callback()
94 trace_afs_cb_break(&vnode->fid, vnode->cb_break, reason, false); in __afs_break_callback()
98 void afs_break_callback(struct afs_vnode *vnode, enum afs_cb_break_reason reason) in afs_break_callback() argument
101 __afs_break_callback(vnode, reason); in afs_break_callback()

Completed in 17 milliseconds

12345678910>>...136