/third_party/python/Lib/xml/dom/ |
H A D | minicompat.py | 68 def __setstate__(self, state): 69 if state is None: 70 state = [] 71 self[:] = state
|
/third_party/skia/third_party/externals/expat/expat/lib/ |
H A D | xmlrole.h | 119 int(PTRCALL *handler)(struct prolog_state *state, int tok, const char *ptr, 135 #define XmlTokenRole(state, tok, ptr, end, enc) \ 136 (((state)->handler)(state, tok, ptr, end, enc))
|
/third_party/python/Modules/expat/ |
H A D | xmlrole.h | 119 int(PTRCALL *handler)(struct prolog_state *state, int tok, const char *ptr, 135 #define XmlTokenRole(state, tok, ptr, end, enc) \ 136 (((state)->handler)(state, tok, ptr, end, enc))
|
/third_party/skia/modules/audioplayer/ |
H A D | SkAudioPlayer.h | 32 State state() const { return fState; } in state() function in SkAudioPlayer 44 bool isPlaying() const { return this->state() == State::kPlaying; } in isPlaying() 45 bool isPaused() const { return this->state() == State::kPaused; } in isPaused() 46 bool isStopped() const { return this->state() == State::kStopped; } in isStopped()
|
/kernel/linux/linux-5.10/tools/testing/selftests/netfilter/ |
H A D | conntrack_icmp_related.sh | 4 # state 138 meta l4proto icmpv6 icmpv6 type "packet-too-big" ct state "related" counter name "related" accept 139 meta l4proto icmp icmp type "destination-unreachable" ct state "related" counter name "related" accept 140 meta l4proto { icmp, icmpv6 } ct state new,established accept 156 icmp type "redirect" ct state "related" counter name "redir4" accept 157 icmpv6 type "nd-redirect" ct state "related" counter name "redir6" accept 159 meta l4proto { icmp, icmpv6 } ct state established,untracked accept 160 meta l4proto { icmp, icmpv6 } ct state "related" counter name "related" accept 175 meta l4proto { icmp, icmpv6 } ct state established,untracked accept 177 meta l4proto { icmp, icmpv6 } ct state "ne [all...] |
/kernel/linux/linux-5.10/drivers/infiniband/hw/vmw_pvrdma/ |
H A D | pvrdma.h | 196 u8 state; member 198 struct mutex mutex; /* QP state mutex. */ 336 enum ib_port_state state) in ib_port_state_to_pvrdma() 338 return (enum pvrdma_port_state)state; in ib_port_state_to_pvrdma() 342 enum pvrdma_port_state state) in pvrdma_port_state_to_ib() 344 return (enum ib_port_state)state; in pvrdma_port_state_to_ib() 387 enum ib_mig_state state) in ib_mig_state_to_pvrdma() 389 return (enum pvrdma_mig_state)state; in ib_mig_state_to_pvrdma() 393 enum pvrdma_mig_state state) in pvrdma_mig_state_to_ib() 395 return (enum ib_mig_state)state; in pvrdma_mig_state_to_ib() 335 ib_port_state_to_pvrdma( enum ib_port_state state) ib_port_state_to_pvrdma() argument 341 pvrdma_port_state_to_ib( enum pvrdma_port_state state) pvrdma_port_state_to_ib() argument 386 ib_mig_state_to_pvrdma( enum ib_mig_state state) ib_mig_state_to_pvrdma() argument 392 pvrdma_mig_state_to_ib( enum pvrdma_mig_state state) pvrdma_mig_state_to_ib() argument 418 ib_qp_state_to_pvrdma(enum ib_qp_state state) ib_qp_state_to_pvrdma() argument 423 pvrdma_qp_state_to_ib(enum pvrdma_qp_state state) pvrdma_qp_state_to_ib() argument [all...] |
/kernel/linux/linux-5.10/drivers/media/pci/netup_unidvb/ |
H A D | netup_unidvb_i2c.c | 79 i2c->state = STATE_DONE; in netup_i2c_interrupt() 85 i2c->state = STATE_ERROR; in netup_i2c_interrupt() 91 i2c->state = STATE_ERROR; in netup_i2c_interrupt() 97 i2c->state = STATE_WANT_READ; in netup_i2c_interrupt() 105 i2c->state = STATE_WANT_WRITE; in netup_i2c_interrupt() 122 i2c->state = STATE_DONE; in netup_i2c_reset() 191 i2c->state = STATE_WAIT; in netup_i2c_start_xfer() 209 if (i2c->state != STATE_DONE) { in netup_i2c_xfer() 211 "%s(): i2c->state == %d, resetting I2C\n", in netup_i2c_xfer() 212 __func__, i2c->state); in netup_i2c_xfer() [all...] |
/kernel/linux/linux-5.10/drivers/media/platform/exynos4-is/ |
H A D | fimc-core.h | 76 #define fimc_m2m_active(dev) test_bit(ST_M2M_RUN, &(dev)->state) 77 #define fimc_m2m_pending(dev) test_bit(ST_M2M_PEND, &(dev)->state) 79 #define fimc_capture_running(dev) test_bit(ST_CAPT_RUN, &(dev)->state) 80 #define fimc_capture_pending(dev) test_bit(ST_CAPT_PEND, &(dev)->state) 81 #define fimc_capture_busy(dev) test_bit(ST_CAPT_BUSY, &(dev)->state) 118 /* The hardware context state. */ 410 * @state: flags used to synchronize m2m and capture mode operation 428 unsigned long state; member 471 * @state: flags to keep track of user configuration 491 u32 state; member 538 fimc_ctx_state_set(u32 state, struct fimc_ctx *ctx) fimc_ctx_state_set() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | reporter_tx.c | 40 u8 state; in mlx5e_tx_reporter_err_cqe_recover() local 47 if (!test_bit(MLX5E_SQ_STATE_RECOVERING, &sq->state)) in mlx5e_tx_reporter_err_cqe_recover() 50 err = mlx5_core_query_sq_state(mdev, sq->sqn, &state); in mlx5e_tx_reporter_err_cqe_recover() 52 netdev_err(dev, "Failed to query SQ 0x%x state. err = %d\n", in mlx5e_tx_reporter_err_cqe_recover() 57 if (state != MLX5_SQC_STATE_ERR) in mlx5e_tx_reporter_err_cqe_recover() 77 clear_bit(MLX5E_SQ_STATE_RECOVERING, &sq->state); in mlx5e_tx_reporter_err_cqe_recover() 82 clear_bit(MLX5E_SQ_STATE_RECOVERING, &sq->state); in mlx5e_tx_reporter_err_cqe_recover() 116 clear_bit(MLX5E_SQ_STATE_ENABLED, &sq->state); in mlx5e_tx_reporter_timeout_recover() 124 /* state lock cannot be grabbed within this function. 149 u8 state; in mlx5e_tx_reporter_build_diagnose_output() local [all...] |
/kernel/linux/linux-5.10/drivers/iio/buffer/ |
H A D | industrialio-buffer-dma.c | 39 * * Owned by the application. In this state the application can read data from 98 WARN_ON(block->state != IIO_BLOCK_STATE_DEAD); in iio_buffer_block_release() 182 block->state = IIO_BLOCK_STATE_DEQUEUED; in iio_dma_buffer_alloc_block() 200 if (block->state != IIO_BLOCK_STATE_DEAD) { in _iio_dma_buffer_block_done() 201 block->state = IIO_BLOCK_STATE_DONE; in _iio_dma_buffer_block_done() 263 switch (block->state) { in iio_dma_block_reusable() 312 block->state = IIO_BLOCK_STATE_DEAD; in iio_dma_buffer_request_update() 328 if (block->state == IIO_BLOCK_STATE_DEAD) { in iio_dma_buffer_request_update() 348 block->state = IIO_BLOCK_STATE_QUEUED; in iio_dma_buffer_request_update() 372 block->state in iio_dma_buffer_submit_block() [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/fw/ |
H A D | debugfs.c | 342 struct iwl_dbgfs_fw_info_state *state = v; in iwl_dbgfs_fw_info_seq_next() local 346 *pos = ++state->pos; in iwl_dbgfs_fw_info_seq_next() 348 kfree(state); in iwl_dbgfs_fw_info_seq_next() 352 return state; in iwl_dbgfs_fw_info_seq_next() 365 struct iwl_dbgfs_fw_info_state *state; in iwl_dbgfs_fw_info_seq_start() local 370 state = kzalloc(sizeof(*state), GFP_KERNEL); in iwl_dbgfs_fw_info_seq_start() 371 if (!state) in iwl_dbgfs_fw_info_seq_start() 373 state->pos = *pos; in iwl_dbgfs_fw_info_seq_start() 374 return state; in iwl_dbgfs_fw_info_seq_start() 379 struct iwl_dbgfs_fw_info_state *state = v; iwl_dbgfs_fw_info_seq_show() local [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt7615/ |
H A D | testmode.c | 70 if (dev->mt76.test.state != MT76_TM_STATE_OFF) in mt7615_tm_set_tx_power() 105 if (dev->mt76.test.state == MT76_TM_STATE_OFF) { in mt7615_tm_reg_backup_restore() 137 if (!test_bit(MT76_STATE_RUNNING, &phy->mt76->state)) in mt7615_tm_init_phy() 250 bool en = dev->mt76.test.state != MT76_TM_STATE_OFF; in mt7615_tm_update_params() 263 mt7615_tm_set_state(struct mt76_dev *mdev, enum mt76_testmode_state state) in mt7615_tm_set_state() argument 267 enum mt76_testmode_state prev_state = td->state; in mt7615_tm_set_state() 269 mdev->test.state = state; in mt7615_tm_set_state() 273 else if (state == MT76_TM_STATE_TX_FRAMES) in mt7615_tm_set_state() 276 if (state < in mt7615_tm_set_state() [all...] |
/kernel/linux/linux-5.10/drivers/usb/common/ |
H A D | usb-otg-fsm.c | 59 /* Called when leaving a state. Do state clean up jobs here */ 125 enum usb_otg_state state = fsm->otg->state; in otg_hnp_polling_work() local 129 if (state != OTG_STATE_A_HOST && state != OTG_STATE_B_HOST) in otg_hnp_polling_work() 167 if (state == OTG_STATE_A_HOST) { in otg_hnp_polling_work() 180 } else if (state == OTG_STATE_B_HOST) { in otg_hnp_polling_work() 205 /* Called when entering a state */ 208 if (fsm->otg->state in otg_set_state() 330 enum usb_otg_state state; otg_statemachine() local [all...] |
/kernel/linux/linux-5.10/net/sctp/ |
H A D | sm_statetable.c | 11 * These are the state tables for the SCTP state machine. 43 enum sctp_state state); 60 rtn = &_table[event_subtype._type][(int)state]; \ 68 enum sctp_state state, in sctp_sm_lookup_event() 73 return sctp_chunk_event_lookup(net, event_subtype.chunk, state); in sctp_sm_lookup_event() 378 * The secondary index for this table is the state. 440 * The secondary index for this table is the state. 468 * The secondary index for this table is the state. 495 * The secondary index for this table is the state 65 sctp_sm_lookup_event( struct net *net, enum sctp_event_type event_type, enum sctp_state state, union sctp_subtype event_subtype) sctp_sm_lookup_event() argument 965 sctp_chunk_event_lookup( struct net *net, enum sctp_cid cid, enum sctp_state state) sctp_chunk_event_lookup() argument [all...] |
/kernel/linux/linux-5.10/include/linux/ |
H A D | pm.h | 72 * runtime-suspended and it may be left in that state during the entire 90 * @resume(), @thaw(), @restore(). Also called if the state transition 107 * @suspend: Executed before putting the system into a sleep state in which the 119 * @resume: Executed after waking the system up from a sleep state in which the 123 * requests (the device itself may be left in a low-power state, waiting 124 * for a runtime resume to occur). The state of the device at the time its 137 * wakeup events or change its power state. The majority of subsystems 146 * events or change its power state. 178 * It generally is expected that the device will be in a low-power state 179 * (appropriate for the target system sleep state) afte 762 dpm_suspend_start(pm_message_t state) dpm_suspend_start() argument [all...] |
/kernel/linux/linux-5.10/net/lapb/ |
H A D | lapb_iface.c | 131 lapb->state = LAPB_STATE_0; in lapb_create_cb() 208 parms->state = lapb->state; in lapb_getparms() 241 if (lapb->state == LAPB_STATE_0) { in lapb_setparms() 274 if (lapb->state == LAPB_STATE_1) in lapb_connect_request() 278 if (lapb->state == LAPB_STATE_3 || lapb->state == LAPB_STATE_4) in lapb_connect_request() 284 lapb->state = LAPB_STATE_1; in lapb_connect_request() 302 switch (lapb->state) { in lapb_disconnect_request() 311 lapb->state in lapb_disconnect_request() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/mdp4/ |
H A D | mdp4_plane.c | 109 struct drm_plane_state *state) in mdp4_plane_atomic_check() 117 struct drm_plane_state *state = plane->state; in mdp4_plane_atomic_update() local 121 state->crtc, state->fb, in mdp4_plane_atomic_update() 122 state->crtc_x, state->crtc_y, in mdp4_plane_atomic_update() 123 state->crtc_w, state->crtc_h, in mdp4_plane_atomic_update() 124 state in mdp4_plane_atomic_update() 108 mdp4_plane_atomic_check(struct drm_plane *plane, struct drm_plane_state *state) mdp4_plane_atomic_check() argument [all...] |
/kernel/linux/linux-5.10/drivers/media/rc/ |
H A D | ir-mce_kbd-decoder.c | 214 * This function returns -EINVAL if the pulse violates the state machine 225 data->state = STATE_INACTIVE; in ir_mce_kbd_decode() 233 dev_dbg(&dev->dev, "started at state %i (%uus %s)\n", in ir_mce_kbd_decode() 234 data->state, ev.duration, TO_STR(ev.pulse)); in ir_mce_kbd_decode() 239 switch (data->state) { in ir_mce_kbd_decode() 251 data->state = STATE_HEADER_BIT_START; in ir_mce_kbd_decode() 264 data->state = STATE_HEADER_BIT_END; in ir_mce_kbd_decode() 271 data->state = STATE_HEADER_BIT_START; in ir_mce_kbd_decode() 289 data->state = STATE_BODY_BIT_START; in ir_mce_kbd_decode() 300 data->state in ir_mce_kbd_decode() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/vc4/ |
H A D | vc4_txp.c | 228 static void vc4_txp_armed(struct drm_crtc_state *state) in vc4_txp_armed() argument 230 struct vc4_crtc_state *vc4_state = to_vc4_crtc_state(state); in vc4_txp_armed() 236 struct drm_atomic_state *state) in vc4_txp_connector_atomic_check() 243 conn_state = drm_atomic_get_new_connector_state(state, conn); in vc4_txp_connector_atomic_check() 247 crtc_state = drm_atomic_get_new_crtc_state(state, conn_state->crtc); in vc4_txp_connector_atomic_check() 287 mode = &conn_state->crtc->state->adjusted_mode; in vc4_txp_connector_atomic_commit() 394 struct drm_crtc_state *state) in vc4_txp_atomic_check() 396 struct vc4_crtc_state *vc4_state = to_vc4_crtc_state(state); in vc4_txp_atomic_check() 399 ret = vc4_hvs_atomic_check(crtc, state); in vc4_txp_atomic_check() 403 state in vc4_txp_atomic_check() 235 vc4_txp_connector_atomic_check(struct drm_connector *conn, struct drm_atomic_state *state) vc4_txp_connector_atomic_check() argument 393 vc4_txp_atomic_check(struct drm_crtc *crtc, struct drm_crtc_state *state) vc4_txp_atomic_check() argument [all...] |
/kernel/linux/linux-5.10/drivers/staging/greybus/ |
H A D | spilib.c | 120 if (msg->state != GB_SPI_STATE_OP_DONE) in setup_next_xfer() 134 msg->state = GB_SPI_STATE_MSG_DONE; in setup_next_xfer() 182 while (msg->state != GB_SPI_STATE_OP_READY) { in gb_spi_operation_create() 183 msg->state = GB_SPI_STATE_MSG_RUNNING; in gb_spi_operation_create() 189 msg->state = GB_SPI_STATE_MSG_ERROR; in gb_spi_operation_create() 220 msg->state = GB_SPI_STATE_OP_READY; in gb_spi_operation_create() 247 while (msg->state != GB_SPI_STATE_OP_DONE) { in gb_spi_operation_create() 280 msg->state = GB_SPI_STATE_OP_DONE; in gb_spi_operation_create() 340 msg->state = GB_SPI_STATE_MSG_IDLE; in gb_spi_transfer_one_message() 342 while (msg->state ! in gb_spi_transfer_one_message() [all...] |
/kernel/linux/linux-6.6/drivers/media/rc/ |
H A D | ir-mce_kbd-decoder.c | 214 * This function returns -EINVAL if the pulse violates the state machine 225 data->state = STATE_INACTIVE; in ir_mce_kbd_decode() 233 dev_dbg(&dev->dev, "started at state %i (%uus %s)\n", in ir_mce_kbd_decode() 234 data->state, ev.duration, TO_STR(ev.pulse)); in ir_mce_kbd_decode() 239 switch (data->state) { in ir_mce_kbd_decode() 251 data->state = STATE_HEADER_BIT_START; in ir_mce_kbd_decode() 264 data->state = STATE_HEADER_BIT_END; in ir_mce_kbd_decode() 271 data->state = STATE_HEADER_BIT_START; in ir_mce_kbd_decode() 289 data->state = STATE_BODY_BIT_START; in ir_mce_kbd_decode() 300 data->state in ir_mce_kbd_decode() [all...] |
H A D | ir_toy.c | 49 enum state { enum 68 enum state state; member 83 switch (irtoy->state) { in irtoy_response() 101 irtoy->state = STATE_IRDATA; in irtoy_response() 119 irtoy->state = STATE_IRDATA; in irtoy_response() 162 irtoy->state = STATE_IRDATA; in irtoy_response() 188 irtoy->state = STATE_IRDATA; in irtoy_response() 205 if (irtoy->state == STATE_COMMAND_NO_RESP) in irtoy_out_callback() 238 enum state stat in irtoy_command() 237 irtoy_command(struct irtoy *irtoy, const u8 *cmd, int cmd_len, enum state state) irtoy_command() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/can/dev/ |
H A D | dev.c | 24 if (new_state <= priv->state) in can_update_state_error_stats() 42 static int can_tx_state_to_frame(struct net_device *dev, enum can_state state) in can_tx_state_to_frame() argument 44 switch (state) { in can_tx_state_to_frame() 56 static int can_rx_state_to_frame(struct net_device *dev, enum can_state state) in can_rx_state_to_frame() argument 58 switch (state) { in can_rx_state_to_frame() 70 const char *can_get_state_str(const enum can_state state) in can_get_state_str() argument 72 switch (state) { in can_get_state_str() 99 if (unlikely(new_state == priv->state)) { in can_change_state() 100 netdev_warn(dev, "%s: oops, state did not change", __func__); in can_change_state() 105 can_get_state_str(priv->state), pri in can_change_state() [all...] |
/kernel/linux/linux-6.6/include/linux/ |
H A D | pm.h | 80 * runtime-suspended and it may be left in that state during the entire 98 * @resume(), @thaw(), @restore(). Also called if the state transition 115 * @suspend: Executed before putting the system into a sleep state in which the 127 * @resume: Executed after waking the system up from a sleep state in which the 131 * requests (the device itself may be left in a low-power state, waiting 132 * for a runtime resume to occur). The state of the device at the time its 145 * wakeup events or change its power state. The majority of subsystems 154 * events or change its power state. 186 * It generally is expected that the device will be in a low-power state 187 * (appropriate for the target system sleep state) afte 861 dpm_suspend_start(pm_message_t state) dpm_suspend_start() argument [all...] |
/kernel/linux/linux-6.6/drivers/staging/greybus/ |
H A D | spilib.c | 120 if (msg->state != GB_SPI_STATE_OP_DONE) in setup_next_xfer() 134 msg->state = GB_SPI_STATE_MSG_DONE; in setup_next_xfer() 182 while (msg->state != GB_SPI_STATE_OP_READY) { in gb_spi_operation_create() 183 msg->state = GB_SPI_STATE_MSG_RUNNING; in gb_spi_operation_create() 189 msg->state = GB_SPI_STATE_MSG_ERROR; in gb_spi_operation_create() 220 msg->state = GB_SPI_STATE_OP_READY; in gb_spi_operation_create() 247 while (msg->state != GB_SPI_STATE_OP_DONE) { in gb_spi_operation_create() 284 msg->state = GB_SPI_STATE_OP_DONE; in gb_spi_operation_create() 344 msg->state = GB_SPI_STATE_MSG_IDLE; in gb_spi_transfer_one_message() 346 while (msg->state ! in gb_spi_transfer_one_message() [all...] |