Lines Matching refs:sal_uInt8
75 sal_uInt8 *data;
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()
154 _inline void PutInt16(sal_Int16 val, sal_uInt8 *ptr, sal_uInt32 offset, int bigendian) in PutInt16()
159 ptr[offset] = (sal_uInt8)((val >> 8) & 0xFF); in PutInt16()
160 ptr[offset+1] = (sal_uInt8)(val & 0xFF); in PutInt16()
162 ptr[offset+1] = (sal_uInt8)((val >> 8) & 0xFF); in PutInt16()
163 ptr[offset] = (sal_uInt8)(val & 0xFF); in PutInt16()
167 _inline void PutUInt16(sal_uInt16 val, sal_uInt8 *ptr, sal_uInt32 offset, int bigendian) in PutUInt16()
172 ptr[offset] = (sal_uInt8)((val >> 8) & 0xFF); in PutUInt16()
173 ptr[offset+1] = (sal_uInt8)(val & 0xFF); in PutUInt16()
175 ptr[offset+1] = (sal_uInt8)((val >> 8) & 0xFF); in PutUInt16()
176 ptr[offset] = (sal_uInt8)(val & 0xFF); in PutUInt16()
180 _inline void PutUInt32(sal_uInt32 val, sal_uInt8 *ptr, sal_uInt32 offset, int bigendian) in PutUInt32()
185 ptr[offset] = (sal_uInt8)((val >> 24) & 0xFF); in PutUInt32()
186 ptr[offset+1] = (sal_uInt8)((val >> 16) & 0xFF); in PutUInt32()
187 ptr[offset+2] = (sal_uInt8)((val >> 8) & 0xFF); in PutUInt32()
188 ptr[offset+3] = (sal_uInt8)(val & 0xFF); in PutUInt32()
190 ptr[offset+3] = (sal_uInt8)((val >> 24) & 0xFF); in PutUInt32()
191 ptr[offset+2] = (sal_uInt8)((val >> 16) & 0xFF); in PutUInt32()
192 ptr[offset+1] = (sal_uInt8)((val >> 8) & 0xFF); in PutUInt32()
193 ptr[offset] = (sal_uInt8)(val & 0xFF); in PutUInt32()
199 _inline void PutInt32(sal_Int32 val, sal_uInt8 *ptr, sal_uInt32 offset, int bigendian) in PutInt32()
204 ptr[offset] = (sal_uInt8)((val >> 24) & 0xFF); in PutInt32()
205 ptr[offset+1] = (sal_uInt8)((val >> 16) & 0xFF); in PutInt32()
206 ptr[offset+2] = (sal_uInt8)((val >> 8) & 0xFF); in PutInt32()
207 ptr[offset+3] = (sal_uInt8)(val & 0xFF); in PutInt32()
209 ptr[offset+3] = (sal_uInt8)((val >> 24) & 0xFF); in PutInt32()
210 ptr[offset+2] = (sal_uInt8)((val >> 16) & 0xFF); in PutInt32()
211 ptr[offset+1] = (sal_uInt8)((val >> 8) & 0xFF); in PutInt32()
212 ptr[offset] = (sal_uInt8)(val & 0xFF); in PutInt32()
308 int StreamToMemory(TrueTypeCreator *_this, sal_uInt8 **ptr, sal_uInt32 *length) in StreamToMemory()
314 …sal_uInt8 *head = NULL; /* saved pointer to the head table data for checkSumAdjustment calcula… in StreamToMemory()
352 sal_uInt8* ttf = (sal_uInt8*)smalloc(s); in StreamToMemory()
391 sal_uInt8 *ptr; in StreamToFile()
459 sal_uInt8 *ptr;
464 sal_uInt8 *ptr; /* pointer to the data */
478 static sal_uInt8 *ttmalloc(sal_uInt32 nbytes) in ttmalloc()
483 sal_uInt8* res = (sal_uInt8*)malloc(n); in ttmalloc()
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()
635 *ptr = (sal_uInt8 *) _this->data; in GetRawData_head()
641 static int GetRawData_hhea(TrueTypeTable *_this, sal_uInt8 **ptr, sal_uInt32 *len, sal_uInt32 *tag) in GetRawData_hhea()
644 *ptr = (sal_uInt8 *) _this->data; 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()
670 *ptr = (sal_uInt8 *) _this->data; in GetRawData_maxp()
676 static int GetRawData_glyf(TrueTypeTable *_this, sal_uInt8 **ptr, sal_uInt32 *len, sal_uInt32 *tag) in GetRawData_glyf()
681 sal_uInt8 *p; in GetRawData_glyf()
714 static sal_uInt8 *PackCmapType0(CmapSubTable *s, sal_uInt32 *length) in PackCmapType0()
716 sal_uInt8* ptr = (sal_uInt8*)smalloc(262); in PackCmapType0()
717 sal_uInt8 *p = ptr + 6; in PackCmapType0()
732 p[i] = (sal_uInt8) g; in PackCmapType0()
738 static sal_uInt8 *PackCmapType6(CmapSubTable *s, sal_uInt32 *length) in PackCmapType6()
740 sal_uInt8* ptr = (sal_uInt8*)smalloc(s->n*2 + 10); in PackCmapType6()
741 sal_uInt8 *p = ptr + 10; 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()
782 sal_uInt8 *cmap; in GetRawData_cmap()
790 sal_uInt8** subtables = (sal_uInt8**)scalloc(t->n, sizeof(sal_uInt8 *)); in GetRawData_cmap()
826 static int GetRawData_name(TrueTypeTable *_this, sal_uInt8 **ptr, sal_uInt32 *len, sal_uInt32 *tag) in GetRawData_name()
831 sal_uInt8 *p1, *p2; in GetRawData_name()
861 sal_uInt8* name = (sal_uInt8*)ttmalloc(nameLen); in GetRawData_name()
895 static int GetRawData_post(TrueTypeTable *_this, sal_uInt8 **ptr, sal_uInt32 *len, sal_uInt32 *tag) in GetRawData_post()
898 sal_uInt8 *post = 0; in GetRawData_post()
931 int (*f)(TrueTypeTable *, sal_uInt8 **, sal_uInt32 *, sal_uInt32 *);
964 const sal_uInt8* ptr) in TrueTypeTableNew()
987 const sal_uInt8* created, in TrueTypeTableNew_head()
995 sal_uInt8* ptr = (sal_uInt8*)ttmalloc(TABLESIZE_head); in TrueTypeTableNew_head()
1024 sal_uInt8* ptr = (sal_uInt8*)ttmalloc(TABLESIZE_hhea); in TrueTypeTableNew_hhea()
1060 TrueTypeTable *TrueTypeTableNew_maxp( const sal_uInt8* maxp, int size) in TrueTypeTableNew_maxp()
1125 p->sptr = (sal_uInt8*)smalloc(p->slen); in NameRecordNewCopy()
1179 int GetRawData(TrueTypeTable *_this, sal_uInt8 **ptr, sal_uInt32 *len, sal_uInt32 *tag) in GetRawData()
1386 sal_uInt8 *hmtxPtr, *hheaPtr; in ProcessTables()
1388 sal_uInt8 *p1, *p2; in ProcessTables()
1445 sal_uInt8* glyfPtr = ttmalloc(glyfLen); in ProcessTables()
1446 sal_uInt8* locaPtr = ttmalloc(locaLen); in ProcessTables()
1458 sal_uInt8 *ptr = gd->ptr + 10; in ProcessTables()
1526 sal_uInt8* const pHeadData = (sal_uInt8*)head->data; in ProcessTables()
1535 sal_uInt8* const pMaxpData = (sal_uInt8*)maxp->data; in ProcessTables()
1559 hheaPtr = (sal_uInt8 *) hhea->data; in ProcessTables()
1628 sal_uInt8 *t1, *t2, *t3, *t4, *t5, *t6, *t7; in main()