/foundation/communication/bluetooth_service/services/bluetooth/service/src/common/ |
H A D | profile_service_manager.cpp | 309 ServiceStateID state = ServiceStateID::TURN_OFF; in EnableCompleteProcess() local 310 if ((pimpl->profilesState_.Find(BTTransport::ADAPTER_BREDR, profileName, state)) && in EnableCompleteProcess() 311 (state == ServiceStateID::TURNING_ON)) { in EnableCompleteProcess() 319 if ((pimpl->profilesState_.Find(BTTransport::ADAPTER_BLE, profileName, state)) && in EnableCompleteProcess() 320 (state == ServiceStateID::TURNING_ON)) { in EnableCompleteProcess() 461 ServiceStateID state = ServiceStateID::TURN_OFF; in DisableCompleteProcess() local 462 if ((pimpl->profilesState_.Find(BTTransport::ADAPTER_BREDR, profileName, state)) && in DisableCompleteProcess() 463 (state == ServiceStateID::TURNING_OFF)) { in DisableCompleteProcess() 471 if ((pimpl->profilesState_.Find(BTTransport::ADAPTER_BLE, profileName, state)) && in DisableCompleteProcess() 472 (state in DisableCompleteProcess() 501 ServiceStateID state = ServiceStateID::TURN_OFF; CheckWaitEnableProfiles() local 515 ServiceStateID state = ServiceStateID::TURN_OFF; GetProfileServicesSupportedUuids() local [all...] |
/kernel/linux/linux-5.10/drivers/hid/ |
H A D | hid-magicmouse.c | 51 MODULE_PARM_DESC(report_undeciphered, "Report undeciphered multi-touch state field using a MSC_RAW event"); 155 static void magicmouse_emit_buttons(struct magicmouse_sc *msc, int state) in magicmouse_emit_buttons() argument 168 if (state == 0) { in magicmouse_emit_buttons() 171 state = last_state; in magicmouse_emit_buttons() 175 state = 1; in magicmouse_emit_buttons() 177 state = 2; in magicmouse_emit_buttons() 179 state = 4; in magicmouse_emit_buttons() 182 input_report_key(msc->input, BTN_MIDDLE, state & 4); in magicmouse_emit_buttons() 185 input_report_key(msc->input, BTN_LEFT, state & 1); in magicmouse_emit_buttons() 186 input_report_key(msc->input, BTN_RIGHT, state in magicmouse_emit_buttons() 195 int id, x, y, size, orientation, touch_major, touch_minor, state, down; magicmouse_emit_touch() local [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | tdls.c | 221 iwl_mvm_tdls_cs_state_str(enum iwl_mvm_tdls_cs_state state) in iwl_mvm_tdls_cs_state_str() argument 223 switch (state) { in iwl_mvm_tdls_cs_state_str() 240 enum iwl_mvm_tdls_cs_state state) in iwl_mvm_tdls_update_cs_state() 242 if (mvm->tdls_cs.state == state) in iwl_mvm_tdls_update_cs_state() 245 IWL_DEBUG_TDLS(mvm, "TDLS channel switch state: %s -> %s\n", in iwl_mvm_tdls_update_cs_state() 246 iwl_mvm_tdls_cs_state_str(mvm->tdls_cs.state), in iwl_mvm_tdls_update_cs_state() 247 iwl_mvm_tdls_cs_state_str(state)); in iwl_mvm_tdls_update_cs_state() 248 mvm->tdls_cs.state = state; in iwl_mvm_tdls_update_cs_state() 239 iwl_mvm_tdls_update_cs_state(struct iwl_mvm *mvm, enum iwl_mvm_tdls_cs_state state) iwl_mvm_tdls_update_cs_state() argument [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/ |
H A D | drm_bridge.c | 131 struct drm_bridge_state *state; in drm_bridge_atomic_duplicate_priv_state() local 133 state = bridge->funcs->atomic_duplicate_state(bridge); in drm_bridge_atomic_duplicate_priv_state() 134 return state ? &state->base : NULL; in drm_bridge_atomic_duplicate_priv_state() 141 struct drm_bridge_state *state = drm_priv_to_bridge_state(s); in drm_bridge_atomic_destroy_priv_state() local 144 bridge->funcs->atomic_destroy_state(bridge, state); in drm_bridge_atomic_destroy_priv_state() 205 struct drm_bridge_state *state; in drm_bridge_attach() local 207 state = bridge->funcs->atomic_reset(bridge); in drm_bridge_attach() 208 if (IS_ERR(state)) { in drm_bridge_attach() 209 ret = PTR_ERR(state); in drm_bridge_attach() 933 drm_atomic_bridge_propagate_bus_flags(struct drm_bridge *bridge, struct drm_connector *conn, struct drm_atomic_state *state) drm_atomic_bridge_propagate_bus_flags() argument [all...] |
/kernel/linux/linux-5.10/drivers/greybus/ |
H A D | connection.c | 134 * A connection also maintains the state of operations sent over the 183 connection->state = GB_CONNECTION_STATE_DISABLED; in _gb_connection_create() 323 dev_err(&hd->dev, "%s: failed to set connected state: %d\n", in gb_connection_hd_cport_connected() 598 * Locking: Called with connection lock held and state set to DISABLED or 627 * Locking: Called with connection lock held and state set to ENABLED_TX. 667 * ENABLED_TX->ENABLED state transitions. 676 if (connection->state == GB_CONNECTION_STATE_ENABLED_TX) { in _gb_connection_enable() 681 connection->state = GB_CONNECTION_STATE_ENABLED; in _gb_connection_enable() 701 connection->state = GB_CONNECTION_STATE_ENABLED; in _gb_connection_enable() 703 connection->state in _gb_connection_enable() [all...] |
/kernel/linux/linux-5.10/drivers/platform/x86/ |
H A D | acerhdf.c | 282 static int acerhdf_get_fanstate(int *state) in acerhdf_get_fanstate() argument 290 *state = ACERHDF_FAN_AUTO; in acerhdf_get_fanstate() 292 *state = ACERHDF_FAN_OFF; in acerhdf_get_fanstate() 297 static void acerhdf_change_fanstate(int state) in acerhdf_change_fanstate() argument 302 pr_notice("fan %s\n", state == ACERHDF_FAN_OFF ? "OFF" : "ON"); in acerhdf_change_fanstate() 304 if ((state != ACERHDF_FAN_OFF) && (state != ACERHDF_FAN_AUTO)) { in acerhdf_change_fanstate() 305 pr_err("invalid fan state %d requested, setting to auto!\n", in acerhdf_change_fanstate() 306 state); in acerhdf_change_fanstate() 307 state in acerhdf_change_fanstate() 488 acerhdf_get_max_state(struct thermal_cooling_device *cdev, unsigned long *state) acerhdf_get_max_state() argument 496 acerhdf_get_cur_state(struct thermal_cooling_device *cdev, unsigned long *state) acerhdf_get_cur_state() argument 510 acerhdf_set_cur_state(struct thermal_cooling_device *cdev, unsigned long state) acerhdf_set_cur_state() argument [all...] |
/kernel/linux/linux-6.6/drivers/platform/x86/ |
H A D | acerhdf.c | 290 static int acerhdf_get_fanstate(int *state) in acerhdf_get_fanstate() argument 298 *state = ACERHDF_FAN_AUTO; in acerhdf_get_fanstate() 300 *state = ACERHDF_FAN_OFF; in acerhdf_get_fanstate() 305 static void acerhdf_change_fanstate(int state) in acerhdf_change_fanstate() argument 310 pr_notice("fan %s\n", state == ACERHDF_FAN_OFF ? "OFF" : "ON"); in acerhdf_change_fanstate() 312 if ((state != ACERHDF_FAN_OFF) && (state != ACERHDF_FAN_AUTO)) { in acerhdf_change_fanstate() 313 pr_err("invalid fan state %d requested, setting to auto!\n", in acerhdf_change_fanstate() 314 state); in acerhdf_change_fanstate() 315 state in acerhdf_change_fanstate() 461 acerhdf_get_max_state(struct thermal_cooling_device *cdev, unsigned long *state) acerhdf_get_max_state() argument 469 acerhdf_get_cur_state(struct thermal_cooling_device *cdev, unsigned long *state) acerhdf_get_cur_state() argument 483 acerhdf_set_cur_state(struct thermal_cooling_device *cdev, unsigned long state) acerhdf_set_cur_state() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | reporter_tx.c | 66 test_bit(i, &sq->state)); in mlx5e_health_sq_put_sw_state() 79 u8 state; in mlx5e_tx_reporter_err_cqe_recover() local 86 if (!test_bit(MLX5E_SQ_STATE_RECOVERING, &sq->state)) in mlx5e_tx_reporter_err_cqe_recover() 89 err = mlx5_core_query_sq_state(mdev, sq->sqn, &state); in mlx5e_tx_reporter_err_cqe_recover() 91 netdev_err(dev, "Failed to query SQ 0x%x state. err = %d\n", in mlx5e_tx_reporter_err_cqe_recover() 96 if (state != MLX5_SQC_STATE_ERR) in mlx5e_tx_reporter_err_cqe_recover() 116 clear_bit(MLX5E_SQ_STATE_RECOVERING, &sq->state); in mlx5e_tx_reporter_err_cqe_recover() 125 clear_bit(MLX5E_SQ_STATE_RECOVERING, &sq->state); in mlx5e_tx_reporter_err_cqe_recover() 159 clear_bit(MLX5E_SQ_STATE_ENABLED, &sq->state); in mlx5e_tx_reporter_timeout_recover() 176 if (!test_bit(MLX5E_SQ_STATE_RECOVERING, &ptpsq->txqsq.state)) in mlx5e_tx_reporter_ptpsq_unhealthy_recover() 229 u8 state; mlx5e_tx_reporter_build_diagnose_output_sq_common() local [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | tdls.c | 165 iwl_mvm_tdls_cs_state_str(enum iwl_mvm_tdls_cs_state state) in iwl_mvm_tdls_cs_state_str() argument 167 switch (state) { in iwl_mvm_tdls_cs_state_str() 184 enum iwl_mvm_tdls_cs_state state) in iwl_mvm_tdls_update_cs_state() 186 if (mvm->tdls_cs.state == state) in iwl_mvm_tdls_update_cs_state() 189 IWL_DEBUG_TDLS(mvm, "TDLS channel switch state: %s -> %s\n", in iwl_mvm_tdls_update_cs_state() 190 iwl_mvm_tdls_cs_state_str(mvm->tdls_cs.state), in iwl_mvm_tdls_update_cs_state() 191 iwl_mvm_tdls_cs_state_str(state)); in iwl_mvm_tdls_update_cs_state() 192 mvm->tdls_cs.state = state; in iwl_mvm_tdls_update_cs_state() 183 iwl_mvm_tdls_update_cs_state(struct iwl_mvm *mvm, enum iwl_mvm_tdls_cs_state state) iwl_mvm_tdls_update_cs_state() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/gud/ |
H A D | gud_pipe.c | 448 struct drm_plane_state *old_plane_state = pipe->plane.state; in gud_pipe_check() 450 struct drm_atomic_state *state = new_plane_state->state; in gud_pipe_check() local 480 for_each_new_connector_in_state(state, connector, connector_state, i) { in gud_pipe_check() 487 * the connector included in the state. in gud_pipe_check() 494 if (connector->state->crtc) { in gud_pipe_check() 495 connector_state = connector->state; in gud_pipe_check() 564 struct drm_plane_state *state = pipe->plane.state; in gud_pipe_update() local 565 struct drm_shadow_plane_state *shadow_plane_state = to_drm_shadow_plane_state(state); in gud_pipe_update() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/ |
H A D | drm_bridge.c | 166 * called. All lanes are in an undefined idle state up to this point, and it 183 * state. The DSI host &post_disable operation should disable the PHY. 188 * post_disable, the exact state of the lanes is undefined at this point. The 257 struct drm_bridge_state *state; in drm_bridge_atomic_duplicate_priv_state() local 259 state = bridge->funcs->atomic_duplicate_state(bridge); in drm_bridge_atomic_duplicate_priv_state() 260 return state ? &state->base : NULL; in drm_bridge_atomic_duplicate_priv_state() 267 struct drm_bridge_state *state = drm_priv_to_bridge_state(s); in drm_bridge_atomic_destroy_priv_state() local 270 bridge->funcs->atomic_destroy_state(bridge, state); in drm_bridge_atomic_destroy_priv_state() 331 struct drm_bridge_state *state; in drm_bridge_attach() local 1055 drm_atomic_bridge_propagate_bus_flags(struct drm_bridge *bridge, struct drm_connector *conn, struct drm_atomic_state *state) drm_atomic_bridge_propagate_bus_flags() argument [all...] |
/kernel/linux/linux-6.6/drivers/infiniband/hw/irdma/ |
H A D | trace_cm.h | 73 state) 80 __entry->state = listener->listener_state; 210 __field(enum irdma_cm_node_state, state) 224 __entry->state = cm_node->state; 238 TP_printk("iwdev=%p caller=%pS cm_id=%p node=%p refcnt=%d vlan_id=%d accel=%d state=%s event_type=%s status=%d loc: %s rem: %s", 246 parse_cm_state(__entry->state), 287 __field(enum irdma_cm_node_state, state) 299 __entry->state = cm_node->state; [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/display/ |
H A D | intel_pch_display.c | 42 bool state; in assert_pch_dp_disabled() local 44 state = g4x_dp_port_enabled(dev_priv, dp_reg, port, &port_pipe); in assert_pch_dp_disabled() 46 I915_STATE_WARN(dev_priv, state && port_pipe == pipe, in assert_pch_dp_disabled() 51 HAS_PCH_IBX(dev_priv) && !state && port_pipe == PIPE_B, in assert_pch_dp_disabled() 61 bool state; in assert_pch_hdmi_disabled() local 63 state = intel_sdvo_port_enabled(dev_priv, hdmi_reg, &port_pipe); in assert_pch_hdmi_disabled() 65 I915_STATE_WARN(dev_priv, state && port_pipe == pipe, in assert_pch_hdmi_disabled() 70 HAS_PCH_IBX(dev_priv) && !state && port_pipe == PIPE_B, in assert_pch_hdmi_disabled() 324 /* wait for PCH transcoder off, transcoder state */ in ilk_disable_pch_transcoder() 335 void ilk_pch_pre_enable(struct intel_atomic_state *state, in ilk_pch_pre_enable() argument 357 ilk_pch_enable(struct intel_atomic_state *state, struct intel_crtc *crtc) ilk_pch_enable() argument 442 ilk_pch_disable(struct intel_atomic_state *state, struct intel_crtc *crtc) ilk_pch_disable() argument 448 ilk_pch_post_disable(struct intel_atomic_state *state, struct intel_crtc *crtc) ilk_pch_post_disable() argument 584 lpt_pch_enable(struct intel_atomic_state *state, struct intel_crtc *crtc) lpt_pch_enable() argument 601 lpt_pch_disable(struct intel_atomic_state *state, struct intel_crtc *crtc) lpt_pch_disable() argument [all...] |
/kernel/linux/linux-6.6/drivers/greybus/ |
H A D | connection.c | 134 * A connection also maintains the state of operations sent over the 183 connection->state = GB_CONNECTION_STATE_DISABLED; in _gb_connection_create() 323 dev_err(&hd->dev, "%s: failed to set connected state: %d\n", in gb_connection_hd_cport_connected() 598 * Locking: Called with connection lock held and state set to DISABLED or 627 * Locking: Called with connection lock held and state set to ENABLED_TX. 667 * ENABLED_TX->ENABLED state transitions. 676 if (connection->state == GB_CONNECTION_STATE_ENABLED_TX) { in _gb_connection_enable() 681 connection->state = GB_CONNECTION_STATE_ENABLED; in _gb_connection_enable() 701 connection->state = GB_CONNECTION_STATE_ENABLED; in _gb_connection_enable() 703 connection->state in _gb_connection_enable() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/vc4/ |
H A D | vc4_drv.h | 185 /* The memory used for storing binner tile alloc, tile state, 264 /* Struct for shader validation state, if created by 280 /* Store purgeable/purged state here */ 365 struct vc4_hvs_state *vc4_hvs_get_global_state(struct drm_atomic_state *state); 366 struct vc4_hvs_state *vc4_hvs_get_old_global_state(const struct drm_atomic_state *state); 367 struct vc4_hvs_state *vc4_hvs_get_new_global_state(const struct drm_atomic_state *state); 466 void (*pre_crtc_configure)(struct drm_encoder *encoder, struct drm_atomic_state *state); 467 void (*pre_crtc_enable)(struct drm_encoder *encoder, struct drm_atomic_state *state); 468 void (*post_crtc_enable)(struct drm_encoder *encoder, struct drm_atomic_state *state); 470 void (*post_crtc_disable)(struct drm_encoder *encoder, struct drm_atomic_state *state); [all...] |
/third_party/mesa3d/src/broadcom/vulkan/ |
H A D | v3dv_uniforms.c | 50 /* This tracks state BOs for both textures and samplers, so we 97 if (!(cmd_buffer->state.dirty & V3DV_CMD_DIRTY_PUSH_CONSTANTS_UBO) || in check_push_constants_ubo() 105 v3dv_job_add_bo(cmd_buffer->state.job, in check_push_constants_ubo() 122 cmd_buffer->state.push_constants_size <= in check_push_constants_ubo() 125 cmd_buffer->state.push_constants_size; in check_push_constants_ubo() 143 assert(cmd_buffer->state.push_constants_size <= MAX_PUSH_CONSTANTS_SIZE); in check_push_constants_ubo() 146 cmd_buffer->state.push_constants_data, in check_push_constants_ubo() 147 cmd_buffer->state.push_constants_size); in check_push_constants_ubo() 149 cmd_buffer->state.dirty &= ~V3DV_CMD_DIRTY_PUSH_CONSTANTS_UBO; in check_push_constants_ubo() 477 struct v3dv_dynamic_state *dynamic = &cmd_buffer->state in v3dv_write_uniforms_wg_offsets() 604 const struct v3dv_cmd_buffer_state *state = &job->cmd_buffer->state; v3dv_write_uniforms_wg_offsets() local [all...] |
/third_party/node/deps/v8/src/inspector/ |
H A D | v8-inspector-session-impl.cc | 41 Status ConvertToCBOR(StringView state, std::vector<uint8_t>* cbor) { in ConvertToCBOR() argument 42 return state.is8Bit() in ConvertToCBOR() 44 span<uint8_t>(state.characters8(), state.length()), cbor) in ConvertToCBOR() 46 span<uint16_t>(state.characters16(), state.length()), cbor); in ConvertToCBOR() 49 std::unique_ptr<protocol::DictionaryValue> ParseState(StringView state) { in ParseState() argument 52 if (IsCBORMessage(state)) in ParseState() 53 cbor = span<uint8_t>(state.characters8(), state in ParseState() 88 create( V8InspectorImpl* inspector, int contextGroupId, int sessionId, V8Inspector::Channel* channel, StringView state) create() argument 176 protocol::DictionaryValue* state = m_state->getObject(name); agentState() local 400 std::vector<uint8_t> V8InspectorSessionImpl::state() { state() function in v8_inspector::V8InspectorSessionImpl [all...] |
/third_party/skia/third_party/externals/libpng/contrib/libtests/ |
H A D | tarith.c | 112 int state, failed = 0; in validation_ascii_to_fp() local 141 state = 0; in validation_ascii_to_fp() 154 else if (!png_check_fp_number(buffer, precision+10, &state, &index) || in validation_ascii_to_fp() 161 else if (PNG_FP_IS_NEGATIVE(state) && !(test < 0)) in validation_ascii_to_fp() 166 assert(!PNG_FP_IS_ZERO(state)); in validation_ascii_to_fp() 167 assert(!PNG_FP_IS_POSITIVE(state)); in validation_ascii_to_fp() 169 else if (PNG_FP_IS_ZERO(state) && !(test == 0)) in validation_ascii_to_fp() 174 assert(!PNG_FP_IS_NEGATIVE(state)); in validation_ascii_to_fp() 175 assert(!PNG_FP_IS_POSITIVE(state)); in validation_ascii_to_fp() 177 else if (PNG_FP_IS_POSITIVE(state) in validation_ascii_to_fp() 316 int state; /* Current parser state */ global() member [all...] |
/kernel/linux/linux-5.10/net/netfilter/ipvs/ |
H A D | ip_vs_sync.c | 83 /* Flags and state transition */ 85 __be16 state; /* state info */ member 137 /* Flags and state transition */ 139 __be16 state; /* state info */ member 159 /* Flags and state transition */ 161 __be16 state; /* state info */ member 456 * for state change 842 ip_vs_proc_conn(struct netns_ipvs *ipvs, struct ip_vs_conn_param *param, unsigned int flags, unsigned int state, unsigned int protocol, unsigned int type, const union nf_inet_addr *daddr, __be16 dport, unsigned long timeout, __u32 fwmark, struct ip_vs_sync_conn_options *opt) ip_vs_proc_conn() argument 972 unsigned int flags, state; ip_vs_process_message_v0() local 1077 unsigned int af, state, pe_data_len=0, pe_name_len=0; ip_vs_proc_sync_conn() local 1750 start_sync_thread(struct netns_ipvs *ipvs, struct ipvs_sync_daemon_cfg *c, int state) start_sync_thread() argument 1944 stop_sync_thread(struct netns_ipvs *ipvs, int state) stop_sync_thread() argument [all...] |
/kernel/linux/linux-6.6/net/netfilter/ipvs/ |
H A D | ip_vs_sync.c | 83 /* Flags and state transition */ 85 __be16 state; /* state info */ member 137 /* Flags and state transition */ 139 __be16 state; /* state info */ member 159 /* Flags and state transition */ 161 __be16 state; /* state info */ member 456 * for state change 842 ip_vs_proc_conn(struct netns_ipvs *ipvs, struct ip_vs_conn_param *param, unsigned int flags, unsigned int state, unsigned int protocol, unsigned int type, const union nf_inet_addr *daddr, __be16 dport, unsigned long timeout, __u32 fwmark, struct ip_vs_sync_conn_options *opt) ip_vs_proc_conn() argument 972 unsigned int flags, state; ip_vs_process_message_v0() local 1077 unsigned int af, state, pe_data_len=0, pe_name_len=0; ip_vs_proc_sync_conn() local 1743 start_sync_thread(struct netns_ipvs *ipvs, struct ipvs_sync_daemon_cfg *c, int state) start_sync_thread() argument 1937 stop_sync_thread(struct netns_ipvs *ipvs, int state) stop_sync_thread() argument [all...] |
/third_party/rust/crates/libc/src/unix/bsd/netbsdlike/openbsd/ |
H A D | mod.rs | 644 fn hash<H: ::hash::Hasher>(&self, state: &mut H) { in hash() 645 self.d_fileno.hash(state); in hash() 646 self.d_off.hash(state); in hash() 647 self.d_reclen.hash(state); in hash() 648 self.d_type.hash(state); in hash() 649 self.d_namlen.hash(state); in hash() 650 self.d_name.hash(state); in hash() 673 fn hash<H: ::hash::Hasher>(&self, state: &mut H) { in hash() 674 self.ss_len.hash(state); in hash() 675 self.ss_family.hash(state); in hash() [all...] |
/third_party/python/Modules/_sqlite/ |
H A D | connection.c | 127 new_statement_cache(pysqlite_Connection *self, pysqlite_state *state, in new_statement_cache() argument 134 PyObject *lru_cache = state->lru_cache; in new_statement_cache() 217 pysqlite_state *state = pysqlite_get_state_by_type(Py_TYPE(self)); in pysqlite_connection_init_impl() local 219 _pysqlite_seterror(state, db); in pysqlite_connection_init_impl() 224 PyObject *statement_cache = new_statement_cache(self, state, cache_size); in pysqlite_connection_init_impl() 243 // Init connection state members. in pysqlite_connection_init_impl() 245 self->state = state; in pysqlite_connection_init_impl() 261 self->Warning = state->Warning; in pysqlite_connection_init_impl() 262 self->Error = state in pysqlite_connection_init_impl() 507 pysqlite_state *state = pysqlite_get_state_by_type(tp); pysqlite_connection_close_impl() local 528 pysqlite_state *state = pysqlite_get_state_by_type(Py_TYPE(con)); pysqlite_check_connection() local 1328 pysqlite_state *state = ((callback_context *)ctx)->state; trace_callback() local 2399 pysqlite_state *state = pysqlite_get_state(module); pysqlite_connection_setup_types() local [all...] |
/device/soc/rockchip/rk3588/kernel/drivers/soc/rockchip/ |
H A D | rockchip_pm_config.c | 75 static int parse_on_off_regulator(struct device_node *node, enum rk_pm_state state) in parse_on_off_regulator() argument 85 switch (state) { in parse_on_off_regulator() 111 on_list = on_off_regs_list[state].on_reg_list; in parse_on_off_regulator() 112 off_list = on_off_regs_list[state].off_reg_list; in parse_on_off_regulator() 259 enum rk_pm_state state = suspend_state - PM_SUSPEND_MEM; in pm_config_prepare() local 267 if (state >= RK_PM_STATE_MAX) in pm_config_prepare() 270 on_list = on_off_regs_list[state].on_reg_list; in pm_config_prepare() 271 off_list = on_off_regs_list[state].off_reg_list; in pm_config_prepare()
|
/foundation/communication/bluetooth_service/services/bluetooth/service/src/gavdp/ |
H A D | a2dp_service.h | 77 * @param[in] state The connect state of Bluetooth remote device. 81 void OnConnectStateChanged(const BtAddr &addr, const int state, void *context) override; 86 * @param[in] state The playing status of remote device after chang. 90 void OnAudioStateChanged(const BtAddr &addr, const int state, void *context) override; 103 * @brief Process the message of connect state changed . 107 * @return The state of connected 111 RawAddress btAddr, A2dpDeviceInfo *deviceInfo, const int connectPolicy, const int state, const uint16_t handle); 116 * @param[in] state The connection state [all...] |
/foundation/graphic/graphic_3d/lume/LumeEngine/src/io/dev/ |
H A D | file_monitor.cpp | 63 iterator->second.state = FileInfo::NOCHANGE; in RecursivelyCollectAllFiles() 66 iterator->second.state = FileInfo::MODIFIED; in RecursivelyCollectAllFiles() 109 // Update state. in AddPath() 111 ref.second.state = FileInfo::REMOVED; in AddPath() 179 if (it->second.state == FileInfo::REMOVED) { in ScanModifications() 181 } else if (it->second.state == FileInfo::MODIFIED) { in ScanModifications() 183 } else if (it->second.state == FileInfo::ADDED) { in ScanModifications() 186 if (it->second.state != FileInfo::REMOVED) { in ScanModifications() 187 // default state is removed. in ScanModifications() 188 it->second.state in ScanModifications() [all...] |