#include "gxvalid.h"
#include "gxvcommn.h"
Go to the source code of this file.
◆ FT_COMPONENT
#define FT_COMPONENT trace_gxvtrak |
◆ GXV_TRAK_DATA
◆ GXV_trak_Data
◆ GXV_trak_DataRec
◆ gxv_trak_trackData_validate()
Definition at line 144 of file gxvtrak.c.
147 {
152
154
155
158
159
164
166 "trackData header", odtect );
167
168
171 "trackTable", odtect );
172
173
174 p = gxvalid->
root->base + sizeTableOffset;
177
178
180 if (
limit -
p < nTracks * nSizes * 2 )
181 GXV_TRACE((
"too short trackValue array\n" ));
182
185
190 + nSizes * 2,
191 "trackValue array", odtect );
192
194
196 }
#define FT_NEXT_USHORT(buffer)
#define FT_NEXT_ULONG(buffer)
gxv_odtect_add_range(FT_Bytes start, FT_ULong length, const FT_String *name, GXV_odtect_Range odtect)
gxv_odtect_validate(GXV_odtect_Range odtect, GXV_Validator gxvalid)
#define GXV_ODTECT(n, odtect)
#define GXV_NAME_ENTER(name)
#define GXV_ODTECT_INIT(odtect)
#define GXV_LIMIT_CHECK(_count)
#define GXV_TRAK_DATA(FIELD)
static void gxv_trak_trackTable_validate(FT_Bytes table, FT_Bytes limit, FT_UShort nTracks, GXV_Validator gxvalid)
Referenced by gxv_trak_validate().
◆ gxv_trak_trackTable_validate()
Definition at line 94 of file gxvtrak.c.
98 {
100
105
106
108
111
113
114 for (
i = 0;
i < nTracks;
i++ )
115 {
120
125
127
128 for (
j =
i;
j < nTracks;
j++ )
129 {
133 GXV_TRACE((
"duplicated entries found for track value 0x%x\n",
134 track ));
135 }
136 }
137
140 }
#define FT_NEXT_LONG(buffer)
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
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 GLint GLint j
gxv_sfntName_validate(FT_UShort name_index, FT_UShort min_index, FT_UShort max_index, GXV_Validator gxvalid)
Referenced by gxv_trak_trackData_validate().
◆ gxv_trak_validate()
Definition at line 208 of file gxvtrak.c.
211 {
214
219
225
226
228
230 gxvalid->
root = ftvalid;
233
235
236 FT_TRACE3((
"validating `trak' table\n" ));
238
245
248 GXV_TRACE((
" (horizOffset = 0x%04x)\n", horizOffset ));
249 GXV_TRACE((
" (vertOffset = 0x%04x)\n", vertOffset ));
251
252
255
256
259
262
263
266
267
268 if ( 0 < horizOffset )
269 {
272 "horizJustData", odtect );
273 }
274
275 if ( 0 < vertOffset )
276 {
279 "vertJustData", odtect );
280 }
281
283
285 }
static const WCHAR version[]
#define FT_TRACE3(varformat)
#define FT_TRACE4(varformat)
#define FT_INVALID_FORMAT
#define GXV_32BIT_ALIGNMENT_VALIDATE(a)
static void gxv_trak_trackData_validate(FT_Bytes table, FT_Bytes limit, GXV_Validator gxvalid)