Home
last modified time | relevance | path

Searched refs:cur_idx (Results 1 - 11 of 11) sorted by relevance

/third_party/mesa3d/src/freedreno/afuc/
H A Demu-ds.c55 unsigned cur_idx = emu_get_reg32(emu, &DRAW_STATE_SEL); in emu_set_draw_state_reg() local
59 cur_idx = (val >> 24) & 0x1f; in emu_set_draw_state_reg()
60 ds->state[cur_idx].count = val & 0xffff; in emu_set_draw_state_reg()
61 ds->state[cur_idx].mode_mask = (val >> 20) & 0x7; in emu_set_draw_state_reg()
64 active_mask |= (1 << cur_idx); in emu_set_draw_state_reg()
67 emu_set_reg32(emu, &DRAW_STATE_SEL, cur_idx); in emu_set_draw_state_reg()
69 ds->state[cur_idx].base_lohi[ds->write_idx - 1] = val; in emu_set_draw_state_reg()
/third_party/ffmpeg/libavfilter/
H A Davf_concat.c41 unsigned cur_idx; /**< index of the first input of current segment */ member
229 unsigned i = cat->cur_idx; in find_next_delta_ts()
285 cat->cur_idx += ctx->nb_outputs; in flush_segment()
290 if (cat->cur_idx < ctx->nb_inputs) { in flush_segment()
295 ret = send_silence(ctx, cat->cur_idx - ctx->nb_outputs + str, str, in flush_segment()
378 if (cat->cur_idx < ctx->nb_inputs) { in activate()
380 ret = ff_inlink_consume_frame(ctx->inputs[cat->cur_idx + i], &frame); in activate()
385 return push_frame(ctx, cat->cur_idx + i, frame); in activate()
391 if (cat->cur_idx < ctx->nb_inputs) { in activate()
393 AVFilterLink *inlink = ctx->inputs[cat->cur_idx in activate()
[all...]
/third_party/rust/crates/clap/src/parser/
H A Dparser.rs27 cur_idx: Cell<usize>,
40 cur_idx: Cell::new(0),
238 // be the current index (`cur_idx`) minus ONE UNIT TO THE LEFT of the starting position.
239 self.flag_subcmd_skip = self.cur_idx.get() - at + 1;
700 p.cur_idx.set(self.cur_idx.get()); in parse_subcommand()
966 // Make sure indices get updated before reading `self.cur_idx` in parse_short_arg()
968 self.cur_idx.set(self.cur_idx.get() + 1); in parse_short_arg()
969 debug!("Parser::parse_short_arg: cur_idx in parse_short_arg()
[all...]
/third_party/mesa3d/src/amd/vulkan/
H A Dradv_device_generated_commands.c589 nir_ssa_def *cur_idx = nir_load_var(&b, idx); in build_dgc_prepare_shader() local
590 nir_push_if(&b, nir_uge(&b, cur_idx, const_copy_words)); in build_dgc_prepare_shader()
598 nir_ssa_def *update = nir_iand(&b, push_const_mask, nir_ishl(&b, nir_imm_int64(&b, 1), cur_idx)); in build_dgc_prepare_shader()
600 &b, nir_ult(&b, cur_idx, nir_imm_int(&b, 64 /* bits in push_const_mask */)), update, in build_dgc_prepare_shader()
607 nir_iadd(&b, param_offset_offset, nir_ishl_imm(&b, cur_idx, 2)), .align_mul = 4); in build_dgc_prepare_shader()
616 nir_iadd(&b, param_const_offset, nir_ishl_imm(&b, cur_idx, 2)), in build_dgc_prepare_shader()
624 nir_iadd(&b, nir_load_var(&b, upload_offset), nir_ishl_imm(&b, cur_idx, 2)), in build_dgc_prepare_shader()
627 nir_store_var(&b, idx, nir_iadd_imm(&b, cur_idx, 1), 0x1); in build_dgc_prepare_shader()
676 nir_ssa_def *cur_idx = nir_load_var(&b, idx); in build_dgc_prepare_shader() local
678 nir_uge(&b, cur_idx, nir_imm_in in build_dgc_prepare_shader()
759 nir_ssa_def *cur_idx = nir_load_var(&b, idx); build_dgc_prepare_shader() local
[all...]
/third_party/skia/third_party/externals/freetype/src/autofit/
H A Dafhints.c64 FT_UInt cur_idx; in af_sort_and_quantize_widths() local
87 cur_idx = 0; in af_sort_and_quantize_widths()
88 cur_val = table[cur_idx].org; in af_sort_and_quantize_widths()
106 for ( j = cur_idx; j < i; j++ ) in af_sort_and_quantize_widths()
111 table[cur_idx].org = sum / (FT_Pos)j; in af_sort_and_quantize_widths()
115 cur_idx = i + 1; in af_sort_and_quantize_widths()
116 cur_val = table[cur_idx].org; in af_sort_and_quantize_widths()
121 cur_idx = 1; in af_sort_and_quantize_widths()
127 table[cur_idx++] = table[i]; in af_sort_and_quantize_widths()
130 *count = cur_idx; in af_sort_and_quantize_widths()
[all...]
/third_party/vulkan-loader/loader/
H A Dloader.c5987 for (uint32_t cur_idx = 0; cur_idx < old_count; ++cur_idx) {
5988 old_to_new_index[cur_idx] = -1;
5990 for (uint32_t cur_idx = 0; cur_idx < new_count; ++cur_idx) {
5991 new_to_old_index[cur_idx] = -1;
5995 for (uint32_t cur_idx = 0; cur_idx < old_coun
[all...]
/third_party/backends/backend/
H A Dhpljm1005.c105 static int cur_idx; variable
377 dev->idx = cur_idx; in attach()
456 for (cur_idx = 0; usbid[cur_idx].vendor_id; cur_idx++) in sane_get_devices()
457 sanei_usb_find_devices (usbid[cur_idx].vendor_id, in sane_get_devices()
458 usbid[cur_idx].product_id, attach); in sane_get_devices()
/third_party/node/deps/openssl/openssl/crypto/bn/asm/
H A Drsaz-avx512.pl541 my ($cur_idx,$idx,$ones) = map("%ymm$_", (21..23));
561 vmovdqa64 $t4, $t3 # zeroing t0..4, cur_idx
565 vmovdqa64 $t4, $cur_idx
569 vpcmpq \$0, $cur_idx, $idx, %k1 # mask of (idx == cur_idx)
571 vpaddq $ones, $cur_idx, $cur_idx # increment cur_idx
/third_party/openssl/crypto/bn/asm/
H A Drsaz-avx512.pl541 my ($cur_idx,$idx,$ones) = map("%ymm$_", (21..23));
561 vmovdqa64 $t4, $t3 # zeroing t0..4, cur_idx
565 vmovdqa64 $t4, $cur_idx
569 vpcmpq \$0, $cur_idx, $idx, %k1 # mask of (idx == cur_idx)
571 vpaddq $ones, $cur_idx, $cur_idx # increment cur_idx
/third_party/ffmpeg/libavcodec/
H A Dmlpenc.c1838 int cur_idx; member
1857 int idx = src->cur_idx; in best_codebook_path_cost()
1922 if (dst_path->cur_idx < FF_ARRAY_ELEMS(dst_path->path) - 1) in set_best_codebook()
1923 dst_path->path[++dst_path->cur_idx] = codebook; in set_best_codebook()
/third_party/mesa3d/src/amd/compiler/
H A Daco_optimizer.cpp3980 unsigned cur_idx = mul_instr->definitions[0].tempId(); in combine_instruction() local
3982 if (cur_idx > new_idx) in combine_instruction()

Completed in 26 milliseconds