/third_party/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/ |
H A D | CharsetMBCS.java | 50 * Fallbacks to Unicode are stored outside the normal state table and code point structures in a vector of items of 354 /* get the dbcs state from the state table entry for SO=0x0e */ in loadConverter() 366 /* non-stateful base converter, need to modify the state table */ in loadConverter() 368 int state[]; // this works because java 2-D array is array of references and we can have state = in loadConverter() 372 /* allocate a new state table and copy the base state table contents */ in loadConverter() 380 /* change all final single-byte entries to go to a new all-illegal state */ in loadConverter() 381 state in loadConverter() 700 enumToU(UConverterMBCSTable mbcsTable, byte stateProps[], int state, int offset, int value) enumToU() argument 793 getStateProp(int stateTable[][], byte stateProps[], int state) getStateProp() argument 1195 MBCS_ENTRY_SET_STATE(int entry, int state) MBCS_ENTRY_SET_STATE() argument 1204 MBCS_ENTRY_TRANSITION(int state, int offset) MBCS_ENTRY_TRANSITION() argument 1208 MBCS_ENTRY_FINAL(int state, int action, int value) MBCS_ENTRY_FINAL() argument 2783 hasValidTrailBytes(int[][] stateTable, short state) hasValidTrailBytes() argument 2813 isSingleOrLead(int[][] stateTable, int state, boolean isDBCSOnly, int b) isSingleOrLead() argument [all...] |
/kernel/linux/linux-5.10/crypto/ |
H A D | khazad.c | 808 u64 state; in khazad_crypt() local 810 state = be64_to_cpu(*src) ^ roundKey[0]; in khazad_crypt() 813 state = T0[(int)(state >> 56) ] ^ in khazad_crypt() 814 T1[(int)(state >> 48) & 0xff] ^ in khazad_crypt() 815 T2[(int)(state >> 40) & 0xff] ^ in khazad_crypt() 816 T3[(int)(state >> 32) & 0xff] ^ in khazad_crypt() 817 T4[(int)(state >> 24) & 0xff] ^ in khazad_crypt() 818 T5[(int)(state >> 16) & 0xff] ^ in khazad_crypt() 819 T6[(int)(state >> in khazad_crypt() [all...] |
/kernel/linux/linux-5.10/drivers/media/platform/mtk-vcodec/ |
H A D | mtk_vcodec_enc.c | 431 if (ctx->state == MTK_STATE_FREE) { in vidioc_venc_s_fmt_cap() 438 ctx->state = MTK_STATE_INIT; in vidioc_venc_s_fmt_cap() 658 if (ctx->state == MTK_STATE_ABORT) { in vidioc_venc_qbuf() 672 if (ctx->state == MTK_STATE_ABORT) { in vidioc_venc_dqbuf() 797 /* Once state turn into MTK_STATE_ABORT, we need stop_streaming in vb2ops_venc_start_streaming() 800 if ((ctx->state == MTK_STATE_ABORT) || (ctx->state == MTK_STATE_FREE)) { in vb2ops_venc_start_streaming() 818 ctx->state = MTK_STATE_ABORT; in vb2ops_venc_start_streaming() 831 ctx->state = MTK_STATE_ABORT; in vb2ops_venc_start_streaming() 834 ctx->state in vb2ops_venc_start_streaming() [all...] |
/kernel/linux/linux-5.10/drivers/iio/accel/ |
H A D | bmc150-accel-core.c | 166 int (*setup)(struct bmc150_accel_trigger *t, bool state); 346 bool state) in bmc150_accel_any_motion_setup() 348 if (state) in bmc150_accel_any_motion_setup() 451 bool state) in bmc150_accel_set_interrupt() 458 if (state) { in bmc150_accel_set_interrupt() 475 ret = bmc150_accel_set_power_state(data, state); in bmc150_accel_set_interrupt() 481 (state ? info->map_bitmask : 0)); in bmc150_accel_set_interrupt() 489 (state ? info->en_bitmask : 0)); in bmc150_accel_set_interrupt() 733 int state) in bmc150_accel_write_event_config() 738 if (state in bmc150_accel_write_event_config() 345 bmc150_accel_any_motion_setup(struct bmc150_accel_trigger *t, bool state) bmc150_accel_any_motion_setup() argument 450 bmc150_accel_set_interrupt(struct bmc150_accel_data *data, int i, bool state) bmc150_accel_set_interrupt() argument 729 bmc150_accel_write_event_config(struct iio_dev *indio_dev, const struct iio_chan_spec *chan, enum iio_event_type type, enum iio_event_direction dir, int state) bmc150_accel_write_event_config() argument 791 bool state; bmc150_accel_get_fifo_state() local 1162 bmc150_accel_trigger_set_state(struct iio_trigger *trig, bool state) bmc150_accel_trigger_set_state() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt7615/ |
H A D | main.c | 19 if (test_bit(MT76_STATE_RUNNING, &dev->mphy.state)) in mt7615_dev_running() 24 return phy && test_bit(MT76_STATE_RUNNING, &phy->mt76->state); in mt7615_dev_running() 71 set_bit(MT76_STATE_RUNNING, &phy->mt76->state); in mt7615_start() 102 clear_bit(MT76_STATE_RUNNING, &phy->mt76->state); in mt7615_stop() 300 set_bit(MT76_RESET, &phy->mt76->state); in mt7615_set_channel() 324 clear_bit(MT76_RESET, &phy->mt76->state); in mt7615_set_channel() 440 if (dev->mt76.test.state != MT76_TM_STATE_OFF) { in mt7615_config() 689 if (!test_bit(MT76_STATE_PM, &phy->mt76->state)) in mt7615_sta_rate_tbl_update() 701 if (!test_bit(MT76_STATE_RUNNING, &mphy->state)) in mt7615_wake_tx_queue() 704 if (test_bit(MT76_STATE_PM, &mphy->state)) { in mt7615_wake_tx_queue() [all...] |
/kernel/linux/linux-5.10/drivers/tty/ |
H A D | n_r3964.c | 399 if ((pInfo->state == R3964_IDLE) && (pInfo->tx_first != NULL)) { in trigger_transmit() 400 pInfo->state = R3964_TX_REQUEST; in trigger_transmit() 425 pInfo->state = R3964_TX_REQUEST; in retry_transmit() 436 pInfo->state = R3964_IDLE; in retry_transmit() 476 pInfo->state = R3964_WAIT_FOR_TX_ACK; in transmit_block() 507 pInfo->state = R3964_WAIT_FOR_RX_REPEAT; in on_receive_block() 512 pInfo->state = R3964_IDLE; in on_receive_block() 552 pInfo->state = R3964_IDLE; in on_receive_block() 559 switch (pInfo->state) { in receive_char() 564 pInfo->state in receive_char() [all...] |
/kernel/linux/linux-5.10/drivers/usb/serial/ |
H A D | garmin_gps.c | 110 /* structure used to keep the current state of the driver */ 112 __u8 state; member 263 int state = 0; in pkt_add() local 282 state = garmin_data_p->state; in pkt_add() 291 if (result && (state == STATE_GSP_WAIT_DATA)) in pkt_add() 568 garmin_data_p->state = STATE_ACTIVE; in gsp_receive() 570 garmin_data_p->state = STATE_GSP_WAIT_DATA; in gsp_receive() 596 dev_dbg(dev, "%s - state %d - %d bytes.\n", __func__, in gsp_send() 597 garmin_data_p->state, coun in gsp_send() [all...] |
/kernel/linux/linux-5.10/net/rxrpc/ |
H A D | input.c | 184 * state. in rxrpc_congestion_management() 260 unsigned int state; in rxrpc_end_tx_phase() local 266 state = call->state; in rxrpc_end_tx_phase() 267 switch (state) { in rxrpc_end_tx_phase() 271 call->state = state = RXRPC_CALL_CLIENT_RECV_REPLY; in rxrpc_end_tx_phase() 273 call->state = state = RXRPC_CALL_CLIENT_AWAIT_REPLY; in rxrpc_end_tx_phase() 278 state in rxrpc_end_tx_phase() 414 enum rxrpc_call_state state; rxrpc_input_data() local [all...] |
/kernel/linux/linux-6.6/drivers/tty/serial/ |
H A D | sprd_serial.c | 209 struct dma_tx_state state; in sprd_stop_tx_dma() local 214 dmaengine_tx_status(sp->tx_dma.chn, sp->tx_dma.cookie, &state); in sprd_stop_tx_dma() 215 if (state.residue) { in sprd_stop_tx_dma() 216 trans_len = state.residue - sp->tx_dma.phys_addr; in sprd_stop_tx_dma() 230 struct circ_buf *xmit = &port->state->xmit; in sprd_tx_buf_remap() 247 struct circ_buf *xmit = &port->state->xmit; in sprd_complete_tx_dma() 322 struct circ_buf *xmit = &port->state->xmit; in sprd_start_tx_dma() 388 struct tty_port *tty = &port->state->port; in sprd_uart_dma_rx() 399 struct dma_tx_state state; in sprd_uart_dma_irq() local 403 sp->rx_dma.cookie, &state); in sprd_uart_dma_irq() 428 struct dma_tx_state state; sprd_complete_rx_dma() local 879 sprd_pm(struct uart_port *port, unsigned int state, unsigned int oldstate) sprd_pm() argument [all...] |
/kernel/linux/linux-6.6/drivers/usb/host/ |
H A D | xhci-dbgcap.c | 346 if (dbc->state == DS_CONFIGURED) in dbc_ep_queue() 517 dbc->state = DS_INITIALIZED; in xhci_dbc_mem_init() 569 if (dbc->state != DS_DISABLED) in xhci_do_dbc_start() 592 dbc->state = DS_ENABLED; in xhci_do_dbc_start() 599 if (dbc->state == DS_DISABLED) in xhci_do_dbc_stop() 603 dbc->state = DS_DISABLED; in xhci_do_dbc_stop() 636 switch (dbc->state) { in xhci_dbc_stop() 758 /* DbC state machine: */ in xhci_dbc_do_handle_events() 759 switch (dbc->state) { in xhci_dbc_do_handle_events() 767 dbc->state in xhci_dbc_do_handle_events() [all...] |
/kernel/linux/linux-6.6/drivers/usb/serial/ |
H A D | garmin_gps.c | 110 /* structure used to keep the current state of the driver */ 112 __u8 state; member 263 int state = 0; in pkt_add() local 283 state = garmin_data_p->state; in pkt_add() 292 if (result && (state == STATE_GSP_WAIT_DATA)) in pkt_add() 569 garmin_data_p->state = STATE_ACTIVE; in gsp_receive() 571 garmin_data_p->state = STATE_GSP_WAIT_DATA; in gsp_receive() 597 dev_dbg(dev, "%s - state %d - %d bytes.\n", __func__, in gsp_send() 598 garmin_data_p->state, coun in gsp_send() [all...] |
/kernel/linux/linux-6.6/crypto/ |
H A D | khazad.c | 808 u64 state; in khazad_crypt() local 810 state = be64_to_cpu(*src) ^ roundKey[0]; in khazad_crypt() 813 state = T0[(int)(state >> 56) ] ^ in khazad_crypt() 814 T1[(int)(state >> 48) & 0xff] ^ in khazad_crypt() 815 T2[(int)(state >> 40) & 0xff] ^ in khazad_crypt() 816 T3[(int)(state >> 32) & 0xff] ^ in khazad_crypt() 817 T4[(int)(state >> 24) & 0xff] ^ in khazad_crypt() 818 T5[(int)(state >> 16) & 0xff] ^ in khazad_crypt() 819 T6[(int)(state >> in khazad_crypt() [all...] |
/kernel/linux/linux-6.6/kernel/sched/ |
H A D | psi.c | 30 * In the SOME state of a given resource, one or more tasks are 34 * In the FULL state of a given resource, all non-idle tasks are 46 * Naturally, the FULL state doesn't exist for the CPU resource at the 77 * Again, looking purely at the task state would yield a memory FULL 110 * To assess the precise time spent in each such state, we would have 111 * to freeze the system on task changes and start/stop the state 115 * among the available CPUs, we can track task state locally to each 116 * CPU and, at much lower frequency, extrapolate the global state for 221 static bool test_state(unsigned int *tasks, enum psi_states state, bool oncpu) in test_state() argument 223 switch (state) { in test_state() 1283 enum psi_states state; psi_trigger_create() local [all...] |
/kernel/linux/linux-6.6/net/dccp/ |
H A D | proto.c | 55 static const char *dccp_state_name(const int state) in dccp_state_name() argument 71 if (state >= DCCP_MAX_STATES) in dccp_state_name() 74 return dccp_state_names[state]; in dccp_state_name() 78 void dccp_set_state(struct sock *sk, const int state) in dccp_set_state() argument 83 dccp_state_name(oldstate), dccp_state_name(state)); in dccp_set_state() 84 WARN_ON(state == oldstate); in dccp_set_state() 86 switch (state) { in dccp_set_state() 110 /* Change state AFTER socket is unhashed to avoid closed in dccp_set_state() 113 inet_sk_set_state(sk, state); in dccp_set_state() 244 /* clean up feature negotiation state */ in dccp_destroy_sock() 250 dccp_need_reset(int state) dccp_need_reset() argument 321 int state; dccp_poll() local 996 int state; dccp_close() local [all...] |
/third_party/ffmpeg/libavformat/ |
H A D | rtspdec.c | 354 rt->state = RTSP_STATE_PAUSED; in rtsp_read_setup() 376 rt->state = RTSP_STATE_STREAMING; in rtsp_read_record() 415 /* Check method with the state */ in parse_command_line() 416 if (rt->state == RTSP_STATE_IDLE) { in parse_command_line() 422 } else if (rt->state == RTSP_STATE_PAUSED) { in parse_command_line() 429 } else if (rt->state == RTSP_STATE_STREAMING) { in parse_command_line() 437 av_log(s, AV_LOG_ERROR, "Unexpected State [%d]\n", rt->state); in parse_command_line() 510 rt->state = RTSP_STATE_PAUSED; in ff_rtsp_parse_streaming_commands() 518 rt->state = RTSP_STATE_IDLE; in ff_rtsp_parse_streaming_commands() 531 av_log(s, AV_LOG_DEBUG, "hello state in rtsp_read_play() [all...] |
/third_party/curl/lib/ |
H A D | pop3.c | 218 if(pop3c->state == POP3_CAPA) { in pop3_endofresp() 285 * This is the ONLY way to change POP3 state! 307 if(pop3c->state != newstate) in pop3_state() 308 infof(data, "POP3 %p state change from %s to %s", in pop3_state() 309 (void *)pop3c, names[pop3c->state], names[newstate]); in pop3_state() 312 pop3c->state = newstate; in pop3_state() 383 if(pop3c->state != POP3_UPGRADETLS) in pop3_perform_upgrade_tls() 408 if(!data->state.aptr.user) { in pop3_perform_user() 442 if(!data->state.aptr.user) { in pop3_perform_apop() 981 if(pop3c->state in pop3_statemachine() [all...] |
/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
H A D | lp_rast.c | 312 const struct lp_rast_state *state = task->state; in lp_rast_shade_tile() local 313 assert(state); in lp_rast_shade_tile() 314 if (!state) { in lp_rast_shade_tile() 318 const struct lp_fragment_shader_variant *variant = state->variant; in lp_rast_shade_tile() 358 /* Propagate non-interpolated raster state. */ in lp_rast_shade_tile() 363 BEGIN_JIT_CALL(state, task); in lp_rast_shade_tile() 364 variant->jit_function[RAST_WHOLE](&state->jit_context, in lp_rast_shade_tile() 395 assert(task->state); in lp_rast_shade_tile_opaque() 396 if (!task->state) { in lp_rast_shade_tile_opaque() 416 const struct lp_rast_state *state = task->state; lp_rast_shade_quads_mask_sample() local 514 const struct lp_rast_state *state = task->state; lp_rast_blit_tile_to_dest() local [all...] |
/third_party/lwip/src/apps/smtp/ |
H A D | smtp.c | 37 if(bdh->state >= 10) { 40 sprintf(bdh->buffer,"Line #%2d\r\n",bdh->state); 42 ++bdh->state; 169 /* Some internal state return values */ 179 /** State for SMTP client state machine */ 227 u16_t state; member 232 /** struct keeping the body and state of an smtp session */ 234 /** keeping the state of the smtp session */ 235 enum smtp_session_state state; member 535 s->state in smtp_send_mail_alloced() [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/ |
H A D | Context11.cpp | 117 Context11::Context11(const gl::State &state, gl::ErrorSet *errorSet, Renderer11 *renderer) in Context11() argument 118 : ContextD3D(state, errorSet), mRenderer(renderer) in Context11() 160 TextureImpl *Context11::createTexture(const gl::TextureState &state) in createTexture() argument 162 switch (state.getType()) in createTexture() 167 return new TextureD3D_2D(state, mRenderer); in createTexture() 169 return new TextureD3D_Cube(state, mRenderer); in createTexture() 171 return new TextureD3D_3D(state, mRenderer); in createTexture() 173 return new TextureD3D_2DArray(state, mRenderer); in createTexture() 175 return new TextureD3D_External(state, mRenderer); in createTexture() 177 return new TextureD3D_2DMultisample(state, mRendere in createTexture() 187 createRenderbuffer(const gl::RenderbufferState &state) createRenderbuffer() argument 192 createBuffer(const gl::BufferState &state) createBuffer() argument 219 createTransformFeedback(const gl::TransformFeedbackState &state) createTransformFeedback() argument 224 createSampler(const gl::SamplerState &state) createSampler() argument 246 createOverlay(const gl::OverlayState &state) createOverlay() argument [all...] |
/third_party/rust/crates/libc/src/unix/solarish/ |
H A D | mod.rs | 621 fn hash<H: ::hash::Hasher>(&self, state: &mut H) { in hash() 622 self.ut_user.hash(state); in hash() 623 self.ut_type.hash(state); in hash() 624 self.ut_pid.hash(state); in hash() 625 self.ut_line.hash(state); in hash() 626 self.ut_id.hash(state); in hash() 627 self.ut_host.hash(state); in hash() 628 self.ut_exit.hash(state); in hash() 629 self.ut_session.hash(state); in hash() 630 self.ut_tv.hash(state); in hash() [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe.h | 285 test_bit(__IXGBE_RX_BUILD_SKB_ENABLED, &(ring)->state) 296 test_bit(__IXGBE_TX_DETECT_HANG, &(ring)->state) 298 set_bit(__IXGBE_TX_DETECT_HANG, &(ring)->state) 300 clear_bit(__IXGBE_TX_DETECT_HANG, &(ring)->state) 302 test_bit(__IXGBE_RX_RSC_ENABLED, &(ring)->state) 304 set_bit(__IXGBE_RX_RSC_ENABLED, &(ring)->state) 306 clear_bit(__IXGBE_RX_RSC_ENABLED, &(ring)->state) 308 test_bit(__IXGBE_TX_XDP_RING, &(ring)->state) 310 set_bit(__IXGBE_TX_XDP_RING, &(ring)->state) 312 clear_bit(__IXGBE_TX_XDP_RING, &(ring)->state) 324 unsigned long state; global() member 543 u16 state; /* bitmask */ global() member 571 unsigned long state; global() member [all...] |
/kernel/linux/linux-6.6/arch/s390/pci/ |
H A D | pci.c | 89 enum zpci_state state; in zpci_remove_reserved_devices() local 94 if (zdev->state == ZPCI_FN_STATE_STANDBY && in zpci_remove_reserved_devices() 95 !clp_get_state(zdev->fid, &state) && in zpci_remove_reserved_devices() 96 state == ZPCI_FN_STATE_RESERVED) in zpci_remove_reserved_devices() 719 * After the reset the functions internal state is reset to an initial state 720 * equivalent to its state during boot when first probing a driver. 739 /* Disables device access, DMAs and IRQs (reset state) */ in zpci_hot_reset_device() 742 * Due to a z/VM vs LPAR inconsistency in the error state the in zpci_hot_reset_device() 773 * @state 780 zpci_create_device(u32 fid, u32 fh, enum zpci_state state) zpci_create_device() argument 828 enum zpci_state state = zdev->state; zpci_is_device_configured() local [all...] |
/kernel/linux/linux-5.10/drivers/misc/altera-stapl/ |
H A D | altera-jtag.c | 25 * This structure shows, for each JTAG state, which state is reached after 27 * describes all possible state transitions in the JTAG state machine. 55 * the path to the desired state. The array index is the current state, 56 * and the bit position is the desired endstate. To find out which state 57 * is used as the intermediate state, look up the TMS value in the 79 /* initial JTAG state is unknown */ in altera_jinit() 82 /* initialize to default state */ in altera_jinit() 102 altera_set_drstop(struct altera_jtag *js, enum altera_jtag_state state) altera_set_drstop() argument 109 altera_set_irstop(struct altera_jtag *js, enum altera_jtag_state state) altera_set_irstop() argument 285 altera_goto_jstate(struct altera_state *astate, enum altera_jtag_state state) altera_goto_jstate() argument [all...] |
/kernel/linux/linux-5.10/drivers/media/platform/exynos-gsc/ |
H A D | gsc-m2m.c | 50 if ((ret == -ETIMEDOUT) || (ctx->state & GSC_CTX_ABORT)) { in __gsc_m2m_job_abort() 158 set_bit(ST_M2M_PEND, &gsc->state); in gsc_m2m_device_run() 164 ctx->state |= GSC_PARAMS; in gsc_m2m_device_run() 168 is_set = ctx->state & GSC_CTX_STOP_REQ; in gsc_m2m_device_run() 170 ctx->state &= ~GSC_CTX_STOP_REQ; in gsc_m2m_device_run() 171 ctx->state |= GSC_CTX_ABORT; in gsc_m2m_device_run() 186 if (ctx->state & GSC_PARAMS) { in gsc_m2m_device_run() 214 ctx->state &= ~GSC_PARAMS; in gsc_m2m_device_run() 221 ctx->state &= ~GSC_PARAMS; in gsc_m2m_device_run() 269 pr_debug("ctx: %p, ctx->state in gsc_m2m_buf_queue() [all...] |
/kernel/linux/linux-5.10/drivers/net/ppp/ |
H A D | ppp_async.c | 40 /* Structure for storing local state. */ 44 unsigned int state; member 777 if (ap->state & (SC_TOSS | SC_ESCAPE)) in process_input_packet() 816 skb->cb[0] = ap->state; in process_input_packet() 819 ap->state = 0; in process_input_packet() 824 ap->state = SC_PREV_ERROR; in process_input_packet() 859 if ((ap->state & SC_ESCAPE) && buf[0] == PPP_ESCAPE) in ppp_async_input() 865 if (flags && (ap->state & SC_TOSS) == 0) { in ppp_async_input() 873 ap->state |= SC_TOSS; in ppp_async_input() 875 } else if (n > 0 && (ap->state in ppp_async_input() [all...] |