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()
443 sal_uInt32 id; /* subtable ID (platform/encoding ID) */
444 sal_uInt32 n; /* number of used translation pairs */
445 sal_uInt32 m; /* number of allocated translation pairs */
446 sal_uInt32 *xc; /* character array */
447 sal_uInt32 *xg; /* glyph array */
451 sal_uInt32 n; /* number of used CMAP sub-tables */
452 sal_uInt32 m; /* number of allocated CMAP sub-tables */
457 sal_uInt32 tag;
458 sal_uInt32 nbytes;
463 sal_uInt32 nbytes; /* number of bytes in loca table */
468 sal_uInt32 format;
469 sal_uInt32 italicAngle;
472 sal_uInt32 isFixedPitch;
478 static sal_uInt8 *ttmalloc(sal_uInt32 nbytes) in ttmalloc()
480 sal_uInt32 n; in ttmalloc()
482 n = (nbytes + 3) & (sal_uInt32) ~3; in ttmalloc()
557 sal_uInt32 i; in TrueTypeTableDispose_cmap()
603 sal_uInt32 tag;
619 static int GetRawData_generic(TrueTypeTable *_this, sal_uInt8 **ptr, sal_uInt32 *len, sal_uInt32 *t… in GetRawData_generic()
632 static int GetRawData_head(TrueTypeTable *_this, sal_uInt8 **ptr, sal_uInt32 *len, sal_uInt32 *tag) in GetRawData_head()
641 static int GetRawData_hhea(TrueTypeTable *_this, sal_uInt8 **ptr, sal_uInt32 *len, sal_uInt32 *tag) in GetRawData_hhea()
650 static int GetRawData_loca(TrueTypeTable *_this, sal_uInt8 **ptr, sal_uInt32 *len, sal_uInt32 *tag) in GetRawData_loca()
667 static int GetRawData_maxp(TrueTypeTable *_this, sal_uInt8 **ptr, sal_uInt32 *len, sal_uInt32 *tag) in GetRawData_maxp()
676 static int GetRawData_glyf(TrueTypeTable *_this, sal_uInt8 **ptr, sal_uInt32 *len, sal_uInt32 *tag) in GetRawData_glyf()
678 sal_uInt32 n, nbytes = 0; in GetRawData_glyf()
714 static sal_uInt8 *PackCmapType0(CmapSubTable *s, sal_uInt32 *length) in PackCmapType0()
718 sal_uInt32 i, j; in PackCmapType0()
738 static sal_uInt8 *PackCmapType6(CmapSubTable *s, sal_uInt32 *length) in PackCmapType6()
742 sal_uInt32 i, j; in PackCmapType6()
767 static sal_uInt8 *PackCmap(CmapSubTable *s, sal_uInt32 *length) in PackCmap()
775 static int GetRawData_cmap(TrueTypeTable *_this, sal_uInt8 **ptr, sal_uInt32 *len, sal_uInt32 *tag) in GetRawData_cmap()
778 sal_uInt32 i; in GetRawData_cmap()
779 sal_uInt32 tlen = 0; in GetRawData_cmap()
780 sal_uInt32 l; in GetRawData_cmap()
781 sal_uInt32 cmapsize; in GetRawData_cmap()
783 sal_uInt32 coffset; in GetRawData_cmap()
791 sal_uInt32* sizes = (sal_uInt32*)scalloc(t->n, sizeof(sal_uInt32)); in GetRawData_cmap()
826 static int GetRawData_name(TrueTypeTable *_this, sal_uInt8 **ptr, sal_uInt32 *len, sal_uInt32 *tag) in GetRawData_name()
895 static int GetRawData_post(TrueTypeTable *_this, sal_uInt8 **ptr, sal_uInt32 *len, sal_uInt32 *tag) in GetRawData_post()
899 sal_uInt32 postLen = 0; in GetRawData_post()
930 sal_uInt32 tag;
931 int (*f)(TrueTypeTable *, sal_uInt8 **, sal_uInt32 *, sal_uInt32 *);
962 TrueTypeTable *TrueTypeTableNew(sal_uInt32 tag, in TrueTypeTableNew()
963 sal_uInt32 nbytes, in TrueTypeTableNew()
984 TrueTypeTable *TrueTypeTableNew_head(sal_uInt32 fontRevision, in TrueTypeTableNew_head()
1155 TrueTypeTable *TrueTypeTableNew_post(sal_uInt32 format, in TrueTypeTableNew_post()
1156 sal_uInt32 italicAngle, in TrueTypeTableNew_post()
1159 sal_uInt32 isFixedPitch) in TrueTypeTableNew_post()
1179 int GetRawData(TrueTypeTable *_this, sal_uInt8 **ptr, sal_uInt32 *len, sal_uInt32 *tag) in GetRawData()
1206 void cmapAdd(TrueTypeTable *table, sal_uInt32 id, sal_uInt32 c, sal_uInt32 g) in cmapAdd()
1208 sal_uInt32 i, found; in cmapAdd()
1250 s[i].xc = (sal_uInt32*)scalloc(CMAP_PAIR_INIT, sizeof(sal_uInt32)); in cmapAdd()
1251 s[i].xg = (sal_uInt32*)scalloc(CMAP_PAIR_INIT, sizeof(sal_uInt32)); in cmapAdd()
1255 sal_uInt32* tmp1 = (sal_uInt32*)scalloc(s[i].m + CMAP_PAIR_INCR, sizeof(sal_uInt32)); in cmapAdd()
1256 sal_uInt32* tmp2 = (sal_uInt32*)scalloc(s[i].m + CMAP_PAIR_INCR, sizeof(sal_uInt32)); in cmapAdd()
1259 memcpy(tmp1, s[i].xc, sizeof(sal_uInt32) * s[i].m); in cmapAdd()
1260 memcpy(tmp2, s[i].xg, sizeof(sal_uInt32) * s[i].m); in cmapAdd()
1273 sal_uInt32 glyfAdd(TrueTypeTable *table, GlyphData *glyphdata, TrueTypeFont *fnt) in glyfAdd()
1276 sal_uInt32 currentID; in glyfAdd()
1283 if (!glyphdata) return (sal_uInt32)~0; in glyfAdd()
1285 std::vector< sal_uInt32 > glyphlist; in glyfAdd()
1301 std::vector< sal_uInt32 >::const_iterator it = glyphlist.begin(); in glyfAdd()
1328 sal_uInt32 glyfCount(const TrueTypeTable *table) in glyfCount()
1348 static TrueTypeTable *FindTable(TrueTypeCreator *tt, sal_uInt32 tag) in FindTable()
1382 sal_uInt32 nGlyphs, locaLen = 0, glyfLen = 0; in ProcessTables()
1384 sal_uInt32 i = 0; in ProcessTables()
1387 sal_uInt32 hmtxSize; in ProcessTables()
1391 sal_uInt32 *gid; /* array of old glyphIDs */ in ProcessTables()
1397 gid = (sal_uInt32*)scalloc(nGlyphs, sizeof(sal_uInt32)); in ProcessTables()
1460 sal_uInt32 j; in ProcessTables()