ReactOS 0.4.16-dev-297-gc569aee
|
Go to the source code of this file.
Classes | |
union | GXV_LookupValueDesc_ |
union | GXV_StateTable_GlyphOffsetDesc_ |
struct | GXV_StateTable_ValidatorRec_ |
struct | GXV_XStateTable_ValidatorRec_ |
struct | GXV_ValidatorRec_ |
struct | GXV_odtect_DataRec_ |
struct | GXV_odtect_RangeRec_ |
Enumerations | |
enum | GXV_LookupValue_SignSpec_ { GXV_LOOKUPVALUE_UNSIGNED = 0 , GXV_LOOKUPVALUE_SIGNED } |
enum | GXV_GlyphOffset_Format_ { GXV_GLYPHOFFSET_NONE = -1 , GXV_GLYPHOFFSET_UCHAR = 2 , GXV_GLYPHOFFSET_CHAR , GXV_GLYPHOFFSET_USHORT = 4 , GXV_GLYPHOFFSET_SHORT , GXV_GLYPHOFFSET_ULONG = 8 , GXV_GLYPHOFFSET_LONG } |
#define DUMMY_LIMIT 0 |
Definition at line 79 of file gxvcommn.h.
#define FT_INVALID_ | ( | _error | ) | ft_validator_error( gxvalid->root, FT_THROW( _error ) ) |
Definition at line 269 of file gxvcommn.h.
Definition at line 317 of file gxvcommn.h.
Definition at line 302 of file gxvcommn.h.
Definition at line 133 of file gxvcommn.h.
Definition at line 136 of file gxvcommn.h.
Definition at line 300 of file gxvcommn.h.
#define GXV_LIMIT_CHECK | ( | _count | ) |
Definition at line 272 of file gxvcommn.h.
Definition at line 562 of file gxvcommn.h.
#define GXV_ODTECT_INIT | ( | odtect | ) |
Definition at line 567 of file gxvcommn.h.
#define GXV_SET_ERR_IF_PARANOID | ( | err | ) | { if ( IS_PARANOID_VALIDATION ) ( err ); } |
Definition at line 66 of file gxvcommn.h.
#define GXV_STATEHEADER_SIZE GXV_STATETABLE_HEADER_SIZE |
Definition at line 521 of file gxvcommn.h.
#define GXV_STATETABLE_HEADER_SIZE ( 2 + 2 + 2 + 2 ) |
Definition at line 520 of file gxvcommn.h.
#define GXV_SUBTABLE_LIMIT_CHECK | ( | _count | ) |
Definition at line 510 of file gxvcommn.h.
#define GXV_SUBTABLE_OFFSET_CHECK | ( | _offset | ) |
Definition at line 504 of file gxvcommn.h.
Definition at line 265 of file gxvcommn.h.
Definition at line 334 of file gxvcommn.h.
#define GXV_TRACE_HEXDUMP_SFNTNAME | ( | n | ) | GXV_TRACE_HEXDUMP( n.string, n.string_len ) |
Definition at line 359 of file gxvcommn.h.
#define GXV_USHORT_TO_SHORT | ( | _us | ) | ( ( 0x8000U < ( _us ) ) ? ( ( _us ) - 0x8000U ) : ( _us ) ) |
Definition at line 517 of file gxvcommn.h.
#define GXV_XSTATEHEADER_SIZE GXV_XSTATETABLE_HEADER_SIZE |
Definition at line 524 of file gxvcommn.h.
#define GXV_XSTATETABLE_HEADER_SIZE ( 4 + 4 + 4 + 4 ) |
Definition at line 523 of file gxvcommn.h.
#define IS_PARANOID_VALIDATION ( gxvalid->root->level >= FT_VALIDATE_PARANOID ) |
Definition at line 65 of file gxvcommn.h.
typedef GXV_LookupValueDesc(* GXV_Lookup_Fmt4_Transit_Func) (FT_UShort relative_gindex, GXV_LookupValueCPtr base_value_p, FT_Bytes lookuptbl_limit, GXV_Validator gxvalid) |
Definition at line 111 of file gxvcommn.h.
typedef void(* GXV_Lookup_Value_Validate_Func) (FT_UShort glyph, GXV_LookupValueCPtr value_p, GXV_Validator gxvalid) |
Definition at line 106 of file gxvcommn.h.
typedef const GXV_LookupValueDesc* GXV_LookupValueCPtr |
Definition at line 96 of file gxvcommn.h.
typedef union GXV_LookupValueDesc_ GXV_LookupValueDesc |
typedef struct GXV_odtect_DataRec_ * GXV_odtect_Data |
typedef struct GXV_odtect_RangeRec_ * GXV_odtect_Range |
typedef void(* GXV_StateTable_Entry_Validate_Func) (FT_Byte state, FT_UShort flags, GXV_StateTable_GlyphOffsetCPtr glyphOffset_p, FT_Bytes statetable_table, FT_Bytes statetable_limit, GXV_Validator gxvalid) |
Definition at line 165 of file gxvcommn.h.
Definition at line 153 of file gxvcommn.h.
typedef void(* GXV_StateTable_OptData_Load_Func) (FT_Bytes table, FT_Bytes limit, GXV_Validator gxvalid) |
Definition at line 174 of file gxvcommn.h.
typedef void(* GXV_StateTable_Subtable_Setup_Func) (FT_UShort table_size, FT_UShort classTable, FT_UShort stateArray, FT_UShort entryTable, FT_UShort *classTable_length_p, FT_UShort *stateArray_length_p, FT_UShort *entryTable_length_p, GXV_Validator gxvalid) |
Definition at line 155 of file gxvcommn.h.
Definition at line 81 of file gxvcommn.h.
typedef struct GXV_ValidatorRec_* GXV_Validator |
Definition at line 76 of file gxvcommn.h.
typedef struct GXV_ValidatorRec_ GXV_ValidatorRec |
typedef void(* GXV_XStateTable_Entry_Validate_Func) (FT_UShort state, FT_UShort flags, GXV_StateTable_GlyphOffsetCPtr glyphOffset_p, FT_Bytes xstatetable_table, FT_Bytes xstatetable_limit, GXV_Validator gxvalid) |
Definition at line 207 of file gxvcommn.h.
Definition at line 195 of file gxvcommn.h.
Definition at line 193 of file gxvcommn.h.
Definition at line 217 of file gxvcommn.h.
typedef void(* GXV_XStateTable_Subtable_Setup_Func) (FT_ULong table_size, FT_ULong classTable, FT_ULong stateArray, FT_ULong entryTable, FT_ULong *classTable_length_p, FT_ULong *stateArray_length_p, FT_ULong *entryTable_length_p, GXV_Validator gxvalid) |
Definition at line 197 of file gxvcommn.h.
Enumerator | |
---|---|
GXV_GLYPHOFFSET_NONE | |
GXV_GLYPHOFFSET_UCHAR | |
GXV_GLYPHOFFSET_CHAR | |
GXV_GLYPHOFFSET_USHORT | |
GXV_GLYPHOFFSET_SHORT | |
GXV_GLYPHOFFSET_ULONG | |
GXV_GLYPHOFFSET_LONG |
Definition at line 120 of file gxvcommn.h.
Enumerator | |
---|---|
GXV_LOOKUPVALUE_UNSIGNED | |
GXV_LOOKUPVALUE_SIGNED |
Definition at line 98 of file gxvcommn.h.
gxv_array_getlimits_byte | ( | FT_Bytes | table, |
FT_Bytes | limit, | ||
FT_Byte * | min, | ||
FT_Byte * | max, | ||
GXV_Validator | gxvalid | ||
) |
Definition at line 181 of file gxvcommn.c.
Referenced by gxv_kern_subtable_fmt3_validate().
gxv_array_getlimits_ushort | ( | FT_Bytes | table, |
FT_Bytes | limit, | ||
FT_UShort * | min, | ||
FT_UShort * | max, | ||
GXV_Validator | gxvalid | ||
) |
Definition at line 210 of file gxvcommn.c.
Referenced by gxv_kern_subtable_fmt2_clstbl_validate().
gxv_BinSrchHeader_validate | ( | FT_Bytes | p, |
FT_Bytes | limit, | ||
FT_UShort * | unitSize_p, | ||
FT_UShort * | nUnits_p, | ||
GXV_Validator | gxvalid | ||
) |
Definition at line 328 of file gxvcommn.c.
Referenced by gxv_kern_subtable_fmt0_validate(), gxv_LookupTable_fmt2_validate(), gxv_LookupTable_fmt4_validate(), and gxv_LookupTable_fmt6_validate().
gxv_ctlPoint_validate | ( | FT_UShort | gid, |
FT_UShort | ctl_point, | ||
GXV_Validator | gxvalid | ||
) |
Definition at line 846 of file gxvcommn.c.
Referenced by gxv_bsln_parts_fmt2_validate(), gxv_lcar_partial_validate(), and gxv_opbd_LookupValue_validate().
gxv_glyphid_validate | ( | FT_UShort | gid, |
GXV_Validator | gxvalid | ||
) |
Definition at line 813 of file gxvcommn.c.
Referenced by gxv_bsln_parts_fmt2_validate(), gxv_ClassTable_validate(), gxv_kern_subtable_fmt0_pairs_validate(), gxv_kern_subtable_fmt2_clstbl_validate(), gxv_LookupTable_fmt2_validate(), gxv_LookupTable_fmt4_validate(), gxv_LookupTable_fmt6_validate(), gxv_LookupTable_fmt8_validate(), gxv_mort_subtable_type4_lookupval_validate(), and gxv_prop_property_validate().
gxv_LookupTable_validate | ( | FT_Bytes | table, |
FT_Bytes | limit, | ||
GXV_Validator | gxvalid | ||
) |
Definition at line 755 of file gxvcommn.c.
Referenced by gxv_bsln_parts_fmt1_validate(), gxv_bsln_parts_fmt3_validate(), gxv_just_justData_lookuptable_validate(), gxv_just_pcLookupTable_validate(), gxv_lcar_validate(), gxv_mort_subtable_type4_validate(), gxv_morx_subtable_type1_substitutionTable_validate(), gxv_opbd_validate(), gxv_prop_validate(), and gxv_XStateTable_validate().
gxv_odtect_add_range | ( | FT_Bytes | start, |
FT_ULong | length, | ||
const FT_String * | name, | ||
GXV_odtect_Range | odtect | ||
) |
Definition at line 1702 of file gxvcommn.c.
Referenced by gxv_just_justData_validate(), gxv_just_validate(), gxv_kern_subtable_fmt2_clstbl_validate(), gxv_kern_subtable_fmt2_validate(), gxv_trak_trackData_validate(), and gxv_trak_validate().
gxv_odtect_validate | ( | GXV_odtect_Range | odtect, |
GXV_Validator | gxvalid | ||
) |
Definition at line 1715 of file gxvcommn.c.
Referenced by gxv_just_justData_validate(), gxv_just_validate(), gxv_kern_subtable_fmt2_validate(), gxv_trak_trackData_validate(), and gxv_trak_validate().
gxv_set_length_by_ulong_offset | ( | FT_ULong * | offset, |
FT_ULong ** | length, | ||
FT_ULong * | buff, | ||
FT_UInt | nmemb, | ||
FT_ULong | limit, | ||
GXV_Validator | gxvalid | ||
) |
Definition at line 128 of file gxvcommn.c.
Referenced by gxv_morx_subtable_type1_subtable_setup(), gxv_morx_subtable_type2_subtable_setup(), gxv_morx_subtable_type5_subtable_setup(), and gxv_XStateTable_subtable_setup().
gxv_set_length_by_ushort_offset | ( | FT_UShort * | offset, |
FT_UShort ** | length, | ||
FT_UShort * | buff, | ||
FT_UInt | nmemb, | ||
FT_UShort | limit, | ||
GXV_Validator | gxvalid | ||
) |
Definition at line 63 of file gxvcommn.c.
Referenced by gxv_kern_subtable_fmt1_subtable_setup(), gxv_mort_subtable_type1_subtable_setup(), gxv_mort_subtable_type2_subtable_setup(), and gxv_StateTable_subtable_setup().
gxv_sfntName_validate | ( | FT_UShort | name_index, |
FT_UShort | min_index, | ||
FT_UShort | max_index, | ||
GXV_Validator | gxvalid | ||
) |
Definition at line 884 of file gxvcommn.c.
Referenced by gxv_feat_name_index_validate(), and gxv_trak_trackTable_validate().
gxv_StateTable_subtable_setup | ( | FT_UShort | table_size, |
FT_UShort | classTable, | ||
FT_UShort | stateArray, | ||
FT_UShort | entryTable, | ||
FT_UShort * | classTable_length_p, | ||
FT_UShort * | stateArray_length_p, | ||
FT_UShort * | entryTable_length_p, | ||
GXV_Validator | gxvalid | ||
) |
Definition at line 1182 of file gxvcommn.c.
Referenced by gxv_mort_subtable_type5_subtable_setup(), and gxv_StateTable_validate().
gxv_StateTable_validate | ( | FT_Bytes | table, |
FT_Bytes | limit, | ||
GXV_Validator | gxvalid | ||
) |
Definition at line 1208 of file gxvcommn.c.
Referenced by gxv_just_justClassTable_validate(), gxv_kern_subtable_fmt1_validate(), gxv_mort_subtable_type0_validate(), gxv_mort_subtable_type1_validate(), gxv_mort_subtable_type2_validate(), and gxv_mort_subtable_type5_validate().
gxv_XStateTable_subtable_setup | ( | FT_ULong | table_size, |
FT_ULong | classTable, | ||
FT_ULong | stateArray, | ||
FT_ULong | entryTable, | ||
FT_ULong * | classTable_length_p, | ||
FT_ULong * | stateArray_length_p, | ||
FT_ULong * | entryTable_length_p, | ||
GXV_Validator | gxvalid | ||
) |
Definition at line 1312 of file gxvcommn.c.
Referenced by gxv_XStateTable_validate().
gxv_XStateTable_validate | ( | FT_Bytes | table, |
FT_Bytes | limit, | ||
GXV_Validator | gxvalid | ||
) |
Definition at line 1554 of file gxvcommn.c.
Referenced by gxv_morx_subtable_type0_validate(), gxv_morx_subtable_type1_validate(), gxv_morx_subtable_type2_validate(), and gxv_morx_subtable_type5_validate().