Home
last modified time | relevance | path

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

/external/harfbuzz_ng/src/
Dhb-ot-map.cc34 void hb_ot_map_t::collect_lookups (unsigned int table_index, hb_set_t *lookups_out) const in collect_lookups() argument
36 for (unsigned int i = 0; i < lookups[table_index].len; i++) in collect_lookups()
37 hb_set_add (lookups_out, lookups[table_index][i].index); in collect_lookups()
59 for (unsigned int table_index = 0; table_index < 2; table_index++) { in hb_ot_map_builder_t() local
60 hb_tag_t table_tag = table_tags[table_index]; in hb_ot_map_builder_t()
61 …cript[table_index] = (bool) hb_ot_layout_table_choose_script (face, table_tag, script_tags, &scrip… in hb_ot_map_builder_t()
62 …ipt_find_language (face, table_tag, script_index[table_index], language_tag, &language_index[table… in hb_ot_map_builder_t()
84 unsigned int table_index, in add_lookups() argument
95 table_lookup_count = hb_ot_layout_table_get_lookup_count (face, table_tags[table_index]); in add_lookups()
101 table_tags[table_index], in add_lookups()
[all …]
Dhb-ot-map-private.hh102 inline unsigned int get_feature_index (unsigned int table_index, hb_tag_t feature_tag) const { in get_feature_index()
104 return map ? map->index[table_index] : HB_OT_LAYOUT_NO_FEATURE_INDEX; in get_feature_index()
107 inline unsigned int get_feature_stage (unsigned int table_index, hb_tag_t feature_tag) const { in get_feature_stage()
109 return map ? map->stage[table_index] : (unsigned int) -1; in get_feature_stage()
112 inline void get_stage_lookups (unsigned int table_index, unsigned int stage, in get_stage_lookups()
119 assert (stage <= stages[table_index].len); in get_stage_lookups()
120 unsigned int start = stage ? stages[table_index][stage - 1].last_lookup : 0; in get_stage_lookups()
121 …unsigned int end = stage < stages[table_index].len ? stages[table_index][stage].last_lookup : lo… in get_stage_lookups()
122 *plookups = end == start ? nullptr : &lookups[table_index][start]; in get_stage_lookups()
126 HB_INTERNAL void collect_lookups (unsigned int table_index, hb_set_t *lookups) const;
[all …]
Dhb-open-file-private.hh102 inline bool find_table_index (hb_tag_t tag, unsigned int *table_index) const in find_table_index()
109 if (table_index) in find_table_index()
110 *table_index = i == -1 ? Index::NOT_FOUND_INDEX : (unsigned int) i; in find_table_index()
115 unsigned int table_index; in get_table_by_tag() local
116 find_table_index (tag, &table_index); in get_table_by_tag()
117 return get_table (table_index); in get_table_by_tag()
Dhb-ot-shape-private.hh51 unsigned int table_index; in collect_lookups() local
53 case HB_OT_TAG_GSUB: table_index = 0; break; in collect_lookups()
54 case HB_OT_TAG_GPOS: table_index = 1; break; in collect_lookups()
57 map.collect_lookups (table_index, lookups); in collect_lookups()
Dhb-ot-layout.cc1027 static const unsigned int table_index = 0; member
1041 static const unsigned int table_index = 1; member
1182 if (Proxy::table_index == 0) in apply_string()
1199 if (Proxy::table_index == 0) in apply_string()
1213 const unsigned int table_index = proxy.table_index; in apply() local
1215 OT::hb_apply_context_t c (table_index, font, buffer); in apply()
1218 for (unsigned int stage_index = 0; stage_index < stages[table_index].len; stage_index++) { in apply()
1219 const stage_map_t *stage = &stages[table_index][stage_index]; in apply()
1222 unsigned int lookup_index = lookups[table_index][i].index; in apply()
1225 c.set_lookup_mask (lookups[table_index][i].mask); in apply()
[all …]
Dhb-ot-layout-gsubgpos-private.hh307 matcher.set_ignore_zwnj (c->table_index == 1 || (context_match && c->auto_zwnj)); in init()
309 matcher.set_ignore_zwj (c->table_index == 1 || (context_match || c->auto_zwj)); in init()
436 unsigned int table_index; /* GSUB/GPOS */ member
457 table_index (table_index_), in hb_apply_context_t()
/external/libopus/silk/
Dresampler_private_IIR_FIR.c45 opus_int32 table_index; in silk_resampler_private_IIR_FIR_INTERPOL() local
49 table_index = silk_SMULWB( index_Q16 & 0xFFFF, 12 ); in silk_resampler_private_IIR_FIR_INTERPOL()
52 …res_Q15 = silk_SMULBB( buf_ptr[ 0 ], silk_resampler_frac_FIR_12[ table_index ][ 0 ] … in silk_resampler_private_IIR_FIR_INTERPOL()
53 …res_Q15 = silk_SMLABB( res_Q15, buf_ptr[ 1 ], silk_resampler_frac_FIR_12[ table_index ][ 1 ] … in silk_resampler_private_IIR_FIR_INTERPOL()
54 …res_Q15 = silk_SMLABB( res_Q15, buf_ptr[ 2 ], silk_resampler_frac_FIR_12[ table_index ][ 2 ] … in silk_resampler_private_IIR_FIR_INTERPOL()
55 …res_Q15 = silk_SMLABB( res_Q15, buf_ptr[ 3 ], silk_resampler_frac_FIR_12[ table_index ][ 3 ] … in silk_resampler_private_IIR_FIR_INTERPOL()
56 …res_Q15 = silk_SMLABB( res_Q15, buf_ptr[ 4 ], silk_resampler_frac_FIR_12[ 11 - table_index ][ 3 ] … in silk_resampler_private_IIR_FIR_INTERPOL()
57 …res_Q15 = silk_SMLABB( res_Q15, buf_ptr[ 5 ], silk_resampler_frac_FIR_12[ 11 - table_index ][ 2 ] … in silk_resampler_private_IIR_FIR_INTERPOL()
58 …res_Q15 = silk_SMLABB( res_Q15, buf_ptr[ 6 ], silk_resampler_frac_FIR_12[ 11 - table_index ][ 1 ] … in silk_resampler_private_IIR_FIR_INTERPOL()
59 …res_Q15 = silk_SMLABB( res_Q15, buf_ptr[ 7 ], silk_resampler_frac_FIR_12[ 11 - table_index ][ 0 ] … in silk_resampler_private_IIR_FIR_INTERPOL()
/external/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()
/external/v8/src/wasm/
Dfunction-body-decoder-impl.h181 uint32_t table_index; member
188 table_index = decoder->checked_read_u8(pc, 1 + len, "table index"); in CallIndirectOperand()
189 if (table_index != 0) { in CallIndirectOperand()
191 table_index); in CallIndirectOperand()
Dmodule-decoder.cc571 uint32_t table_index = consume_u32v("table index"); in DecodeModule() local
572 if (table_index != 0) { in DecodeModule()
573 error(pos, pos, "illegal table index %u != 0", table_index); in DecodeModule()
576 if (table_index >= module->function_tables.size()) { in DecodeModule()
577 error(pos, pos, "out of bounds table index %u", table_index); in DecodeModule()
579 table = &module->function_tables[table_index]; in DecodeModule()
585 module->table_inits.push_back({table_index, offset, vector}); in DecodeModule()
Dwasm-module.cc909 int table_index = Smi::cast(dispatch_tables->get(i + 1))->value(); in UpdateDispatchTablesInternal() local
920 instance->module()->function_tables[table_index].map.FindOrInsert( in UpdateDispatchTablesInternal()
1134 DCHECK(table_init.table_index < table_instances_.size()); in Build()
1137 table_instances_[table_init.table_index].function_table->length(); in Build()
2006 int table_index = static_cast<int>(i + base); in LoadTableSegments() local
2009 table_instance.signature_table->set(table_index, in LoadTableSegments()
2011 table_instance.function_table->set(table_index, in LoadTableSegments()
2042 table_instance.js_wrappers->set(table_index, in LoadTableSegments()
2046 table_index, function, wasm_code); in LoadTableSegments()
Dwasm-text.cc137 DCHECK_EQ(0, operand.table_index); in PrintWasmText()
Dwasm-module.h116 uint32_t table_index; member
Dwasm-objects.h79 Handle<WasmInstanceObject> instance, int table_index,
Dwasm-objects.cc286 Handle<WasmInstanceObject> instance, int table_index, in DEFINE_OBJ_GETTER()
301 Smi::FromInt(table_index)); in DEFINE_OBJ_GETTER()
Dwasm-interpreter.cc872 InterpreterCode* GetIndirectCode(uint32_t table_index, uint32_t entry_index) { in GetIndirectCode() argument
873 if (table_index >= module_->function_tables.size()) return nullptr; in GetIndirectCode()
875 &module_->function_tables[table_index]; in GetIndirectCode()
/external/pdfium/third_party/libtiff/
Dtif_ojpeg.c394 static void OJPEGWriteStreamQTable(TIFF* tif, uint8 table_index, void** mem, uint32* len);
395 static void OJPEGWriteStreamDcTable(TIFF* tif, uint8 table_index, void** mem, uint32* len);
396 static void OJPEGWriteStreamAcTable(TIFF* tif, uint8 table_index, void** mem, uint32* len);
2236 OJPEGWriteStreamQTable(TIFF* tif, uint8 table_index, void** mem, uint32* len) in OJPEGWriteStreamQTable() argument
2239 if (sp->qtable[table_index]!=0) in OJPEGWriteStreamQTable()
2241 *mem=(void*)(sp->qtable[table_index]+sizeof(uint32)); in OJPEGWriteStreamQTable()
2242 *len=*((uint32*)sp->qtable[table_index])-sizeof(uint32); in OJPEGWriteStreamQTable()
2248 OJPEGWriteStreamDcTable(TIFF* tif, uint8 table_index, void** mem, uint32* len) in OJPEGWriteStreamDcTable() argument
2251 if (sp->dctable[table_index]!=0) in OJPEGWriteStreamDcTable()
2253 *mem=(void*)(sp->dctable[table_index]+sizeof(uint32)); in OJPEGWriteStreamDcTable()
[all …]
/external/mesa3d/src/mesa/main/
Dtexcompress_etc.c64 uint8_t table_index; member
559 modifier = etc2_modifier_tables[block->table_index][idx]; in etc2_alpha8_fetch_texel()
572 modifier = etc2_modifier_tables[block->table_index][idx]; in etc2_r11_fetch_texel()
603 modifier = etc2_modifier_tables[block->table_index][idx]; in etc2_signed_r11_fetch_texel()
633 block->table_index = src[1] & 0xf; in etc2_alpha8_parse_block()
/external/freetype/include/freetype/
Dtttables.h790 FT_UInt table_index,
/external/e2fsprogs/misc/
De2image.c1082 __u32 table_index; in update_refcount() local
1086 table_index = offset >> (2 * img->cluster_bits - 1); in update_refcount()
1092 if (table_index != ref->refcount_table_index) { in update_refcount()
1104 ref->refcount_table_index = table_index; in update_refcount()
/external/webrtc/webrtc/modules/video_coding/
Dqm_select.cc587 uint8_t table_index = image_class * 9 + content_class_; in GetTransitionRate() local
590 float scaleTransRate = kScaleTransRateQm[table_index]; in GetTransitionRate()
/external/swiftshader/src/Renderer/
DETC_Decoder.cpp328 unsigned char table_index : 4; member
671 return modifierTable[table_index][getSingleChannelIndex(x, y)]; in getSingleChannelModifier()
/external/v8/src/compiler/
Dwasm-compiler.cc2297 uint32_t table_index = 0; in CallIndirect() local
2300 DCHECK(module_->IsValidTable(table_index)); in CallIndirect()
2307 Node* size = function_table_sizes_[table_index]; in CallIndirect()
2310 Node* table = function_tables_[table_index]; in CallIndirect()
2311 Node* signatures = signature_tables_[table_index]; in CallIndirect()
/external/freetype/src/base/
Dftobjs.c4158 FT_UInt table_index, in FT_Sfnt_Table_Info() argument
4175 return service->table_info( face, table_index, tag, &offset, length ); in FT_Sfnt_Table_Info()
/external/freetype/
DChangeLog.236570 (gxv_morx_subtable_type5_InsertList_validate): s/index/table_index/.