/third_party/python/Objects/ |
H A D | listobject.c | 123 struct _Py_list_state *state = &interp->list; in _PyList_ClearFreeList() local 124 while (state->numfree) { in _PyList_ClearFreeList() 125 PyListObject *op = state->free_list[--state->numfree]; in _PyList_ClearFreeList() 137 struct _Py_list_state *state = &interp->list; in _PyList_Fini() local 138 state->numfree = -1; in _PyList_Fini() 142 /* Print summary info about the state of the optimized allocator */ 147 struct _Py_list_state *state = get_list_state(); in _PyList_DebugMallocStats() local 150 state->numfree, sizeof(PyListObject)); in _PyList_DebugMallocStats() 165 struct _Py_list_state *state in PyList_New() local 362 struct _Py_list_state *state = get_list_state(); list_dealloc() local 3282 listiter_setstate(listiterobject *it, PyObject *state) listiter_setstate() argument 3433 listreviter_setstate(listreviterobject *it, PyObject *state) listreviter_setstate() argument [all...] |
/kernel/linux/linux-5.10/drivers/scsi/cxgbi/ |
H A D | libcxgbi.c | 843 "csk 0x%p, state %u, flags 0x%lx, conn 0x%p.\n", in cxgbi_inform_iscsi_conn_closing() 844 csk, csk->state, csk->flags, csk->user_data); in cxgbi_inform_iscsi_conn_closing() 846 if (csk->state != CTP_ESTABLISHED) { in cxgbi_inform_iscsi_conn_closing() 858 csk, (csk)->state, (csk)->flags, (csk)->tid); in cxgbi_sock_closed() 860 if (csk->state == CTP_ACTIVE_OPEN || csk->state == CTP_CLOSED) in cxgbi_sock_closed() 879 csk, (csk)->state, (csk)->flags, (csk)->tid); in need_active_close() 886 if (csk->state == CTP_ACTIVE_OPEN) in need_active_close() 888 else if (csk->state == CTP_ESTABLISHED) { in need_active_close() 891 } else if (csk->state in need_active_close() [all...] |
/kernel/linux/linux-5.10/include/linux/ |
H A D | netdevice.h | 335 * changes the state of the NAPI_STATE_SCHED bit. This means 342 unsigned long state; member 446 return test_bit(NAPI_STATE_DISABLE, &n->state); in napi_disable_pending() 518 BUG_ON(!test_bit(NAPI_STATE_SCHED, &n->state)); in napi_enable() 520 clear_bit(NAPI_STATE_SCHED, &n->state); in napi_enable() 521 clear_bit(NAPI_STATE_NPSVC, &n->state); in napi_enable() 535 while (test_bit(NAPI_STATE_SCHED, &n->state)) in napi_synchronize() 554 val = READ_ONCE(n->state); in napi_if_scheduled_mark_missed() 562 } while (cmpxchg(&n->state, val, new) != val); in napi_if_scheduled_mark_missed() 589 * of the XOFF bits are set in the state) 628 unsigned long state; global() member 1909 unsigned long state; global() member [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
H A D | dcn20_fpu.c | 222 .state = 0, 233 .state = 1, 244 .state = 2, 255 .state = 3, 266 .state = 4, 276 /*Extra state, no dispclk ramping*/ 278 .state = 5, 333 .state = 0, 344 .state = 1, 355 .state [all...] |
/kernel/linux/linux-6.6/drivers/scsi/elx/efct/ |
H A D | efct_hw.c | 659 io->state = EFCT_HW_IO_STATE_FREE; in efct_hw_init_prereg_io() 687 io->state = EFCT_HW_IO_STATE_FREE; in efct_hw_init_io() 1105 hw->state = EFCT_HW_STATE_ACTIVE; in efct_hw_init() 1382 * If the chip is in an error state (UE'd) then reject this mailbox in efct_hw_command() 1386 efc_log_crit(hw->os, "Chip in an error state - reset needed\n"); in efct_hw_command() 1415 if (hw->state != EFCT_HW_STATE_ACTIVE) { in efct_hw_command() 1416 efc_log_err(hw->os, "Can't send command, HW state=%d\n", in efct_hw_command() 1417 hw->state); in efct_hw_command() 1589 io->state = EFCT_HW_IO_STATE_INUSE; in _efct_hw_io_alloc() 1634 io->state in efct_hw_io_free_move_correct_list() [all...] |
/kernel/linux/linux-6.6/drivers/scsi/cxgbi/ |
H A D | libcxgbi.c | 843 "csk 0x%p, state %u, flags 0x%lx, conn 0x%p.\n", in cxgbi_inform_iscsi_conn_closing() 844 csk, csk->state, csk->flags, csk->user_data); in cxgbi_inform_iscsi_conn_closing() 846 if (csk->state != CTP_ESTABLISHED) { in cxgbi_inform_iscsi_conn_closing() 858 csk, (csk)->state, (csk)->flags, (csk)->tid); in cxgbi_sock_closed() 860 if (csk->state == CTP_ACTIVE_OPEN || csk->state == CTP_CLOSED) in cxgbi_sock_closed() 879 csk, (csk)->state, (csk)->flags, (csk)->tid); in need_active_close() 886 if (csk->state == CTP_ACTIVE_OPEN) in need_active_close() 888 else if (csk->state == CTP_ESTABLISHED) { in need_active_close() 891 } else if (csk->state in need_active_close() [all...] |
/foundation/CastEngine/castengine_wifi_display/tests/demo/interaction/ |
H A D | wfd_source_demo.cpp | 203 info.state = static_cast<ConnectionState>(data->state); in OnInfo() 250 printf("on OnConnectionChanged. state: %d, ip: %s, mac: %s.\n", info.state, info.ip.c_str(), info.mac.c_str()); in OnConnectionChanged()
|
/foundation/ability/ability_runtime/test/fuzztest/applicationanrlistener_fuzzer/ |
H A D | applicationanrlistener_fuzzer.cpp | 172 CallState state = CallState::INIT; in DoSomethingInterestingWithMyAPI() local 173 callRecord->IsCallState(state); in DoSomethingInterestingWithMyAPI() 174 callRecord->SetCallState(state); in DoSomethingInterestingWithMyAPI()
|
/foundation/arkui/ace_engine/frameworks/core/components/custom_paint/ |
H A D | custom_paint_component.h | 87 double MeasureText(const std::string& text, const PaintState& state); 88 double MeasureTextHeight(const std::string& text, const PaintState& state); 89 TextMetrics MeasureTextMetrics(const std::string& text, const PaintState& state);
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/canvas/ |
H A D | canvas_rendering_context_2d_model_ng.h | 36 void SetFillText(const PaintState& state, const FillTextInfo& fillTextInfo) override; 37 void SetStrokeText(const PaintState& state, const FillTextInfo& fillTextInfo) override; 109 TextMetrics GetMeasureTextMetrics(const PaintState& state, const std::string& text) override;
|
H A D | offscreen_canvas_rendering_context_2d_model_ng.h | 33 void SetFillText(const PaintState& state, const FillTextInfo& fillTextInfo) override; 34 void SetStrokeText(const PaintState& state, const FillTextInfo& fillTextInfo) override; 106 TextMetrics GetMeasureTextMetrics(const PaintState& state, const std::string& text) override;
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/ |
H A D | text_content_modifier.h | 144 void SetMarqueeState(MarqueeState state); 145 bool CheckMarqueeState(MarqueeState state) in CheckMarqueeState() argument 147 return marqueeState_ == state; in CheckMarqueeState()
|
/foundation/barrierfree/accessibility/interfaces/kits/napi/include/ |
H A D | napi_accessibility_system_ability_client.h | 39 static void NotifyJS(napi_env env, bool state, napi_ref handlerRef); 41 void OnStateChanged(const bool state); 51 void OnStateChanged(const bool state) override;
|
/foundation/arkui/ace_engine_lite/frameworks/src/core/context/ |
H A D | js_ability.cpp | 63 // the JSAbility instance can only be destroied after transfering the app to DESTROY state in ~JSAbility() 257 // double check, if state reseted, break in LazyLoadHandleRenderTick() 258 LazyLoadState state = GetLazyLoadManagerState(); in LazyLoadHandleRenderTick() local 259 if (state == LazyLoadState::INIT || state == LazyLoadState::DONE) { in LazyLoadHandleRenderTick() 287 // check if state is ready in HandleRenderTick()
|
/foundation/communication/bluetooth_service/services/bluetooth/service/src/classic/ |
H A D | classic_remote_device.cpp | 140 LOG_DEBUG("[ClassicRemoteDevice]::%{public}s, state = %{public}d", __func__, aclConnected_); in IsAclConnected() 147 LOG_DEBUG("[ClassicRemoteDevice]::%{public}s, state = %{public}d", __func__, aclConnected_); in IsAclEncrypted() 154 LOG_DEBUG("[ClassicRemoteDevice]::%{public}s, state = %{public}d", __func__, connectState); in SetAclConnectState() 321 LOG_DEBUG("[ClassicRemoteDevice]::%{public}s state = %{public}d", __func__, pairConfirmState_); in GetPairConfirmState() 326 void ClassicRemoteDevice::SetPairConfirmState(int state) in SetPairConfirmState() argument 328 LOG_DEBUG("[ClassicRemoteDevice]::%{public}s state = %{public}d", __func__, state); in SetPairConfirmState() 330 pairConfirmState_ = state; in SetPairConfirmState()
|
/foundation/multimedia/audio_framework/services/audio_service/client/include/ |
H A D | audio_manager_proxy.h | 70 int32_t SetCaptureSilentState(bool state) override; 103 void UpdateSessionConnectionState(const int32_t &sessionID, const int32_t &state) override; 105 int32_t SetOffloadMode(uint32_t sessionId, int32_t state, bool isAppBack) override;
|
/foundation/graphic/graphic_3d/lume/LumeDotfield/src/systems/ |
H A D | dotfield_system.cpp | 70 void SetActive(bool state) override; 116 void DotfieldSystem::SetActive(bool state) in SetActive() argument 118 active_ = state; in SetActive()
|
/foundation/multimedia/av_session/services/session/server/migrate/ |
H A D | migrate_avsession_server.h | 54 void OnPlaybackStateChanged(const std::string &playerId, const AVPlaybackState &state);
68 int32_t ConvertStateFromSingleToDouble(int32_t state);
112 void OnPlaybackStateChange(const AVPlaybackState &state) override;
|
/foundation/multimedia/av_session/interfaces/inner_api/native/session/include/ |
H A D | avsession_info.h | 107 virtual void OnCastPlaybackStateChange(const AVPlaybackState& state) = 0; 229 * @param connectionState Event callback of device state. 307 * @param avCallState Session related avcall state. 320 * @param state Session related description callback. 323 virtual void OnPlaybackStateChange(const AVPlaybackState& state) = 0; 352 * @param connectionState Event callback of device state. 400 virtual void OnCastPlaybackStateChange(const AVPlaybackState& state) = 0; 432 * @brief Listen to the change of cast state change. 527 * Define the device connection state. 533 * A connection state indicatin [all...] |
/foundation/multimedia/player_framework/frameworks/js/metadatahelper/ |
H A D | avmetadatahelper_callback.cpp | 193 HelperStates state = static_cast<HelperStates>(extra); in OnStateChangeCb() local 194 MEDIA_LOGI("OnStateChanged is called, current state: %{public}d", state); in OnStateChangeCb() 197 listener_->NotifyState(state); in OnStateChangeCb()
|
/foundation/resourceschedule/resource_schedule_service/ressched/plugins/cgroup_sched_plugin/framework/sched_controller/include/ |
H A D | cgroup_event_handler.h | 38 void HandleApplicationStateChanged(uid_t uid, pid_t pid, const std::string& bundleName, int32_t state); 39 void HandleProcessStateChanged(uid_t uid, pid_t pid, const std::string& bundleName, int32_t state); 86 void UpdateActivepWebRenderInfo(int32_t uid, int32_t pid, int32_t windowId, int32_t state,
|
/foundation/window/window_manager/test/fuzztest/wms/windowagent_fuzzer/ |
H A D | window_agent_fuzzer.cpp | 83 WindowState state; in CheckWindowAgentFunctionsPart1() local 84 GetObject<WindowState>(state, data + startPos, size - startPos); in CheckWindowAgentFunctionsPart1() 85 agent->UpdateWindowState(state); in CheckWindowAgentFunctionsPart1()
|
/foundation/window/window_manager/dmserver/include/ |
H A D | display_manager_proxy.h | 75 bool SetSpecifiedScreenPower(ScreenId screenId, ScreenPowerState state, PowerStateChangeReason reason) override;
76 bool SetScreenPowerForAll(ScreenPowerState state, PowerStateChangeReason reason) override;
78 bool SetDisplayState(DisplayState state) override;
|
/foundation/communication/wifi/wifi/interfaces/inner_api/ |
H A D | wifi_device.h | 207 * @param state - return current wifi state 210 virtual ErrCode GetWifiState(int &state) = 0; 509 * @Description Obtains the wifi detail state 511 * @param state - WifiDetailState object 514 virtual ErrCode GetWifiDetailState(WifiDetailState &state) = 0; 517 * @Description set satellite state 521 virtual ErrCode SetSatelliteState(const int state) = 0;
|
/foundation/communication/wifi/wifi/frameworks/native/interfaces/ |
H A D | i_wifi_device.h | 272 * @param state - return current wifi state 275 virtual ErrCode GetWifiState(int &state) = 0; 528 * @Description Obtains the wifi detail state 530 * @param state - WifiDetailState object 533 virtual ErrCode GetWifiDetailState(WifiDetailState &state) = 0; 536 * @Description set satellite state 540 virtual ErrCode SetSatelliteState(const int state) = 0;
|