/kernel/linux/linux-6.6/drivers/iio/dac/ |
H A D | ad8801.c | 32 static int ad8801_spi_write(struct ad8801_state *state, in ad8801_spi_write() argument 35 state->data = cpu_to_be16((channel << AD8801_CFG_ADDR_OFFSET) | value); in ad8801_spi_write() 36 return spi_write(state->spi, &state->data, sizeof(state->data)); in ad8801_spi_write() 42 struct ad8801_state *state = iio_priv(indio_dev); in ad8801_write_raw() local 50 ret = ad8801_spi_write(state, chan->channel, val); in ad8801_write_raw() 52 state->dac_cache[chan->channel] = val; in ad8801_write_raw() 64 struct ad8801_state *state = iio_priv(indio_dev); in ad8801_read_raw() local 68 *val = state in ad8801_read_raw() 113 struct ad8801_state *state; ad8801_probe() local 199 struct ad8801_state *state = iio_priv(indio_dev); ad8801_remove() local [all...] |
/third_party/lwip/src/netif/ |
H A D | zepif.c | 173 struct zepif_state *state; in zepif_linkoutput() local 183 state = (struct zepif_state *)netif->state; in zepif_linkoutput() 184 LWIP_ASSERT("state->pcb != NULL", state->pcb != NULL); in zepif_linkoutput() 200 zep->seq_num = lwip_htonl(state->seqno); in zepif_linkoutput() 201 state->seqno++; in zepif_linkoutput() 207 zepif_udp_recv(netif, state->pcb, pbuf_clone(PBUF_RAW, PBUF_RAM, q), NULL, 0); in zepif_linkoutput() 209 err = udp_sendto(state->pcb, q, state in zepif_linkoutput() 226 struct zepif_state *state = (struct zepif_state *)mem_malloc(sizeof(struct zepif_state)); zepif_init() local [all...] |
/kernel/linux/linux-5.10/drivers/ata/ |
H A D | pata_icside.c | 63 struct pata_icside_state *state; member 88 struct pata_icside_state *state = ec->irq_data; in pata_icside_irqenable_arcin_v5() local 90 writeb(0, state->irq_port + ICS_ARCIN_V5_INTROFFSET); in pata_icside_irqenable_arcin_v5() 98 struct pata_icside_state *state = ec->irq_data; in pata_icside_irqdisable_arcin_v5() local 100 readb(state->irq_port + ICS_ARCIN_V5_INTROFFSET); in pata_icside_irqdisable_arcin_v5() 115 struct pata_icside_state *state = ec->irq_data; in pata_icside_irqenable_arcin_v6() local 116 void __iomem *base = state->irq_port; in pata_icside_irqenable_arcin_v6() 118 if (!state->port[0].disabled) in pata_icside_irqenable_arcin_v6() 120 if (!state->port[1].disabled) in pata_icside_irqenable_arcin_v6() 129 struct pata_icside_state *state in pata_icside_irqdisable_arcin_v6() local 140 struct pata_icside_state *state = ec->irq_data; pata_icside_irqpending_arcin_v6() local 190 struct pata_icside_state *state = ap->host->private_data; pata_icside_set_dmamode() local 223 struct pata_icside_state *state = ap->host->private_data; pata_icside_bmdma_setup() local 248 struct pata_icside_state *state = ap->host->private_data; pata_icside_bmdma_start() local 257 struct pata_icside_state *state = ap->host->private_data; pata_icside_bmdma_stop() local 267 struct pata_icside_state *state = ap->host->private_data; pata_icside_bmdma_status() local 278 struct pata_icside_state *state = info->state; icside_dma_init() local 305 struct pata_icside_state *state = ap->host->private_data; pata_icside_postreset() local 373 struct pata_icside_state *state = info->state; pata_icside_register_v5() local 396 struct pata_icside_state *state = info->state; pata_icside_register_v6() local 480 struct pata_icside_state *state; pata_icside_probe() local 572 struct pata_icside_state *state = host->private_data; pata_icside_shutdown() local 581 struct pata_icside_state *state = host->private_data; pata_icside_remove() local [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/rcar-du/ |
H A D | rcar_du_vsp.c | 50 const struct drm_display_mode *mode = &crtc->crtc.state->adjusted_mode; in rcar_du_vsp_enable() 59 struct rcar_du_plane_state state = { in rcar_du_vsp_enable() local 60 .state = { in rcar_du_vsp_enable() 79 state.hwindex = (crtc->index % 2) ? 2 : 0; in rcar_du_vsp_enable() 81 state.hwindex = crtc->index % 2; in rcar_du_vsp_enable() 83 __rcar_du_plane_setup(crtc->group, &state); in rcar_du_vsp_enable() 110 struct rcar_du_crtc_state *state; in rcar_du_vsp_atomic_flush() local 112 state = to_rcar_crtc_state(crtc->crtc.state); in rcar_du_vsp_atomic_flush() 113 cfg.crc = state in rcar_du_vsp_atomic_flush() 150 struct rcar_du_vsp_plane_state *state = rcar_du_vsp_plane_setup() local 220 rcar_du_vsp_plane_prepare_fb(struct drm_plane *plane, struct drm_plane_state *state) rcar_du_vsp_plane_prepare_fb() argument 254 rcar_du_vsp_plane_cleanup_fb(struct drm_plane *plane, struct drm_plane_state *state) rcar_du_vsp_plane_cleanup_fb() argument 266 rcar_du_vsp_plane_atomic_check(struct drm_plane *plane, struct drm_plane_state *state) rcar_du_vsp_plane_atomic_check() argument 311 rcar_du_vsp_plane_atomic_destroy_state(struct drm_plane *plane, struct drm_plane_state *state) rcar_du_vsp_plane_atomic_destroy_state() argument 320 struct rcar_du_vsp_plane_state *state; rcar_du_vsp_plane_reset() local [all...] |
/kernel/linux/linux-6.6/drivers/ata/ |
H A D | pata_icside.c | 63 struct pata_icside_state *state; member 88 struct pata_icside_state *state = ec->irq_data; in pata_icside_irqenable_arcin_v5() local 90 writeb(0, state->irq_port + ICS_ARCIN_V5_INTROFFSET); in pata_icside_irqenable_arcin_v5() 98 struct pata_icside_state *state = ec->irq_data; in pata_icside_irqdisable_arcin_v5() local 100 readb(state->irq_port + ICS_ARCIN_V5_INTROFFSET); in pata_icside_irqdisable_arcin_v5() 115 struct pata_icside_state *state = ec->irq_data; in pata_icside_irqenable_arcin_v6() local 116 void __iomem *base = state->irq_port; in pata_icside_irqenable_arcin_v6() 118 if (!state->port[0].disabled) in pata_icside_irqenable_arcin_v6() 120 if (!state->port[1].disabled) in pata_icside_irqenable_arcin_v6() 129 struct pata_icside_state *state in pata_icside_irqdisable_arcin_v6() local 140 struct pata_icside_state *state = ec->irq_data; pata_icside_irqpending_arcin_v6() local 190 struct pata_icside_state *state = ap->host->private_data; pata_icside_set_dmamode() local 228 struct pata_icside_state *state = ap->host->private_data; pata_icside_bmdma_setup() local 253 struct pata_icside_state *state = ap->host->private_data; pata_icside_bmdma_start() local 262 struct pata_icside_state *state = ap->host->private_data; pata_icside_bmdma_stop() local 272 struct pata_icside_state *state = ap->host->private_data; pata_icside_bmdma_status() local 283 struct pata_icside_state *state = info->state; icside_dma_init() local 310 struct pata_icside_state *state = ap->host->private_data; pata_icside_postreset() local 378 struct pata_icside_state *state = info->state; pata_icside_register_v5() local 401 struct pata_icside_state *state = info->state; pata_icside_register_v6() local 485 struct pata_icside_state *state; pata_icside_probe() local 577 struct pata_icside_state *state = host->private_data; pata_icside_shutdown() local 586 struct pata_icside_state *state = host->private_data; pata_icside_remove() local [all...] |
/third_party/alsa-utils/axfer/ |
H A D | container-riff-wave.c | 128 static int parse_riff_chunk_header(struct parser_state *state, in parse_riff_chunk_header() argument 133 state->be = true; in parse_riff_chunk_header() 135 state->be = false; in parse_riff_chunk_header() 139 if (state->be) in parse_riff_chunk_header() 150 struct parser_state *state = cntr->private_data; in parse_riff_chunk() local 167 err = parse_riff_chunk_header(state, &buf.chunk, byte_count); in parse_riff_chunk() 185 static int parse_wave_fmt_subchunk(struct parser_state *state, in parse_wave_fmt_subchunk() argument 188 if (state->be) { in parse_wave_fmt_subchunk() 189 state->format = be16toh(subchunk->format); in parse_wave_fmt_subchunk() 190 state in parse_wave_fmt_subchunk() 215 parse_wave_data_subchunk(struct parser_state *state, struct wave_data_subchunk *subchunk) parse_wave_data_subchunk() argument 238 struct parser_state *state = cntr->private_data; parse_wave_subchunk() local 349 struct parser_state *state = cntr->private_data; wave_parser_pre_process() local 425 build_wave_format_subchunk(struct wave_fmt_subchunk *subchunk, struct builder_state *state) build_wave_format_subchunk() argument 470 struct builder_state *state = cntr->private_data; write_riff_chunk_for_wave() local 516 struct builder_state *state = cntr->private_data; wave_builder_pre_process() local [all...] |
/third_party/skia/third_party/externals/abseil-cpp/absl/container/ |
H A D | inlined_vector_benchmark.cc | 27 void BM_InlinedVectorFill(benchmark::State& state) { in BM_InlinedVectorFill() argument 28 const int len = state.range(0); in BM_InlinedVectorFill() 31 for (auto _ : state) { in BM_InlinedVectorFill() 41 void BM_InlinedVectorFillRange(benchmark::State& state) { in BM_InlinedVectorFillRange() argument 42 const int len = state.range(0); in BM_InlinedVectorFillRange() 46 for (auto _ : state) { in BM_InlinedVectorFillRange() 54 void BM_StdVectorFill(benchmark::State& state) { in BM_StdVectorFill() argument 55 const int len = state.range(0); in BM_StdVectorFill() 58 for (auto _ : state) { in BM_StdVectorFill() 90 void BM_InlinedVectorFillString(benchmark::State& state) { in BM_InlinedVectorFillString() argument 106 BM_StdVectorFillString(benchmark::State& state) BM_StdVectorFillString() argument 129 BM_InlinedVectorAssignments(benchmark::State& state) BM_InlinedVectorAssignments() argument 151 BM_CreateFromContainer(benchmark::State& state) BM_CreateFromContainer() argument 219 BM_SwapElements(benchmark::State& state) BM_SwapElements() argument 242 BM_Sizeof(benchmark::State& state) BM_Sizeof() argument 270 BM_InlinedVectorIndexInlined(benchmark::State& state) BM_InlinedVectorIndexInlined() argument 279 BM_InlinedVectorIndexExternal(benchmark::State& state) BM_InlinedVectorIndexExternal() argument 288 BM_StdVectorIndex(benchmark::State& state) BM_StdVectorIndex() argument 297 BM_InlinedVectorDataInlined(benchmark::State& state) BM_InlinedVectorDataInlined() argument 306 BM_InlinedVectorDataExternal(benchmark::State& state) BM_InlinedVectorDataExternal() argument 316 BM_StdVectorData(benchmark::State& state) BM_StdVectorData() argument 326 BM_InlinedVectorSizeInlined(benchmark::State& state) BM_InlinedVectorSizeInlined() argument 335 BM_InlinedVectorSizeExternal(benchmark::State& state) BM_InlinedVectorSizeExternal() argument 344 BM_StdVectorSize(benchmark::State& state) BM_StdVectorSize() argument 353 BM_InlinedVectorEmptyInlined(benchmark::State& state) BM_InlinedVectorEmptyInlined() argument 362 BM_InlinedVectorEmptyExternal(benchmark::State& state) BM_InlinedVectorEmptyExternal() argument 371 BM_StdVectorEmpty(benchmark::State& state) BM_StdVectorEmpty() argument 429 BatchedBenchmark(benchmark::State& state, PrepareVecFn prepare_vec, TestVecFn test_vec) BatchedBenchmark() argument 450 BM_ConstructFromSize(benchmark::State& state) BM_ConstructFromSize() argument 466 BM_ConstructFromSizeRef(benchmark::State& state) BM_ConstructFromSizeRef() argument 484 BM_ConstructFromRange(benchmark::State& state) BM_ConstructFromRange() argument 500 BM_ConstructFromCopy(benchmark::State& state) BM_ConstructFromCopy() argument 517 BM_ConstructFromMove(benchmark::State& state) BM_ConstructFromMove() argument 538 BM_CopyTrivial(benchmark::State& state) BM_CopyTrivial() argument 549 BM_CopyNonTrivial(benchmark::State& state) BM_CopyNonTrivial() argument 560 BM_AssignSizeRef(benchmark::State& state) BM_AssignSizeRef() argument 577 BM_AssignRange(benchmark::State& state) BM_AssignRange() argument 592 BM_AssignFromCopy(benchmark::State& state) BM_AssignFromCopy() argument 607 BM_AssignFromMove(benchmark::State& state) BM_AssignFromMove() argument 628 BM_ResizeSize(benchmark::State& state) BM_ResizeSize() argument 643 BM_ResizeSizeRef(benchmark::State& state) BM_ResizeSizeRef() argument 662 BM_InsertSizeRef(benchmark::State& state) BM_InsertSizeRef() argument 682 BM_InsertRange(benchmark::State& state) BM_InsertRange() argument 702 BM_EmplaceBack(benchmark::State& state) BM_EmplaceBack() argument 717 BM_PopBack(benchmark::State& state) BM_PopBack() argument 732 BM_EraseOne(benchmark::State& state) BM_EraseOne() argument 750 BM_EraseRange(benchmark::State& state) BM_EraseRange() argument 768 BM_Clear(benchmark::State& state) BM_Clear() argument 778 BM_Reserve(benchmark::State& state) BM_Reserve() argument 793 BM_ShrinkToFit(benchmark::State& state) BM_ShrinkToFit() argument 808 BM_Swap(benchmark::State& state) BM_Swap() argument [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | jpeglsdec.c | 152 static inline int ls_get_code_regular(GetBitContext *gb, JLSState *state, int Q) in ls_get_code_regular() argument 156 for (k = 0; ((unsigned)state->N[Q] << k) < state->A[Q]; k++) in ls_get_code_regular() 163 ret = get_ur_golomb_jpegls(gb, k, state->limit, state->qbpp); in ls_get_code_regular() 172 if (!state->near && !k && (2 * state->B[Q] <= -state->N[Q])) in ls_get_code_regular() 175 ret = ff_jpegls_update_state_regular(state, Q, ret); in ls_get_code_regular() 181 * Get Golomb code, decode it and update state fo 183 ls_get_code_runterm(GetBitContext *gb, JLSState *state, int RItype, int limit_add) ls_get_code_runterm() argument 231 ls_decode_line(JLSState *state, MJpegDecodeContext *s, void *last, void *dst, int last2, int w, int stride, int comp, int bits) ls_decode_line() argument 359 JLSState *state = s->jls_state; ff_jpegls_decode_picture() local [all...] |
/third_party/mesa3d/src/compiler/nir/ |
H A D | nir_lower_vars_to_ssa.c | 128 get_deref_node_for_var(nir_variable *var, struct lower_variables_state *state) in get_deref_node_for_var() argument 133 _mesa_hash_table_search(state->deref_var_nodes, var); in get_deref_node_for_var() 138 node = deref_node_create(NULL, var->type, true, state->dead_ctx); in get_deref_node_for_var() 139 _mesa_hash_table_insert(state->deref_var_nodes, var, node); in get_deref_node_for_var() 146 * state->add_to_direct_deref_nodes is true, it will be added to the hash 151 struct lower_variables_state *state) in get_deref_node_recur() 154 return get_deref_node_for_var(deref->var, state); in get_deref_node_recur() 160 get_deref_node_recur(nir_deref_instr_parent(deref), state); in get_deref_node_recur() 175 state->dead_ctx); in get_deref_node_recur() 193 state in get_deref_node_recur() 150 get_deref_node_recur(nir_deref_instr *deref, struct lower_variables_state *state) get_deref_node_recur() argument 222 get_deref_node(nir_deref_instr *deref, struct lower_variables_state *state) get_deref_node() argument 252 foreach_deref_node_worker(struct deref_node *node, nir_deref_instr **path, void (* cb)(struct deref_node *node, struct lower_variables_state *state), struct lower_variables_state *state) foreach_deref_node_worker() argument 303 foreach_deref_node_match(nir_deref_path *path, void (* cb)(struct deref_node *node, struct lower_variables_state *state), struct lower_variables_state *state) foreach_deref_node_match() argument 319 path_may_be_aliased_node(struct deref_node *node, nir_deref_instr **path, struct lower_variables_state *state) path_may_be_aliased_node() argument 376 path_may_be_aliased(nir_deref_path *path, struct lower_variables_state *state) path_may_be_aliased() argument 394 register_complex_use(nir_deref_instr *deref, struct lower_variables_state *state) register_complex_use() argument 406 register_load_instr(nir_intrinsic_instr *load_instr, struct lower_variables_state *state) register_load_instr() argument 421 register_store_instr(nir_intrinsic_instr *store_instr, struct lower_variables_state *state) register_store_instr() argument 436 register_copy_instr(nir_intrinsic_instr *copy_instr, struct lower_variables_state *state) register_copy_instr() argument 453 register_variable_uses(nir_function_impl *impl, struct lower_variables_state *state) register_variable_uses() argument 502 lower_copies_to_load_store(struct deref_node *node, struct lower_variables_state *state) lower_copies_to_load_store() argument 543 rename_variables(struct lower_variables_state *state) rename_variables() argument 711 struct lower_variables_state state; nir_lower_vars_to_ssa_impl() local [all...] |
/kernel/linux/linux-5.10/arch/x86/crypto/ |
H A D | chacha_glue.c | 18 asmlinkage void chacha_block_xor_ssse3(u32 *state, u8 *dst, const u8 *src, 20 asmlinkage void chacha_4block_xor_ssse3(u32 *state, u8 *dst, const u8 *src, 22 asmlinkage void hchacha_block_ssse3(const u32 *state, u32 *out, int nrounds); 24 asmlinkage void chacha_2block_xor_avx2(u32 *state, u8 *dst, const u8 *src, 26 asmlinkage void chacha_4block_xor_avx2(u32 *state, u8 *dst, const u8 *src, 28 asmlinkage void chacha_8block_xor_avx2(u32 *state, u8 *dst, const u8 *src, 31 asmlinkage void chacha_2block_xor_avx512vl(u32 *state, u8 *dst, const u8 *src, 33 asmlinkage void chacha_4block_xor_avx512vl(u32 *state, u8 *dst, const u8 *src, 35 asmlinkage void chacha_8block_xor_avx512vl(u32 *state, u8 *dst, const u8 *src, 48 static void chacha_dosimd(u32 *state, u argument 124 hchacha_block_arch(const u32 *state, u32 *stream, int nrounds) hchacha_block_arch() argument 136 chacha_init_arch(u32 *state, const u32 *key, const u8 *iv) chacha_init_arch() argument 142 chacha_crypt_arch(u32 *state, u8 *dst, const u8 *src, unsigned int bytes, int nrounds) chacha_crypt_arch() argument [all...] |
/kernel/linux/linux-5.10/drivers/media/pci/netup_unidvb/ |
H A D | netup_unidvb_ci.c | 55 struct netup_ci_state *state = en50221->data; in netup_unidvb_ci_slot_ts_ctl() local 56 struct netup_unidvb_dev *dev = state->dev; in netup_unidvb_ci_slot_ts_ctl() 57 u16 shift = (state->nr == 1) ? CAM1_SHIFT : 0; in netup_unidvb_ci_slot_ts_ctl() 73 struct netup_ci_state *state = en50221->data; in netup_unidvb_ci_slot_shutdown() local 74 struct netup_unidvb_dev *dev = state->dev; in netup_unidvb_ci_slot_shutdown() 83 struct netup_ci_state *state = en50221->data; in netup_unidvb_ci_slot_reset() local 84 struct netup_unidvb_dev *dev = state->dev; in netup_unidvb_ci_slot_reset() 86 u16 shift = (state->nr == 1) ? CAM1_SHIFT : 0; in netup_unidvb_ci_slot_reset() 117 struct netup_ci_state *state = en50221->data; in netup_unidvb_poll_ci_slot_status() local 118 struct netup_unidvb_dev *dev = state in netup_unidvb_poll_ci_slot_status() 139 struct netup_ci_state *state = en50221->data; netup_unidvb_ci_read_attribute_mem() local 151 struct netup_ci_state *state = en50221->data; netup_unidvb_ci_write_attribute_mem() local 163 struct netup_ci_state *state = en50221->data; netup_unidvb_ci_read_cam_ctl() local 175 struct netup_ci_state *state = en50221->data; netup_unidvb_ci_write_cam_ctl() local 188 struct netup_ci_state *state; netup_unidvb_ci_register() local 228 struct netup_ci_state *state; netup_unidvb_ci_unregister() local [all...] |
/kernel/linux/linux-6.6/arch/x86/crypto/ |
H A D | chacha_glue.c | 18 asmlinkage void chacha_block_xor_ssse3(u32 *state, u8 *dst, const u8 *src, 20 asmlinkage void chacha_4block_xor_ssse3(u32 *state, u8 *dst, const u8 *src, 22 asmlinkage void hchacha_block_ssse3(const u32 *state, u32 *out, int nrounds); 24 asmlinkage void chacha_2block_xor_avx2(u32 *state, u8 *dst, const u8 *src, 26 asmlinkage void chacha_4block_xor_avx2(u32 *state, u8 *dst, const u8 *src, 28 asmlinkage void chacha_8block_xor_avx2(u32 *state, u8 *dst, const u8 *src, 31 asmlinkage void chacha_2block_xor_avx512vl(u32 *state, u8 *dst, const u8 *src, 33 asmlinkage void chacha_4block_xor_avx512vl(u32 *state, u8 *dst, const u8 *src, 35 asmlinkage void chacha_8block_xor_avx512vl(u32 *state, u8 *dst, const u8 *src, 48 static void chacha_dosimd(u32 *state, u argument 124 hchacha_block_arch(const u32 *state, u32 *stream, int nrounds) hchacha_block_arch() argument 136 chacha_init_arch(u32 *state, const u32 *key, const u8 *iv) chacha_init_arch() argument 142 chacha_crypt_arch(u32 *state, u8 *dst, const u8 *src, unsigned int bytes, int nrounds) chacha_crypt_arch() argument [all...] |
/kernel/linux/linux-6.6/drivers/media/pci/netup_unidvb/ |
H A D | netup_unidvb_ci.c | 55 struct netup_ci_state *state = en50221->data; in netup_unidvb_ci_slot_ts_ctl() local 56 struct netup_unidvb_dev *dev = state->dev; in netup_unidvb_ci_slot_ts_ctl() 57 u16 shift = (state->nr == 1) ? CAM1_SHIFT : 0; in netup_unidvb_ci_slot_ts_ctl() 73 struct netup_ci_state *state = en50221->data; in netup_unidvb_ci_slot_shutdown() local 74 struct netup_unidvb_dev *dev = state->dev; in netup_unidvb_ci_slot_shutdown() 83 struct netup_ci_state *state = en50221->data; in netup_unidvb_ci_slot_reset() local 84 struct netup_unidvb_dev *dev = state->dev; in netup_unidvb_ci_slot_reset() 86 u16 shift = (state->nr == 1) ? CAM1_SHIFT : 0; in netup_unidvb_ci_slot_reset() 117 struct netup_ci_state *state = en50221->data; in netup_unidvb_poll_ci_slot_status() local 118 struct netup_unidvb_dev *dev = state in netup_unidvb_poll_ci_slot_status() 139 struct netup_ci_state *state = en50221->data; netup_unidvb_ci_read_attribute_mem() local 151 struct netup_ci_state *state = en50221->data; netup_unidvb_ci_write_attribute_mem() local 163 struct netup_ci_state *state = en50221->data; netup_unidvb_ci_read_cam_ctl() local 175 struct netup_ci_state *state = en50221->data; netup_unidvb_ci_write_cam_ctl() local 188 struct netup_ci_state *state; netup_unidvb_ci_register() local 228 struct netup_ci_state *state; netup_unidvb_ci_unregister() local [all...] |
/third_party/backends/backend/ |
H A D | sm3600-gray.c | 211 while (iWrite<this->state.cxMax) /* max 1 time in reality */ in ReadNextGrayLine() 213 while (iWrite<this->state.cxMax && in ReadNextGrayLine() 214 this->state.iBulkReadPos<this->state.cchBulk) in ReadNextGrayLine() 215 this->state.ppchLines[0][iWrite++] += /* add! */ in ReadNextGrayLine() 216 this->state.pchBuf[this->state.iBulkReadPos++]<<4; in ReadNextGrayLine() 217 if (iWrite<this->state.cxMax) /* we need an additional chunk */ in ReadNextGrayLine() 219 if (this->state.bLastBulk) in ReadNextGrayLine() 221 this->state in ReadNextGrayLine() [all...] |
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/ |
H A D | string_view_benchmark.cc | 33 void BM_StringViewFromString(benchmark::State& state) { in BM_StringViewFromString() argument 34 std::string s(state.range(0), 'x'); in BM_StringViewFromString() 44 for (auto _ : state) { in BM_StringViewFromString() 59 void DoEqualityComparisons(benchmark::State& state, absl::string_view a, in DoEqualityComparisons() argument 61 for (auto _ : state) { in DoEqualityComparisons() 66 void BM_EqualIdentical(benchmark::State& state) { in BM_EqualIdentical() argument 67 std::string x(state.range(0), 'a'); in BM_EqualIdentical() 68 DoEqualityComparisons(state, x, x); in BM_EqualIdentical() 72 void BM_EqualSame(benchmark::State& state) { in BM_EqualSame() argument 73 std::string x(state in BM_EqualSame() 85 BM_EqualDifferent(benchmark::State& state) BM_EqualDifferent() argument 104 DoConstantSizeInlinedEqualityComparisons(benchmark::State& state, absl::string_view a) DoConstantSizeInlinedEqualityComparisons() argument 117 BM_EqualConstantSizeInlined(benchmark::State& state) BM_EqualConstantSizeInlined() argument 129 DoConstantSizeNonInlinedEqualityComparisons(benchmark::State& state, absl::string_view a) DoConstantSizeNonInlinedEqualityComparisons() argument 144 BM_EqualConstantSizeNonInlined(benchmark::State& state) BM_EqualConstantSizeNonInlined() argument 152 BM_CompareSame(benchmark::State& state) BM_CompareSame() argument 170 BM_CompareFirstOneLess(benchmark::State& state) BM_CompareFirstOneLess() argument 186 BM_CompareSecondOneLess(benchmark::State& state) BM_CompareSecondOneLess() argument 202 BM_find_string_view_len_one(benchmark::State& state) BM_find_string_view_len_one() argument 211 BM_find_string_view_len_two(benchmark::State& state) BM_find_string_view_len_two() argument 220 BM_find_one_char(benchmark::State& state) BM_find_one_char() argument 229 BM_rfind_one_char(benchmark::State& state) BM_rfind_one_char() argument 238 BM_worst_case_find_first_of(benchmark::State& state, int haystack_len) BM_worst_case_find_first_of() argument 252 BM_find_first_of_short(benchmark::State& state) BM_find_first_of_short() argument 256 BM_find_first_of_medium(benchmark::State& state) BM_find_first_of_medium() argument 260 BM_find_first_of_long(benchmark::State& state) BM_find_first_of_long() argument 279 StringViewMapBenchmark(benchmark::State& state) StringViewMapBenchmark() argument 350 BM_StdMap_4(benchmark::State& state) BM_StdMap_4() argument 355 BM_StdMap_8(benchmark::State& state) BM_StdMap_8() argument 360 BM_CopyToStringNative(benchmark::State& state) BM_CopyToStringNative() argument 370 BM_AppendToStringNative(benchmark::State& state) BM_AppendToStringNative() argument [all...] |
/kernel/linux/linux-5.10/block/partitions/ |
H A D | cmdline.c | 30 struct parsed_partitions *state = (struct parsed_partitions *)param; in add_part() local 32 if (slot >= state->limit) in add_part() 35 put_partition(state, slot, subpart->from >> 9, in add_part() 38 info = &state->parts[slot].info; in add_part() 46 strlcat(state->pp_buf, tmp, PAGE_SIZE); in add_part() 48 state->parts[slot].has_info = true; in add_part() 87 static void cmdline_parts_verifier(int slot, struct parsed_partitions *state) in cmdline_parts_verifier() argument 92 for (; slot < state->limit && state->parts[slot].has_info; slot++) { in cmdline_parts_verifier() 93 for (i = slot+1; i < state in cmdline_parts_verifier() 123 cmdline_partition(struct parsed_partitions *state) cmdline_partition() argument [all...] |
H A D | msdos.c | 72 static int aix_magic_present(struct parsed_partitions *state, unsigned char *p) in aix_magic_present() argument 99 d = read_part_sector(state, 7, §); in aix_magic_present() 108 static void set_info(struct parsed_partitions *state, int slot, in set_info() argument 111 struct partition_meta_info *info = &state->parts[slot].info; in set_info() 116 state->parts[slot].has_info = true; in set_info() 130 static void parse_extended(struct parsed_partitions *state, in parse_extended() argument 138 sector_t sector_size = bdev_logical_block_size(state->bdev) / 512; in parse_extended() 149 if (state->next == state->limit) in parse_extended() 151 data = read_part_sector(state, this_secto in parse_extended() 249 parse_solaris_x86(struct parsed_partitions *state, sector_t offset, sector_t size, int origin) parse_solaris_x86() argument 354 parse_bsd(struct parsed_partitions *state, sector_t offset, sector_t size, int origin, char *flavour, int max_partitions) parse_bsd() argument 408 parse_freebsd(struct parsed_partitions *state, sector_t offset, sector_t size, int origin) parse_freebsd() argument 416 parse_netbsd(struct parsed_partitions *state, sector_t offset, sector_t size, int origin) parse_netbsd() argument 424 parse_openbsd(struct parsed_partitions *state, sector_t offset, sector_t size, int origin) parse_openbsd() argument 482 parse_unixware(struct parsed_partitions *state, sector_t offset, sector_t size, int origin) parse_unixware() argument 528 parse_minix(struct parsed_partitions *state, sector_t offset, sector_t size, int origin) parse_minix() argument 580 msdos_partition(struct parsed_partitions *state) msdos_partition() argument [all...] |
/third_party/node/deps/base64/base64/lib/ |
H A D | lib.c | 18 base64_stream_encode_init (struct base64_state *state, int flags) in base64_stream_encode_init() argument 24 state->eof = 0; in base64_stream_encode_init() 25 state->bytes = 0; in base64_stream_encode_init() 26 state->carry = 0; in base64_stream_encode_init() 27 state->flags = flags; in base64_stream_encode_init() 32 ( struct base64_state *state in base64_stream_encode() 39 codec.enc(state, src, srclen, out, outlen); in base64_stream_encode() 44 ( struct base64_state *state in base64_stream_encode_final() 51 if (state->bytes == 1) { in base64_stream_encode_final() 52 *o++ = base64_table_enc_6bit[state in base64_stream_encode_final() 68 base64_stream_decode_init(struct base64_state *state, int flags) base64_stream_decode_init() argument 113 struct base64_state state; base64_encode() local 145 struct base64_state state; base64_decode() local [all...] |
/third_party/mesa3d/src/gallium/auxiliary/util/ |
H A D | u_dump.h | 116 util_dump_resource(FILE *stream, const struct pipe_resource *state); 120 const struct pipe_rasterizer_state *state); 124 const struct pipe_poly_stipple *state); 128 const struct pipe_viewport_state *state); 132 const struct pipe_scissor_state *state); 136 const struct pipe_clip_state *state); 140 const struct pipe_stream_output_info *state); 144 const struct pipe_shader_state *state); 148 const struct pipe_depth_stencil_alpha_state *state); 152 const struct pipe_rt_blend_state *state); [all...] |
/kernel/linux/linux-6.6/block/partitions/ |
H A D | msdos.c | 72 static int aix_magic_present(struct parsed_partitions *state, unsigned char *p) in aix_magic_present() argument 99 d = read_part_sector(state, 7, §); in aix_magic_present() 108 static void set_info(struct parsed_partitions *state, int slot, in set_info() argument 111 struct partition_meta_info *info = &state->parts[slot].info; in set_info() 116 state->parts[slot].has_info = true; in set_info() 130 static void parse_extended(struct parsed_partitions *state, in parse_extended() argument 143 sector_size = queue_logical_block_size(state->disk->queue) / 512; in parse_extended() 150 if (state->next == state->limit) in parse_extended() 152 data = read_part_sector(state, this_secto in parse_extended() 250 parse_solaris_x86(struct parsed_partitions *state, sector_t offset, sector_t size, int origin) parse_solaris_x86() argument 355 parse_bsd(struct parsed_partitions *state, sector_t offset, sector_t size, int origin, char *flavour, int max_partitions) parse_bsd() argument 409 parse_freebsd(struct parsed_partitions *state, sector_t offset, sector_t size, int origin) parse_freebsd() argument 417 parse_netbsd(struct parsed_partitions *state, sector_t offset, sector_t size, int origin) parse_netbsd() argument 425 parse_openbsd(struct parsed_partitions *state, sector_t offset, sector_t size, int origin) parse_openbsd() argument 483 parse_unixware(struct parsed_partitions *state, sector_t offset, sector_t size, int origin) parse_unixware() argument 529 parse_minix(struct parsed_partitions *state, sector_t offset, sector_t size, int origin) parse_minix() argument 581 msdos_partition(struct parsed_partitions *state) msdos_partition() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/armada/ |
H A D | armada_overlay.c | 44 static inline u32 armada_spu_contrast(struct drm_plane_state *state) in armada_spu_contrast() argument 46 return drm_to_overlay_state(state)->brightness << 16 | in armada_spu_contrast() 47 drm_to_overlay_state(state)->contrast; in armada_spu_contrast() 50 static inline u32 armada_spu_saturation(struct drm_plane_state *state) in armada_spu_saturation() argument 53 return drm_to_overlay_state(state)->saturation << 16; in armada_spu_saturation() 56 static inline u32 armada_csc(struct drm_plane_state *state) in armada_csc() argument 65 (state->color_encoding == DRM_COLOR_YCBCR_BT709 ? in armada_csc() 71 struct drm_atomic_state *state) in armada_drm_overlay_plane_atomic_update() 73 struct drm_plane_state *old_state = drm_atomic_get_old_plane_state(state, in armada_drm_overlay_plane_atomic_update() 75 struct drm_plane_state *new_state = drm_atomic_get_new_plane_state(state, in armada_drm_overlay_plane_atomic_update() 70 armada_drm_overlay_plane_atomic_update(struct drm_plane *plane, struct drm_atomic_state *state) armada_drm_overlay_plane_atomic_update() argument 221 armada_drm_overlay_plane_atomic_disable(struct drm_plane *plane, struct drm_atomic_state *state) armada_drm_overlay_plane_atomic_disable() argument 264 struct drm_atomic_state *state; armada_overlay_plane_update() local 305 struct armada_overlay_state *state; armada_overlay_reset() local 332 struct armada_overlay_state *state; armada_overlay_duplicate_state() local 344 armada_overlay_set_property(struct drm_plane *plane, struct drm_plane_state *state, struct drm_property *property, uint64_t val) armada_overlay_set_property() argument 412 armada_overlay_get_property(struct drm_plane *plane, const struct drm_plane_state *state, struct drm_property *property, uint64_t *val) armada_overlay_get_property() argument [all...] |
/kernel/linux/linux-5.10/include/linux/ |
H A D | cpuhotplug.h | 206 int __cpuhp_setup_state(enum cpuhp_state state, const char *name, bool invoke, 210 int __cpuhp_setup_state_cpuslocked(enum cpuhp_state state, const char *name, 216 * cpuhp_setup_state - Setup hotplug state callbacks with calling the callbacks 217 * @state: The state for which the calls are installed 223 * the present cpus which have already reached the @state. 225 static inline int cpuhp_setup_state(enum cpuhp_state state, in cpuhp_setup_state() argument 230 return __cpuhp_setup_state(state, name, true, startup, teardown, false); in cpuhp_setup_state() 233 static inline int cpuhp_setup_state_cpuslocked(enum cpuhp_state state, in cpuhp_setup_state_cpuslocked() argument 238 return __cpuhp_setup_state_cpuslocked(state, nam in cpuhp_setup_state_cpuslocked() 253 cpuhp_setup_state_nocalls(enum cpuhp_state state, const char *name, int (*startup)(unsigned int cpu), int (*teardown)(unsigned int cpu)) cpuhp_setup_state_nocalls() argument 262 cpuhp_setup_state_nocalls_cpuslocked(enum cpuhp_state state, const char *name, int (*startup)(unsigned int cpu), int (*teardown)(unsigned int cpu)) cpuhp_setup_state_nocalls_cpuslocked() argument 283 cpuhp_setup_state_multi(enum cpuhp_state state, const char *name, int (*startup)(unsigned int cpu, struct hlist_node *node), int (*teardown)(unsigned int cpu, struct hlist_node *node)) cpuhp_setup_state_multi() argument 310 cpuhp_state_add_instance(enum cpuhp_state state, struct hlist_node *node) cpuhp_state_add_instance() argument 325 cpuhp_state_add_instance_nocalls(enum cpuhp_state state, struct hlist_node *node) cpuhp_state_add_instance_nocalls() argument 332 cpuhp_state_add_instance_nocalls_cpuslocked(enum cpuhp_state state, struct hlist_node *node) cpuhp_state_add_instance_nocalls_cpuslocked() argument 348 cpuhp_remove_state(enum cpuhp_state state) cpuhp_remove_state() argument 358 cpuhp_remove_state_nocalls(enum cpuhp_state state) cpuhp_remove_state_nocalls() argument 363 cpuhp_remove_state_nocalls_cpuslocked(enum cpuhp_state state) cpuhp_remove_state_nocalls_cpuslocked() argument 376 cpuhp_remove_multi_state(enum cpuhp_state state) cpuhp_remove_multi_state() argument 393 cpuhp_state_remove_instance(enum cpuhp_state state, struct hlist_node *node) cpuhp_state_remove_instance() argument 407 cpuhp_state_remove_instance_nocalls(enum cpuhp_state state, struct hlist_node *node) cpuhp_state_remove_instance_nocalls() argument 416 cpuhp_online_idle(enum cpuhp_state state) cpuhp_online_idle() argument [all...] |
/kernel/linux/linux-6.6/include/linux/ |
H A D | cpuhotplug.h | 26 * CPU hotplug states. The state machine invokes the installed state 32 * The state space has three sections: PREPARE, STARTING and ONLINE. 45 * 1) The state is within the STARTING section 47 * 2) The state has ordering constraints vs. other states in the 50 * If neither #1 nor #2 apply, please use the dynamic state space when 51 * setting up a state by using CPUHP_BP_PREPARE_DYN or CPUHP_AP_ONLINE_DYN 52 * for the @state argument of the setup function. 266 int __cpuhp_setup_state(enum cpuhp_state state, const char *name, bool invoke, 270 int __cpuhp_setup_state_cpuslocked(enum cpuhp_state state, cons 286 cpuhp_setup_state(enum cpuhp_state state, const char *name, int (*startup)(unsigned int cpu), int (*teardown)(unsigned int cpu)) cpuhp_setup_state() argument 306 cpuhp_setup_state_cpuslocked(enum cpuhp_state state, const char *name, int (*startup)(unsigned int cpu), int (*teardown)(unsigned int cpu)) cpuhp_setup_state_cpuslocked() argument 326 cpuhp_setup_state_nocalls(enum cpuhp_state state, const char *name, int (*startup)(unsigned int cpu), int (*teardown)(unsigned int cpu)) cpuhp_setup_state_nocalls() argument 348 cpuhp_setup_state_nocalls_cpuslocked(enum cpuhp_state state, const char *name, int (*startup)(unsigned int cpu), int (*teardown)(unsigned int cpu)) cpuhp_setup_state_nocalls_cpuslocked() argument 369 cpuhp_setup_state_multi(enum cpuhp_state state, const char *name, int (*startup)(unsigned int cpu, struct hlist_node *node), int (*teardown)(unsigned int cpu, struct hlist_node *node)) cpuhp_setup_state_multi() argument 397 cpuhp_state_add_instance(enum cpuhp_state state, struct hlist_node *node) cpuhp_state_add_instance() argument 413 cpuhp_state_add_instance_nocalls(enum cpuhp_state state, struct hlist_node *node) cpuhp_state_add_instance_nocalls() argument 431 cpuhp_state_add_instance_nocalls_cpuslocked(enum cpuhp_state state, struct hlist_node *node) cpuhp_state_add_instance_nocalls_cpuslocked() argument 447 cpuhp_remove_state(enum cpuhp_state state) cpuhp_remove_state() argument 457 cpuhp_remove_state_nocalls(enum cpuhp_state state) cpuhp_remove_state_nocalls() argument 470 cpuhp_remove_state_nocalls_cpuslocked(enum cpuhp_state state) cpuhp_remove_state_nocalls_cpuslocked() argument 483 cpuhp_remove_multi_state(enum cpuhp_state state) cpuhp_remove_multi_state() argument 500 cpuhp_state_remove_instance(enum cpuhp_state state, struct hlist_node *node) cpuhp_state_remove_instance() argument 514 cpuhp_state_remove_instance_nocalls(enum cpuhp_state state, struct hlist_node *node) cpuhp_state_remove_instance_nocalls() argument 523 cpuhp_online_idle(enum cpuhp_state state) cpuhp_online_idle() argument [all...] |
/third_party/rust/crates/cxx/src/ |
H A D | sip.rs | 24 state: State, // hash State 43 ($state:expr) => { 44 compress!($state.v0, $state.v1, $state.v2, $state.v3) 119 let mut state = SipHasher13 { in new_with_keys() variables 123 state: State { in new_with_keys() 132 state.reset(); in new_with_keys() 133 state in new_with_keys() 201 let mut state = self.state; finish() variables [all...] |
/third_party/pulseaudio/src/modules/alsa/ |
H A D | alsa-mixer.c | 222 * separate events for the two devices, and the intermediate state between in pa_alsa_jack_set_plugged_in() 266 * could guarantee when the jack state is changed, the device with highest in pa_alsa_jack_add_ucm_device() 2136 static int element_parse_switch(pa_config_parser_state *state) { in element_parse_switch() argument 2140 pa_assert(state); in element_parse_switch() 2142 p = state->userdata; in element_parse_switch() 2144 if (!(e = pa_alsa_element_get(p, state->section, true))) { in element_parse_switch() 2145 pa_log("[%s:%u] Switch makes no sense in '%s'", state->filename, state->lineno, state->section); in element_parse_switch() 2149 if (pa_streq(state in element_parse_switch() 2167 element_parse_volume(pa_config_parser_state *state) element_parse_volume() argument 2203 element_parse_enumeration(pa_config_parser_state *state) element_parse_enumeration() argument 2228 parse_type(pa_config_parser_state *state) parse_type() argument 2272 parse_eld_device(pa_config_parser_state *state) parse_eld_device() argument 2294 option_parse_priority(pa_config_parser_state *state) option_parse_priority() argument 2317 option_parse_name(pa_config_parser_state *state) option_parse_name() argument 2336 element_parse_required(pa_config_parser_state *state) element_parse_required() argument 2405 element_parse_direction(pa_config_parser_state *state) element_parse_direction() argument 2430 element_parse_direction_try_other(pa_config_parser_state *state) element_parse_direction_try_other() argument 2453 element_parse_volume_limit(pa_config_parser_state *state) element_parse_volume_limit() argument 2519 element_parse_override_map(pa_config_parser_state *state) element_parse_override_map() argument 2594 jack_parse_state(pa_config_parser_state *state) jack_parse_state() argument 2629 jack_parse_append_pcm_to_name(pa_config_parser_state *state) jack_parse_append_pcm_to_name() argument 3409 void *state; pa_alsa_path_set_set_callback() local 3453 void *state, *state2; pa_alsa_path_set_new() local 3593 void *state; pa_alsa_path_set_dump() local 3762 void *state; path_set_condense() local 3837 void *state; path_set_find_path_by_description() local 3848 void *state, *state2; path_set_make_path_descriptions_unique() local 4022 mapping_parse_device_strings(pa_config_parser_state *state) mapping_parse_device_strings() argument 4044 mapping_parse_channel_map(pa_config_parser_state *state) mapping_parse_channel_map() argument 4065 mapping_parse_paths(pa_config_parser_state *state) mapping_parse_paths() argument 4089 mapping_parse_exact_channels(pa_config_parser_state *state) mapping_parse_exact_channels() argument 4113 mapping_parse_element(pa_config_parser_state *state) mapping_parse_element() argument 4137 mapping_parse_direction(pa_config_parser_state *state) mapping_parse_direction() argument 4164 mapping_parse_description(pa_config_parser_state *state) mapping_parse_description() argument 4187 mapping_parse_description_key(pa_config_parser_state *state) mapping_parse_description_key() argument 4211 mapping_parse_priority(pa_config_parser_state *state) mapping_parse_priority() argument 4238 mapping_parse_fallback(pa_config_parser_state *state) mapping_parse_fallback() argument 4265 mapping_parse_intended_roles(pa_config_parser_state *state) mapping_parse_intended_roles() argument 4284 profile_parse_mappings(pa_config_parser_state *state) profile_parse_mappings() argument 4308 profile_parse_skip_probe(pa_config_parser_state *state) profile_parse_skip_probe() argument 4332 decibel_fix_parse_db_values(pa_config_parser_state *state) decibel_fix_parse_db_values() argument 4451 void *state; profile_set_set_availability_groups() local 4513 void *state; mapping_paths_probe() local 4929 void *state; pa_alsa_profile_set_new() local 5089 void* state = NULL; paths_drop_unused() local 5111 void *state; add_profiles_to_probe() local 5317 void *state; pa_alsa_profile_set_dump() local 5343 void *state; pa_alsa_profile_set_drop_unsupported() local 5414 void *state; pa_alsa_path_set_add_ports() local [all...] |