40#define FT_COMPONENT trace_gxvfeat
60#define GXV_FEAT_DATA( field ) GXV_TABLE_DATA( feat, field )
93 GXV_TRACE((
"feature number %d is out of range %d\n",
101 GXV_TRACE((
"feature number %d is in defined range but doesn't exist\n",
117 GXV_TRACE((
"feature %d: nSettings %d != defined nSettings %d\n",
126 GXV_TRACE((
"exclusive flag %d differs from predefined value\n",
151 GXV_TRACE((
" (nameIndex = %d)\n", nameIndex ));
179 if ( exclusive && (
setting & 1 ) == 0 )
220 if ( settingTable < reserved_size )
233 dynamic_default = (
FT_Byte)( featureFlags &
239 if ( !( dynamic_default < nSettings ) )
247 p = gxvalid->
root->base + settingTable;
248 for ( last_setting = -1,
i = 0;
i < nSettings;
i++ )
292 gxvalid->
root = ftvalid;
296 FT_TRACE3((
"validating `feat' table\n" ));
309 GXV_TRACE((
" (featureNameCount = %d)\n", featureNameCount ));
322 feat->
reserved_size += featureNameCount * ( 2 + 2 + 4 + 2 + 2 );
324 for ( last_feature = -1,
i = 0;
i < featureNameCount;
i++ )
332 p += 2 + 2 + 4 + 2 + 2;
#define FT_TRACE3(varformat)
#define FT_TRACE4(varformat)
#define FT_NEXT_USHORT(buffer)
#define FT_NEXT_SHORT(buffer)
#define FT_NEXT_ULONG(buffer)
FT_BEGIN_HEADER typedef unsigned char FT_Bool
#define FT_INVALID_FORMAT
#define FT_INVALID_OFFSET
typedefFT_BEGIN_HEADER struct FT_ValidatorRec_ volatile * FT_Validator
GLenum GLuint GLint GLenum face
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
gxv_sfntName_validate(FT_UShort name_index, FT_UShort min_index, FT_UShort max_index, GXV_Validator gxvalid)
#define GXV_NAME_ENTER(name)
#define GXV_SET_ERR_IF_PARANOID(err)
#define IS_PARANOID_VALIDATION
#define GXV_LIMIT_CHECK(_count)
static void gxv_feat_name_validate(FT_Bytes table, FT_Bytes limit, GXV_Validator gxvalid)
static void gxv_feat_setting_validate(FT_Bytes table, FT_Bytes limit, FT_Bool exclusive, GXV_Validator gxvalid)
enum GXV_FeatureFlagsMask_ GXV_FeatureFlagsMask
static void gxv_feat_registry_validate(FT_UShort feature, FT_UShort nSettings, FT_Bool exclusive, GXV_Validator gxvalid)
struct GXV_feat_DataRec_ * GXV_feat_Data
@ GXV_FEAT_MASK_DEFAULT_SETTING
@ GXV_FEAT_MASK_EXCLUSIVE_SETTINGS
@ GXV_FEAT_MASK_DYNAMIC_DEFAULT
struct GXV_feat_DataRec_ GXV_feat_DataRec
gxv_feat_validate(FT_Bytes table, FT_Face face, FT_Validator ftvalid)
static void gxv_feat_name_index_validate(FT_Bytes table, FT_Bytes limit, GXV_Validator gxvalid)
#define GXV_FEAT_DATA(field)
static GX_Feature_RegistryRec gxv_feat_registry[]
#define gxv_feat_registry_length
INTERNETFEATURELIST feature