Home
last modified time | relevance | path

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

/third_party/freetype/src/otvalid/
Dotvcommn.c52 OTV_LIMIT_CHECK( 4 ); in otv_Coverage_validate()
69 OTV_LIMIT_CHECK( GlyphCount * 2 ); /* GlyphArray */ in otv_Coverage_validate()
95 OTV_LIMIT_CHECK( RangeCount * 6 ); in otv_Coverage_validate()
233 OTV_LIMIT_CHECK( 4 ); in otv_ClassDef_validate()
246 OTV_LIMIT_CHECK( 4 ); in otv_ClassDef_validate()
253 OTV_LIMIT_CHECK( GlyphCount * 2 ); /* ClassValueArray */ in otv_ClassDef_validate()
270 OTV_LIMIT_CHECK( ClassRangeCount * 6 ); in otv_ClassDef_validate()
319 OTV_LIMIT_CHECK( 6 ); in otv_Device_validate()
337 OTV_LIMIT_CHECK( ( 1 << DeltaFormat ) * count / 8 ); /* DeltaValue */ in otv_Device_validate()
366 OTV_LIMIT_CHECK( 6 ); in otv_Lookup_validate()
[all …]
Dotvbase.c43 OTV_LIMIT_CHECK( 4 ); in otv_BaseCoord_validate()
55 OTV_LIMIT_CHECK( 4 ); /* ReferenceGlyph, BaseCoordPoint */ in otv_BaseCoord_validate()
59 OTV_LIMIT_CHECK( 2 ); in otv_BaseCoord_validate()
82 OTV_LIMIT_CHECK( 2 ); in otv_BaseTagList_validate()
88 OTV_LIMIT_CHECK( BaseTagCount * 4 ); /* BaselineTag */ in otv_BaseTagList_validate()
104 OTV_LIMIT_CHECK( 4 ); in otv_BaseValues_validate()
111 OTV_LIMIT_CHECK( BaseCoordCount * 2 ); in otv_BaseValues_validate()
135 OTV_LIMIT_CHECK( 6 ); in otv_MinMax_validate()
153 OTV_LIMIT_CHECK( FeatMinMaxCount * 8 ); in otv_MinMax_validate()
190 OTV_LIMIT_CHECK( 6 ); in otv_BaseScript_validate()
[all …]
Dotvgpos.c68 OTV_LIMIT_CHECK( 2 ); in otv_x_sxy()
74 OTV_LIMIT_CHECK( Count * otvalid->extra1 * 2 ); in otv_x_sxy()
120 OTV_LIMIT_CHECK( 10 ); in otv_u_O_O_u_O_O()
201 OTV_LIMIT_CHECK( 2 ); in otv_ValueRecord_validate()
218 OTV_LIMIT_CHECK( 2 ); in otv_ValueRecord_validate()
252 OTV_LIMIT_CHECK( 6 ); in otv_Anchor_validate()
265 OTV_LIMIT_CHECK( 2 ); /* AnchorPoint */ in otv_Anchor_validate()
276 OTV_LIMIT_CHECK( 4 ); in otv_Anchor_validate()
318 OTV_LIMIT_CHECK( 2 ); in otv_MarkArray_validate()
323 OTV_LIMIT_CHECK( MarkCount * 4 ); in otv_MarkArray_validate()
[all …]
Dotvgsub.c53 OTV_LIMIT_CHECK( 2 ); in otv_SingleSubst_validate()
67 OTV_LIMIT_CHECK( 4 ); in otv_SingleSubst_validate()
88 OTV_LIMIT_CHECK( 4 ); in otv_SingleSubst_validate()
98 OTV_LIMIT_CHECK( GlyphCount * 2 ); in otv_SingleSubst_validate()
135 OTV_LIMIT_CHECK( 2 ); in otv_MultipleSubst_validate()
176 OTV_LIMIT_CHECK( 2 ); in otv_AlternateSubst_validate()
219 OTV_LIMIT_CHECK( 4 ); in otv_Ligature_validate()
233 OTV_LIMIT_CHECK( CompCount * 2 ); /* Component */ in otv_Ligature_validate()
251 OTV_LIMIT_CHECK( 2 ); in otv_LigatureSubst_validate()
291 OTV_LIMIT_CHECK( 2 ); in otv_ContextSubst_validate()
[all …]
Dotvgdef.c58 OTV_LIMIT_CHECK( 4 ); in otv_O_x_Ox()
68 OTV_LIMIT_CHECK( GlyphCount * 2 ); in otv_O_x_Ox()
103 OTV_LIMIT_CHECK( 4 ); in otv_CaretValue_validate()
122 OTV_LIMIT_CHECK( 2 ); in otv_CaretValue_validate()
156 OTV_LIMIT_CHECK( 2 ); in otv_MarkGlyphSets_validate()
161 OTV_LIMIT_CHECK( MarkGlyphSetCount * 4 ); /* CoverageOffsets */ in otv_MarkGlyphSets_validate()
208 OTV_LIMIT_CHECK( 4 ); in otv_GDEF_validate()
230 OTV_LIMIT_CHECK( 8 ); in otv_GDEF_validate()
234 OTV_LIMIT_CHECK( 6 ); /* OpenType < 1.2 */ in otv_GDEF_validate()
239 OTV_LIMIT_CHECK( 10 ); in otv_GDEF_validate()
[all …]
Dotvmath.c59 OTV_LIMIT_CHECK( 2 * ( 56 + 51 ) ); in otv_MathConstants_validate()
102 OTV_LIMIT_CHECK( 4 ); in otv_MathItalicsCorrectionInfo_validate()
107 OTV_LIMIT_CHECK( 4 * cnt ); in otv_MathItalicsCorrectionInfo_validate()
146 OTV_LIMIT_CHECK( 2 ); in otv_MathKern_validate()
150 OTV_LIMIT_CHECK( 4 * cnt + 2 ); in otv_MathKern_validate()
190 OTV_LIMIT_CHECK( 4 ); in otv_MathKernInfo_validate()
195 OTV_LIMIT_CHECK( 8 * cnt ); in otv_MathKernInfo_validate()
235 OTV_LIMIT_CHECK( 8 ); in otv_MathGlyphInfo_validate()
286 OTV_LIMIT_CHECK( 6 ); in otv_GlyphAssembly_validate()
292 OTV_LIMIT_CHECK( 8 * pcnt ); in otv_GlyphAssembly_validate()
[all …]
Dotvjstf.c64 OTV_LIMIT_CHECK( 20 ); in otv_JstfPriority_validate()
161 OTV_LIMIT_CHECK( 6 ); in otv_JstfScript_validate()
185 OTV_LIMIT_CHECK( 6 * JstfLangSysCount ); in otv_JstfScript_validate()
223 OTV_LIMIT_CHECK( 6 ); in otv_JSTF_validate()
232 OTV_LIMIT_CHECK( JstfScriptCount * 6 ); in otv_JSTF_validate()
Dotvcommn.h90 #define OTV_LIMIT_CHECK( _count ) \ macro
/third_party/skia/third_party/externals/freetype/src/otvalid/
Dotvcommn.c52 OTV_LIMIT_CHECK( 4 ); in otv_Coverage_validate()
69 OTV_LIMIT_CHECK( GlyphCount * 2 ); /* GlyphArray */ in otv_Coverage_validate()
95 OTV_LIMIT_CHECK( RangeCount * 6 ); in otv_Coverage_validate()
233 OTV_LIMIT_CHECK( 4 ); in otv_ClassDef_validate()
246 OTV_LIMIT_CHECK( 4 ); in otv_ClassDef_validate()
253 OTV_LIMIT_CHECK( GlyphCount * 2 ); /* ClassValueArray */ in otv_ClassDef_validate()
270 OTV_LIMIT_CHECK( ClassRangeCount * 6 ); in otv_ClassDef_validate()
319 OTV_LIMIT_CHECK( 6 ); in otv_Device_validate()
337 OTV_LIMIT_CHECK( ( 1 << DeltaFormat ) * count / 8 ); /* DeltaValue */ in otv_Device_validate()
366 OTV_LIMIT_CHECK( 6 ); in otv_Lookup_validate()
[all …]
Dotvbase.c43 OTV_LIMIT_CHECK( 4 ); in otv_BaseCoord_validate()
55 OTV_LIMIT_CHECK( 4 ); /* ReferenceGlyph, BaseCoordPoint */ in otv_BaseCoord_validate()
59 OTV_LIMIT_CHECK( 2 ); in otv_BaseCoord_validate()
82 OTV_LIMIT_CHECK( 2 ); in otv_BaseTagList_validate()
88 OTV_LIMIT_CHECK( BaseTagCount * 4 ); /* BaselineTag */ in otv_BaseTagList_validate()
104 OTV_LIMIT_CHECK( 4 ); in otv_BaseValues_validate()
111 OTV_LIMIT_CHECK( BaseCoordCount * 2 ); in otv_BaseValues_validate()
135 OTV_LIMIT_CHECK( 6 ); in otv_MinMax_validate()
153 OTV_LIMIT_CHECK( FeatMinMaxCount * 8 ); in otv_MinMax_validate()
190 OTV_LIMIT_CHECK( 6 ); in otv_BaseScript_validate()
[all …]
Dotvgpos.c68 OTV_LIMIT_CHECK( 2 ); in otv_x_sxy()
74 OTV_LIMIT_CHECK( Count * otvalid->extra1 * 2 ); in otv_x_sxy()
120 OTV_LIMIT_CHECK( 10 ); in otv_u_O_O_u_O_O()
201 OTV_LIMIT_CHECK( 2 ); in otv_ValueRecord_validate()
218 OTV_LIMIT_CHECK( 2 ); in otv_ValueRecord_validate()
252 OTV_LIMIT_CHECK( 6 ); in otv_Anchor_validate()
265 OTV_LIMIT_CHECK( 2 ); /* AnchorPoint */ in otv_Anchor_validate()
276 OTV_LIMIT_CHECK( 4 ); in otv_Anchor_validate()
318 OTV_LIMIT_CHECK( 2 ); in otv_MarkArray_validate()
323 OTV_LIMIT_CHECK( MarkCount * 4 ); in otv_MarkArray_validate()
[all …]
Dotvgsub.c53 OTV_LIMIT_CHECK( 2 ); in otv_SingleSubst_validate()
67 OTV_LIMIT_CHECK( 4 ); in otv_SingleSubst_validate()
88 OTV_LIMIT_CHECK( 4 ); in otv_SingleSubst_validate()
98 OTV_LIMIT_CHECK( GlyphCount * 2 ); in otv_SingleSubst_validate()
135 OTV_LIMIT_CHECK( 2 ); in otv_MultipleSubst_validate()
176 OTV_LIMIT_CHECK( 2 ); in otv_AlternateSubst_validate()
219 OTV_LIMIT_CHECK( 4 ); in otv_Ligature_validate()
233 OTV_LIMIT_CHECK( CompCount * 2 ); /* Component */ in otv_Ligature_validate()
251 OTV_LIMIT_CHECK( 2 ); in otv_LigatureSubst_validate()
291 OTV_LIMIT_CHECK( 2 ); in otv_ContextSubst_validate()
[all …]
Dotvgdef.c58 OTV_LIMIT_CHECK( 4 ); in otv_O_x_Ox()
68 OTV_LIMIT_CHECK( GlyphCount * 2 ); in otv_O_x_Ox()
103 OTV_LIMIT_CHECK( 4 ); in otv_CaretValue_validate()
122 OTV_LIMIT_CHECK( 2 ); in otv_CaretValue_validate()
156 OTV_LIMIT_CHECK( 2 ); in otv_MarkGlyphSets_validate()
161 OTV_LIMIT_CHECK( MarkGlyphSetCount * 4 ); /* CoverageOffsets */ in otv_MarkGlyphSets_validate()
208 OTV_LIMIT_CHECK( 4 ); in otv_GDEF_validate()
230 OTV_LIMIT_CHECK( 8 ); in otv_GDEF_validate()
234 OTV_LIMIT_CHECK( 6 ); /* OpenType < 1.2 */ in otv_GDEF_validate()
239 OTV_LIMIT_CHECK( 10 ); in otv_GDEF_validate()
[all …]
Dotvmath.c59 OTV_LIMIT_CHECK( 2 * ( 56 + 51 ) ); in otv_MathConstants_validate()
102 OTV_LIMIT_CHECK( 4 ); in otv_MathItalicsCorrectionInfo_validate()
107 OTV_LIMIT_CHECK( 4 * cnt ); in otv_MathItalicsCorrectionInfo_validate()
146 OTV_LIMIT_CHECK( 2 ); in otv_MathKern_validate()
150 OTV_LIMIT_CHECK( 4 * cnt + 2 ); in otv_MathKern_validate()
190 OTV_LIMIT_CHECK( 4 ); in otv_MathKernInfo_validate()
195 OTV_LIMIT_CHECK( 8 * cnt ); in otv_MathKernInfo_validate()
235 OTV_LIMIT_CHECK( 8 ); in otv_MathGlyphInfo_validate()
286 OTV_LIMIT_CHECK( 6 ); in otv_GlyphAssembly_validate()
292 OTV_LIMIT_CHECK( 8 * pcnt ); in otv_GlyphAssembly_validate()
[all …]
Dotvjstf.c64 OTV_LIMIT_CHECK( 20 ); in otv_JstfPriority_validate()
161 OTV_LIMIT_CHECK( 6 ); in otv_JstfScript_validate()
185 OTV_LIMIT_CHECK( 6 * JstfLangSysCount ); in otv_JstfScript_validate()
223 OTV_LIMIT_CHECK( 6 ); in otv_JSTF_validate()
232 OTV_LIMIT_CHECK( JstfScriptCount * 6 ); in otv_JSTF_validate()
Dotvcommn.h90 #define OTV_LIMIT_CHECK( _count ) \ macro
/third_party/flutter/skia/third_party/externals/freetype/src/otvalid/
Dotvcommn.c52 OTV_LIMIT_CHECK( 4 ); in otv_Coverage_validate()
69 OTV_LIMIT_CHECK( GlyphCount * 2 ); /* GlyphArray */ in otv_Coverage_validate()
95 OTV_LIMIT_CHECK( RangeCount * 6 ); in otv_Coverage_validate()
230 OTV_LIMIT_CHECK( 4 ); in otv_ClassDef_validate()
243 OTV_LIMIT_CHECK( 4 ); in otv_ClassDef_validate()
250 OTV_LIMIT_CHECK( GlyphCount * 2 ); /* ClassValueArray */ in otv_ClassDef_validate()
267 OTV_LIMIT_CHECK( ClassRangeCount * 6 ); in otv_ClassDef_validate()
316 OTV_LIMIT_CHECK( 6 ); in otv_Device_validate()
334 OTV_LIMIT_CHECK( ( 1 << DeltaFormat ) * count / 8 ); /* DeltaValue */ in otv_Device_validate()
363 OTV_LIMIT_CHECK( 6 ); in otv_Lookup_validate()
[all …]
Dotvbase.c43 OTV_LIMIT_CHECK( 4 ); in otv_BaseCoord_validate()
55 OTV_LIMIT_CHECK( 4 ); /* ReferenceGlyph, BaseCoordPoint */ in otv_BaseCoord_validate()
59 OTV_LIMIT_CHECK( 2 ); in otv_BaseCoord_validate()
82 OTV_LIMIT_CHECK( 2 ); in otv_BaseTagList_validate()
88 OTV_LIMIT_CHECK( BaseTagCount * 4 ); /* BaselineTag */ in otv_BaseTagList_validate()
104 OTV_LIMIT_CHECK( 4 ); in otv_BaseValues_validate()
111 OTV_LIMIT_CHECK( BaseCoordCount * 2 ); in otv_BaseValues_validate()
135 OTV_LIMIT_CHECK( 6 ); in otv_MinMax_validate()
153 OTV_LIMIT_CHECK( FeatMinMaxCount * 8 ); in otv_MinMax_validate()
190 OTV_LIMIT_CHECK( 6 ); in otv_BaseScript_validate()
[all …]
Dotvgpos.c68 OTV_LIMIT_CHECK( 2 ); in otv_x_sxy()
74 OTV_LIMIT_CHECK( Count * otvalid->extra1 * 2 ); in otv_x_sxy()
120 OTV_LIMIT_CHECK( 10 ); in otv_u_O_O_u_O_O()
201 OTV_LIMIT_CHECK( 2 ); in otv_ValueRecord_validate()
218 OTV_LIMIT_CHECK( 2 ); in otv_ValueRecord_validate()
252 OTV_LIMIT_CHECK( 6 ); in otv_Anchor_validate()
265 OTV_LIMIT_CHECK( 2 ); /* AnchorPoint */ in otv_Anchor_validate()
276 OTV_LIMIT_CHECK( 4 ); in otv_Anchor_validate()
318 OTV_LIMIT_CHECK( 2 ); in otv_MarkArray_validate()
323 OTV_LIMIT_CHECK( MarkCount * 4 ); in otv_MarkArray_validate()
[all …]
Dotvgsub.c53 OTV_LIMIT_CHECK( 2 ); in otv_SingleSubst_validate()
67 OTV_LIMIT_CHECK( 4 ); in otv_SingleSubst_validate()
88 OTV_LIMIT_CHECK( 4 ); in otv_SingleSubst_validate()
98 OTV_LIMIT_CHECK( GlyphCount * 2 ); in otv_SingleSubst_validate()
135 OTV_LIMIT_CHECK( 2 ); in otv_MultipleSubst_validate()
176 OTV_LIMIT_CHECK( 2 ); in otv_AlternateSubst_validate()
219 OTV_LIMIT_CHECK( 4 ); in otv_Ligature_validate()
233 OTV_LIMIT_CHECK( CompCount * 2 ); /* Component */ in otv_Ligature_validate()
251 OTV_LIMIT_CHECK( 2 ); in otv_LigatureSubst_validate()
291 OTV_LIMIT_CHECK( 2 ); in otv_ContextSubst_validate()
[all …]
Dotvgdef.c58 OTV_LIMIT_CHECK( 4 ); in otv_O_x_Ox()
68 OTV_LIMIT_CHECK( GlyphCount * 2 ); in otv_O_x_Ox()
103 OTV_LIMIT_CHECK( 4 ); in otv_CaretValue_validate()
122 OTV_LIMIT_CHECK( 2 ); in otv_CaretValue_validate()
156 OTV_LIMIT_CHECK( 2 ); in otv_MarkGlyphSets_validate()
161 OTV_LIMIT_CHECK( MarkGlyphSetCount * 4 ); /* CoverageOffsets */ in otv_MarkGlyphSets_validate()
208 OTV_LIMIT_CHECK( 4 ); in otv_GDEF_validate()
230 OTV_LIMIT_CHECK( 8 ); in otv_GDEF_validate()
234 OTV_LIMIT_CHECK( 6 ); /* OpenType < 1.2 */ in otv_GDEF_validate()
239 OTV_LIMIT_CHECK( 10 ); in otv_GDEF_validate()
[all …]
Dotvmath.c59 OTV_LIMIT_CHECK( 2 * ( 56 + 51 ) ); in otv_MathConstants_validate()
102 OTV_LIMIT_CHECK( 4 ); in otv_MathItalicsCorrectionInfo_validate()
107 OTV_LIMIT_CHECK( 4 * cnt ); in otv_MathItalicsCorrectionInfo_validate()
146 OTV_LIMIT_CHECK( 2 ); in otv_MathKern_validate()
150 OTV_LIMIT_CHECK( 4 * cnt + 2 ); in otv_MathKern_validate()
190 OTV_LIMIT_CHECK( 4 ); in otv_MathKernInfo_validate()
195 OTV_LIMIT_CHECK( 8 * cnt ); in otv_MathKernInfo_validate()
235 OTV_LIMIT_CHECK( 8 ); in otv_MathGlyphInfo_validate()
286 OTV_LIMIT_CHECK( 6 ); in otv_GlyphAssembly_validate()
292 OTV_LIMIT_CHECK( 8 * pcnt ); in otv_GlyphAssembly_validate()
[all …]
Dotvjstf.c64 OTV_LIMIT_CHECK( 20 ); in otv_JstfPriority_validate()
161 OTV_LIMIT_CHECK( 6 ); in otv_JstfScript_validate()
185 OTV_LIMIT_CHECK( 6 * JstfLangSysCount ); in otv_JstfScript_validate()
223 OTV_LIMIT_CHECK( 6 ); in otv_JSTF_validate()
232 OTV_LIMIT_CHECK( JstfScriptCount * 6 ); in otv_JSTF_validate()
Dotvcommn.h91 #define OTV_LIMIT_CHECK( _count ) \ macro