Home
last modified time | relevance | path

Searched refs:table_index (Results 1 – 25 of 40) sorted by relevance

12

/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-ot-map.cc38 void hb_ot_map_t::collect_lookups (unsigned int table_index, hb_set_t *lookups_out) const in collect_lookups() argument
40 for (unsigned int i = 0; i < lookups[table_index].length; i++) in collect_lookups()
41 lookups_out->add (lookups[table_index][i].index); in collect_lookups()
51 for (unsigned int table_index = 0; table_index < 2; table_index++) in hb_ot_map_builder_t() local
52 stages[table_index].init (); in hb_ot_map_builder_t()
72 for (unsigned int table_index = 0; table_index < 2; table_index++) in hb_ot_map_builder_t() local
74 hb_tag_t table_tag = table_tags[table_index]; in hb_ot_map_builder_t()
75 found_script[table_index] = (bool) hb_ot_layout_table_select_script (face, in hb_ot_map_builder_t()
79 &script_index[table_index], in hb_ot_map_builder_t()
80 &chosen_script[table_index]); in hb_ot_map_builder_t()
[all …]
Dhb-ot-map.hh91 for (unsigned int table_index = 0; table_index < 2; table_index++) in init() local
93 lookups[table_index].init (); in init()
94 stages[table_index].init (); in init()
100 for (unsigned int table_index = 0; table_index < 2; table_index++) in fini() local
102 lookups[table_index].fini (); in fini()
103 stages[table_index].fini (); in fini()
128 unsigned int get_feature_index (unsigned int table_index, hb_tag_t feature_tag) const in get_feature_index()
131 return map ? map->index[table_index] : HB_OT_LAYOUT_NO_FEATURE_INDEX; in get_feature_index()
134 unsigned int get_feature_stage (unsigned int table_index, hb_tag_t feature_tag) const in get_feature_stage()
137 return map ? map->stage[table_index] : UINT_MAX; in get_feature_stage()
[all …]
Dhb-ot-shape.hh44 for (unsigned int table_index = 0; table_index < 2; table_index++) in init() local
46 table_tags[table_index], in init()
49 &variations_index[table_index]); in init()
128 unsigned int table_index; in collect_lookups() local
130 case HB_OT_TAG_GSUB: table_index = 0; break; in collect_lookups()
131 case HB_OT_TAG_GPOS: table_index = 1; break; in collect_lookups()
134 map.collect_lookups (table_index, lookups); in collect_lookups()
Dhb-open-file.hh100 bool find_table_index (hb_tag_t tag, unsigned int *table_index) const in find_table_index()
108 return tables.lfind (t, table_index, HB_NOT_FOUND_STORE, Index::NOT_FOUND_INDEX); in find_table_index()
110 return tables.bfind (t, table_index, HB_NOT_FOUND_STORE, Index::NOT_FOUND_INDEX); in find_table_index()
114 unsigned int table_index; in get_table_by_tag() local
115 find_table_index (tag, &table_index); in get_table_by_tag()
116 return get_table (table_index); in get_table_by_tag()
Dhb-ot-layout.cc1797 static constexpr unsigned table_index = 0u; member
1811 static constexpr unsigned table_index = 1u; member
1909 const unsigned int table_index = proxy.table_index; in apply() local
1911 OT::hb_ot_apply_context_t c (table_index, font, buffer); in apply()
1914 for (unsigned int stage_index = 0; stage_index < stages[table_index].length; stage_index++) in apply()
1916 const stage_map_t *stage = &stages[table_index][stage_index]; in apply()
1919 unsigned int lookup_index = lookups[table_index][i].index; in apply()
1922 c.set_lookup_mask (lookups[table_index][i].mask); in apply()
1923 c.set_auto_zwj (lookups[table_index][i].auto_zwj); in apply()
1924 c.set_auto_zwnj (lookups[table_index][i].auto_zwnj); in apply()
[all …]
/third_party/lame/libmp3lame/
Dtables.c539 lame_get_bitrate(int mpeg_version, int table_index) in lame_get_bitrate() argument
542 if (0 <= table_index && table_index <= 15) { in lame_get_bitrate()
543 return bitrate_table[mpeg_version][table_index]; in lame_get_bitrate()
550 lame_get_samplerate(int mpeg_version, int table_index) in lame_get_samplerate() argument
553 if (0 <= table_index && table_index <= 3) { in lame_get_samplerate()
554 return samplerate_table[mpeg_version][table_index]; in lame_get_samplerate()
/third_party/ffmpeg/libavcodec/
Dvlc.c140 int table_size, table_index; in build_table() local
146 table_index = alloc_table(vlc, table_size, flags & INIT_VLC_USE_NEW_STATIC); in build_table()
147 ff_dlog(NULL, "new table index=%d size=%d\n", table_index, table_size); in build_table()
148 if (table_index < 0) in build_table()
149 return table_index; in build_table()
150 table = &vlc->table[table_index]; in build_table()
210 table = &vlc->table[table_index]; in build_table()
225 return table_index; in build_table()
Dintrax8.c102 int table_index; in x8_select_ac_table() local
109 table_index = get_bits(w->gb, 3); in x8_select_ac_table()
111 w->j_ac_vlc[mode] = &j_ac_vlc[w->quant < 13][mode >> 1][table_index]; in x8_select_ac_table()
118 int table_index = get_bits(w->gb, 1 + (w->quant < 13)); in x8_get_orient_vlc() local
119 w->j_orient_vlc = &j_orient_vlc[w->quant < 13][table_index]; in x8_get_orient_vlc()
259 int table_index = get_bits(w->gb, 3); in x8_get_dc_rlf() local
261 w->j_dc_vlc[mode] = &j_dc_vlc[w->quant < 13][table_index]; in x8_get_dc_rlf()
Dvc1_pred.c41 int table_index = dir ^ v->second_field; in scaleforsame_x() local
49 scalesame1 = ff_vc1_field_mvpred_scales[table_index][1][refdist]; in scaleforsame_x()
50 scalesame2 = ff_vc1_field_mvpred_scales[table_index][2][refdist]; in scaleforsame_x()
51 scalezone1_x = ff_vc1_field_mvpred_scales[table_index][3][refdist]; in scaleforsame_x()
52 zone1offset_x = ff_vc1_field_mvpred_scales[table_index][5][refdist]; in scaleforsame_x()
74 int table_index = dir ^ v->second_field; in scaleforsame_y() local
82 scalesame1 = ff_vc1_field_mvpred_scales[table_index][1][refdist]; in scaleforsame_y()
83 scalesame2 = ff_vc1_field_mvpred_scales[table_index][2][refdist]; in scaleforsame_y()
84 scalezone1_y = ff_vc1_field_mvpred_scales[table_index][4][refdist]; in scaleforsame_y()
85 zone1offset_y = ff_vc1_field_mvpred_scales[table_index][6][refdist]; in scaleforsame_y()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_atom_msaa.c74 int table_index = sample_index; in update_sample_locations() local
78 table_index = pixel * samples + sample_index; in update_sample_locations()
80 x = fb->SampleLocationTable[table_index*2]; in update_sample_locations()
81 y = fb->SampleLocationTable[table_index*2+1]; in update_sample_locations()
/third_party/node/deps/v8/src/wasm/
Dmodule-instantiate.cc362 Handle<WasmInstanceObject> instance, int table_index, int import_index,
367 int import_index, int table_index,
715 for (int table_index = 0; in Build() local
716 table_index < static_cast<int>(module_->tables.size()); ++table_index) { in Build()
717 const WasmTable& table = module_->tables[table_index]; in Build()
721 instance, table_index, table.initial_size); in Build()
724 WasmTableObject::cast(instance->tables().get(table_index)), isolate_); in Build()
726 table_index); in Build()
1219 Handle<WasmInstanceObject> instance, int table_index, int import_index, in InitializeImportedIndirectFunctionTable() argument
1224 instance, table_index, imported_table_size); in InitializeImportedIndirectFunctionTable()
[all …]
Dwasm-module-builder.h273 WasmElemSegment(Zone* zone, ValueType type, uint32_t table_index, in WasmElemSegment() argument
276 table_index(table_index), in WasmElemSegment()
287 table_index(0), in WasmElemSegment()
296 uint32_t table_index; variable
328 void SetIndirectFunction(uint32_t table_index, uint32_t index_in_table,
335 uint32_t IncreaseTableMinSize(uint32_t table_index, uint32_t count);
Dwasm-objects.cc237 int table_index) { in AddDispatchTable() argument
253 Smi::FromInt(table_index)); in AddDispatchTable()
299 int table_index = in Grow() local
306 instance->GetIndirectFunctionTable(isolate, table_index)->size()); in Grow()
308 instance, table_index, new_size); in Grow()
502 int table_index = in UpdateDispatchTables() local
522 instance.indirect_function_tables().get(table_index)); in UpdateDispatchTables()
538 int table_index = in UpdateDispatchTables() local
545 isolate, instance, table_index, entry_index, function); in UpdateDispatchTables()
577 int table_index = in UpdateDispatchTables() local
[all …]
Dwasm-module.h221 WasmElemSegment(ValueType type, uint32_t table_index, in WasmElemSegment()
225 table_index(table_index), in WasmElemSegment()
232 : status(status), type(type), table_index(0), element_type(element_type) { in WasmElemSegment()
240 table_index(0), in WasmElemSegment()
250 uint32_t table_index; member
Dwasm-module-builder.cc343 uint32_t WasmModuleBuilder::IncreaseTableMinSize(uint32_t table_index, in IncreaseTableMinSize() argument
345 DCHECK_LT(table_index, tables_.size()); in IncreaseTableMinSize()
346 uint32_t old_min_size = tables_[table_index].min_size; in IncreaseTableMinSize()
350 tables_[table_index].min_size = old_min_size + count; in IncreaseTableMinSize()
351 tables_[table_index].max_size = in IncreaseTableMinSize()
352 std::max(old_min_size + count, tables_[table_index].max_size); in IncreaseTableMinSize()
378 uint32_t table_index, uint32_t index_in_table, in SetIndirectFunction() argument
381 WasmElemSegment segment(zone_, kWasmFuncRef, table_index, in SetIndirectFunction()
797 buffer->write_u32v(segment.table_index); in WriteTo()
Dmodule-instantiate.h41 uint32_t table_index, uint32_t segment_index, uint32_t dst,
Dwasm-objects.h184 Handle<WasmInstanceObject> instance, int table_index);
455 Handle<WasmInstanceObject> instance, int table_index,
465 Isolate*, uint32_t table_index);
481 uint32_t table_index, uint32_t segment_index,
509 int table_index, int entry_index,
/third_party/node/deps/v8/src/builtins/
Dgenerate-bytecodes-builtins-list.cc19 int table_index) { in WriteBytecode() argument
34 offset_table[table_index] = *count; in WriteBytecode()
37 offset_table[table_index] = kIllegalBytecodeHandler; in WriteBytecode()
/third_party/node/deps/v8/src/runtime/
Druntime-wasm.cc415 uint32_t table_index = args.positive_smi_value_at(1); in RUNTIME_FUNCTION() local
417 DCHECK_LT(table_index, instance->tables().length()); in RUNTIME_FUNCTION()
419 WasmTableObject::cast(instance->tables().get(table_index)), isolate); in RUNTIME_FUNCTION()
439 uint32_t table_index = args.positive_smi_value_at(1); in RUNTIME_FUNCTION() local
444 DCHECK_LT(table_index, instance->tables().length()); in RUNTIME_FUNCTION()
446 WasmTableObject::cast(instance->tables().get(table_index)), isolate); in RUNTIME_FUNCTION()
466 uint32_t table_index = args.positive_smi_value_at(1); in RUNTIME_FUNCTION() local
478 isolate, instance, table_index, elem_segment_index, dst, src, count); in RUNTIME_FUNCTION()
510 uint32_t table_index = args.positive_smi_value_at(1); in RUNTIME_FUNCTION() local
517 WasmTableObject::cast(instance->tables().get(table_index)), isolate); in RUNTIME_FUNCTION()
[all …]
/third_party/skia/third_party/externals/freetype/src/gxvalid/
Dgxvmorx5.c113 gxv_morx_subtable_type5_InsertList_validate( FT_UShort table_index, in gxv_morx_subtable_type5_InsertList_validate() argument
119 FT_Bytes p = table + table_index * 2; in gxv_morx_subtable_type5_InsertList_validate()
125 while ( p < table + count * 2 + table_index * 2 ) in gxv_morx_subtable_type5_InsertList_validate()
/third_party/node/deps/v8/src/compiler/
Dwasm-compiler.h354 Node* CallIndirect(uint32_t table_index, uint32_t sig_index,
363 Node* ReturnCallIndirect(uint32_t table_index, uint32_t sig_index,
381 Node* TableGet(uint32_t table_index, Node* index,
383 void TableSet(uint32_t table_index, Node* index, Node* val,
473 void TableInit(uint32_t table_index, uint32_t elem_segment_index, Node* dst,
478 Node* TableGrow(uint32_t table_index, Node* value, Node* delta);
479 Node* TableSize(uint32_t table_index);
480 void TableFill(uint32_t table_index, Node* start, Node* value, Node* count);
610 void LoadIndirectFunctionTable(uint32_t table_index, Node** ift_size,
613 Node* BuildIndirectCall(uint32_t table_index, uint32_t sig_index,
/third_party/ffmpeg/libavfilter/
Daf_apsyclip.c131 int table_index = 0; in generate_spread_table() local
137 int base_idx = table_index * s->num_psy_bins; in generate_spread_table()
162 s->spread_table_range[table_index][0] = start_bin - bin; in generate_spread_table()
163 s->spread_table_range[table_index][1] = end_bin - bin; in generate_spread_table()
178 s->spread_table_index[i] = table_index; in generate_spread_table()
181 table_index++; in generate_spread_table()
/third_party/skia/third_party/externals/freetype/src/sfnt/
Dsfwoff2.c2002 FT_UShort table_index; in woff2_open_font() local
2006 if ( READ_255USHORT( table_index ) ) in woff2_open_font()
2009 FT_TRACE6(( "%hu ", table_index )); in woff2_open_font()
2010 if ( table_index >= woff2.num_tables ) in woff2_open_font()
2017 ttc_font->table_indices[j] = table_index; in woff2_open_font()
2019 table = indices[table_index]; in woff2_open_font()
2021 loca_index = table_index; in woff2_open_font()
2023 glyf_index = table_index; in woff2_open_font()
/third_party/mesa3d/src/mesa/main/
Dtexcompress_etc.c65 uint8_t table_index; member
562 modifier = etc2_modifier_tables[block->table_index][idx]; in etc2_alpha8_fetch_texel()
575 modifier = etc2_modifier_tables[block->table_index][idx]; in etc2_r11_fetch_texel()
606 modifier = etc2_modifier_tables[block->table_index][idx]; in etc2_signed_r11_fetch_texel()
636 block->table_index = src[1] & 0xf; in etc2_alpha8_parse_block()
/third_party/skia/third_party/externals/freetype/include/freetype/
Dtttables.h799 FT_UInt table_index,

12