Home
last modified time | relevance | path

Searched refs:new_index (Results 1 – 25 of 52) sorted by relevance

123

/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-ot-post-table-v2subset.hh54 unsigned new_index = _.second; in serialize() local
56 if (new_index < 258) continue; in serialize()
57 if (copied_indices.has (new_index)) continue; in serialize()
58 copied_indices.add (new_index); in serialize()
88 unsigned new_index; in subset() local
89 if (old_index <= 257) new_index = old_index; in subset()
90 else if (old_new_index_map.has (old_index)) new_index = old_new_index_map.get (old_index); in subset()
94 new_index = glyph_name_to_new_index.get (s); in subset()
95 if (new_index == (unsigned)-1) in subset()
109 new_index = 258 + i; in subset()
[all …]
/third_party/alsa-utils/alsamixer/
Dmixer_widget.c254 unsigned int new_index; in change_enum_to_percent() local
262 new_index = index; in change_enum_to_percent()
264 new_index = 0; in change_enum_to_percent()
269 new_index = items - 1; in change_enum_to_percent()
271 if (new_index == index) in change_enum_to_percent()
275 snd_mixer_selem_set_enum_item(control->elem, i, new_index); in change_enum_to_percent()
283 int new_index; in change_enum_relative() local
292 new_index = (int)index + delta; in change_enum_relative()
293 if (new_index < 0) in change_enum_relative()
294 new_index = 0; in change_enum_relative()
[all …]
/third_party/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_rename_regs.c71 int new_index; in rc_rename_regs() local
79 new_index = rc_find_free_temporary_list(c, used, used_length, in rc_rename_regs()
81 if (new_index < 0) { in rc_rename_regs()
87 rc_variable_change_dst(var, new_index, writemask); in rc_rename_regs()
Dradeon_variable.c45 unsigned int new_index, in rc_variable_change_dst() argument
58 var_ptr->Inst->U.I.DstReg.Index = new_index; in rc_variable_change_dst()
69 sub->DestIndex = new_index; in rc_variable_change_dst()
78 reader->U.I.Src->Index = new_index; in rc_variable_change_dst()
107 .Index = new_index; in rc_variable_change_dst()
115 .Index = new_index; in rc_variable_change_dst()
125 new_index); in rc_variable_change_dst()
131 var->Inst->IP, reader->Inst->IP, src_type, new_index, new_writemask); in rc_variable_change_dst()
Dradeon_variable.h60 unsigned int new_index,
Dradeon_pair_schedule.c764 unsigned int new_index) in rgb_to_alpha_remap() argument
775 old_file, new_index); in rgb_to_alpha_remap()
889 int new_index = -1; in convert_rgb_to_alpha() local
922 new_index = i; in convert_rgb_to_alpha()
929 if (new_index < 0) { in convert_rgb_to_alpha()
943 pair_inst->Alpha.DestIndex = new_index; in convert_rgb_to_alpha()
974 RC_FILE_TEMPORARY, old_swz, new_index); in convert_rgb_to_alpha()
/third_party/grpc/src/core/ext/transport/chttp2/transport/
Dhpack_encoder.cc183 HpackEncoderIndex new_index) { in ReplaceOlderIndex() argument
189 SetIndex(hashtable, id, value, new_index); in ReplaceOlderIndex()
195 uint32_t value_hash, HpackEncoderIndex new_index) { in UpdateAddOrEvict() argument
198 UpdateIndex(hashtable, cuckoo_first, new_index); in UpdateAddOrEvict()
203 SetIndex(hashtable, cuckoo_first, value, new_index); in UpdateAddOrEvict()
209 UpdateIndex(hashtable, cuckoo_second, new_index); in UpdateAddOrEvict()
214 SetIndex(hashtable, cuckoo_second, value, new_index); in UpdateAddOrEvict()
218 cuckoo_second, new_index)); in UpdateAddOrEvict()
221 SetIndex(hashtable, cuckoo_first, value, new_index); in UpdateAddOrEvict()
406 uint32_t new_index = c->tail_remote_index + c->table_elems + 1; in prepare_space_for_new_elem() local
[all …]
/third_party/node/deps/brotli/c/enc/
Dcluster_inc.h214 uint32_t* new_index = BROTLI_ALLOC(m, uint32_t, length);
218 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(new_index)) return 0;
220 new_index[i] = kInvalidIndex;
224 if (new_index[symbols[i]] == kInvalidIndex) {
225 new_index[symbols[i]] = next_index;
235 if (new_index[symbols[i]] == next_index) {
239 symbols[i] = new_index[symbols[i]];
241 BROTLI_FREE(m, new_index);
Dblock_splitter_inc.h215 uint32_t* new_index; in FN() local
301 new_index = BROTLI_ALLOC(m, uint32_t, num_clusters); in FN()
302 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(new_index)) return; in FN()
303 for (i = 0; i < num_clusters; ++i) new_index[i] = kInvalidIndex; in FN()
328 if (new_index[best_out] == kInvalidIndex) { in FN()
329 new_index[best_out] = next_index++; in FN()
348 const uint8_t id = (uint8_t)new_index[histogram_symbols[i]]; in FN()
359 BROTLI_FREE(m, new_index); in FN()
/third_party/skia/third_party/externals/brotli/c/enc/
Dcluster_inc.h214 uint32_t* new_index = BROTLI_ALLOC(m, uint32_t, length);
218 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(new_index)) return 0;
220 new_index[i] = kInvalidIndex;
224 if (new_index[symbols[i]] == kInvalidIndex) {
225 new_index[symbols[i]] = next_index;
235 if (new_index[symbols[i]] == next_index) {
239 symbols[i] = new_index[symbols[i]];
241 BROTLI_FREE(m, new_index);
Dblock_splitter_inc.h215 uint32_t* new_index; in FN() local
301 new_index = BROTLI_ALLOC(m, uint32_t, num_clusters); in FN()
302 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(new_index)) return; in FN()
303 for (i = 0; i < num_clusters; ++i) new_index[i] = kInvalidIndex; in FN()
328 if (new_index[best_out] == kInvalidIndex) { in FN()
329 new_index[best_out] = next_index++; in FN()
348 const uint8_t id = (uint8_t)new_index[histogram_symbols[i]]; in FN()
359 BROTLI_FREE(m, new_index); in FN()
/third_party/boost/boost/graph/distributed/
Ddelta_stepping_shortest_paths.hpp380 BucketIndex new_index = static_cast<BucketIndex>(x / delta); in relax() local
383 if (new_index >= buckets.size()) buckets.resize(new_index + 1, 0); in relax()
386 if (!buckets[new_index]) buckets[new_index] = new Bucket; in relax()
394 buckets[new_index]->splice(buckets[new_index]->end(), in relax()
400 buckets[new_index]->push_back(v); in relax()
404 position_in_bucket[get(local, v)] = buckets[new_index]->end(); in relax()
Dbetweenness_centrality.hpp537 BucketIndex new_index = static_cast<BucketIndex>(x / delta); in relax() local
540 if (new_index >= buckets.size()) buckets.resize(new_index + 1, 0); in relax()
543 if (!buckets[new_index]) buckets[new_index] = new Bucket; in relax()
551 buckets[new_index]->splice(buckets[new_index]->end(), in relax()
557 buckets[new_index]->push_back(v); in relax()
561 position_in_bucket[get(local, v)] = buckets[new_index]->end(); in relax()
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_instruction_export.cpp189 auto new_index = map[m_address->sel()]; in remap_registers_child() local
190 if (new_index.valid) in remap_registers_child()
191 m_address = values.get_or_inject(new_index.new_reg, m_address->chan()); in remap_registers_child()
326 auto new_index = map[m_index->sel()]; in remap_registers_child() local
327 if (new_index.valid) in remap_registers_child()
328 m_index = values.get_or_inject(new_index.new_reg, m_index->chan()); in remap_registers_child()
Dsfn_instruction_base.cpp86 auto new_index = m_map[reg->sel()]; in remap_one_registers() local
87 if (new_index.valid) in remap_one_registers()
88 reg = m_values.get_or_inject(new_index.new_reg, reg->chan()); in remap_one_registers()
Dsfn_instruction_alu.cpp131 auto new_index = map[reg->sel()]; in remap_one_registers() local
132 if (new_index.valid) in remap_one_registers()
133 reg = values.get_or_inject(new_index.new_reg, reg->chan()); in remap_one_registers()
Dsfn_shader_base.cpp172 auto new_index = map[sh_info.arrays[i].gpr_start]; in remap_shader_info() local
173 if (new_index.valid) in remap_shader_info()
174 sh_info.arrays[i].gpr_start = new_index.new_reg; in remap_shader_info()
183 auto new_index = map[sh_info.input[i].gpr]; in remap_shader_info() local
184 if (new_index.valid) in remap_shader_info()
185 sh_info.input[i].gpr = new_index.new_reg; in remap_shader_info()
191 auto new_index = map[sh_info.output[i].gpr]; in remap_shader_info() local
192 if (new_index.valid) in remap_shader_info()
193 sh_info.output[i].gpr = new_index.new_reg; in remap_shader_info()
233 int new_index = 0; in remap_registers() local
[all …]
Dsfn_nir_legalize_image_load_store.cpp59 auto new_index = nir_umin(b, ir->src[0].ssa, in r600_legalize_image_load_store_impl() local
61 nir_instr_rewrite_src_ssa(instr, &ir->src[0], new_index); in r600_legalize_image_load_store_impl()
/third_party/libwebsockets/lib/roles/h2/
Dhpack.c490 int new_index; in lws_dynamic_token_insert() local
505 new_index = lws_safe_modulo(dyn->pos, dyn->num_entries); in lws_dynamic_token_insert()
510 lws_dynamic_free(dyn, new_index); in lws_dynamic_token_insert()
533 dyn->entries[new_index].value_len = 0; in lws_dynamic_token_insert()
536 if (dyn->entries[new_index].value) in lws_dynamic_token_insert()
537 lws_free_set_NULL(dyn->entries[new_index].value); in lws_dynamic_token_insert()
538 dyn->entries[new_index].value = in lws_dynamic_token_insert()
540 if (!dyn->entries[new_index].value) in lws_dynamic_token_insert()
543 memcpy(dyn->entries[new_index].value, arg, len); in lws_dynamic_token_insert()
544 dyn->entries[new_index].value[len] = '\0'; in lws_dynamic_token_insert()
[all …]
/third_party/mesa3d/src/freedreno/ir3/
Dir3_merge_regs.c221 unsigned a_index = 0, b_index = 0, new_index = 0; in merge_merge_sets() local
222 for (; a_index < a->regs_count || b_index < b->regs_count; new_index++) { in merge_merge_sets()
226 new_regs[new_index] = b->regs[b_index++]; in merge_merge_sets()
227 new_regs[new_index]->merge_set_offset += b_offset; in merge_merge_sets()
229 new_regs[new_index] = a->regs[a_index++]; in merge_merge_sets()
231 new_regs[new_index]->merge_set = a; in merge_merge_sets()
234 assert(new_index == a->regs_count + b->regs_count); in merge_merge_sets()
/third_party/mesa3d/src/panfrost/bifrost/
Dbi_ra.c360 bi_index new_index = bi_register(solution + index.offset); in bi_reg_from_index() local
361 new_index.swizzle = index.swizzle; in bi_reg_from_index()
362 new_index.abs = index.abs; in bi_reg_from_index()
363 new_index.neg = index.neg; in bi_reg_from_index()
364 return new_index; in bi_reg_from_index()
/third_party/protobuf/src/google/protobuf/util/
Dmessage_differencer.cc800 specific_field.new_index = specific_field.index; in CompareWithFieldsInternal()
909 specific_field.new_index = index2; in IsMatch()
994 specific_field.new_index = j; in CompareRepeatedField()
1005 specific_field.new_index = i; in CompareRepeatedField()
1007 specific_field.new_index = match_list1[i]; in CompareRepeatedField()
1012 message1, message2, repeated_field, i, specific_field.new_index, in CompareRepeatedField()
1025 specific_field.index != specific_field.new_index && in CompareRepeatedField()
1047 specific_field.new_index = i; in CompareRepeatedField()
1103 specific_field.new_index = index2; in CompareFieldValueUsingParentFields()
1122 if (field_path[i].index != field_path[i].new_index) return true; in CheckPathChanged()
[all …]
/third_party/mesa3d/src/gallium/drivers/r600/sb/
Dsb_ssa_builder.cpp296 index = new_index(lds_oq_count, v); in rename_use()
329 index = new_index(lds_rw_count, v); in rename_def()
332 index = new_index(def_count, v); in rename_def()
397 unsigned ssa_rename::new_index(def_map& m, value* v) { in new_index() function in r600_sb::ssa_rename
/third_party/ffmpeg/libavcodec/
Dsnowdec.c123 int new_index = 0; in decode_subband_slice_buffered() local
132 new_index = save_state[0]; in decode_subband_slice_buffered()
140 v = b->x_coeff[new_index].coeff; in decode_subband_slice_buffered()
141 x = b->x_coeff[new_index++].x; in decode_subband_slice_buffered()
147 v = b->x_coeff[new_index].coeff; in decode_subband_slice_buffered()
148 x = b->x_coeff[new_index++].x; in decode_subband_slice_buffered()
153 save_state[0] = new_index; in decode_subband_slice_buffered()
/third_party/python/Objects/
Drangeobject.c1022 PyObject *product, *new_index, *result; in longrangeiter_next() local
1026 new_index = PyNumber_Add(r->index, _PyLong_GetOne()); in longrangeiter_next()
1027 if (!new_index) in longrangeiter_next()
1032 Py_DECREF(new_index); in longrangeiter_next()
1039 Py_SETREF(r->index, new_index); in longrangeiter_next()
1042 Py_DECREF(new_index); in longrangeiter_next()

123