/third_party/pulseaudio/src/modules/ |
H A D | module-pipe-source.c | 139 if (u->source->thread_info.state == PA_SOURCE_RUNNING && pollfd->revents) { in thread_func() 179 pollfd->events = (short) (u->source->thread_info.state == PA_SOURCE_RUNNING ? POLLIN : 0); in thread_func()
|
/third_party/skia/third_party/externals/tint/src/transform/ |
H A D | robustness.cc | 34 /// State holds the current transform state 42 /// Applies the transformation state to `ctx`. 314 State state{ctx, std::move(omitted_classes)}; in Run() 316 state.Transform(); in Run()
|
/third_party/python/PCbuild/ |
H A D | find_python.bat | 4 @rem This file is supposed to modify the state of the caller (specifically
6 @rem changing any other persistent state.
|
/third_party/python/Objects/ |
H A D | iterobject.c | 118 PyDoc_STRVAR(reduce_doc, "Return state information for pickling."); 121 iter_setstate(seqiterobject *it, PyObject *state) in iter_setstate() argument 123 Py_ssize_t index = PyLong_AsSsize_t(state); in iter_setstate() 134 PyDoc_STRVAR(setstate_doc, "Set state information for unpickling.");
|
/third_party/skia/include/gpu/ |
H A D | GrBackendSurface.h | 336 // state. Otherwise returns false if the backend API is not Vulkan. 353 // current resource state. Otherwise returns false if the backend API is not D3D. 369 // this function to inform Skia that those values have changed. The backend API specific state 417 sk_sp<GrD3DResourceState> state); 535 // state. Otherwise returns false if the backend API is not Vulkan. 567 // this function to inform Skia that those values have changed. The backend API specific state 602 sk_sp<GrD3DResourceState> state);
|
/third_party/skia/experimental/sorttoy/ |
H A D | Cmds.cpp | 60 sk_sp<FakeMCBlob> state) in DrawCmd() 66 , fMCState(std::move(state)) { in DrawCmd() 55 DrawCmd(ID id, PaintersOrder paintersOrder, Shape shape, SkIRect r, const FakePaint& p, sk_sp<FakeMCBlob> state) DrawCmd() argument
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/ |
H A D | preauth_test.c | 79 static void _wpa_supplicant_set_state(void *ctx, enum wpa_states state) in _wpa_supplicant_set_state() argument 82 wpa_s->wpa_state = state; in _wpa_supplicant_set_state()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/ |
H A D | preauth_test.c | 85 static void _wpa_supplicant_set_state(void *ctx, enum wpa_states state) in _wpa_supplicant_set_state() argument 88 wpa_s->wpa_state = state; in _wpa_supplicant_set_state()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/ |
H A D | BufferGL.cpp | 25 // GL_ELEMENT_ARRAY_BUFFER is supported on more versions but can modify the state of the currently 31 // supported GL versions and doesn't affect any current state when it changes. 34 BufferGL::BufferGL(const gl::BufferState &state, GLuint buffer) in BufferGL() argument 35 : BufferImpl(state), in BufferGL()
|
/kernel/linux/linux-6.6/net/wireless/ |
H A D | nl80211.c | 2395 int flags, struct nl80211_dump_wiphy_state *state) in nl80211_send_wiphy() 2412 if (WARN_ON(!state)) in nl80211_send_wiphy() 2425 switch (state->split_start) { in nl80211_send_wiphy() 2467 state->split_start++; in nl80211_send_wiphy() 2468 if (state->split) in nl80211_send_wiphy() 2514 state->split_start++; in nl80211_send_wiphy() 2515 if (state->split) in nl80211_send_wiphy() 2522 state->split_start++; in nl80211_send_wiphy() 2523 if (state->split) in nl80211_send_wiphy() 2532 for (band = state in nl80211_send_wiphy() 2392 nl80211_send_wiphy(struct cfg80211_registered_device *rdev, enum nl80211_commands cmd, struct sk_buff *msg, u32 portid, u32 seq, int flags, struct nl80211_dump_wiphy_state *state) nl80211_send_wiphy() argument 3007 nl80211_dump_wiphy_parse(struct sk_buff *skb, struct netlink_callback *cb, struct nl80211_dump_wiphy_state *state) nl80211_dump_wiphy_parse() argument 3058 struct nl80211_dump_wiphy_state *state = (void *)cb->args[0]; nl80211_dump_wiphy() local 3141 struct nl80211_dump_wiphy_state state = {}; nl80211_get_wiphy() local 3966 struct nl80211_dump_wiphy_state state = { nl80211_dump_interface() local 12721 bool state; nl80211_set_power_save() local 17575 struct nl80211_dump_wiphy_state state = {}; nl80211_notify_wiphy() local 19937 nl80211_netlink_notify(struct notifier_block * nb, unsigned long state, void *_notify) nl80211_netlink_notify() argument [all...] |
/kernel/linux/linux-5.10/drivers/scsi/bfa/ |
H A D | bfa_svc.c | 44 * BFA port state machine events 47 BFA_FCPORT_SM_START = 1, /* start port state machine */ 48 BFA_FCPORT_SM_STOP = 2, /* stop port state machine */ 50 BFA_FCPORT_SM_DISABLE = 4, /* disable port state machine */ 64 * BFA port link notification state machine events 124 * forward declaration for LPS state machine 156 * forward declaration for FC PORT state machine 237 * forward declaration for RPORT state machine 1162 * BFA LPS state machine functions 1166 * Init state 4132 bfa_fcport_cfg_faa(struct bfa_s *bfa, u8 state) bfa_fcport_cfg_faa() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/dsa/mv88e6xxx/ |
H A D | chip.c | 831 const struct phylink_link_state *state) in mv88e6xxx_mac_config() 840 state->interface); in mv88e6xxx_mac_config() 858 /* Undo the forced down state above after completing configuration in mv88e6xxx_mac_finish() 859 * irrespective of its state on entry, which allows the link to come in mv88e6xxx_mac_finish() 1430 u8 state) in mv88e6xxx_port_stp_state_set() 1436 err = mv88e6xxx_port_set_state(chip, port, state); in mv88e6xxx_port_stp_state_set() 1440 dev_err(ds->dev, "p%d: failed to update state\n", port); in mv88e6xxx_port_stp_state_set() 1561 * ingress rate limit resources to their initial state. in mv88e6xxx_irl_setup() 1886 /* The bridge starts out all ports in the disabled state. But in mv88e6xxx_mst_get() 1887 * a STU state o in mv88e6xxx_mst_get() 829 mv88e6xxx_mac_config(struct dsa_switch *ds, int port, unsigned int mode, const struct phylink_link_state *state) mv88e6xxx_mac_config() argument 1429 mv88e6xxx_port_stp_state_set(struct dsa_switch *ds, int port, u8 state) mv88e6xxx_port_stp_state_set() argument 1915 u8 state; mv88e6xxx_port_mst_state_set() local 2068 mv88e6xxx_port_db_load_purge(struct mv88e6xxx_chip *chip, int port, const unsigned char *addr, u16 vid, u8 state) mv88e6xxx_port_db_load_purge() argument 2136 u8 state; mv88e6xxx_policy_apply() local 2342 u8 state = MV88E6XXX_G1_ATU_DATA_STATE_MC_STATIC; mv88e6xxx_port_add_broadcast() local 2389 u8 state; mv88e6xxx_port_broadcast_sync_vlan() local [all...] |
/kernel/linux/linux-6.6/drivers/scsi/bfa/ |
H A D | bfa_svc.c | 44 * BFA port state machine events 47 BFA_FCPORT_SM_START = 1, /* start port state machine */ 48 BFA_FCPORT_SM_STOP = 2, /* stop port state machine */ 50 BFA_FCPORT_SM_DISABLE = 4, /* disable port state machine */ 64 * BFA port link notification state machine events 124 * forward declaration for LPS state machine 156 * forward declaration for FC PORT state machine 237 * forward declaration for RPORT state machine 1156 * BFA LPS state machine functions 1160 * Init state 4126 bfa_fcport_cfg_faa(struct bfa_s *bfa, u8 state) bfa_fcport_cfg_faa() argument [all...] |
/third_party/mbedtls/library/ |
H A D | psa_crypto.c | 1199 * an unexpected state. in psa_wipe_key_slot() 1206 switch (slot->state) { in psa_wipe_key_slot() 1208 /* In this state psa_wipe_key_slot() must only be called if the in psa_wipe_key_slot() 1211 /* In this state psa_wipe_key_slot() must only be called if the in psa_wipe_key_slot() 1219 /* In this state registered_readers must be 0. */ in psa_wipe_key_slot() 1227 MBEDTLS_TEST_HOOK_TEST_ASSERT(slot->state != PSA_SLOT_EMPTY); in psa_wipe_key_slot() 1231 /* The slot's state is invalid. */ in psa_wipe_key_slot() 1243 * This memset also sets the slot's state to PSA_SLOT_EMPTY. */ in psa_wipe_key_slot() 1274 /* We cannot unlock between setting the state to PENDING_DELETION in psa_destroy_key() 1281 if (slot->state in psa_destroy_key() [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
H A D | validationES.cpp | 566 const State &state = context->getState(); in ValidateProgramDrawStates() local 570 Framebuffer *framebuffer = state.getDrawFramebuffer(); in ValidateProgramDrawStates() 578 if (state.isTransformFeedbackActiveUnpaused() && framebufferNumViews > 1) in ValidateProgramDrawStates() 584 state.isQueryActive(QueryType::TimeElapsed)) in ValidateProgramDrawStates() 597 state.getIndexedUniformBuffer(blockBinding); in ValidateProgramDrawStates() 872 const State &state = context->getState(); in ValidateDrawInstancedANGLE() local 873 const ProgramExecutable *executable = state.getProgramExecutable(); in ValidateDrawInstancedANGLE() 885 const auto &attribs = state.getVertexArray()->getVertexAttributes(); in ValidateDrawInstancedANGLE() 886 const auto &bindings = state.getVertexArray()->getVertexBindings(); in ValidateDrawInstancedANGLE() 1440 // ANGLE_framebuffer_multisample does not explicitly state tha in ValidateRenderbufferStorageParametersBase() 3673 const State &state = context->getState(); ValidateCopyTexImageParametersBase() local 3899 const State &state = context->getState(); ValidateDrawStates() local 4168 const State &state = context->getState(); RecordDrawModeError() local 4301 const State &state = context->getState(); ValidateDrawElementsStates() local [all...] |
/foundation/arkui/ace_engine/frameworks/core/components/custom_paint/ |
H A D | rosen_render_custom_paint.cpp | 881 double RosenRenderCustomPaint::MeasureText(const std::string& text, const PaintState& state) in MeasureText() argument 886 style.text_align = ConvertTxtTextAlign(state.GetTextAlign()); in MeasureText() 889 style.textAlign = ConvertTxtTextAlign(state.GetTextAlign()); in MeasureText() 899 ConvertTxtStyle(state.GetTextStyle(), context_, txtStyle); in MeasureText() 900 txtStyle.font_size = state.GetTextStyle().GetFontSize().Value(); in MeasureText() 907 ConvertTxtStyle(state.GetTextStyle(), context_, txtStyle); in MeasureText() 908 txtStyle.fontSize = state.GetTextStyle().GetFontSize().Value(); in MeasureText() 917 double RosenRenderCustomPaint::MeasureTextHeight(const std::string& text, const PaintState& state) in MeasureTextHeight() argument 922 style.text_align = ConvertTxtTextAlign(state.GetTextAlign()); in MeasureTextHeight() 925 style.textAlign = ConvertTxtTextAlign(state in MeasureTextHeight() 953 MeasureTextMetrics(const std::string& text, const PaintState& state) MeasureTextMetrics() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/ |
H A D | hns3_enet.c | 390 clear_bit(HNS3_NIC_STATE_DOWN, &priv->state); in hns3_nic_net_up() 403 set_bit(HNS3_NIC_STATE_DOWN, &priv->state); in hns3_nic_net_up() 447 if (!test_bit(HNS3_NIC_STATE_DOWN, &priv->state)) { in hns3_nic_net_open() 527 if (test_and_set_bit(HNS3_NIC_STATE_DOWN, &priv->state)) in hns3_nic_net_stop() 1355 * available and has not seen the queue stopped state performed in hns3_nic_maybe_stop_tx() 1359 !test_bit(HNS3_NIC_STATE_DOWN, &priv->state)) { in hns3_nic_maybe_stop_tx() 1674 if (test_bit(HNS3_NIC_STATE_DOWN, &priv->state)) in hns3_nic_get_stats64() 1895 netdev_info(ndev, "queue state: 0x%lx, delta msecs: %u\n", in hns3_get_tx_timeo_queue_info() 1896 q->state, in hns3_get_tx_timeo_queue_info() 1915 "tx_timeout count: %llu, queue id: %d, SW_NTU: 0x%x, SW_NTC: 0x%x, napi state in hns3_get_tx_timeo_queue_info() 2217 hns3_error_detected(struct pci_dev *pdev, pci_channel_state_t state) hns3_error_detected() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/vxlan/ |
H A D | vxlan_core.c | 79 u16 state; /* see ndm_state */ member 297 ndm->ndm_state = fdb->state; in vxlan_fdb_info() 458 .state = NUD_STALE, in vxlan_ip_miss() 471 .state = NUD_STALE, in vxlan_fdb_miss() 854 __u16 state, __be32 src_vni, in vxlan_fdb_alloc() 862 f->state = state; in vxlan_fdb_alloc() 949 __u16 state, __be16 port, __be32 src_vni, in vxlan_fdb_create() 963 f = vxlan_fdb_alloc(vxlan, mac, state, src_vni, ndm_flags); in vxlan_fdb_create() 1042 __u16 state, __u1 in vxlan_fdb_update_existing() 853 vxlan_fdb_alloc(struct vxlan_dev *vxlan, const u8 *mac, __u16 state, __be32 src_vni, __u16 ndm_flags) vxlan_fdb_alloc() argument 947 vxlan_fdb_create(struct vxlan_dev *vxlan, const u8 *mac, union vxlan_addr *ip, __u16 state, __be16 port, __be32 src_vni, __be32 vni, __u32 ifindex, __u16 ndm_flags, u32 nhid, struct vxlan_fdb **fdb, struct netlink_ext_ack *extack) vxlan_fdb_create() argument 1040 vxlan_fdb_update_existing(struct vxlan_dev *vxlan, union vxlan_addr *ip, __u16 state, __u16 flags, __be16 port, __be32 vni, __u32 ifindex, __u16 ndm_flags, struct vxlan_fdb *f, u32 nhid, bool swdev_notify, struct netlink_ext_ack *extack) vxlan_fdb_update_existing() argument 1140 vxlan_fdb_update_create(struct vxlan_dev *vxlan, const u8 *mac, union vxlan_addr *ip, __u16 state, __u16 flags, __be16 port, __be32 src_vni, __be32 vni, __u32 ifindex, __u16 ndm_flags, u32 nhid, bool swdev_notify, struct netlink_ext_ack *extack) vxlan_fdb_update_create() argument 1177 vxlan_fdb_update(struct vxlan_dev *vxlan, const u8 *mac, union vxlan_addr *ip, __u16 state, __u16 flags, __be16 port, __be32 src_vni, __be32 vni, __u32 ifindex, __u16 ndm_flags, u32 nhid, bool swdev_notify, struct netlink_ext_ack *extack) vxlan_fdb_update() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/marvell/ |
H A D | mvneta.c | 502 unsigned long state; member 2223 if (unlikely(test_bit(__MVNETA_DOWN, &pp->state))) in mvneta_xdp_xmit() 3783 clear_bit(__MVNETA_DOWN, &pp->state); in mvneta_start_dev() 3790 set_bit(__MVNETA_DOWN, &pp->state); in mvneta_stop_dev() 3964 const struct phylink_link_state *state) in mvneta_pcs_validate() 3971 if (phy_interface_mode_is_8023z(state->interface) && in mvneta_pcs_validate() 3972 !phylink_test(state->advertising, Autoneg)) in mvneta_pcs_validate() 3979 struct phylink_link_state *state) in mvneta_pcs_get_state() 3987 state->speed = in mvneta_pcs_get_state() 3988 state in mvneta_pcs_get_state() 3962 mvneta_pcs_validate(struct phylink_pcs *pcs, unsigned long *supported, const struct phylink_link_state *state) mvneta_pcs_validate() argument 3978 mvneta_pcs_get_state(struct phylink_pcs *pcs, struct phylink_link_state *state) mvneta_pcs_get_state() argument 4122 mvneta_mac_config(struct phylink_config *config, unsigned int mode, const struct phylink_link_state *state) mvneta_mac_config() argument [all...] |
/foundation/communication/bluetooth_service/services/bluetooth/service/src/avrcp_ct/ |
H A D | avrcp_ct_profile.cpp | 178 for (auto &state : states) { in GetDevicesByStates() 179 if (state == static_cast<int>(BTConnectState::DISCONNECTED)) { in GetDevicesByStates() 186 if (GetDeviceState(rawAddr) == state) { in GetDevicesByStates() 363 /// Sets the information which is used in the "CONNECTED" state of the control state machine. in SendPassCmd() 406 HILOGI("Address: %{public}s - key: %{public}x - state: %{public}x", GET_ENCRYPT_AVRCP_ADDR(rawAddr), in ReceivePassRsp() 413 void AvrcCtProfile::InformPassRsp(const RawAddress &rawAddr, uint8_t button, uint8_t state, int result) const in InformPassRsp() argument 415 HILOGI("address: %{public}s, button: %{public}d, state: %{public}d, result: %{public}d", in InformPassRsp() 416 GET_ENCRYPT_AVRCP_ADDR(rawAddr), button, state, result); in InformPassRsp() 418 switch (state) { in InformPassRsp() 431 ProcessPassTimeout(RawAddress rawAddr, uint8_t key, uint8_t state) ProcessPassTimeout() argument 441 PassTimeoutCallback(const RawAddress &rawAddr, uint8_t key, uint8_t state) PassTimeoutCallback() argument [all...] |
/foundation/communication/dsoftbus/core/transmission/trans_channel/common/src/ |
H A D | trans_lane_pending_ctl.c | 622 CoreSessionState state = CORE_SESSION_STATE_INIT; in CheckSocketChannelState() local 623 TransGetSocketChannelStateBySession(param->sessionName, param->sessionId, &state); in CheckSocketChannelState() 624 if (state == CORE_SESSION_STATE_CANCELLING) { in CheckSocketChannelState() 625 TRANS_LOGI(TRANS_SVC, "cancel state laneHandle=%{public}u", laneHandle); in CheckSocketChannelState() 659 TRANS_CHECK_AND_RETURN_LOGE(ret == SOFTBUS_OK, TRANS_SVC, "check socketChannel state failed."); in TransOnAsyncLaneSuccess() 1260 CoreSessionState state = CORE_SESSION_STATE_INIT; in TransGetLaneInfo() local 1261 TransGetSocketChannelStateBySession(param->sessionName, param->sessionId, &state); in TransGetLaneInfo() 1262 TRANS_CHECK_AND_RETURN_RET_LOGW(state != CORE_SESSION_STATE_CANCELLING, SOFTBUS_TRANS_STOP_BIND_BY_CANCEL, in TransGetLaneInfo() 1263 TRANS_SVC, "cancel state, return cancel code."); in TransGetLaneInfo() 1335 CoreSessionState state in TransAsyncGetLaneInfoByOption() local 1380 CoreSessionState state = CORE_SESSION_STATE_INIT; TransAsyncGetLaneInfoByQos() local [all...] |
/kernel/linux/linux-5.10/drivers/tty/serial/ |
H A D | fsl_lpuart.c | 419 struct circ_buf *xmit = &sport->port.state->xmit; in lpuart_dma_tx() 467 return uart_circ_empty(&port->state->xmit) || uart_tx_stopped(port); in lpuart_stopped_or_empty() 474 struct circ_buf *xmit = &sport->port.state->xmit; in lpuart_dma_tx_complete() 690 struct circ_buf *xmit = &sport->port.state->xmit; in lpuart_transmit_buffer() 720 struct circ_buf *xmit = &sport->port.state->xmit; in lpuart32_transmit_buffer() 840 struct tty_port *port = &sport->port.state->port; in lpuart_rxint() 919 struct tty_port *port = &sport->port.state->port; in lpuart32_rxint() 1053 struct tty_port *port = &sport->port.state->port; in lpuart_copy_rx_to_tty() 1054 struct dma_tx_state state; in lpuart_copy_rx_to_tty() local 1117 dmastat = dmaengine_tx_status(chan, sport->dma_rx_cookie, &state); in lpuart_copy_rx_to_tty() [all...] |
/kernel/linux/linux-5.10/drivers/target/ |
H A D | target_core_configfs.c | 2377 char state; in target_dev_lba_map_show() local 2391 state = 'O'; in target_dev_lba_map_show() 2394 state = 'A'; in target_dev_lba_map_show() 2397 state = 'S'; in target_dev_lba_map_show() 2400 state = 'U'; in target_dev_lba_map_show() 2403 state = '.'; in target_dev_lba_map_show() 2407 mem->lba_map_mem_alua_pg_id, state); in target_dev_lba_map_show() 2422 char state; in target_dev_lba_map_store() local 2461 pr_err("Invalid line %d, missing state definitions\n", in target_dev_lba_map_store() 2474 while (sscanf(ptr, "%d:%c", &pg_id, &state) in target_dev_lba_map_store() [all...] |
/kernel/linux/linux-5.10/net/sunrpc/ |
H A D | xprtsock.c | 1148 clear_bit(XPRT_CLOSE_WAIT, &xprt->state); in xs_sock_reset_connection_flags() 1149 clear_bit(XPRT_CLOSING, &xprt->state); in xs_sock_reset_connection_flags() 1155 * xs_error_report - callback to handle TCP socket state errors 1201 set_bit(XPRT_CLOSE_WAIT, &xprt->state); in xs_reset_transport() 1236 * This is used when all requests are complete; ie, no DRC state remains 1422 * xs_tcp_state_change - callback to handle TCP socket state changes 1423 * @sk: socket whose state has changed 1435 dprintk("RPC: state %x conn %d dead %d zapped %d sk_shutdown %d\n", in xs_tcp_state_change() 1460 set_bit(XPRT_CLOSING, &xprt->state); in xs_tcp_state_change() 1462 clear_bit(XPRT_CONNECTED, &xprt->state); in xs_tcp_state_change() [all...] |
/kernel/linux/linux-5.10/fs/cifs/ |
H A D | smbdirect.c | 2180 if (smbdirect_mr->state == MR_ERROR) { in smbd_mr_recovery_work() 2206 smbdirect_mr->state = MR_READY; in smbd_mr_recovery_work() 2208 /* smbdirect_mr->state is updated by this function in smbd_mr_recovery_work() 2226 if (mr->state == MR_INVALIDATED) in destroy_mr_list() 2275 smbdirect_mr->state = MR_READY; in allocate_mr_list() 2324 if (ret->state == MR_READY) { in get_mr() 2325 ret->state = MR_REGISTERED; in get_mr() 2444 smbdirect_mr->state = MR_ERROR; in smbd_register_mr() 2460 smbdirect_mr->state = MR_INVALIDATED; in local_inv_done() 2463 smbdirect_mr->state in local_inv_done() [all...] |