zenilib
0.5.3.0
|
Go to the source code of this file.
Classes | |
struct | FT_ValidatorRec_ |
Macros | |
#define | FT_INVALID(_prefix, _error) FT_INVALID_( _prefix, _error ) |
#define | FT_INVALID_(_prefix, _error) ft_validator_error( valid, _prefix ## _error ) |
#define | FT_INVALID_DATA FT_INVALID( FT_ERR_PREFIX, Invalid_Table ) |
#define | FT_INVALID_FORMAT FT_INVALID( FT_ERR_PREFIX, Invalid_Table ) |
#define | FT_INVALID_GLYPH_ID FT_INVALID( FT_ERR_PREFIX, Invalid_Glyph_Index ) |
#define | FT_INVALID_OFFSET FT_INVALID( FT_ERR_PREFIX, Invalid_Offset ) |
#define | FT_INVALID_TOO_SHORT FT_INVALID( FT_ERR_PREFIX, Invalid_Table ) |
#define | FT_VALIDATOR(x) ((FT_Validator)( x )) |
Typedefs | |
typedef enum FT_ValidationLevel_ | FT_ValidationLevel |
typedef typedefFT_BEGIN_HEADER struct FT_ValidatorRec_ volatile * | FT_Validator |
typedef struct FT_ValidatorRec_ | FT_ValidatorRec |
Enumerations | |
enum | FT_ValidationLevel_ { FT_VALIDATE_DEFAULT = 0, FT_VALIDATE_TIGHT, FT_VALIDATE_PARANOID } |
Functions | |
ft_validator_error (FT_Validator valid, FT_Error error) | |
ft_validator_init (FT_Validator valid, const FT_Byte *base, const FT_Byte *limit, FT_ValidationLevel level) | |
ft_validator_run (FT_Validator valid) | |
#define FT_INVALID | ( | _prefix, | |
_error | |||
) | FT_INVALID_( _prefix, _error ) |
#define FT_INVALID_ | ( | _prefix, | |
_error | |||
) | ft_validator_error( valid, _prefix ## _error ) |
#define FT_INVALID_DATA FT_INVALID( FT_ERR_PREFIX, Invalid_Table ) |
Definition at line 141 of file ftvalid.h.
Referenced by gxv_BinSrchHeader_check_consistency(), gxv_bsln_LookupValue_validate(), gxv_bsln_parts_fmt2_validate(), gxv_ClassTable_validate(), gxv_ctlPoint_validate(), gxv_feat_name_validate(), gxv_feat_registry_validate(), gxv_feat_setting_validate(), gxv_feat_validate(), gxv_just_actSubrecord_type0_validate(), gxv_just_actSubrecord_type4_validate(), gxv_just_actSubrecord_validate(), gxv_just_wdp_entry_validate(), gxv_kern_subtable_fmt0_pairs_validate(), gxv_kern_subtable_fmt3_validate(), gxv_kern_subtable_validate(), gxv_mort_feature_validate(), gxv_mort_featurearray_validate(), gxv_mort_subtable_type0_entry_validate(), gxv_mort_subtable_type1_entry_validate(), gxv_morx_chain_validate(), gxv_morx_subtable_type0_entry_validate(), gxv_morx_subtable_type1_entry_validate(), gxv_prop_property_validate(), gxv_prop_zero_advance_validate(), gxv_sfntName_validate(), gxv_StateTable_validate(), gxv_trak_validate(), gxv_XClassTable_lookupval_validate(), gxv_XStateTable_validate(), otv_ClassDef_validate(), otv_Coverage_validate(), otv_Device_validate(), otv_ExtensionPos_validate(), otv_ExtensionSubst_validate(), otv_Feature_validate(), otv_LangSys_validate(), otv_Ligature_validate(), otv_Lookup_validate(), otv_O_x_Ox(), otv_ReverseChainSingleSubst_validate(), otv_SingleSubst_validate(), otv_u_x_Ox_y_Oy_z_Oz_p_sp(), otv_u_x_y_Ox_sy(), otv_x_ux(), otv_x_ux_y_uy_z_uz_p_sp(), and otv_x_y_ux_sy().
#define FT_INVALID_FORMAT FT_INVALID( FT_ERR_PREFIX, Invalid_Table ) |
Definition at line 133 of file ftvalid.h.
Referenced by gxv_bsln_validate(), gxv_EntryTable_validate(), gxv_feat_name_validate(), gxv_feat_validate(), gxv_just_validate(), gxv_kern_validate_generic(), gxv_lcar_validate(), gxv_LookupTable_validate(), gxv_mort_subtables_validate(), gxv_mort_validate(), gxv_morx_subtables_validate(), gxv_morx_validate(), gxv_opbd_validate(), gxv_prop_validate(), gxv_sfntName_validate(), gxv_trak_validate(), gxv_XEntryTable_validate(), otv_AlternateSubst_validate(), otv_Anchor_validate(), otv_BASE_validate(), otv_BaseCoord_validate(), otv_CaretValue_validate(), otv_ChainContextPos_validate(), otv_ChainContextSubst_validate(), otv_ClassDef_validate(), otv_ContextPos_validate(), otv_ContextSubst_validate(), otv_Coverage_validate(), otv_CursivePos_validate(), otv_Device_validate(), otv_ExtensionPos_validate(), otv_ExtensionSubst_validate(), otv_GDEF_validate(), otv_GPOS_validate(), otv_GSUB_validate(), otv_JSTF_validate(), otv_LigatureSubst_validate(), otv_MarkBasePos_validate(), otv_MarkLigPos_validate(), otv_MarkMarkPos_validate(), otv_MATH_validate(), otv_MultipleSubst_validate(), otv_PairPos_validate(), otv_ReverseChainSingleSubst_validate(), otv_SinglePos_validate(), otv_SingleSubst_validate(), and otv_ValueRecord_validate().
#define FT_INVALID_GLYPH_ID FT_INVALID( FT_ERR_PREFIX, Invalid_Glyph_Index ) |
Definition at line 137 of file ftvalid.h.
Referenced by gxv_ctlPoint_validate(), gxv_glyphid_validate(), gxv_just_check_max_gid(), gxv_kern_subtable_fmt3_validate(), gxv_LookupTable_fmt0_validate(), gxv_LookupTable_fmt2_validate(), gxv_LookupTable_fmt4_validate(), gxv_LookupTable_fmt6_validate(), gxv_mort_subtable_type1_substTable_validate(), gxv_mort_subtable_type2_ligatureTable_validate(), gxv_morx_subtable_type1_LookupValue_validate(), gxv_morx_subtable_type2_ligatureTable_validate(), gxv_prop_zero_advance_validate(), otv_ClassDef_validate(), otv_Coverage_validate(), otv_GlyphAssembly_validate(), otv_MathGlyphConstruction_validate(), and otv_SingleSubst_validate().
#define FT_INVALID_OFFSET FT_INVALID( FT_ERR_PREFIX, Invalid_Offset ) |
Definition at line 129 of file ftvalid.h.
Referenced by gxv_EntryTable_validate(), gxv_feat_name_validate(), gxv_just_widthDeltaClusters_validate(), gxv_kern_subtable_fmt1_entry_validate(), gxv_kern_subtable_fmt2_validate(), gxv_kern_subtable_fmt3_validate(), gxv_mort_subtable_type2_ligActionOffset_validate(), gxv_morx_subtable_type2_ligActionIndex_validate(), gxv_odtect_validate(), gxv_opbd_validate(), gxv_prop_property_validate(), gxv_set_length_by_ulong_offset(), gxv_set_length_by_ushort_offset(), gxv_StateTable_validate(), gxv_XEntryTable_validate(), and gxv_XStateTable_validate().
#define FT_INVALID_TOO_SHORT FT_INVALID( FT_ERR_PREFIX, Invalid_Table ) |
Definition at line 125 of file ftvalid.h.
Referenced by gxv_EntryTable_validate(), and gxv_XEntryTable_validate().
#define FT_VALIDATOR | ( | x | ) | ((FT_Validator)( x )) |
Definition at line 92 of file ftvalid.h.
Referenced by tt_face_build_cmaps().
typedef enum FT_ValidationLevel_ FT_ValidationLevel |
typedef typedefFT_BEGIN_HEADER struct FT_ValidatorRec_ volatile* FT_Validator |
typedef struct FT_ValidatorRec_ FT_ValidatorRec |
enum FT_ValidationLevel_ |
ft_validator_error | ( | FT_Validator | valid, |
FT_Error | error | ||
) |
Definition at line 94 of file ftobjs.c.
References error, ft_jmp_buf, and ft_longjmp.
ft_validator_init | ( | FT_Validator | valid, |
const FT_Byte * | base, | ||
const FT_Byte * | limit, | ||
FT_ValidationLevel | level | ||
) |
Definition at line 71 of file ftobjs.c.
References FT_Err_Ok.
Referenced by classic_kern_validate(), otv_validate(), and tt_face_build_cmaps().
ft_validator_run | ( | FT_Validator | valid | ) |