Home
last modified time | relevance | path

Searched refs:cur_idx (Results 1 – 13 of 13) sorted by relevance

/third_party/flutter/skia/third_party/externals/freetype/src/autofit/
Dafangles.c215 FT_UInt cur_idx; in af_sort_and_quantize_widths() local
238 cur_idx = 0; in af_sort_and_quantize_widths()
239 cur_val = table[cur_idx].org; in af_sort_and_quantize_widths()
257 for ( j = cur_idx; j < i; j++ ) in af_sort_and_quantize_widths()
262 table[cur_idx].org = sum / (FT_Pos)j; in af_sort_and_quantize_widths()
266 cur_idx = i + 1; in af_sort_and_quantize_widths()
267 cur_val = table[cur_idx].org; in af_sort_and_quantize_widths()
272 cur_idx = 1; in af_sort_and_quantize_widths()
278 table[cur_idx++] = table[i]; in af_sort_and_quantize_widths()
281 *count = cur_idx; in af_sort_and_quantize_widths()
/third_party/mesa3d/src/freedreno/afuc/
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/
Davf_concat.c42 unsigned cur_idx; /**< index of the first input of current segment */ member
230 unsigned i = cat->cur_idx; in find_next_delta_ts()
286 cat->cur_idx += ctx->nb_outputs; in flush_segment()
291 if (cat->cur_idx < ctx->nb_inputs) { in flush_segment()
296 ret = send_silence(ctx, cat->cur_idx - ctx->nb_outputs + str, str, in flush_segment()
386 if (cat->cur_idx < ctx->nb_inputs) { in activate()
388 ret = ff_inlink_consume_frame(ctx->inputs[cat->cur_idx + i], &frame); in activate()
393 return push_frame(ctx, cat->cur_idx + i, frame); in activate()
399 if (cat->cur_idx < ctx->nb_inputs) { in activate()
401 ret = ff_inlink_acknowledge_status(ctx->inputs[cat->cur_idx + i], &status, &pts); in activate()
[all …]
/third_party/rust/crates/clap/src/parser/
Dparser.rs27 cur_idx: Cell<usize>, field
40 cur_idx: Cell::new(0), in new()
239 self.flag_subcmd_skip = self.cur_idx.get() - at + 1; in get_matches_with()
700 p.cur_idx.set(self.cur_idx.get()); in parse_subcommand()
969 self.cur_idx.set(self.cur_idx.get() + 1); in parse_short_arg()
970 debug!("Parser::parse_short_arg: cur_idx:={}", self.cur_idx.get()); in parse_short_arg()
976 let cur_idx = self.cur_idx.get(); in parse_short_arg() localVariable
977 self.flag_subcmd_at.get_or_insert(cur_idx); in parse_short_arg()
1082 self.cur_idx.set(self.cur_idx.get() + 1); in push_arg_values()
1085 self.cur_idx.get() in push_arg_values()
[all …]
/third_party/mesa3d/src/amd/vulkan/
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_int(&b, 64 /* bits in inline_mask */))); in build_dgc_prepare_shader()
[all …]
/third_party/openssl/crypto/bn/asm/
Drsaz-avx512.pl541 my ($cur_idx,$idx,$ones) = map("%ymm$_", (21..23));
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/vulkan-loader/loader/
Dloader.c5676 for (uint32_t cur_idx = 0; cur_idx < old_count; ++cur_idx) { in setup_loader_tramp_phys_devs() local
5677 old_to_new_index[cur_idx] = -1; in setup_loader_tramp_phys_devs()
5679 for (uint32_t cur_idx = 0; cur_idx < new_count; ++cur_idx) { in setup_loader_tramp_phys_devs() local
5680 new_to_old_index[cur_idx] = -1; in setup_loader_tramp_phys_devs()
5684 for (uint32_t cur_idx = 0; cur_idx < old_count; ++cur_idx) { in setup_loader_tramp_phys_devs() local
5686 if (inst->phys_devs_tramp[cur_idx]->phys_dev == phys_devs[new_idx]) { in setup_loader_tramp_phys_devs()
5687 old_to_new_index[cur_idx] = (int32_t)new_idx; in setup_loader_tramp_phys_devs()
5688 new_to_old_index[new_idx] = (int32_t)cur_idx; in setup_loader_tramp_phys_devs()
5700 for (uint32_t cur_idx = 0; cur_idx < old_count; ++cur_idx) { in setup_loader_tramp_phys_devs() local
5701 if (old_to_new_index[cur_idx] == (int32_t)new_idx) { in setup_loader_tramp_phys_devs()
[all …]
/third_party/gstreamer/gstplugins_base/tools/
Dgst-play.c86 gint cur_idx; member
189 play->cur_idx = -1; in play_new()
373 --play->cur_idx; in play_bus_msg()
470 play->uris[play->cur_idx]); in play_bus_msg()
481 --play->cur_idx; in play_bus_msg()
763 if ((play->cur_idx + 1) >= play->num_uris) in play_next()
766 play_uri (play, play->uris[++play->cur_idx]); in play_next()
774 if (play->cur_idx == 0 || play->num_uris <= 1) in play_prev()
777 play_uri (play, play->uris[--play->cur_idx]); in play_prev()
792 next_idx = play->cur_idx + 1; in play_about_to_finish()
[all …]
/third_party/skia/third_party/externals/freetype/src/autofit/
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()
/third_party/freetype/src/autofit/
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()
/third_party/ffmpeg/libavcodec/
Dmlpenc.c1951 int cur_idx; member
1973 int idx = src->cur_idx; in best_codebook_path_cost()
2040 if (dst_path->cur_idx < FF_ARRAY_ELEMS(dst_path->path) - 1) in set_best_codebook()
2041 dst_path->path[++dst_path->cur_idx] = codebook; in set_best_codebook()
/third_party/mesa3d/src/amd/compiler/
Daco_optimizer.cpp3980 unsigned cur_idx = mul_instr->definitions[0].tempId(); in combine_instruction() local
3982 if (cur_idx > new_idx) in combine_instruction()
/third_party/libbpf/.github/actions/build-selftests/
Dvmlinux.h19844 unsigned int cur_idx; member