gxvfeat.c File Reference

#include "gxvalid.h"
#include "gxvcommn.h"
#include "gxvfeat.h"

Go to the source code of this file.

Classes

struct  GXV_feat_DataRec_

Defines

#define FT_COMPONENT   trace_gxvfeat
#define GXV_FEAT_DATA(field)   GXV_TABLE_DATA( feat, field )

Typedefs

typedef GXV_feat_DataRec_ GXV_feat_DataRec
typedef GXV_feat_DataRec_GXV_feat_Data
typedef enum GXV_FeatureFlagsMask_ GXV_FeatureFlagsMask

Enumerations

enum  GXV_FeatureFlagsMask_

Functions

static void gxv_feat_registry_validate (FT_UShort feature, FT_UShort nSettings, FT_Bool exclusive, GXV_Validator valid)
static void gxv_feat_name_index_validate (FT_Bytes table, FT_Bytes limit, GXV_Validator valid)
static void gxv_feat_setting_validate (FT_Bytes table, FT_Bytes limit, FT_Bool exclusive, GXV_Validator valid)
static void gxv_feat_name_validate (FT_Bytes table, FT_Bytes limit, GXV_Validator valid)
 gxv_feat_validate (FT_Bytes table, FT_Face face, FT_Validator ftvalid)


Define Documentation

#define FT_COMPONENT   trace_gxvfeat

Definition at line 40 of file gxvfeat.c.

#define GXV_FEAT_DATA ( field   )     GXV_TABLE_DATA( feat, field )

Definition at line 60 of file gxvfeat.c.

Referenced by gxv_feat_name_validate(), gxv_feat_setting_validate(), and gxv_feat_validate().


Typedef Documentation

typedef struct GXV_feat_DataRec_ * GXV_feat_Data

typedef struct GXV_feat_DataRec_ GXV_feat_DataRec

typedef enum GXV_FeatureFlagsMask_ GXV_FeatureFlagsMask


Enumeration Type Documentation

enum GXV_FeatureFlagsMask_

Definition at line 63 of file gxvfeat.c.


Function Documentation

static void gxv_feat_name_index_validate ( FT_Bytes  table,
FT_Bytes  limit,
GXV_Validator  valid 
) [static]

Definition at line 140 of file gxvfeat.c.

References FT_NEXT_SHORT, GXV_EXIT, GXV_LIMIT_CHECK, GXV_NAME_ENTER, gxv_sfntName_validate(), GXV_TRACE, and p.

Referenced by gxv_feat_name_validate(), and gxv_feat_setting_validate().

static void gxv_feat_name_validate ( FT_Bytes  table,
FT_Bytes  limit,
GXV_Validator  valid 
) [static]

Definition at line 193 of file gxvfeat.c.

References FT_Bool, FT_BOOL, FT_INVALID_DATA, FT_INVALID_FORMAT, FT_INVALID_OFFSET, FT_NEXT_ULONG, FT_NEXT_USHORT, FT_VALIDATE_PARANOID, GXV_EXIT, GXV_FEAT_DATA, GXV_FEAT_MASK_DEFAULT_SETTING, GXV_FEAT_MASK_DYNAMIC_DEFAULT, GXV_FEAT_MASK_EXCLUSIVE_SETTINGS, GXV_FEAT_MASK_UNUSED, gxv_feat_name_index_validate(), gxv_feat_registry_validate(), gxv_feat_setting_validate(), GXV_LIMIT_CHECK, GXV_NAME_ENTER, i, and p.

Referenced by gxv_feat_validate().

static void gxv_feat_registry_validate ( FT_UShort  feature,
FT_UShort  nSettings,
FT_Bool  exclusive,
GXV_Validator  valid 
) [static]

Definition at line 82 of file gxvfeat.c.

References FT_INVALID_DATA, FT_VALIDATE_PARANOID, FT_VALIDATE_TIGHT, GXV_EXIT, gxv_feat_registry, gxv_feat_registry_length, GXV_NAME_ENTER, and GXV_TRACE.

Referenced by gxv_feat_name_validate().

static void gxv_feat_setting_validate ( FT_Bytes  table,
FT_Bytes  limit,
FT_Bool  exclusive,
GXV_Validator  valid 
) [static]

Definition at line 165 of file gxvfeat.c.

References FT_INVALID_DATA, FT_NEXT_USHORT, GXV_EXIT, GXV_FEAT_DATA, gxv_feat_name_index_validate(), GXV_LIMIT_CHECK, GXV_NAME_ENTER, and p.

Referenced by gxv_feat_name_validate().

gxv_feat_validate ( FT_Bytes  table,
FT_Face  face,
FT_Validator  ftvalid 
)

Definition at line 277 of file gxvfeat.c.

References FT_INVALID_DATA, FT_INVALID_FORMAT, FT_NEXT_ULONG, FT_NEXT_USHORT, FT_TRACE3, FT_TRACE4, FT_VALIDATE_PARANOID, GXV_FEAT_DATA, gxv_feat_name_validate(), GXV_INIT, GXV_LIMIT_CHECK, GXV_TRACE, i, p, and GXV_feat_DataRec_::reserved_size.


Generated on Tue Jul 5 15:58:23 2011 for ROOT_528-00b_version by  doxygen 1.5.1