/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
H A D | DateIntervalFormat.java | 265 * Functions that alter the state of a DateIntervalFormat object (setters) 1004 long state = 0; in fallbackFormatRange() 1006 state = SimpleFormatterImpl.IterInternal.step(state, compiledPattern, appendTo); in fallbackFormatRange() 1007 if (state == SimpleFormatterImpl.IterInternal.DONE) { in fallbackFormatRange() 1010 if (SimpleFormatterImpl.IterInternal.getArgIndex(state) == 0) { in fallbackFormatRange() 1062 long state = 0; in fallbackFormat() 1064 state = SimpleFormatterImpl.IterInternal.step(state, compiledPattern, appendTo); in fallbackFormat() 1065 if (state in fallbackFormat() [all...] |
/third_party/mesa3d/src/compiler/glsl/ |
H A D | ir.h | 393 * Description of built-in state associated with a uniform 910 * Number of state slots used 1026 * Built-in state that backs this uniform 1286 bool is_builtin_available(const _mesa_glsl_parse_state *state) const; 1352 ir_function_signature *matching_signature(_mesa_glsl_parse_state *state, 1361 ir_function_signature *matching_signature(_mesa_glsl_parse_state *state, 1369 ir_function_signature *exact_matching_signature(_mesa_glsl_parse_state *state, 2025 bool is_lvalue(const struct _mesa_glsl_parse_state *state) const in is_lvalue() 2027 return val->is_lvalue(state) && !mask.has_duplicates; in is_lvalue() 2052 bool is_lvalue(const struct _mesa_glsl_parse_state *state) cons [all...] |
/third_party/mesa3d/src/intel/tools/ |
H A D | aubinator_viewer_decoder.cpp | 241 const uint8_t *state = (const uint8_t *) bo.map + (addr - bo.addr); in dump_binding_table() local 244 aub_viewer_print_group(ctx, strct, addr, state); in dump_binding_table() 266 ImGui::TextColored(ctx->cfg->missing_color, "invalid sampler state pointer"); in dump_samplers() 273 ImGui::TextColored(ctx->cfg->missing_color, "sampler state ends after bo ends"); in dump_samplers() 279 "sampler state %d", i)) { in dump_samplers() 662 "dynamic %s state unavailable addr=0x%012" PRIx64, in decode_dynamic_state_pointers() 667 struct intel_group *state = intel_spec_find_struct(ctx->spec, struct_type); in decode_dynamic_state_pointers() local 674 aub_viewer_print_group(ctx, state, state_addr, state_map); in decode_dynamic_state_pointers() 676 state_addr += state->dw_length * 4; in decode_dynamic_state_pointers() 677 state_map += state in decode_dynamic_state_pointers() [all...] |
/third_party/lwip/src/netif/ppp/ |
H A D | ccp.c | 266 * Local state (mainly for handling reset-reqs and reset-acks). 413 if (f->state != PPP_FSM_OPENED) in ccp_open() 463 oldstate = f->state; in ccp_input() 465 if (oldstate == PPP_FSM_OPENED && p[0] == TERMREQ && f->state != PPP_FSM_OPENED) { in ccp_input() 494 if (f->state != PPP_FSM_OPENED) in ccp_extcode() 498 reset its compression state. */ in ccp_extcode() 1013 if (f->state != PPP_FSM_OPENED) in ccp_nakci() 1094 if (f->state != PPP_FSM_OPENED) in ccp_rejci() 1158 /* Check state opt */ in ccp_reqci() 1502 if (pcb->lcp_fsm.state in ccp_down() [all...] |
/third_party/rust/crates/libc/src/unix/bsd/ |
H A D | mod.rs | 186 fn hash<H: ::hash::Hasher>(&self, state: &mut H) { in hash() 187 self.sun_len.hash(state); in hash() 188 self.sun_family.hash(state); in hash() 189 self.sun_path.hash(state); in hash() 237 fn hash<H: ::hash::Hasher>(&self, state: &mut H) { in hash() 238 self.sysname.hash(state); in hash() 239 self.nodename.hash(state); in hash() 240 self.release.hash(state); in hash() 241 self.version.hash(state); in hash() 242 self.machine.hash(state); in hash() [all...] |
/third_party/pulseaudio/src/modules/ |
H A D | module-solaris.c | 420 if (new_state == s->thread_info.state) in sink_set_state_in_io_thread_cb() 427 pa_assert(PA_SINK_IS_OPENED(s->thread_info.state)); in sink_set_state_in_io_thread_cb() 444 if (s->thread_info.state == PA_SINK_SUSPENDED) { in sink_set_state_in_io_thread_cb() 494 if (new_state == s->thread_info.state) in source_set_state_in_io_thread_cb() 501 pa_assert(PA_SOURCE_IS_OPENED(s->thread_info.state)); in source_set_state_in_io_thread_cb() 512 if (s->thread_info.state == PA_SOURCE_SUSPENDED) { in source_set_state_in_io_thread_cb() 642 if (!PA_SINK_IS_OPENED(u->sink->thread_info.state)) { in process_rewind() 690 if (u->sink && PA_SINK_IS_OPENED(u->sink->thread_info.state)) { in thread_func() 779 if (u->source && PA_SOURCE_IS_OPENED(u->source->thread_info.state) && (revents & POLLIN)) { in thread_func() 836 pollfd->events = (u->source && PA_SOURCE_IS_OPENED(u->source->thread_info.state)) in thread_func() [all...] |
/third_party/python/Lib/importlib/ |
H A D | _bootstrap.py | 829 state = spec.loader_state 830 if state is None: 867 # Check the loader state. 868 assert sorted(vars(state)) == ['filename', 'origname'], state 869 if state.origname: 872 ) = cls._resolve_filename(state.origname, spec.name, ispkg) 873 assert state.filename == __file__, (state.filename, __file__) 880 assert state [all...] |
/third_party/python/Lib/test/ |
H A D | test_copy.py | 244 def __setstate__(self, state): 245 self.foo = state["foo"] 257 def __setstate__(self, state): 258 self.foo = state 548 def __setstate__(self, state): 549 self.foo = state["foo"] 564 def __setstate__(self, state): 565 self.foo = state 630 def __setstate__(self, state): 631 self.__dict__.update(state) [all...] |
/kernel/linux/linux-5.10/drivers/block/drbd/ |
H A D | drbd_main.c | 163 io_allowed = (device->state.disk >= mins); in _get_ldev_if_state() 337 * was set the conn state to "StandAlone", in drbd_thread_setup() 338 * if now a re-connect request comes in, conn state goes C_UNCONNECTED, in drbd_thread_setup() 388 /* is used from state engine doing drbd_thread_stop_nowait, in drbd_thread_start() 454 /* may be called from state engine, holding the req lock irqsave */ in _drbd_thread_stop() 900 D_ASSERT(device, device->state.disk == D_UP_TO_DATE); in drbd_gen_and_send_sync_uuid() 1002 * drbd_send_current_state() - Sends the drbd state to the peer 1014 p->state = cpu_to_be32(peer_device->device->state.i); /* Within the send mutex */ in drbd_send_current_state() 1019 * drbd_send_state() - After a state chang 1028 drbd_send_state(struct drbd_peer_device *peer_device, union drbd_state state) drbd_send_state() argument 3761 unsigned long state; global() member [all...] |
/kernel/linux/linux-5.10/drivers/net/dsa/sja1105/ |
H A D | sja1105_main.c | 938 * the state->interface, but AN has not completed and the in sja1105_adjust_port_config() 1028 const struct phylink_link_state *state) in sja1105_mac_config() 1033 if (sja1105_phy_mode_mismatch(priv, port, state->interface)) { in sja1105_mac_config() 1035 phy_modes(state->interface)); in sja1105_mac_config() 1075 struct phylink_link_state *state) in sja1105_phylink_validate() 1088 * When @state->interface is %PHY_INTERFACE_MODE_NA, phylink in sja1105_phylink_validate() 1091 if (state->interface != PHY_INTERFACE_MODE_NA && in sja1105_phylink_validate() 1092 sja1105_phy_mode_mismatch(priv, port, state->interface)) { in sja1105_phylink_validate() 1110 bitmap_and(state->advertising, state in sja1105_phylink_validate() 1026 sja1105_mac_config(struct dsa_switch *ds, int port, unsigned int mode, const struct phylink_link_state *state) sja1105_mac_config() argument 1073 sja1105_phylink_validate(struct dsa_switch *ds, int port, unsigned long *supported, struct phylink_link_state *state) sja1105_phylink_validate() argument 1114 sja1105_mac_pcs_get_state(struct dsa_switch *ds, int port, struct phylink_link_state *state) sja1105_mac_pcs_get_state() argument 1636 sja1105_bridge_stp_state_set(struct dsa_switch *ds, int port, u8 state) sja1105_bridge_stp_state_set() argument 2724 enum sja1105_vlan_state state; sja1105_vlan_filtering() local [all...] |
/kernel/linux/linux-5.10/drivers/infiniband/sw/rdmavt/ |
H A D | qp.c | 725 * If so, the qp is put into an error state to elminate 740 if (qp->state == IB_QPS_ERR || qp->state == IB_QPS_RESET) in rvt_qp_mr_clean() 853 * rvt_init_qp - initialize the QP state to the reset state 907 * _rvt_reset_qp - initialize the QP state to the reset state 922 if (qp->state != IB_QPS_RESET) { 923 qp->state = IB_QPS_RESET; 961 * rvt_reset_qp - initialize the QP state t [all...] |
/kernel/linux/linux-6.6/drivers/block/drbd/ |
H A D | drbd_main.c | 149 io_allowed = (device->state.disk >= mins); in _get_ldev_if_state() 328 * was set the conn state to "StandAlone", in drbd_thread_setup() 329 * if now a re-connect request comes in, conn state goes C_UNCONNECTED, in drbd_thread_setup() 379 /* is used from state engine doing drbd_thread_stop_nowait, in drbd_thread_start() 445 /* may be called from state engine, holding the req lock irqsave */ in _drbd_thread_stop() 891 D_ASSERT(device, device->state.disk == D_UP_TO_DATE); in drbd_gen_and_send_sync_uuid() 988 * drbd_send_current_state() - Sends the drbd state to the peer 1000 p->state = cpu_to_be32(peer_device->device->state.i); /* Within the send mutex */ in drbd_send_current_state() 1005 * drbd_send_state() - After a state chang 1014 drbd_send_state(struct drbd_peer_device *peer_device, union drbd_state state) drbd_send_state() argument 3733 unsigned long state; global() member [all...] |
/kernel/linux/linux-6.6/drivers/infiniband/sw/rdmavt/ |
H A D | qp.c | 685 * If so, the qp is put into an error state to elminate 700 if (qp->state == IB_QPS_ERR || qp->state == IB_QPS_RESET) in rvt_qp_mr_clean() 813 * rvt_init_qp - initialize the QP state to the reset state 868 * _rvt_reset_qp - initialize the QP state to the reset state 884 if (qp->state != IB_QPS_RESET) { 885 qp->state = IB_QPS_RESET; 923 * rvt_reset_qp - initialize the QP state t [all...] |
/third_party/mesa3d/src/broadcom/vulkan/ |
H A D | v3dv_pipeline.c | 545 struct lower_pipeline_layout_state *state) in lower_load_push_constant() 593 struct lower_pipeline_layout_state *state) in lower_vulkan_resource_index() 601 struct v3dv_descriptor_set_layout *set_layout = state->layout->set[set].layout; in lower_vulkan_resource_index() 613 pipeline_get_descriptor_map(state->pipeline, binding_layout->type, in lower_vulkan_resource_index() 671 struct lower_pipeline_layout_state *state) in lower_tex_src_to_offset() 734 struct v3dv_descriptor_set_layout *set_layout = state->layout->set[set].layout; in lower_tex_src_to_offset() 754 pipeline_get_descriptor_map(state->pipeline, binding_layout->type, in lower_tex_src_to_offset() 776 struct lower_pipeline_layout_state *state) in lower_sampler() 784 return_size = lower_tex_src_to_offset(b, instr, texture_idx, state); in lower_sampler() 790 lower_tex_src_to_offset(b, instr, sampler_idx, state); in lower_sampler() 544 lower_load_push_constant(nir_builder *b, nir_intrinsic_instr *instr, struct lower_pipeline_layout_state *state) lower_load_push_constant() argument 591 lower_vulkan_resource_index(nir_builder *b, nir_intrinsic_instr *instr, struct lower_pipeline_layout_state *state) lower_vulkan_resource_index() argument 668 lower_tex_src_to_offset(nir_builder *b, nir_tex_instr *instr, unsigned src_idx, struct lower_pipeline_layout_state *state) lower_tex_src_to_offset() argument 774 lower_sampler(nir_builder *b, nir_tex_instr *instr, struct lower_pipeline_layout_state *state) lower_sampler() argument 809 lower_image_deref(nir_builder *b, nir_intrinsic_instr *instr, struct lower_pipeline_layout_state *state) lower_image_deref() argument 884 lower_intrinsic(nir_builder *b, nir_intrinsic_instr *instr, struct lower_pipeline_layout_state *state) lower_intrinsic() argument 934 struct lower_pipeline_layout_state *state = _state; lower_pipeline_layout_cb() local 959 struct lower_pipeline_layout_state state = { lower_pipeline_layout_info() local 2626 v3dv_dynamic_state_mask(VkDynamicState state) v3dv_dynamic_state_mask() argument [all...] |
/kernel/linux/linux-5.10/drivers/media/pci/bt8xx/ |
H A D | bttv-driver.c | 1506 new->vb.state = VIDEOBUF_DONE; in bttv_switch_overlay() 1514 dprintk("switch_overlay: old=%p state is %d\n", in bttv_switch_overlay() 1515 old, old->vb.state); in bttv_switch_overlay() 1610 if (VIDEOBUF_NEEDS_INIT == buf->vb.state) { in bttv_prepare_buffer() 1620 buf->vb.state = VIDEOBUF_PREPARED; in bttv_prepare_buffer() 1659 buf->vb.state = VIDEOBUF_QUEUED; in buffer_queue() 2408 /* update our state information */ in bttv_s_fmt_vid_cap() 2952 if (buf->vb.state == VIDEOBUF_DONE || in bttv_poll() 2953 buf->vb.state == VIDEOBUF_ERROR) in bttv_poll() 3548 struct bttv_buffer_set *curr, unsigned int state) in bttv_irq_wakeup_video() 3547 bttv_irq_wakeup_video(struct bttv *btv, struct bttv_buffer_set *wakeup, struct bttv_buffer_set *curr, unsigned int state) bttv_irq_wakeup_video() argument 3585 bttv_irq_wakeup_vbi(struct bttv *btv, struct bttv_buffer *wakeup, unsigned int state) bttv_irq_wakeup_vbi() argument 4275 bttv_suspend(struct pci_dev *pci_dev, pm_message_t state) bttv_suspend() argument [all...] |
/kernel/linux/linux-5.10/drivers/infiniband/hw/cxgb4/ |
H A D | cm.c | 209 pr_err("%s - device in error state - dropping\n", __func__); in c4iw_l2t_send() 226 pr_err("%s - device in error state - dropping\n", __func__); in c4iw_ofld_send() 268 enum c4iw_ep_state state; in state_read() local 271 state = epc->state; in state_read() 273 return state; in state_read() 278 epc->state = new; in __state_set() 284 pr_debug("%s -> %s\n", states[epc->state], states[new]); in state_set() 391 pr_debug("ep %p state %s\n", ep, states[ep->com.state]); in _c4iw_free_ep() [all...] |
/kernel/linux/linux-6.6/drivers/infiniband/hw/cxgb4/ |
H A D | cm.c | 209 pr_err("%s - device in error state - dropping\n", __func__); in c4iw_l2t_send() 226 pr_err("%s - device in error state - dropping\n", __func__); in c4iw_ofld_send() 268 enum c4iw_ep_state state; in state_read() local 271 state = epc->state; in state_read() 273 return state; in state_read() 278 epc->state = new; in __state_set() 284 pr_debug("%s -> %s\n", states[epc->state], states[new]); in state_set() 391 pr_debug("ep %p state %s\n", ep, states[ep->com.state]); in _c4iw_free_ep() [all...] |
/third_party/python/Objects/ |
H A D | dictobject.c | 70 transition to Active upon key insertion. This is each slot's initial state. 261 struct _Py_dict_state *state = &interp->dict_state; in _PyDict_ClearFreeList() local 262 while (state->numfree) { in _PyDict_ClearFreeList() 263 PyDictObject *op = state->free_list[--state->numfree]; in _PyDict_ClearFreeList() 267 while (state->keys_numfree) { in _PyDict_ClearFreeList() 268 PyObject_Free(state->keys_free_list[--state->keys_numfree]); in _PyDict_ClearFreeList() 279 struct _Py_dict_state *state = &interp->dict_state; in _PyDict_Fini() local 280 state in _PyDict_Fini() 297 struct _Py_dict_state *state = get_dict_state(); _PyDict_DebugMallocStats() local 620 struct _Py_dict_state *state = get_dict_state(); new_keys_object() local 676 struct _Py_dict_state *state = get_dict_state(); free_keys_object() local 722 struct _Py_dict_state *state = get_dict_state(); new_dict() local 1540 struct _Py_dict_state *state = get_dict_state(); dictresize() local 2381 struct _Py_dict_state *state = get_dict_state(); dict_dealloc() local [all...] |
/kernel/linux/common_modules/tzdriver/tui/ |
H A D | tui.c | 726 tlogi("drv(%s) state=%d,%d\n", pos->name, secure, pos->state); in init_each_tui_driver() 727 if (pos->state == 0) in init_each_tui_driver() 730 pos->state = -1; /* Process init_func() fail */ in init_each_tui_driver() 732 /* set secure state will be proceed in tui msg */ in init_each_tui_driver() 733 pos->state = 0; in init_each_tui_driver() 735 tlogi("init tui drv(%s) state=%d\n", pos->name, secure); in init_each_tui_driver() 738 pos->state = -1; in init_each_tui_driver() 744 pos->state = 1; in init_each_tui_driver() 882 pos->state 1391 set_tui_state(int state) global() argument [all...] |
/kernel/linux/linux-5.10/drivers/acpi/ |
H A D | acpi_video.c | 261 unsigned long *state) in video_get_max_state() 266 *state = video->brightness->count - ACPI_VIDEO_FIRST_LEVEL - 1; in video_get_max_state() 271 unsigned long *state) in video_get_cur_state() 283 *state = video->brightness->count - offset - 1; in video_get_cur_state() 291 video_set_cur_state(struct thermal_cooling_device *cooling_dev, unsigned long state) in video_set_cur_state() argument 297 if (state >= video->brightness->count - ACPI_VIDEO_FIRST_LEVEL) in video_set_cur_state() 300 state = video->brightness->count - state; in video_set_cur_state() 301 level = video->brightness->levels[state - 1]; in video_set_cur_state() 352 int state; in acpi_video_device_lcd_set_level() local 260 video_get_max_state(struct thermal_cooling_device *cooling_dev, unsigned long *state) video_get_max_state() argument 270 video_get_cur_state(struct thermal_cooling_device *cooling_dev, unsigned long *state) video_get_cur_state() argument [all...] |
/kernel/linux/linux-6.6/arch/powerpc/platforms/pseries/ |
H A D | lpar.c | 464 int rc = 0, state; in dtl_worker_enable() local 476 state = cpuhp_setup_state(CPUHP_AP_ONLINE_DYN, "powerpc/dtl:online", in dtl_worker_enable() 478 if (state < 0) { in dtl_worker_enable() 486 dtl_worker_state = state; in dtl_worker_enable() 1609 struct hpt_resize_state *state = data; in pseries_lpar_resize_hpt_commit() local 1611 state->commit_rc = plpar_resize_hpt_commit(0, state->shift); in pseries_lpar_resize_hpt_commit() 1612 if (state->commit_rc != H_SUCCESS) in pseries_lpar_resize_hpt_commit() 1616 ppc64_pft_size = state->shift; in pseries_lpar_resize_hpt_commit() 1629 struct hpt_resize_state state in pseries_lpar_resize_hpt() local 1764 pSeries_set_page_state(struct page *page, int order, unsigned long state) pSeries_set_page_state() argument [all...] |
/kernel/linux/linux-5.10/drivers/media/platform/ |
H A D | fsl-viu.c | 305 buf->vb.state = VIDEOBUF_ERROR; in restart_video_queue() 324 buf->vb.state = VIDEOBUF_ACTIVE; in restart_video_queue() 333 buf->vb.state = VIDEOBUF_ACTIVE; in restart_video_queue() 352 buf->vb.state = VIDEOBUF_ERROR; in viu_vid_timeout() 394 buf->vb.state = VIDEOBUF_NEEDS_INIT; in free_buffer() 432 buf->vb.state = VIDEOBUF_ACTIVE; in buffer_activate() 473 if (buf->vb.state == VIDEOBUF_NEEDS_INIT) { in buffer_prepare() 484 buf->vb.state = VIDEOBUF_PREPARED; in buffer_prepare() 508 buf->vb.state = VIDEOBUF_QUEUED; in buffer_queue() 514 buf->vb.state in buffer_queue() 1562 viu_suspend(struct platform_device *op, pm_message_t state) viu_suspend() argument [all...] |
/kernel/linux/linux-5.10/drivers/media/pci/saa7134/ |
H A D | saa7134-dvb.c | 271 struct tda1004x_state *state = fe->demodulator_priv; in philips_tda6651_pll_set() local 272 u8 addr = state->config->tuner_address; in philips_tda6651_pll_set() 359 struct tda1004x_state *state = fe->demodulator_priv; in philips_tu1216_init() local 360 u8 addr = state->config->tuner_address; in philips_tu1216_init() 404 struct tda1004x_state *state = fe->demodulator_priv; in philips_td1316_tuner_init() local 405 u8 addr = state->config->tuner_address; in philips_td1316_tuner_init() 425 struct tda1004x_state *state = fe->demodulator_priv; in philips_td1316_tuner_sleep() local 426 u8 addr = state->config->tuner_address; in philips_td1316_tuner_sleep() 523 struct tda1004x_state *state = fe->demodulator_priv; in tda8290_i2c_gate_ctrl() local 525 u8 addr = state in tda8290_i2c_gate_ctrl() 545 struct tda1004x_state *state = fe->demodulator_priv; philips_tda827x_tuner_init() local 565 struct tda1004x_state *state = fe->demodulator_priv; philips_tda827x_tuner_sleep() local [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/xilinx/ |
H A D | xilinx_axienet_main.c | 326 * halted state. This will make the Rx side ready for reception. in axienet_dma_bd_init() 1539 struct phylink_link_state *state) in axienet_validate() 1546 if (state->interface != PHY_INTERFACE_MODE_NA && in axienet_validate() 1547 state->interface != lp->phy_mode) { in axienet_validate() 1549 phy_modes(state->interface), in axienet_validate() 1561 switch (state->interface) { in axienet_validate() 1572 if (state->interface == PHY_INTERFACE_MODE_1000BASEX) in axienet_validate() 1584 bitmap_and(state->advertising, state->advertising, mask, in axienet_validate() 1589 struct phylink_link_state *state) in axienet_mac_pcs_get_state() 1537 axienet_validate(struct phylink_config *config, unsigned long *supported, struct phylink_link_state *state) axienet_validate() argument 1588 axienet_mac_pcs_get_state(struct phylink_config *config, struct phylink_link_state *state) axienet_mac_pcs_get_state() argument 1612 axienet_mac_config(struct phylink_config *config, unsigned int mode, const struct phylink_link_state *state) axienet_mac_config() argument [all...] |
/kernel/linux/linux-5.10/drivers/virtio/ |
H A D | virtio_ring.c | 77 u16 next; /* The next desc state in a list. */ 78 u16 last; /* The last desc state in a list. */ 131 /* Per-descriptor state. */ 167 /* Per-descriptor state. */ 537 /* Store token and indirect buffer state. */ in virtqueue_add_split() 915 struct vring_desc_extra_packed *state) in vring_unmap_state_packed() 922 flags = state->flags; in vring_unmap_state_packed() 926 state->addr, state->len, in vring_unmap_state_packed() 931 state in vring_unmap_state_packed() 914 vring_unmap_state_packed(const struct vring_virtqueue *vq, struct vring_desc_extra_packed *state) vring_unmap_state_packed() argument 1294 struct vring_desc_state_packed *state = NULL; detach_buf_packed() local [all...] |