Home
last modified time | relevance | path

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

123

/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/otvalid/
Dotvmath.c51 FT_UInt table_size; in otv_MathConstants_validate() local
60 table_size = 2 * ( 56 + 51 ); in otv_MathConstants_validate()
91 FT_UInt i, cnt, table_size ; in otv_MathItalicsCorrectionInfo_validate() local
108 table_size = 4 + 4 * cnt; in otv_MathItalicsCorrectionInfo_validate()
139 FT_UInt i, cnt, table_size; in otv_MathKern_validate() local
151 table_size = 4 + 4 * cnt; in otv_MathKern_validate()
182 FT_UInt i, j, cnt, table_size; in otv_MathKernInfo_validate() local
196 table_size = 4 + 8 * cnt; in otv_MathKernInfo_validate()
278 FT_UInt pcnt, table_size; in otv_GlyphAssembly_validate() local
293 table_size = 6 + 8 * pcnt; in otv_GlyphAssembly_validate()
[all …]
Dotvbase.c126 FT_UInt table_size; in otv_MinMax_validate() local
143 table_size = FeatMinMaxCount * 8 + 6; in otv_MinMax_validate()
181 FT_UInt table_size; in otv_BaseScript_validate() local
197 table_size = BaseLangSysCount * 6 + 6; in otv_BaseScript_validate()
256 FT_UInt table_size; in otv_Axis_validate() local
266 table_size = 4; in otv_Axis_validate()
286 FT_UInt table_size; in otv_BASE_validate() local
302 table_size = 6; in otv_BASE_validate()
Dotvjstf.c46 FT_UInt table_size; in otv_JstfPriority_validate() local
69 table_size = 20; in otv_JstfPriority_validate()
152 FT_UInt table_size; in otv_JstfScript_validate() local
168 table_size = JstfLangSysCount * 6 + 6; in otv_JstfScript_validate()
Dotvgdef.c156 FT_UInt table_size; in otv_GDEF_validate() local
185 table_size = 12; /* OpenType >= 1.2 */ in otv_GDEF_validate()
187 table_size = 10; /* OpenType < 1.2 */ in otv_GDEF_validate()
Dotvgpos.c63 FT_UInt Count, count1, table_size; in otv_x_sxy() local
76 table_size = Count * otvalid->extra1 * 2 + 2; in otv_x_sxy()
212 FT_PtrDist table_size; in otv_ValueRecord_validate() local
225 table_size = p - otvalid->extra3; in otv_ValueRecord_validate()
274 FT_UInt table_size; in otv_Anchor_validate() local
284 table_size = 6 + 4; in otv_Anchor_validate()
597 FT_UInt table_size; in otv_CursivePos_validate() local
616 table_size = EntryExitCount * 4 + 4; in otv_CursivePos_validate()
/external/pdfium/third_party/freetype/src/sfnt/
Dttmtx.c62 FT_ULong tag, table_size; in tt_face_load_hmtx() local
80 error = face->goto_table( face, tag, stream, &table_size ); in tt_face_load_hmtx()
84 *ptable_size = table_size; in tt_face_load_hmtx()
214 FT_ULong table_pos, table_size, table_end; in tt_face_get_metrics() local
225 table_size = face->vert_metrics_size; in tt_face_get_metrics()
231 table_size = face->horz_metrics_size; in tt_face_get_metrics()
234 table_end = table_pos + table_size; in tt_face_get_metrics()
Dttkern.c48 FT_ULong table_size; in tt_face_load_kern() local
56 error = face->goto_table( face, TTAG_kern, stream, &table_size ); in tt_face_load_kern()
60 if ( table_size < 4 ) /* the case of a malformed table */ in tt_face_load_kern()
68 if ( FT_FRAME_EXTRACT( table_size, face->kern_table ) ) in tt_face_load_kern()
75 face->kern_table_size = table_size; in tt_face_load_kern()
78 p_limit = p + table_size; in tt_face_load_kern()
Dttsbit.c50 FT_ULong table_size; in tt_face_load_sbit() local
58 error = face->goto_table( face, TTAG_CBLC, stream, &table_size ); in tt_face_load_sbit()
63 error = face->goto_table( face, TTAG_EBLC, stream, &table_size ); in tt_face_load_sbit()
65 error = face->goto_table( face, TTAG_bloc, stream, &table_size ); in tt_face_load_sbit()
72 error = face->goto_table( face, TTAG_sbix, stream, &table_size ); in tt_face_load_sbit()
79 if ( table_size < 8 ) in tt_face_load_sbit()
97 if ( FT_FRAME_EXTRACT( table_size, face->sbit_table ) ) in tt_face_load_sbit()
100 face->sbit_table_size = table_size; in tt_face_load_sbit()
124 if ( 8 + 48UL * count > table_size ) in tt_face_load_sbit()
125 count = (FT_UInt)( ( table_size - 8 ) / 48 ); in tt_face_load_sbit()
[all …]
/external/freetype/src/sfnt/
Dttmtx.c62 FT_ULong tag, table_size; in tt_face_load_hmtx() local
80 error = face->goto_table( face, tag, stream, &table_size ); in tt_face_load_hmtx()
84 *ptable_size = table_size; in tt_face_load_hmtx()
214 FT_ULong table_pos, table_size, table_end; in tt_face_get_metrics() local
225 table_size = face->vert_metrics_size; in tt_face_get_metrics()
231 table_size = face->horz_metrics_size; in tt_face_get_metrics()
234 table_end = table_pos + table_size; in tt_face_get_metrics()
Dttkern.c48 FT_ULong table_size; in tt_face_load_kern() local
56 error = face->goto_table( face, TTAG_kern, stream, &table_size ); in tt_face_load_kern()
60 if ( table_size < 4 ) /* the case of a malformed table */ in tt_face_load_kern()
68 if ( FT_FRAME_EXTRACT( table_size, face->kern_table ) ) in tt_face_load_kern()
75 face->kern_table_size = table_size; in tt_face_load_kern()
78 p_limit = p + table_size; in tt_face_load_kern()
Dttsbit.c50 FT_ULong table_size; in tt_face_load_sbit() local
58 error = face->goto_table( face, TTAG_CBLC, stream, &table_size ); in tt_face_load_sbit()
63 error = face->goto_table( face, TTAG_EBLC, stream, &table_size ); in tt_face_load_sbit()
65 error = face->goto_table( face, TTAG_bloc, stream, &table_size ); in tt_face_load_sbit()
72 error = face->goto_table( face, TTAG_sbix, stream, &table_size ); in tt_face_load_sbit()
79 if ( table_size < 8 ) in tt_face_load_sbit()
97 if ( FT_FRAME_EXTRACT( table_size, face->sbit_table ) ) in tt_face_load_sbit()
100 face->sbit_table_size = table_size; in tt_face_load_sbit()
124 if ( 8 + 48UL * count > table_size ) in tt_face_load_sbit()
125 count = (FT_UInt)( ( table_size - 8 ) / 48 ); in tt_face_load_sbit()
[all …]
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/sfnt/
Dttmtx.c62 FT_ULong tag, table_size; in tt_face_load_hmtx() local
80 error = face->goto_table( face, tag, stream, &table_size ); in tt_face_load_hmtx()
84 *ptable_size = table_size; in tt_face_load_hmtx()
214 FT_ULong table_pos, table_size, table_end; in tt_face_get_metrics() local
225 table_size = face->vert_metrics_size; in tt_face_get_metrics()
231 table_size = face->horz_metrics_size; in tt_face_get_metrics()
234 table_end = table_pos + table_size; in tt_face_get_metrics()
Dttkern.c48 FT_ULong table_size; in tt_face_load_kern() local
56 error = face->goto_table( face, TTAG_kern, stream, &table_size ); in tt_face_load_kern()
60 if ( table_size < 4 ) /* the case of a malformed table */ in tt_face_load_kern()
68 if ( FT_FRAME_EXTRACT( table_size, face->kern_table ) ) in tt_face_load_kern()
75 face->kern_table_size = table_size; in tt_face_load_kern()
78 p_limit = p + table_size; in tt_face_load_kern()
Dttsbit.c50 FT_ULong table_size; in tt_face_load_sbit() local
58 error = face->goto_table( face, TTAG_CBLC, stream, &table_size ); in tt_face_load_sbit()
63 error = face->goto_table( face, TTAG_EBLC, stream, &table_size ); in tt_face_load_sbit()
65 error = face->goto_table( face, TTAG_bloc, stream, &table_size ); in tt_face_load_sbit()
72 error = face->goto_table( face, TTAG_sbix, stream, &table_size ); in tt_face_load_sbit()
79 if ( table_size < 8 ) in tt_face_load_sbit()
97 if ( FT_FRAME_EXTRACT( table_size, face->sbit_table ) ) in tt_face_load_sbit()
100 face->sbit_table_size = table_size; in tt_face_load_sbit()
125 if ( 8 + 48UL * count > table_size ) in tt_face_load_sbit()
126 count = (FT_UInt)( ( table_size - 8 ) / 48 ); in tt_face_load_sbit()
[all …]
/external/bison/src/
Dtables.c124 static int table_size = 32768; variable
147 int old_size = table_size; in table_grow()
149 while (table_size <= desired) in table_grow()
150 table_size *= 2; in table_grow()
154 old_size, table_size); in table_grow()
156 table = xnrealloc (table, table_size, sizeof *table); in table_grow()
157 conflict_table = xnrealloc (conflict_table, table_size, in table_grow()
159 check = xnrealloc (check, table_size, sizeof *check); in table_grow()
161 for (/* Nothing. */; old_size < table_size; ++old_size) in table_grow()
693 aver (j < table_size); in pack_vector()
[all …]
/external/webp/src/utils/
Dhuffman.c148 int table_size = 1 << table_bits; // size of current table in VP8LBuildHuffmanTable() local
163 ReplicateValue(&table[key], step, table_size, code); in VP8LBuildHuffmanTable()
181 table += table_size; in VP8LBuildHuffmanTable()
183 table_size = 1 << table_bits; in VP8LBuildHuffmanTable()
184 total_size += table_size; in VP8LBuildHuffmanTable()
191 ReplicateValue(&table[key >> root_bits], step, table_size, code); in VP8LBuildHuffmanTable()
/external/libcxx/test/std/numerics/rand/rand.adapt/rand.adapt.shuf/
Dvalues.pass.cpp35 static_assert(E::table_size == 256, ""); in test1()
38 where(E::table_size); in test1()
/external/freetype/src/truetype/
Dttpload.c490 FT_ULong table_size, record_size; in tt_face_load_hdmx() local
496 error = face->goto_table( face, TTAG_hdmx, stream, &table_size ); in tt_face_load_hdmx()
497 if ( error || table_size < 8 ) in tt_face_load_hdmx()
500 if ( FT_FRAME_EXTRACT( table_size, face->hdmx_table ) ) in tt_face_load_hdmx()
504 limit = p + table_size; in tt_face_load_hdmx()
547 face->hdmx_table_size = table_size; in tt_face_load_hdmx()
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/truetype/
Dttpload.c504 FT_ULong table_size, record_size; in tt_face_load_hdmx() local
510 error = face->goto_table( face, TTAG_hdmx, stream, &table_size ); in tt_face_load_hdmx()
511 if ( error || table_size < 8 ) in tt_face_load_hdmx()
514 if ( FT_FRAME_EXTRACT( table_size, face->hdmx_table ) ) in tt_face_load_hdmx()
518 limit = p + table_size; in tt_face_load_hdmx()
561 face->hdmx_table_size = table_size; in tt_face_load_hdmx()
/external/pdfium/third_party/freetype/src/truetype/
Dttpload.c498 FT_ULong table_size, record_size; in tt_face_load_hdmx() local
504 error = face->goto_table( face, TTAG_hdmx, stream, &table_size ); in tt_face_load_hdmx()
505 if ( error || table_size < 8 ) in tt_face_load_hdmx()
508 if ( FT_FRAME_EXTRACT( table_size, face->hdmx_table ) ) in tt_face_load_hdmx()
512 limit = p + table_size; in tt_face_load_hdmx()
555 face->hdmx_table_size = table_size; in tt_face_load_hdmx()
/external/mesa3d/src/gallium/auxiliary/util/
Du_linkage.h57 util_semantic_table_from_layout(unsigned char *table, size_t table_size, unsigned char *layout, in util_semantic_table_from_layout() argument
61 memset(table, 0xff, table_size); in util_semantic_table_from_layout()
/external/libunwind/src/ia64/
DGtables.c86 unw_word_t table, size_t table_size, unw_word_t rel_ip, in remote_lookup() argument
95 for (lo = 0, hi = table_size / sizeof (struct ia64_table_entry); lo < hi;) in remote_lookup()
145 size_t table_size; in _Uia64_find_dyn_list() local
157 table_size = di->u.ti.table_len * sizeof (di->u.ti.table_data[0]); in _Uia64_find_dyn_list()
159 if (table_size < sizeof (struct ia64_table_entry)) in _Uia64_find_dyn_list()
171 table_size = di->u.rti.table_len * sizeof (unw_word_t); in _Uia64_find_dyn_list()
173 if (table_size < sizeof (struct ia64_table_entry)) in _Uia64_find_dyn_list()
228 lookup (struct ia64_table_entry *table, size_t table_size, unw_word_t rel_ip) in lookup() argument
234 for (lo = 0, hi = table_size / sizeof (struct ia64_table_entry); lo < hi;) in lookup()
/external/v8/src/wasm/
Dwasm-module.cc100 int table_size = static_cast<int>(functions->size()); in Link() local
101 DCHECK_EQ(function_table->length(), table_size * 2); in Link()
102 for (int i = 0; i < table_size; i++) { in Link()
103 function_table->set(i + table_size, *function_code_[functions->at(i)]); in Link()
186 int table_size = static_cast<int>(module->function_table->size()); in BuildFunctionTable() local
187 Handle<FixedArray> fixed = isolate->factory()->NewFixedArray(2 * table_size); in BuildFunctionTable()
188 for (int i = 0; i < table_size; i++) { in BuildFunctionTable()
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/gxvalid/
Dgxvcommn.h156 (*GXV_StateTable_Subtable_Setup_Func)( FT_UShort table_size,
198 (*GXV_XStateTable_Subtable_Setup_Func)( FT_ULong table_size,
435 gxv_StateTable_subtable_setup( FT_UShort table_size,
445 gxv_XStateTable_subtable_setup( FT_ULong table_size,
Dgxvmorx5.c82 gxv_morx_subtable_type5_subtable_setup( FT_ULong table_size, in gxv_morx_subtable_type5_subtable_setup() argument
108 gxv_set_length_by_ulong_offset( o, l, buff, 4, table_size, gxvalid ); in gxv_morx_subtable_type5_subtable_setup()

123