Home
last modified time | relevance | path

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

/AliOS-Things-master/components/freetype/src/otvalid/
A 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()
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()
319 FT_UInt vcnt, table_size; in otv_MathGlyphConstruction_validate() local
[all …]
A 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()
A 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()
A 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()
A Dotvgpos.c63 FT_UInt Count, count1, table_size; in otv_x_sxy() local
76 table_size = Count * valid->extra1 * 2 + 2; in otv_x_sxy()
212 FT_PtrDist table_size; in otv_ValueRecord_validate() local
225 table_size = p - valid->extra3; in otv_ValueRecord_validate()
274 FT_UInt table_size; in otv_Anchor_validate() local
284 table_size = 6 + 4; in otv_Anchor_validate()
595 FT_UInt table_size; in otv_CursivePos_validate() local
612 table_size = EntryExitCount * 4 + 4; in otv_CursivePos_validate()
A Dotvcommn.h90 if ( _size > 0 && _size < table_size ) \
/AliOS-Things-master/components/freetype/src/sfnt/
A 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()
A 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()
A Dttsbit.c50 FT_ULong table_size; in tt_face_load_sbit() local
79 if ( table_size < 8 ) 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()
164 if ( 8 + 4UL * count > table_size ) in tt_face_load_sbit()
165 count = (FT_UInt)( ( table_size - 8 ) / 4 ); in tt_face_load_sbit()
261 FT_ULong table_size; in tt_face_load_strike_metrics() local
274 if ( offset + 4 > table_size ) in tt_face_load_strike_metrics()
1251 FT_ULong table_size; in tt_face_load_sbix_image() local
[all …]
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/utils/
A Dhuffman_utils.c144 int table_size = 1 << table_bits; // size of current table in BuildHuffmanTable() local
158 ReplicateValue(&table[key], step, table_size, code); in BuildHuffmanTable()
175 table += table_size; in BuildHuffmanTable()
177 table_size = 1 << table_bits; in BuildHuffmanTable()
178 total_size += table_size; in BuildHuffmanTable()
185 ReplicateValue(&table[key >> root_bits], step, table_size, code); in BuildHuffmanTable()
/AliOS-Things-master/components/freetype/src/truetype/
A 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()
545 face->hdmx_table_size = table_size; in tt_face_load_hdmx()
/AliOS-Things-master/components/freetype/src/gxvalid/
A 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,
A Dgxvmorx5.c81 gxv_morx_subtable_type5_subtable_setup( FT_ULong table_size, in gxv_morx_subtable_type5_subtable_setup() argument
107 gxv_set_length_by_ulong_offset( o, l, buff, 4, table_size, valid ); in gxv_morx_subtable_type5_subtable_setup()
A Dgxvmort5.c66 gxv_mort_subtable_type5_subtable_setup( FT_UShort table_size, in gxv_mort_subtable_type5_subtable_setup() argument
79 gxv_StateTable_subtable_setup( table_size, in gxv_mort_subtable_type5_subtable_setup()
A Dgxvmort1.c70 gxv_mort_subtable_type1_subtable_setup( FT_UShort table_size, in gxv_mort_subtable_type1_subtable_setup() argument
96 gxv_set_length_by_ushort_offset( o, l, buff, 4, table_size, valid ); in gxv_mort_subtable_type1_subtable_setup()
A Dgxvmorx1.c72 gxv_morx_subtable_type1_subtable_setup( FT_ULong table_size, in gxv_morx_subtable_type1_subtable_setup() argument
98 gxv_set_length_by_ulong_offset( o, l, buff, 4, table_size, valid ); in gxv_morx_subtable_type1_subtable_setup()
A Dgxvmort2.c82 gxv_mort_subtable_type2_subtable_setup( FT_UShort table_size, in gxv_mort_subtable_type2_subtable_setup() argument
114 gxv_set_length_by_ushort_offset( o, l, buff, 6, table_size, valid ); in gxv_mort_subtable_type2_subtable_setup()
A Dgxvmorx2.c84 gxv_morx_subtable_type2_subtable_setup( FT_ULong table_size, in gxv_morx_subtable_type2_subtable_setup() argument
116 gxv_set_length_by_ulong_offset( o, l, buff, 6, table_size, valid ); in gxv_morx_subtable_type2_subtable_setup()
A Dgxvcommn.c1188 gxv_StateTable_subtable_setup( FT_UShort table_size, in gxv_StateTable_subtable_setup() argument
1209 gxv_set_length_by_ushort_offset( o, l, buff, 3, table_size, valid ); in gxv_StateTable_subtable_setup()
1318 gxv_XStateTable_subtable_setup( FT_ULong table_size, in gxv_XStateTable_subtable_setup() argument
1339 gxv_set_length_by_ulong_offset( o, l, buff, 3, table_size, valid ); in gxv_XStateTable_subtable_setup()
A Dgxvkern.c228 gxv_kern_subtable_fmt1_subtable_setup( FT_UShort table_size, in gxv_kern_subtable_fmt1_subtable_setup() argument
254 gxv_set_length_by_ushort_offset( o, l, buff, 4, table_size, valid ); in gxv_kern_subtable_fmt1_subtable_setup()
/AliOS-Things-master/components/SDL2/src/video/x11/
A DSDL_x11keyboard.c156 int table_size; member
353 if ((max_keycode - min_keycode + 1) <= scancode_set[i].table_size) { in X11_InitKeyboard()
359 || fingerprint[j].value >= scancode_set[i].table_size) { in X11_InitKeyboard()
372 …%d, table_size = %d\n", best_index, min_keycode, max_keycode, scancode_set[best_index].table_size); in X11_InitKeyboard()
375 sizeof(SDL_Scancode) * scancode_set[best_index].table_size); in X11_InitKeyboard()
/AliOS-Things-master/components/linkkit/external/nghttp2/
A Dnghttp2_hd.h371 int nghttp2_hd_emit_table_size(nghttp2_bufs *bufs, size_t table_size);
A Dnghttp2_hd.c935 static int emit_table_size(nghttp2_bufs *bufs, size_t table_size) in emit_table_size() argument
942 DEBUGF("deflatehd: emit table_size=%zu\n", table_size); in emit_table_size()
944 blocklen = count_encoded_length(table_size, 5); in emit_table_size()
954 encode_length(bufp, table_size, 5); in emit_table_size()
2357 int nghttp2_hd_emit_table_size(nghttp2_bufs *bufs, size_t table_size) in nghttp2_hd_emit_table_size() argument
2359 return emit_table_size(bufs, table_size); in nghttp2_hd_emit_table_size()
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/dec/
A Dvp8l_dec.c375 const int table_size = kTableSize[color_cache_bits]; in ReadHuffmanCodes() local
422 table_size, sizeof(*huffman_tables_bogus)); in ReadHuffmanCodes()
447 huffman_tables = (HuffmanCode*)WebPSafeMalloc(num_htree_groups * table_size, in ReadHuffmanCodes()

Completed in 48 milliseconds