Lines Matching refs:sal_uInt32

52         sal_uInt32 tag;                     /**< TrueType file tag */
73 sal_uInt32 tag;
74 sal_uInt32 length;
87 _inline sal_uInt32 mkTag(sal_uInt8 a, sal_uInt8 b, sal_uInt8 c, sal_uInt8 d) { in mkTag()
92 _inline sal_Int16 GetInt16( const sal_uInt8* ptr, sal_uInt32 offset, int bigendian) in GetInt16()
106 _inline sal_uInt16 GetUInt16( const sal_uInt8* ptr, sal_uInt32 offset, int bigendian) in GetUInt16()
120 _inline sal_Int32 GetInt32( const sal_uInt8* ptr, sal_uInt32 offset, int bigendian) in GetInt32()
136 _inline sal_uInt32 GetUInt32( const sal_uInt8* ptr, sal_uInt32 offset, int bigendian) in GetUInt32()
138 sal_uInt32 t; in GetUInt32()
154 _inline void PutInt16(sal_Int16 val, sal_uInt8 *ptr, sal_uInt32 offset, int bigendian) in PutInt16()
167 _inline void PutUInt16(sal_uInt16 val, sal_uInt8 *ptr, sal_uInt32 offset, int bigendian) in PutUInt16()
180 _inline void PutUInt32(sal_uInt32 val, sal_uInt8 *ptr, sal_uInt32 offset, int bigendian) in PutUInt32()
199 _inline void PutInt32(sal_Int32 val, sal_uInt8 *ptr, sal_uInt32 offset, int bigendian) in PutInt32()
240 static sal_uInt32 CheckSum(sal_uInt32 *ptr, sal_uInt32 length) in CheckSum()
242 sal_uInt32 sum = 0; in CheckSum()
243 sal_uInt32 *endptr = ptr + ((length + 3) & (sal_uInt32) ~3) / 4; in CheckSum()
250 _inline void *smalloc(sal_uInt32 size) in smalloc()
257 _inline void *scalloc(sal_uInt32 n, sal_uInt32 size) in scalloc()
268 void TrueTypeCreatorNewEmpty(sal_uInt32 tag, TrueTypeCreator **_this) in TrueTypeCreatorNewEmpty()
288 void RemoveTable(TrueTypeCreator *_this, sal_uInt32 tag) in RemoveTable()
308 int StreamToMemory(TrueTypeCreator *_this, sal_uInt8 **ptr, sal_uInt32 *length) in StreamToMemory()
311 sal_uInt32 s, offset, checkSumAdjustment = 0; in StreamToMemory()
312 sal_uInt32 *p; in StreamToMemory()
348 s += (te[i].length + 3) & (sal_uInt32) ~3; in StreamToMemory()
364 PutUInt32(CheckSum((sal_uInt32 *) te[i].data, te[i].length), ttf + 12, 16 * i + 4, 1); in StreamToMemory()
372 memcpy(ttf+offset, te[i].data, (te[i].length + 3) & (sal_uInt32) ~3 ); in StreamToMemory()
373 offset += (te[i].length + 3) & (sal_uInt32) ~3; in StreamToMemory()
379 p = (sal_uInt32 *) ttf; in StreamToMemory()
392 sal_uInt32 length; in StreamToFile()
444 sal_uInt32 id; /* subtable ID (platform/encoding ID) */
445 sal_uInt32 n; /* number of used translation pairs */
446 sal_uInt32 m; /* number of allocated translation pairs */
447 sal_uInt32 *xc; /* character array */
448 sal_uInt32 *xg; /* glyph array */
452 sal_uInt32 n; /* number of used CMAP sub-tables */
453 sal_uInt32 m; /* number of allocated CMAP sub-tables */
458 sal_uInt32 tag;
459 sal_uInt32 nbytes;
464 sal_uInt32 nbytes; /* number of bytes in loca table */
469 sal_uInt32 format;
470 sal_uInt32 italicAngle;
473 sal_uInt32 isFixedPitch;
479 static sal_uInt8 *ttmalloc(sal_uInt32 nbytes) in ttmalloc()
481 sal_uInt32 n; in ttmalloc()
483 n = (nbytes + 3) & (sal_uInt32) ~3; in ttmalloc()
558 sal_uInt32 i; in TrueTypeTableDispose_cmap()
604 sal_uInt32 tag;
620 static int GetRawData_generic(TrueTypeTable *_this, sal_uInt8 **ptr, sal_uInt32 *len, sal_uInt32 *t… in GetRawData_generic()
633 static int GetRawData_head(TrueTypeTable *_this, sal_uInt8 **ptr, sal_uInt32 *len, sal_uInt32 *tag) in GetRawData_head()
642 static int GetRawData_hhea(TrueTypeTable *_this, sal_uInt8 **ptr, sal_uInt32 *len, sal_uInt32 *tag) in GetRawData_hhea()
651 static int GetRawData_loca(TrueTypeTable *_this, sal_uInt8 **ptr, sal_uInt32 *len, sal_uInt32 *tag) in GetRawData_loca()
668 static int GetRawData_maxp(TrueTypeTable *_this, sal_uInt8 **ptr, sal_uInt32 *len, sal_uInt32 *tag) in GetRawData_maxp()
677 static int GetRawData_glyf(TrueTypeTable *_this, sal_uInt8 **ptr, sal_uInt32 *len, sal_uInt32 *tag) in GetRawData_glyf()
679 sal_uInt32 n, nbytes = 0; in GetRawData_glyf()
715 static sal_uInt8 *PackCmapType0(CmapSubTable *s, sal_uInt32 *length) in PackCmapType0()
719 sal_uInt32 i, j; in PackCmapType0()
739 static sal_uInt8 *PackCmapType6(CmapSubTable *s, sal_uInt32 *length) in PackCmapType6()
743 sal_uInt32 i, j; in PackCmapType6()
768 static sal_uInt8 *PackCmap(CmapSubTable *s, sal_uInt32 *length) in PackCmap()
776 static int GetRawData_cmap(TrueTypeTable *_this, sal_uInt8 **ptr, sal_uInt32 *len, sal_uInt32 *tag) in GetRawData_cmap()
779 sal_uInt32 i; in GetRawData_cmap()
780 sal_uInt32 tlen = 0; in GetRawData_cmap()
781 sal_uInt32 l; in GetRawData_cmap()
782 sal_uInt32 cmapsize; in GetRawData_cmap()
784 sal_uInt32 coffset; in GetRawData_cmap()
792 sal_uInt32* sizes = (sal_uInt32*)scalloc(t->n, sizeof(sal_uInt32)); in GetRawData_cmap()
827 static int GetRawData_name(TrueTypeTable *_this, sal_uInt8 **ptr, sal_uInt32 *len, sal_uInt32 *tag) in GetRawData_name()
896 static int GetRawData_post(TrueTypeTable *_this, sal_uInt8 **ptr, sal_uInt32 *len, sal_uInt32 *tag) in GetRawData_post()
900 sal_uInt32 postLen = 0; in GetRawData_post()
931 sal_uInt32 tag;
932 int (*f)(TrueTypeTable *, sal_uInt8 **, sal_uInt32 *, sal_uInt32 *);
963 TrueTypeTable *TrueTypeTableNew(sal_uInt32 tag, in TrueTypeTableNew()
964 sal_uInt32 nbytes, in TrueTypeTableNew()
985 TrueTypeTable *TrueTypeTableNew_head(sal_uInt32 fontRevision, in TrueTypeTableNew_head()
1156 TrueTypeTable *TrueTypeTableNew_post(sal_uInt32 format, in TrueTypeTableNew_post()
1157 sal_uInt32 italicAngle, in TrueTypeTableNew_post()
1160 sal_uInt32 isFixedPitch) in TrueTypeTableNew_post()
1180 int GetRawData(TrueTypeTable *_this, sal_uInt8 **ptr, sal_uInt32 *len, sal_uInt32 *tag) in GetRawData()
1207 void cmapAdd(TrueTypeTable *table, sal_uInt32 id, sal_uInt32 c, sal_uInt32 g) in cmapAdd()
1209 sal_uInt32 i, found; in cmapAdd()
1251 s[i].xc = (sal_uInt32*)scalloc(CMAP_PAIR_INIT, sizeof(sal_uInt32)); in cmapAdd()
1252 s[i].xg = (sal_uInt32*)scalloc(CMAP_PAIR_INIT, sizeof(sal_uInt32)); in cmapAdd()
1256 sal_uInt32* tmp1 = (sal_uInt32*)scalloc(s[i].m + CMAP_PAIR_INCR, sizeof(sal_uInt32)); in cmapAdd()
1257 sal_uInt32* tmp2 = (sal_uInt32*)scalloc(s[i].m + CMAP_PAIR_INCR, sizeof(sal_uInt32)); in cmapAdd()
1260 memcpy(tmp1, s[i].xc, sizeof(sal_uInt32) * s[i].m); in cmapAdd()
1261 memcpy(tmp2, s[i].xg, sizeof(sal_uInt32) * s[i].m); in cmapAdd()
1274 sal_uInt32 glyfAdd(TrueTypeTable *table, GlyphData *glyphdata, TrueTypeFont *fnt) in glyfAdd()
1277 sal_uInt32 currentID; in glyfAdd()
1284 if (!glyphdata) return (sal_uInt32)~0; in glyfAdd()
1286 std::vector< sal_uInt32 > glyphlist; in glyfAdd()
1302 std::vector< sal_uInt32 >::const_iterator it = glyphlist.begin(); in glyfAdd()
1329 sal_uInt32 glyfCount(const TrueTypeTable *table) in glyfCount()
1349 static TrueTypeTable *FindTable(TrueTypeCreator *tt, sal_uInt32 tag) in FindTable()
1383 sal_uInt32 nGlyphs, locaLen = 0, glyfLen = 0; in ProcessTables()
1385 sal_uInt32 i = 0; in ProcessTables()
1388 sal_uInt32 hmtxSize; in ProcessTables()
1392 sal_uInt32 *gid; /* array of old glyphIDs */ in ProcessTables()
1398 gid = (sal_uInt32*)scalloc(nGlyphs, sizeof(sal_uInt32)); in ProcessTables()
1461 sal_uInt32 j; in ProcessTables()