/kernel/linux/linux-5.10/drivers/media/i2c/ |
H A D | tw2804.c | 142 struct tw2804 *state = to_state(sd); in tw2804_log_status() local 145 state->norm & V4L2_STD_525_60 ? "60 Hz" : "50 Hz"); in tw2804_log_status() 146 v4l2_info(sd, "Channel: %d\n", state->channel); in tw2804_log_status() 147 v4l2_info(sd, "Input: %d\n", state->input); in tw2804_log_status() 166 struct tw2804 *state = to_state_from_ctrl(ctrl); in tw2804_g_volatile_ctrl() local 167 struct i2c_client *client = v4l2_get_subdevdata(&state->sd); in tw2804_g_volatile_ctrl() 191 struct tw2804 *state = to_state_from_ctrl(ctrl); in tw2804_s_ctrl() local 192 struct i2c_client *client = v4l2_get_subdevdata(&state->sd); in tw2804_s_ctrl() 199 reg = read_reg(client, addr, state->channel); in tw2804_s_ctrl() 206 return write_reg(client, addr, reg, state in tw2804_s_ctrl() 350 struct tw2804 *state; tw2804_probe() local 411 struct tw2804 *state = to_state(sd); tw2804_remove() local [all...] |
/kernel/linux/linux-6.6/drivers/media/i2c/ |
H A D | tw2804.c | 142 struct tw2804 *state = to_state(sd); in tw2804_log_status() local 145 state->norm & V4L2_STD_525_60 ? "60 Hz" : "50 Hz"); in tw2804_log_status() 146 v4l2_info(sd, "Channel: %d\n", state->channel); in tw2804_log_status() 147 v4l2_info(sd, "Input: %d\n", state->input); in tw2804_log_status() 166 struct tw2804 *state = to_state_from_ctrl(ctrl); in tw2804_g_volatile_ctrl() local 167 struct i2c_client *client = v4l2_get_subdevdata(&state->sd); in tw2804_g_volatile_ctrl() 191 struct tw2804 *state = to_state_from_ctrl(ctrl); in tw2804_s_ctrl() local 192 struct i2c_client *client = v4l2_get_subdevdata(&state->sd); in tw2804_s_ctrl() 199 reg = read_reg(client, addr, state->channel); in tw2804_s_ctrl() 206 return write_reg(client, addr, reg, state in tw2804_s_ctrl() 349 struct tw2804 *state; tw2804_probe() local 410 struct tw2804 *state = to_state(sd); tw2804_remove() local [all...] |
/third_party/node/deps/icu-small/source/i18n/ |
H A D | uitercollationiterator.cpp | 92 state = ITER_CHECK_FWD; in resetToOffset() 97 if(state <= ITER_CHECK_BWD) { in getOffset() 99 } else if(state == ITER_IN_FCD_SEGMENT) { in getOffset() 111 if(state == ITER_CHECK_FWD) { in handleNextCE32() 128 } else if(state == ITER_IN_FCD_SEGMENT && pos != limit) { in handleNextCE32() 133 } else if(state >= IN_NORM_ITER_AT_LIMIT && pos != normalized.length()) { in handleNextCE32() 145 if(state <= ITER_IN_FCD_SEGMENT) { in handleGetTrailSurrogate() 148 if(state == ITER_IN_FCD_SEGMENT) { ++pos; } in handleGetTrailSurrogate() 165 if(state == ITER_CHECK_FWD) { 189 } else if(state [all...] |
/third_party/icu/icu4c/source/i18n/ |
H A D | uitercollationiterator.cpp | 92 state = ITER_CHECK_FWD; in resetToOffset() 97 if(state <= ITER_CHECK_BWD) { in getOffset() 99 } else if(state == ITER_IN_FCD_SEGMENT) { in getOffset() 111 if(state == ITER_CHECK_FWD) { in handleNextCE32() 128 } else if(state == ITER_IN_FCD_SEGMENT && pos != limit) { in handleNextCE32() 133 } else if(state >= IN_NORM_ITER_AT_LIMIT && pos != normalized.length()) { in handleNextCE32() 145 if(state <= ITER_IN_FCD_SEGMENT) { in handleGetTrailSurrogate() 148 if(state == ITER_IN_FCD_SEGMENT) { ++pos; } in handleGetTrailSurrogate() 165 if(state == ITER_CHECK_FWD) { 189 } else if(state [all...] |
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | uitercollationiterator.cpp | 92 state = ITER_CHECK_FWD; in resetToOffset() 97 if(state <= ITER_CHECK_BWD) { in getOffset() 99 } else if(state == ITER_IN_FCD_SEGMENT) { in getOffset() 111 if(state == ITER_CHECK_FWD) { in handleNextCE32() 128 } else if(state == ITER_IN_FCD_SEGMENT && pos != limit) { in handleNextCE32() 133 } else if(state >= IN_NORM_ITER_AT_LIMIT && pos != normalized.length()) { in handleNextCE32() 145 if(state <= ITER_IN_FCD_SEGMENT) { in handleGetTrailSurrogate() 148 if(state == ITER_IN_FCD_SEGMENT) { ++pos; } in handleGetTrailSurrogate() 165 if(state == ITER_CHECK_FWD) { 189 } else if(state [all...] |
/third_party/mesa3d/src/gallium/drivers/crocus/ |
H A D | crocus_state.c | 30 * This is the main state upload code. 32 * Gallium uses Constant State Objects, or CSOs, for most state. Large, 33 * complex, or highly reusable state can be created once, and bound and 35 * and pipe->bind_*_state() hooks. Highly dynamic or inexpensive state is 38 * OpenGL involves frequently mutating context state, which is mirrored in 42 * than inventing new state all the time, applications usually mutate to swap 45 * Gallium isolates us from this mutation by tracking API state, and 47 * complex, or typically reusable state can be created once, then reused 52 * Some state is cheap to create, or expected to be highly dynamic. Rather 56 * To reduce draw time overhead, we try to compute as much state a 1450 crocus_set_blend_color(struct pipe_context *ctx, const struct pipe_blend_color *state) crocus_set_blend_color() argument 1590 crocus_create_blend_state(struct pipe_context *ctx, const struct pipe_blend_state *state) crocus_create_blend_state() argument 1660 crocus_bind_blend_state(struct pipe_context *ctx, void *state) crocus_bind_blend_state() argument 1721 crocus_create_zsa_state(struct pipe_context *ctx, const struct pipe_depth_stencil_alpha_state *state) crocus_create_zsa_state() argument 1747 crocus_bind_zsa_state(struct pipe_context *ctx, void *state) crocus_bind_zsa_state() argument 1964 get_line_width(const struct pipe_rasterizer_state *state) get_line_width() argument 1997 crocus_create_rasterizer_state(struct pipe_context *ctx, const struct pipe_rasterizer_state *state) crocus_create_rasterizer_state() argument 2158 crocus_bind_rasterizer_state(struct pipe_context *ctx, void *state) crocus_bind_rasterizer_state() argument 2258 crocus_create_sampler_state(struct pipe_context *ctx, const struct pipe_sampler_state *state) crocus_create_sampler_state() argument 2347 struct pipe_sampler_state *state = &cso->pstate; crocus_upload_sampler_state() local 2621 struct crocus_sampler_state *state = shs->samplers[i]; crocus_upload_sampler_states() local 2816 crocus_sampler_view_destroy(struct pipe_context *ctx, struct pipe_sampler_view *state) crocus_sampler_view_destroy() argument 3228 crocus_set_clip_state(struct pipe_context *ctx, const struct pipe_clip_state *state) crocus_set_clip_state() argument 3252 crocus_set_polygon_stipple(struct pipe_context *ctx, const struct pipe_poly_stipple *state) crocus_set_polygon_stipple() argument 3357 viewport_extent(const struct pipe_viewport_state *state, int axis, float sign) viewport_extent() argument 3398 crocus_set_framebuffer_state(struct pipe_context *ctx, const struct pipe_framebuffer_state *state) crocus_set_framebuffer_state() argument 3652 crocus_delete_state(struct pipe_context *ctx, void *state) crocus_delete_state() argument 3681 struct pipe_vertex_buffer *state = crocus_set_vertex_buffers() local 3772 crocus_create_vertex_elements(struct pipe_context *ctx, unsigned count, const struct pipe_vertex_element *state) crocus_create_vertex_elements() argument 3919 crocus_bind_vertex_elements_state(struct pipe_context *ctx, void *state) crocus_bind_vertex_elements_state() argument 4049 crocus_stream_output_target_destroy(struct pipe_context *ctx, struct pipe_stream_output_target *state) crocus_stream_output_target_destroy() argument 5965 const struct pipe_viewport_state *state = &ice->state.viewports[i]; global() local [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/ingenic/ |
H A D | ingenic-ipu.c | 271 static inline bool osd_changed(struct drm_plane_state *state, in osd_changed() argument 274 return state->src_x != oldstate->src_x || in osd_changed() 275 state->src_y != oldstate->src_y || in osd_changed() 276 state->src_w != oldstate->src_w || in osd_changed() 277 state->src_h != oldstate->src_h || in osd_changed() 278 state->crtc_x != oldstate->crtc_x || in osd_changed() 279 state->crtc_y != oldstate->crtc_y || in osd_changed() 280 state->crtc_w != oldstate->crtc_w || in osd_changed() 281 state->crtc_h != oldstate->crtc_h; in osd_changed() 288 struct drm_plane_state *state in ingenic_ipu_plane_atomic_update() local 516 ingenic_ipu_plane_atomic_check(struct drm_plane *plane, struct drm_plane_state *state) ingenic_ipu_plane_atomic_check() argument 608 ingenic_ipu_plane_atomic_get_property(struct drm_plane *plane, const struct drm_plane_state *state, struct drm_property *property, u64 *val) ingenic_ipu_plane_atomic_get_property() argument 623 ingenic_ipu_plane_atomic_set_property(struct drm_plane *plane, struct drm_plane_state *state, struct drm_property *property, u64 val) ingenic_ipu_plane_atomic_set_property() argument [all...] |
/third_party/icu/icu4c/source/tools/toolutil/ |
H A D | ucmstate.cpp | 18 * This file handles ICU .ucm file state information as part of the ucm module. 34 /* MBCS state handling ------------------------------------------------------ */ 37 * state table row grammar (ebnf-style): 42 * (initial state (default for state 0), output is all surrogate pairs) 48 * (unassigned, state change only, surrogate pair, illegal) 52 parseState(const char *s, int32_t state[256], uint32_t *pFlags) { in parseState() argument 57 /* initialize the state: all illegal with U+ffff */ in parseState() 59 state[i]=MBCS_ENTRY_FINAL(0, MBCS_STATE_ILLEGAL, 0xffff); in parseState() 79 /* empty state ro in parseState() 335 int32_t entry, sum, state, cell, count; sumUpStates() local 427 int32_t entry, state, cell, count; ucm_processStates() local 843 findUnassigned(UCMStates *states, uint16_t *unicodeCodeUnits, _MBCSToUFallback *toUFallbacks, int32_t countToUFallbacks, int32_t state, int32_t offset, uint32_t b) findUnassigned() argument 903 int32_t state, savings; compactToUnicodeHelper() local 934 int32_t state, cell, entry; ucm_optimizeStates() local 982 uint8_t state; ucm_countChars() local [all...] |
/third_party/node/deps/icu-small/source/tools/toolutil/ |
H A D | ucmstate.cpp | 18 * This file handles ICU .ucm file state information as part of the ucm module. 34 /* MBCS state handling ------------------------------------------------------ */ 37 * state table row grammar (ebnf-style): 42 * (initial state (default for state 0), output is all surrogate pairs) 48 * (unassigned, state change only, surrogate pair, illegal) 52 parseState(const char *s, int32_t state[256], uint32_t *pFlags) { in parseState() argument 57 /* initialize the state: all illegal with U+ffff */ in parseState() 59 state[i]=MBCS_ENTRY_FINAL(0, MBCS_STATE_ILLEGAL, 0xffff); in parseState() 79 /* empty state ro in parseState() 335 int32_t entry, sum, state, cell, count; sumUpStates() local 427 int32_t entry, state, cell, count; ucm_processStates() local 843 findUnassigned(UCMStates *states, uint16_t *unicodeCodeUnits, _MBCSToUFallback *toUFallbacks, int32_t countToUFallbacks, int32_t state, int32_t offset, uint32_t b) findUnassigned() argument 903 int32_t state, savings; compactToUnicodeHelper() local 934 int32_t state, cell, entry; ucm_optimizeStates() local 982 uint8_t state; ucm_countChars() local [all...] |
/third_party/skia/third_party/externals/icu/source/tools/toolutil/ |
H A D | ucmstate.cpp | 18 * This file handles ICU .ucm file state information as part of the ucm module. 34 /* MBCS state handling ------------------------------------------------------ */ 37 * state table row grammar (ebnf-style): 42 * (initial state (default for state 0), output is all surrogate pairs) 48 * (unassigned, state change only, surrogate pair, illegal) 52 parseState(const char *s, int32_t state[256], uint32_t *pFlags) { in parseState() argument 57 /* initialize the state: all illegal with U+ffff */ in parseState() 59 state[i]=MBCS_ENTRY_FINAL(0, MBCS_STATE_ILLEGAL, 0xffff); in parseState() 79 /* empty state ro in parseState() 335 int32_t entry, sum, state, cell, count; sumUpStates() local 427 int32_t entry, state, cell, count; ucm_processStates() local 843 findUnassigned(UCMStates *states, uint16_t *unicodeCodeUnits, _MBCSToUFallback *toUFallbacks, int32_t countToUFallbacks, int32_t state, int32_t offset, uint32_t b) findUnassigned() argument 903 int32_t state, savings; compactToUnicodeHelper() local 934 int32_t state, cell, entry; ucm_optimizeStates() local 982 uint8_t state; ucm_countChars() local [all...] |
/kernel/linux/linux-6.6/drivers/pinctrl/qcom/ |
H A D | pinctrl-spmi-gpio.c | 141 * @is_enabled: Set to false when GPIO should be put in high Z state. 225 static int pmic_gpio_read(struct pmic_gpio_state *state, in pmic_gpio_read() argument 231 ret = regmap_read(state->map, pad->base + addr, &val); in pmic_gpio_read() 233 dev_err(state->dev, "read 0x%x failed\n", addr); in pmic_gpio_read() 240 static int pmic_gpio_write(struct pmic_gpio_state *state, in pmic_gpio_write() argument 246 ret = regmap_write(state->map, pad->base + addr, val); in pmic_gpio_write() 248 dev_err(state->dev, "write 0x%x failed\n", addr); in pmic_gpio_write() 305 struct pmic_gpio_state *state = pinctrl_dev_get_drvdata(pctldev); in pmic_gpio_set_mux() local 343 ret = pmic_gpio_write(state, pad, in pmic_gpio_set_mux() 349 ret = pmic_gpio_write(state, pa in pmic_gpio_set_mux() 479 struct pmic_gpio_state *state = pinctrl_dev_get_drvdata(pctldev); pmic_gpio_config_set() local 658 struct pmic_gpio_state *state = pinctrl_dev_get_drvdata(pctldev); pmic_gpio_config_dbg_show() local 725 struct pmic_gpio_state *state = gpiochip_get_data(chip); pmic_gpio_direction_input() local 736 struct pmic_gpio_state *state = gpiochip_get_data(chip); pmic_gpio_direction_output() local 746 struct pmic_gpio_state *state = gpiochip_get_data(chip); pmic_gpio_get() local 768 struct pmic_gpio_state *state = gpiochip_get_data(chip); pmic_gpio_set() local 791 struct pmic_gpio_state *state = gpiochip_get_data(chip); pmic_gpio_dbg_show() local 811 pmic_gpio_populate(struct pmic_gpio_state *state, struct pmic_gpio_pad *pad) pmic_gpio_populate() argument 972 struct pmic_gpio_state *state = container_of(domain->host_data, pmic_gpio_domain_translate() local 998 struct pmic_gpio_state *state = gpiochip_get_data(chip); pmic_gpio_child_to_parent_hwirq() local 1011 struct pmic_gpio_state *state = gpiochip_get_data(chip); pmic_gpio_populate_parent_fwspec() local 1060 struct pmic_gpio_state *state; pmic_gpio_probe() local 1190 struct pmic_gpio_state *state = platform_get_drvdata(pdev); pmic_gpio_remove() local [all...] |
/third_party/mesa3d/src/compiler/nir/ |
H A D | nir_loop_analyze.c | 84 get_loop_var(nir_ssa_def *value, loop_info_state *state) in get_loop_var() argument 86 nir_loop_variable *var = &(state->loop_vars[value->index]); in get_loop_var() 88 if (!BITSET_TEST(state->loop_vars_init, value->index)) { in get_loop_var() 100 BITSET_SET(state->loop_vars_init, value->index); in get_loop_var() 107 loop_info_state *state; member 116 nir_loop_variable *var = get_loop_var(def, loop_init_state->state); in init_loop_def() 128 list_addtail(&var->process_link, &loop_init_state->state->process_list); in init_loop_def() 210 init_loop_block(nir_block *block, loop_info_state *state, in init_loop_block() argument 216 .state = state }; in init_loop_block() 239 mark_invariant(nir_ssa_def *def, loop_info_state *state) mark_invariant() argument 277 compute_invariance_information(loop_info_state *state) compute_invariance_information() argument 370 compute_induction_information(loop_info_state *state) compute_induction_information() argument 522 find_loop_terminators(loop_info_state *state) find_loop_terminators() argument 587 find_array_access_via_induction(loop_info_state *state, nir_deref_instr *deref, nir_loop_variable **array_index_out) find_array_access_via_induction() argument 618 guess_loop_limit(loop_info_state *state, nir_const_value *limit_val, nir_ssa_scalar basic_ind) guess_loop_limit() argument 674 try_find_limit_of_alu(nir_ssa_scalar limit, nir_const_value *limit_val, nir_loop_terminator *terminator, loop_info_state *state) try_find_limit_of_alu() argument 970 get_induction_and_limit_vars(nir_ssa_scalar cond, nir_ssa_scalar *ind, nir_ssa_scalar *limit, bool *limit_rhs, loop_info_state *state) get_induction_and_limit_vars() argument 996 try_find_trip_count_vars_in_iand(nir_ssa_scalar *cond, nir_ssa_scalar *ind, nir_ssa_scalar *limit, bool *limit_rhs, loop_info_state *state) try_find_trip_count_vars_in_iand() argument 1059 find_trip_count(loop_info_state *state, unsigned execution_mode) find_trip_count() argument 1213 force_unroll_array_access(loop_info_state *state, nir_deref_instr *deref, bool contains_sampler) force_unroll_array_access() argument 1236 force_unroll_heuristics(loop_info_state *state, nir_block *block) force_unroll_heuristics() argument 1283 get_loop_info(loop_info_state *state, nir_function_impl *impl) get_loop_info() argument 1295 init_loop_block(nir_cf_node_as_block(node), state, get_loop_info() local 1350 loop_info_state *state = rzalloc(mem_ctx, loop_info_state); initialize_loop_info_state() local 1398 loop_info_state *state = initialize_loop_info_state(loop, mem_ctx, impl); process_loops() local [all...] |
/third_party/python/Modules/ |
H A D | _lzmamodule.c | 90 void *state = PyModule_GetState(module); in get_lzma_state() local 91 assert(state != NULL); in get_lzma_state() 92 return (_lzma_state *)state; in get_lzma_state() 130 catch_lzma_error(_lzma_state *state, lzma_ret lzret) in catch_lzma_error() argument 139 PyErr_SetString(state->error, "Unsupported integrity check"); in catch_lzma_error() 145 PyErr_SetString(state->error, "Memory usage limit exceeded"); in catch_lzma_error() 148 PyErr_SetString(state->error, "Input format not supported by decoder"); in catch_lzma_error() 151 PyErr_SetString(state->error, "Invalid or unsupported options"); in catch_lzma_error() 154 PyErr_SetString(state->error, "Corrupt input data"); in catch_lzma_error() 157 PyErr_SetString(state in catch_lzma_error() 233 parse_filter_spec_lzma(_lzma_state *state, PyObject *spec) parse_filter_spec_lzma() argument 293 parse_filter_spec_delta(_lzma_state *state, PyObject *spec) parse_filter_spec_delta() argument 317 parse_filter_spec_bcj(_lzma_state *state, PyObject *spec) parse_filter_spec_bcj() argument 340 lzma_filter_converter(_lzma_state *state, PyObject *spec, void *ptr) lzma_filter_converter() argument 394 parse_filter_chain_spec(_lzma_state *state, lzma_filter filters[], PyObject *filterspecs) parse_filter_chain_spec() argument 551 _lzma_state *state = PyType_GetModuleState(Py_TYPE(c)); compress() local 652 Compressor_init_xz(_lzma_state *state, lzma_stream *lzs, int check, uint32_t preset, PyObject *filterspecs) Compressor_init_xz() argument 676 Compressor_init_alone(_lzma_state *state, lzma_stream *lzs, uint32_t preset, PyObject *filterspecs) Compressor_init_alone() argument 713 Compressor_init_raw(_lzma_state *state, lzma_stream *lzs, PyObject *filterspecs) Compressor_init_raw() argument 777 _lzma_state *state = PyType_GetModuleState(Py_TYPE(self)); Compressor_init() local 935 _lzma_state *state = PyType_GetModuleState(Py_TYPE(d)); decompress_buf() local 1149 Decompressor_init_raw(_lzma_state *state, lzma_stream *lzs, PyObject *filterspecs) Decompressor_init_raw() argument 1200 _lzma_state *state = PyType_GetModuleState(Py_TYPE(self)); _lzma_LZMADecompressor___init___impl() local 1406 _lzma_state *state = get_lzma_state(module); _lzma__encode_filter_properties() local 1428 _lzma_state *state = get_lzma_state(module); _lzma__encode_filter_properties_impl() local 1473 _lzma_state *state = get_lzma_state(module); _lzma__decode_filter_properties_impl() local 1524 _lzma_state *state = get_lzma_state(module); lzma_exec() local 1608 _lzma_state *state = get_lzma_state(module); lzma_traverse() local 1619 _lzma_state *state = get_lzma_state(module); lzma_clear() local [all...] |
/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_sta/Mock/ |
H A D | mock_wifi_manager.h | 26 virtual void DealStaOpenRes(OperateResState state, int instId = 0) = 0; 27 virtual void DealStaCloseRes(OperateResState state, int instId = 0) = 0; 28 virtual void DealStaConnChanged(OperateResState state, const WifiLinkedInfo &info, int instId = 0) = 0; 29 virtual void DealWpsChanged(WpsStartState state, const int pinCode, int instId = 0) = 0; 30 virtual void DealStreamChanged(StreamDirection state, int instId = 0) = 0; 32 virtual void DealStaSemiActiveRes(OperateResState state, int instId) = 0; 41 MOCK_METHOD2(DealStaOpenRes, void(OperateResState state, int)); 42 MOCK_METHOD2(DealStaCloseRes, void(OperateResState state, int)); 44 MOCK_METHOD3(DealWpsChanged, void(WpsStartState state, const int pinCode, int)); 45 MOCK_METHOD2(DealStreamChanged, void(StreamDirection state, in [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/nfpcore/ |
H A D | nfp.h | 29 struct nfp_cpp *nfp_nsp_cpp(struct nfp_nsp *state); 30 bool nfp_nsp_config_modified(struct nfp_nsp *state); 31 void nfp_nsp_config_set_modified(struct nfp_nsp *state, bool modified); 32 void *nfp_nsp_config_entries(struct nfp_nsp *state); 33 unsigned int nfp_nsp_config_idx(struct nfp_nsp *state); 34 void nfp_nsp_config_set_state(struct nfp_nsp *state, void *entries, 36 void nfp_nsp_config_clear_state(struct nfp_nsp *state); 37 int nfp_nsp_read_eth_table(struct nfp_nsp *state, void *buf, unsigned int size); 38 int nfp_nsp_write_eth_table(struct nfp_nsp *state, 40 int nfp_nsp_read_identify(struct nfp_nsp *state, voi [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/netronome/nfp/nfpcore/ |
H A D | nfp.h | 29 struct nfp_cpp *nfp_nsp_cpp(struct nfp_nsp *state); 30 bool nfp_nsp_config_modified(struct nfp_nsp *state); 31 void nfp_nsp_config_set_modified(struct nfp_nsp *state, bool modified); 32 void *nfp_nsp_config_entries(struct nfp_nsp *state); 33 unsigned int nfp_nsp_config_idx(struct nfp_nsp *state); 34 void nfp_nsp_config_set_state(struct nfp_nsp *state, void *entries, 36 void nfp_nsp_config_clear_state(struct nfp_nsp *state); 37 int nfp_nsp_read_eth_table(struct nfp_nsp *state, void *buf, unsigned int size); 38 int nfp_nsp_write_eth_table(struct nfp_nsp *state, 40 int nfp_nsp_read_identify(struct nfp_nsp *state, voi [all...] |
/third_party/benchmark/test/ |
H A D | args_product_test.cc | 26 void SetUp(const ::benchmark::State& state) override { 27 std::vector<int64_t> ranges = {state.range(0), state.range(1), 28 state.range(2), state.range(3)}; 62 BENCHMARK_DEFINE_F(ArgsProductFixture, Empty)(benchmark::State& state) { in BENCHMARK_DEFINE_F() 63 for (auto _ : state) { in BENCHMARK_DEFINE_F() 65 state.range(0) * state.range(1) * state in BENCHMARK_DEFINE_F() [all...] |
/third_party/mesa3d/src/glx/ |
H A D | indirect_vertex_array.h | 34 extern void __glXArrayDisableAll(__GLXattribute * state); 36 extern GLboolean __glXSetArrayEnable(__GLXattribute * state, 40 extern GLboolean __glXGetArrayEnable(const __GLXattribute * const state, 43 extern GLboolean __glXGetArraySize(const __GLXattribute * const state, 46 extern GLboolean __glXGetArrayType(const __GLXattribute * const state, 49 extern GLboolean __glXGetArrayStride(const __GLXattribute * const state, 52 extern GLboolean __glXGetArrayPointer(const __GLXattribute * const state, 55 extern GLboolean __glXGetArrayNormalized(const __GLXattribute * const state, 59 extern void __glXPushArrayState(__GLXattribute * state); 60 extern void __glXPopArrayState(__GLXattribute * state); [all...] |
H A D | single2.c | 149 * Get the selected attribute from the client state. 158 __GLXattribute *state = (__GLXattribute *) (gc->client_state_private); in get_client_data() local 159 const GLint tex_unit = __glXGetActiveTextureUnit(state); in get_client_data() 170 retval = __glXGetArrayEnable(state, cap, 0, data); in get_client_data() 174 retval = __glXGetArraySize(state, GL_VERTEX_ARRAY, 0, data); in get_client_data() 177 retval = __glXGetArraySize(state, GL_COLOR_ARRAY, 0, data); in get_client_data() 180 retval = __glXGetArraySize(state, GL_SECONDARY_COLOR_ARRAY, 0, data); in get_client_data() 184 retval = __glXGetArrayType(state, GL_VERTEX_ARRAY, 0, data); in get_client_data() 187 retval = __glXGetArrayType(state, GL_NORMAL_ARRAY, 0, data); in get_client_data() 190 retval = __glXGetArrayType(state, GL_INDEX_ARRA in get_client_data() 758 __GLXattribute *state = (__GLXattribute *) (gc->client_state_private); __indirect_glIsEnabled() local 799 __GLXattribute *state = (__GLXattribute *) (gc->client_state_private); __indirect_glGetPointerv() local [all...] |
/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_toolkit/unittest/Mock/ |
H A D | mock_wifi_config_center.h | 38 virtual void SetWifiStopState(bool state) = 0; 43 virtual int SetWifiState(int state, int instId = 0) = 0; 45 virtual int SetWifiDetailState(WifiDetailState state, int instId) = 0; 87 virtual int SetHotspotState(int state, int id = 0) = 0; 101 virtual void SetScreenState(const int &state) = 0; 105 virtual bool SetWifiStateOnAirplaneChanged(const int &state); 106 virtual void SetWifiToggledState(int state, int id = 0) = 0; 108 virtual void SetThreadStatusFlag(bool state) = 0; 113 virtual void SetScanMidState(WifiOprMidState state, int instId = 0) = 0; 114 virtual bool SetScanMidState(WifiOprMidState expState, WifiOprMidState state, in [all...] |
/kernel/linux/linux-5.10/drivers/media/pci/cx23885/ |
H A D | altera-ci.c | 101 struct altera_ci_state *state[2]; member 261 struct altera_ci_state *state = en50221->data; in altera_ci_op_cam() local 262 struct fpga_internal *inter = state->internal; in altera_ci_op_cam() 277 store |= ((state->nr << 7) | (flag << 6)); in altera_ci_op_cam() 319 struct altera_ci_state *state = en50221->data; in altera_ci_slot_reset() local 320 struct fpga_internal *inter = state->internal; in altera_ci_slot_reset() 334 (ret & 0xcf) | (1 << (5 - state->nr)), 0); in altera_ci_slot_reset() 347 if ((ret & (1 << (5 - state->nr))) == 0) in altera_ci_slot_reset() 368 struct altera_ci_state *state = en50221->data; in altera_ci_slot_ts_ctl() local 369 struct fpga_internal *inter = state in altera_ci_slot_ts_ctl() 446 struct altera_ci_state *state = en50221->data; altera_poll_ci_slot_status() local 485 struct altera_ci_state *state = NULL; altera_ci_release() local 703 struct altera_ci_state *state; altera_ci_init() local [all...] |
/kernel/linux/linux-6.6/drivers/media/pci/cx23885/ |
H A D | altera-ci.c | 101 struct altera_ci_state *state[2]; member 261 struct altera_ci_state *state = en50221->data; in altera_ci_op_cam() local 262 struct fpga_internal *inter = state->internal; in altera_ci_op_cam() 277 store |= ((state->nr << 7) | (flag << 6)); in altera_ci_op_cam() 319 struct altera_ci_state *state = en50221->data; in altera_ci_slot_reset() local 320 struct fpga_internal *inter = state->internal; in altera_ci_slot_reset() 334 (ret & 0xcf) | (1 << (5 - state->nr)), 0); in altera_ci_slot_reset() 347 if ((ret & (1 << (5 - state->nr))) == 0) in altera_ci_slot_reset() 368 struct altera_ci_state *state = en50221->data; in altera_ci_slot_ts_ctl() local 369 struct fpga_internal *inter = state in altera_ci_slot_ts_ctl() 446 struct altera_ci_state *state = en50221->data; altera_poll_ci_slot_status() local 485 struct altera_ci_state *state = NULL; altera_ci_release() local 703 struct altera_ci_state *state; altera_ci_init() local [all...] |
/third_party/lzma/CPP/7zip/Compress/ |
H A D | Bcj2Coder.cpp | 208 if (enc.state < BCJ2_NUM_STREAMS)
in CodeReal() 210 if (enc.bufs[enc.state] != enc.lims[enc.state])
in CodeReal() 212 const size_t curSize = (size_t)(enc.bufs[enc.state] - _bufs[enc.state]);
in CodeReal() 213 // printf("Write stream = %2d %6d\n", enc.state, curSize);
in CodeReal() 214 RINOK(WriteStream(outStreams[enc.state], _bufs[enc.state], curSize))
in CodeReal() 215 if (enc.state == BCJ2_STREAM_RC)
in CodeReal() 217 enc.bufs[enc.state] in CodeReal() 462 const unsigned state = dec.state; ReadInStream() local 554 const unsigned state = dec.state; Code() local [all...] |
/third_party/mesa3d/src/gallium/frontends/nine/ |
H A D | device9.c | 148 This->state.viewport.X = 0; in NineDevice9_SetDefaultState() 149 This->state.viewport.Y = 0; in NineDevice9_SetDefaultState() 150 This->state.viewport.Width = refSurf->desc.Width; in NineDevice9_SetDefaultState() 151 This->state.viewport.Height = refSurf->desc.Height; in NineDevice9_SetDefaultState() 153 nine_context_set_viewport(This, &This->state.viewport); in NineDevice9_SetDefaultState() 155 This->state.scissor.minx = 0; in NineDevice9_SetDefaultState() 156 This->state.scissor.miny = 0; in NineDevice9_SetDefaultState() 157 This->state.scissor.maxx = refSurf->desc.Width; in NineDevice9_SetDefaultState() 158 This->state.scissor.maxy = refSurf->desc.Height; in NineDevice9_SetDefaultState() 160 nine_context_set_scissor(This, &This->state in NineDevice9_SetDefaultState() 2150 struct nine_state *state = This->update; NineDevice9_SetTransform() local 2189 struct nine_state *state = This->update; NineDevice9_MultiplyTransform() local 2206 struct nine_state *state = This->update; NineDevice9_SetViewport() local 2232 struct nine_state *state = This->update; NineDevice9_SetMaterial() local 2264 struct nine_state *state = This->update; NineDevice9_SetLight() local 2300 const struct nine_state *state = &This->state; NineDevice9_GetLight() local 2318 struct nine_state *state = This->update; NineDevice9_LightEnable() local 2349 const struct nine_state *state = &This->state; NineDevice9_GetLightEnable() local 2372 struct nine_state *state = This->update; NineDevice9_SetClipPlane() local 2396 const struct nine_state *state = &This->state; NineDevice9_GetClipPlane() local 2411 struct nine_state *state = This->update; NineDevice9_SetRenderState() local 2655 struct nine_state *state = This->update; NineDevice9_SetTexture() local 2694 const struct nine_state *state = &This->state; NineDevice9_GetTextureStageState() local 2712 struct nine_state *state = This->update; NineDevice9_SetTextureStageState() local 2757 struct nine_state *state = This->update; NineDevice9_SetSamplerState() local 2790 const struct nine_state *state = &This->state; NineDevice9_ValidateDevice() local 2860 struct nine_state *state = This->update; NineDevice9_SetScissorRect() local 2958 struct nine_state *state = &This->state; NineAfterDraw() local 3368 struct nine_state *state = This->update; NineDevice9_SetVertexDeclaration() local 3457 struct nine_state *state = This->update; NineDevice9_SetVertexShader() local 3493 struct nine_state *state = This->update; NineDevice9_SetVertexShaderConstantF() local 3541 const struct nine_state *state = &This->state; NineDevice9_GetVertexShaderConstantF() local 3561 struct nine_state *state = This->update; NineDevice9_SetVertexShaderConstantI() local 3609 const struct nine_state *state = &This->state; NineDevice9_GetVertexShaderConstantI() local 3641 struct nine_state *state = This->update; NineDevice9_SetVertexShaderConstantB() local 3685 const struct nine_state *state = &This->state; NineDevice9_GetVertexShaderConstantB() local 3708 struct nine_state *state = This->update; NineDevice9_SetStreamSource() local 3750 struct nine_state *state = This->update; NineDevice9_SetStreamSourceNULL() local 3772 const struct nine_state *state = &This->state; NineDevice9_GetStreamSource() local 3790 struct nine_state *state = This->update; NineDevice9_SetStreamSourceFreq() local 3833 struct nine_state *state = This->update; NineDevice9_SetIndices() local 3891 struct nine_state *state = This->update; NineDevice9_SetPixelShader() local 3927 struct nine_state *state = This->update; NineDevice9_SetPixelShaderConstantF() local 3973 const struct nine_state *state = &This->state; NineDevice9_GetPixelShaderConstantF() local 3993 struct nine_state *state = This->update; NineDevice9_SetPixelShaderConstantI() local 4037 const struct nine_state *state = &This->state; NineDevice9_GetPixelShaderConstantI() local 4067 struct nine_state *state = This->update; NineDevice9_SetPixelShaderConstantB() local 4107 const struct nine_state *state = &This->state; NineDevice9_GetPixelShaderConstantB() local [all...] |
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/ |
H A D | input_system.c | 86 capture_unit_state_t *state); 91 acquisition_unit_state_t *state); 96 ctrl_unit_state_t *state); 101 mipi_port_state_t *state); 106 rx_channel_state_t *state); 121 input_system_state_t *state) in input_system_get_state() 126 assert(state); in input_system_get_state() 128 state->str_multicastA_sel = input_system_sub_system_reg_load(ID, in input_system_get_state() 131 state->str_multicastB_sel = input_system_sub_system_reg_load(ID, in input_system_get_state() 134 state in input_system_get_state() 119 input_system_get_state( const input_system_ID_t ID, input_system_state_t *state) input_system_get_state() argument 181 receiver_get_state( const rx_ID_t ID, receiver_state_t *state) receiver_get_state() argument 373 capture_unit_get_state( const input_system_ID_t ID, const sub_system_ID_t sub_id, capture_unit_state_t *state) capture_unit_get_state() argument 435 acquisition_unit_get_state( const input_system_ID_t ID, const sub_system_ID_t sub_id, acquisition_unit_state_t *state) acquisition_unit_get_state() argument 485 ctrl_unit_get_state( const input_system_ID_t ID, const sub_system_ID_t sub_id, ctrl_unit_state_t *state) ctrl_unit_get_state() argument 568 mipi_port_get_state( const rx_ID_t ID, const enum mipi_port_id port_ID, mipi_port_state_t *state) mipi_port_get_state() argument 604 rx_channel_get_state( const rx_ID_t ID, const unsigned int ch_id, rx_channel_state_t *state) rx_channel_get_state() argument [all...] |