Home
last modified time | relevance | path

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

1234

/third_party/skia/third_party/externals/freetype/src/otvalid/
Dotvcommn.h41 OTV_Validator otvalid );
70 ft_validator_error( otvalid->root, FT_THROW( _error ) )
92 if ( p + (_count) > otvalid->root->limit ) \
100 if ( otvalid->root->level == FT_VALIDATE_PARANOID ) \
123 if ( otvalid->root->level == FT_VALIDATE_PARANOID ) \
153 otvalid->nesting_level = 0; \
154 otvalid->func[0] = OTV_FUNC( x ); \
155 otvalid->debug_function_name[0] = OTV_NAME( x ); \
160 otvalid->nesting_level = 0; \
161 otvalid->func[0] = OTV_FUNC( x ); \
[all …]
Dotvgpos.c60 OTV_Validator otvalid ) in otv_x_sxy() argument
74 OTV_LIMIT_CHECK( Count * otvalid->extra1 * 2 ); in otv_x_sxy()
76 table_size = Count * otvalid->extra1 * 2 + 2; in otv_x_sxy()
79 for ( count1 = otvalid->extra1; count1 > 0; count1-- ) in otv_x_sxy()
86 if ( otvalid->extra2 ) in otv_x_sxy()
90 otv_Anchor_validate( table + anchor_offset, otvalid ); in otv_x_sxy()
93 otv_Anchor_validate( table + anchor_offset, otvalid ); in otv_x_sxy()
108 OTV_Validator otvalid ) in otv_u_O_O_u_O_O() argument
127 otv_Coverage_validate( table + Coverage1, otvalid, -1 ); in otv_u_O_O_u_O_O()
128 otv_Coverage_validate( table + Coverage2, otvalid, -1 ); in otv_u_O_O_u_O_O()
[all …]
Dotvjstf.c43 OTV_Validator otvalid ) in otv_JstfPriority_validate() argument
66 gsub_lookup_count = otvalid->extra1; in otv_JstfPriority_validate()
67 gpos_lookup_count = otvalid->extra2; in otv_JstfPriority_validate()
71 otvalid->extra1 = gsub_lookup_count; in otv_JstfPriority_validate()
76 otv_x_ux( table + ShrinkageEnableGSUB, otvalid ); in otv_JstfPriority_validate()
81 otv_x_ux( table + ShrinkageDisableGSUB, otvalid ); in otv_JstfPriority_validate()
83 otvalid->extra1 = gpos_lookup_count; in otv_JstfPriority_validate()
88 otv_x_ux( table + ShrinkageEnableGPOS, otvalid ); in otv_JstfPriority_validate()
93 otv_x_ux( table + ShrinkageDisableGPOS, otvalid ); in otv_JstfPriority_validate()
101 OTV_RUN( table + ShrinkageJstfMax, otvalid ); in otv_JstfPriority_validate()
[all …]
Dotvcommn.c42 OTV_Validator otvalid, in otv_Coverage_validate() argument
77 if ( gid >= otvalid->glyph_count ) in otv_Coverage_validate()
107 if ( End >= otvalid->glyph_count ) in otv_Coverage_validate()
225 OTV_Validator otvalid ) in otv_ClassDef_validate() argument
255 if ( StartGlyph + GlyphCount - 1 >= otvalid->glyph_count ) in otv_ClassDef_validate()
282 if ( End >= otvalid->glyph_count ) in otv_ClassDef_validate()
311 OTV_Validator otvalid ) in otv_Device_validate() argument
357 OTV_Validator otvalid ) in otv_Lookup_validate() argument
373 if ( LookupType == 0 || LookupType > otvalid->type_count ) in otv_Lookup_validate()
376 validate = otvalid->type_funcs[LookupType - 1]; in otv_Lookup_validate()
[all …]
Dotvgsub.c45 OTV_Validator otvalid ) in otv_SingleSubst_validate() argument
71 otv_Coverage_validate( Coverage, otvalid, -1 ); in otv_SingleSubst_validate()
78 if ( (FT_UInt)idx >= otvalid->glyph_count ) in otv_SingleSubst_validate()
95 otvalid, in otv_SingleSubst_validate()
102 if ( FT_NEXT_USHORT( p ) >= otvalid->glyph_count ) in otv_SingleSubst_validate()
127 OTV_Validator otvalid ) in otv_MultipleSubst_validate() argument
143 otvalid->extra1 = otvalid->glyph_count; in otv_MultipleSubst_validate()
145 OTV_RUN( table, otvalid ); in otv_MultipleSubst_validate()
168 OTV_Validator otvalid ) in otv_AlternateSubst_validate() argument
184 otvalid->extra1 = otvalid->glyph_count; in otv_AlternateSubst_validate()
[all …]
Dotvmath.c47 OTV_Validator otvalid ) in otv_MathConstants_validate() argument
69 otv_Device_validate( table + DeviceTableOffset, otvalid ); in otv_MathConstants_validate()
87 OTV_Validator otvalid, in otv_MathItalicsCorrectionInfo_validate() argument
111 otv_Coverage_validate( table + Coverage, otvalid, (FT_Int)cnt ); in otv_MathItalicsCorrectionInfo_validate()
119 otv_Device_validate( table + DeviceTableOffset, otvalid ); in otv_MathItalicsCorrectionInfo_validate()
136 OTV_Validator otvalid ) in otv_MathKern_validate() argument
160 otv_Device_validate( table + DeviceTableOffset, otvalid ); in otv_MathKern_validate()
170 otv_Device_validate( table + DeviceTableOffset, otvalid ); in otv_MathKern_validate()
179 OTV_Validator otvalid ) in otv_MathKernInfo_validate() argument
199 otv_Coverage_validate( table + Coverage, otvalid, (FT_Int)cnt ); in otv_MathKernInfo_validate()
[all …]
Dotvbase.c35 OTV_Validator otvalid ) in otv_BaseCoord_validate() argument
61 otv_Device_validate( table + FT_NEXT_USHORT( p ), otvalid ); in otv_BaseCoord_validate()
74 OTV_Validator otvalid ) in otv_BaseTagList_validate() argument
96 OTV_Validator otvalid ) in otv_BaseValues_validate() argument
115 otv_BaseCoord_validate( table + FT_NEXT_USHORT( p ), otvalid ); in otv_BaseValues_validate()
123 OTV_Validator otvalid ) in otv_MinMax_validate() argument
147 otv_BaseCoord_validate( table + MinCoord, otvalid ); in otv_MinMax_validate()
151 otv_BaseCoord_validate( table + MaxCoord, otvalid ); in otv_MinMax_validate()
165 otv_BaseCoord_validate( table + MinCoord, otvalid ); in otv_MinMax_validate()
169 otv_BaseCoord_validate( table + MaxCoord, otvalid ); in otv_MinMax_validate()
[all …]
Dotvgdef.c48 OTV_Validator otvalid ) in otv_O_x_Ox() argument
64 otv_Coverage_validate( Coverage, otvalid, (FT_Int)GlyphCount ); in otv_O_x_Ox()
70 otvalid->nesting_level++; in otv_O_x_Ox()
71 func = otvalid->func[otvalid->nesting_level]; in otv_O_x_Ox()
72 otvalid->extra1 = 0; in otv_O_x_Ox()
75 func( table + FT_NEXT_USHORT( p ), otvalid ); in otv_O_x_Ox()
77 otvalid->nesting_level--; in otv_O_x_Ox()
95 OTV_Validator otvalid ) in otv_CaretValue_validate() argument
125 otv_Device_validate( table + FT_NEXT_USHORT( p ), otvalid ); in otv_CaretValue_validate()
146 OTV_Validator otvalid ) in otv_MarkGlyphSets_validate() argument
[all …]
/third_party/flutter/skia/third_party/externals/freetype/src/otvalid/
Dotvcommn.h42 OTV_Validator otvalid );
71 ft_validator_error( otvalid->root, FT_THROW( _error ) )
93 if ( p + (_count) > otvalid->root->limit ) \
101 if ( otvalid->root->level == FT_VALIDATE_PARANOID ) \
123 if ( otvalid->root->level == FT_VALIDATE_PARANOID ) \
152 otvalid->nesting_level = 0; \
153 otvalid->func[0] = OTV_FUNC( x ); \
154 otvalid->debug_function_name[0] = OTV_NAME( x ); \
159 otvalid->nesting_level = 0; \
160 otvalid->func[0] = OTV_FUNC( x ); \
[all …]
Dotvgpos.c60 OTV_Validator otvalid ) in otv_x_sxy() argument
74 OTV_LIMIT_CHECK( Count * otvalid->extra1 * 2 ); in otv_x_sxy()
76 table_size = Count * otvalid->extra1 * 2 + 2; in otv_x_sxy()
79 for ( count1 = otvalid->extra1; count1 > 0; count1-- ) in otv_x_sxy()
86 if ( otvalid->extra2 ) in otv_x_sxy()
90 otv_Anchor_validate( table + anchor_offset, otvalid ); in otv_x_sxy()
93 otv_Anchor_validate( table + anchor_offset, otvalid ); in otv_x_sxy()
108 OTV_Validator otvalid ) in otv_u_O_O_u_O_O() argument
127 otv_Coverage_validate( table + Coverage1, otvalid, -1 ); in otv_u_O_O_u_O_O()
128 otv_Coverage_validate( table + Coverage2, otvalid, -1 ); in otv_u_O_O_u_O_O()
[all …]
Dotvjstf.c43 OTV_Validator otvalid ) in otv_JstfPriority_validate() argument
66 gsub_lookup_count = otvalid->extra1; in otv_JstfPriority_validate()
67 gpos_lookup_count = otvalid->extra2; in otv_JstfPriority_validate()
71 otvalid->extra1 = gsub_lookup_count; in otv_JstfPriority_validate()
76 otv_x_ux( table + ShrinkageEnableGSUB, otvalid ); in otv_JstfPriority_validate()
81 otv_x_ux( table + ShrinkageDisableGSUB, otvalid ); in otv_JstfPriority_validate()
83 otvalid->extra1 = gpos_lookup_count; in otv_JstfPriority_validate()
88 otv_x_ux( table + ShrinkageEnableGPOS, otvalid ); in otv_JstfPriority_validate()
93 otv_x_ux( table + ShrinkageDisableGPOS, otvalid ); in otv_JstfPriority_validate()
101 OTV_RUN( table + ShrinkageJstfMax, otvalid ); in otv_JstfPriority_validate()
[all …]
Dotvcommn.c42 OTV_Validator otvalid, in otv_Coverage_validate() argument
77 if ( gid >= otvalid->glyph_count ) in otv_Coverage_validate()
107 if ( End >= otvalid->glyph_count ) in otv_Coverage_validate()
222 OTV_Validator otvalid ) in otv_ClassDef_validate() argument
252 if ( StartGlyph + GlyphCount - 1 >= otvalid->glyph_count ) in otv_ClassDef_validate()
279 if ( End >= otvalid->glyph_count ) in otv_ClassDef_validate()
308 OTV_Validator otvalid ) in otv_Device_validate() argument
354 OTV_Validator otvalid ) in otv_Lookup_validate() argument
370 if ( LookupType == 0 || LookupType > otvalid->type_count ) in otv_Lookup_validate()
373 validate = otvalid->type_funcs[LookupType - 1]; in otv_Lookup_validate()
[all …]
Dotvgsub.c45 OTV_Validator otvalid ) in otv_SingleSubst_validate() argument
71 otv_Coverage_validate( Coverage, otvalid, -1 ); in otv_SingleSubst_validate()
78 if ( (FT_UInt)idx >= otvalid->glyph_count ) in otv_SingleSubst_validate()
95 otvalid, in otv_SingleSubst_validate()
102 if ( FT_NEXT_USHORT( p ) >= otvalid->glyph_count ) in otv_SingleSubst_validate()
127 OTV_Validator otvalid ) in otv_MultipleSubst_validate() argument
143 otvalid->extra1 = otvalid->glyph_count; in otv_MultipleSubst_validate()
145 OTV_RUN( table, otvalid ); in otv_MultipleSubst_validate()
168 OTV_Validator otvalid ) in otv_AlternateSubst_validate() argument
184 otvalid->extra1 = otvalid->glyph_count; in otv_AlternateSubst_validate()
[all …]
Dotvmath.c47 OTV_Validator otvalid ) in otv_MathConstants_validate() argument
69 otv_Device_validate( table + DeviceTableOffset, otvalid ); in otv_MathConstants_validate()
87 OTV_Validator otvalid, in otv_MathItalicsCorrectionInfo_validate() argument
111 otv_Coverage_validate( table + Coverage, otvalid, (FT_Int)cnt ); in otv_MathItalicsCorrectionInfo_validate()
119 otv_Device_validate( table + DeviceTableOffset, otvalid ); in otv_MathItalicsCorrectionInfo_validate()
136 OTV_Validator otvalid ) in otv_MathKern_validate() argument
160 otv_Device_validate( table + DeviceTableOffset, otvalid ); in otv_MathKern_validate()
170 otv_Device_validate( table + DeviceTableOffset, otvalid ); in otv_MathKern_validate()
179 OTV_Validator otvalid ) in otv_MathKernInfo_validate() argument
199 otv_Coverage_validate( table + Coverage, otvalid, (FT_Int)cnt ); in otv_MathKernInfo_validate()
[all …]
Dotvbase.c35 OTV_Validator otvalid ) in otv_BaseCoord_validate() argument
61 otv_Device_validate( table + FT_NEXT_USHORT( p ), otvalid ); in otv_BaseCoord_validate()
74 OTV_Validator otvalid ) in otv_BaseTagList_validate() argument
96 OTV_Validator otvalid ) in otv_BaseValues_validate() argument
115 otv_BaseCoord_validate( table + FT_NEXT_USHORT( p ), otvalid ); in otv_BaseValues_validate()
123 OTV_Validator otvalid ) in otv_MinMax_validate() argument
147 otv_BaseCoord_validate( table + MinCoord, otvalid ); in otv_MinMax_validate()
151 otv_BaseCoord_validate( table + MaxCoord, otvalid ); in otv_MinMax_validate()
165 otv_BaseCoord_validate( table + MinCoord, otvalid ); in otv_MinMax_validate()
169 otv_BaseCoord_validate( table + MaxCoord, otvalid ); in otv_MinMax_validate()
[all …]
Dotvgdef.c48 OTV_Validator otvalid ) in otv_O_x_Ox() argument
64 otv_Coverage_validate( Coverage, otvalid, (FT_Int)GlyphCount ); in otv_O_x_Ox()
70 otvalid->nesting_level++; in otv_O_x_Ox()
71 func = otvalid->func[otvalid->nesting_level]; in otv_O_x_Ox()
72 otvalid->extra1 = 0; in otv_O_x_Ox()
75 func( table + FT_NEXT_USHORT( p ), otvalid ); in otv_O_x_Ox()
77 otvalid->nesting_level--; in otv_O_x_Ox()
95 OTV_Validator otvalid ) in otv_CaretValue_validate() argument
125 otv_Device_validate( table + FT_NEXT_USHORT( p ), otvalid ); in otv_CaretValue_validate()
146 OTV_Validator otvalid ) in otv_MarkGlyphSets_validate() argument
[all …]
Drules.mk18 OTV_DIR := $(SRC_DIR)/otvalid
42 OTV_DRV_H := $(OTV_DIR)/otvalid.h \
55 OTV_DRV_OBJ_S := $(OBJ_DIR)/otvalid.$O
59 OTV_DRV_SRC_S := $(OTV_DIR)/otvalid.c
/third_party/freetype/src/otvalid/
Dotvcommn.h41 OTV_Validator otvalid );
70 ft_validator_error( otvalid->root, FT_THROW( _error ) )
92 if ( p + (_count) > otvalid->root->limit ) \
100 if ( otvalid->root->level == FT_VALIDATE_PARANOID ) \
122 if ( otvalid->root->level == FT_VALIDATE_PARANOID ) \
151 otvalid->nesting_level = 0; \
152 otvalid->func[0] = OTV_FUNC( x ); \
153 otvalid->debug_function_name[0] = OTV_NAME( x ); \
158 otvalid->nesting_level = 0; \
159 otvalid->func[0] = OTV_FUNC( x ); \
[all …]
Dotvgpos.c60 OTV_Validator otvalid ) in otv_x_sxy() argument
74 OTV_LIMIT_CHECK( Count * otvalid->extra1 * 2 ); in otv_x_sxy()
76 table_size = Count * otvalid->extra1 * 2 + 2; in otv_x_sxy()
79 for ( count1 = otvalid->extra1; count1 > 0; count1-- ) in otv_x_sxy()
86 if ( otvalid->extra2 ) in otv_x_sxy()
90 otv_Anchor_validate( table + anchor_offset, otvalid ); in otv_x_sxy()
93 otv_Anchor_validate( table + anchor_offset, otvalid ); in otv_x_sxy()
108 OTV_Validator otvalid ) in otv_u_O_O_u_O_O() argument
127 otv_Coverage_validate( table + Coverage1, otvalid, -1 ); in otv_u_O_O_u_O_O()
128 otv_Coverage_validate( table + Coverage2, otvalid, -1 ); in otv_u_O_O_u_O_O()
[all …]
Dotvjstf.c43 OTV_Validator otvalid ) in otv_JstfPriority_validate() argument
66 gsub_lookup_count = otvalid->extra1; in otv_JstfPriority_validate()
67 gpos_lookup_count = otvalid->extra2; in otv_JstfPriority_validate()
71 otvalid->extra1 = gsub_lookup_count; in otv_JstfPriority_validate()
76 otv_x_ux( table + ShrinkageEnableGSUB, otvalid ); in otv_JstfPriority_validate()
81 otv_x_ux( table + ShrinkageDisableGSUB, otvalid ); in otv_JstfPriority_validate()
83 otvalid->extra1 = gpos_lookup_count; in otv_JstfPriority_validate()
88 otv_x_ux( table + ShrinkageEnableGPOS, otvalid ); in otv_JstfPriority_validate()
93 otv_x_ux( table + ShrinkageDisableGPOS, otvalid ); in otv_JstfPriority_validate()
101 OTV_RUN( table + ShrinkageJstfMax, otvalid ); in otv_JstfPriority_validate()
[all …]
Dotvcommn.c42 OTV_Validator otvalid, in otv_Coverage_validate() argument
77 if ( gid >= otvalid->glyph_count ) in otv_Coverage_validate()
107 if ( End >= otvalid->glyph_count ) in otv_Coverage_validate()
225 OTV_Validator otvalid ) in otv_ClassDef_validate() argument
255 if ( StartGlyph + GlyphCount - 1 >= otvalid->glyph_count ) in otv_ClassDef_validate()
282 if ( End >= otvalid->glyph_count ) in otv_ClassDef_validate()
311 OTV_Validator otvalid ) in otv_Device_validate() argument
357 OTV_Validator otvalid ) in otv_Lookup_validate() argument
373 if ( LookupType == 0 || LookupType > otvalid->type_count ) in otv_Lookup_validate()
376 validate = otvalid->type_funcs[LookupType - 1]; in otv_Lookup_validate()
[all …]
Dotvgsub.c45 OTV_Validator otvalid ) in otv_SingleSubst_validate() argument
71 otv_Coverage_validate( Coverage, otvalid, -1 ); in otv_SingleSubst_validate()
78 if ( (FT_UInt)idx >= otvalid->glyph_count ) in otv_SingleSubst_validate()
95 otvalid, in otv_SingleSubst_validate()
102 if ( FT_NEXT_USHORT( p ) >= otvalid->glyph_count ) in otv_SingleSubst_validate()
127 OTV_Validator otvalid ) in otv_MultipleSubst_validate() argument
143 otvalid->extra1 = otvalid->glyph_count; in otv_MultipleSubst_validate()
145 OTV_RUN( table, otvalid ); in otv_MultipleSubst_validate()
168 OTV_Validator otvalid ) in otv_AlternateSubst_validate() argument
184 otvalid->extra1 = otvalid->glyph_count; in otv_AlternateSubst_validate()
[all …]
Dotvmath.c47 OTV_Validator otvalid ) in otv_MathConstants_validate() argument
69 otv_Device_validate( table + DeviceTableOffset, otvalid ); in otv_MathConstants_validate()
87 OTV_Validator otvalid, in otv_MathItalicsCorrectionInfo_validate() argument
111 otv_Coverage_validate( table + Coverage, otvalid, (FT_Int)cnt ); in otv_MathItalicsCorrectionInfo_validate()
119 otv_Device_validate( table + DeviceTableOffset, otvalid ); in otv_MathItalicsCorrectionInfo_validate()
136 OTV_Validator otvalid ) in otv_MathKern_validate() argument
160 otv_Device_validate( table + DeviceTableOffset, otvalid ); in otv_MathKern_validate()
170 otv_Device_validate( table + DeviceTableOffset, otvalid ); in otv_MathKern_validate()
179 OTV_Validator otvalid ) in otv_MathKernInfo_validate() argument
199 otv_Coverage_validate( table + Coverage, otvalid, (FT_Int)cnt ); in otv_MathKernInfo_validate()
[all …]
Dotvbase.c35 OTV_Validator otvalid ) in otv_BaseCoord_validate() argument
61 otv_Device_validate( table + FT_NEXT_USHORT( p ), otvalid ); in otv_BaseCoord_validate()
74 OTV_Validator otvalid ) in otv_BaseTagList_validate() argument
96 OTV_Validator otvalid ) in otv_BaseValues_validate() argument
115 otv_BaseCoord_validate( table + FT_NEXT_USHORT( p ), otvalid ); in otv_BaseValues_validate()
123 OTV_Validator otvalid ) in otv_MinMax_validate() argument
147 otv_BaseCoord_validate( table + MinCoord, otvalid ); in otv_MinMax_validate()
151 otv_BaseCoord_validate( table + MaxCoord, otvalid ); in otv_MinMax_validate()
165 otv_BaseCoord_validate( table + MinCoord, otvalid ); in otv_MinMax_validate()
169 otv_BaseCoord_validate( table + MaxCoord, otvalid ); in otv_MinMax_validate()
[all …]
Dotvgdef.c48 OTV_Validator otvalid ) in otv_O_x_Ox() argument
64 otv_Coverage_validate( Coverage, otvalid, (FT_Int)GlyphCount ); in otv_O_x_Ox()
70 otvalid->nesting_level++; in otv_O_x_Ox()
71 func = otvalid->func[otvalid->nesting_level]; in otv_O_x_Ox()
72 otvalid->extra1 = 0; in otv_O_x_Ox()
75 func( table + FT_NEXT_USHORT( p ), otvalid ); in otv_O_x_Ox()
77 otvalid->nesting_level--; in otv_O_x_Ox()
95 OTV_Validator otvalid ) in otv_CaretValue_validate() argument
125 otv_Device_validate( table + FT_NEXT_USHORT( p ), otvalid ); in otv_CaretValue_validate()
146 OTV_Validator otvalid ) in otv_MarkGlyphSets_validate() argument
[all …]

1234