Lines Matching refs:table

280 int AddTable(TrueTypeCreator *_this, TrueTypeTable *table)  in AddTable()  argument
282 if (table != 0) { in AddTable()
283 listAppend(_this->tables, table); in AddTable()
966 TrueTypeTable* table = (TrueTypeTable*)smalloc(sizeof(TrueTypeTable)); in TrueTypeTableNew() local
977 table->tag = 0; in TrueTypeTableNew()
978 table->data = pdata; in TrueTypeTableNew()
979 table->rawdata = 0; in TrueTypeTableNew()
981 return table; in TrueTypeTableNew()
994 TrueTypeTable* table = (TrueTypeTable*)smalloc(sizeof(TrueTypeTable)); in TrueTypeTableNew_head() local
1010 table->data = (void *) ptr; in TrueTypeTableNew_head()
1011 table->tag = T_head; in TrueTypeTableNew_head()
1012 table->rawdata = 0; in TrueTypeTableNew_head()
1014 return table; in TrueTypeTableNew_head()
1023 TrueTypeTable* table = (TrueTypeTable*)smalloc(sizeof(TrueTypeTable)); in TrueTypeTableNew_hhea() local
1039 table->data = (void *) ptr; in TrueTypeTableNew_hhea()
1040 table->tag = T_hhea; in TrueTypeTableNew_hhea()
1041 table->rawdata = 0; in TrueTypeTableNew_hhea()
1043 return table; in TrueTypeTableNew_hhea()
1048 TrueTypeTable* table = (TrueTypeTable*)smalloc(sizeof(TrueTypeTable)); in TrueTypeTableNew_loca() local
1049 table->data = smalloc(sizeof(tdata_loca)); in TrueTypeTableNew_loca()
1051 ((tdata_loca *)table->data)->nbytes = 0; in TrueTypeTableNew_loca()
1052 ((tdata_loca *)table->data)->ptr = 0; in TrueTypeTableNew_loca()
1054 table->tag = T_loca; in TrueTypeTableNew_loca()
1055 table->rawdata = 0; in TrueTypeTableNew_loca()
1057 return table; in TrueTypeTableNew_loca()
1062 TrueTypeTable* table = (TrueTypeTable*)smalloc(sizeof(TrueTypeTable)); in TrueTypeTableNew_maxp() local
1063 table->data = ttmalloc(TABLESIZE_maxp); in TrueTypeTableNew_maxp()
1066 memcpy(table->data, maxp, TABLESIZE_maxp); in TrueTypeTableNew_maxp()
1069 table->tag = T_maxp; in TrueTypeTableNew_maxp()
1070 table->rawdata = 0; in TrueTypeTableNew_maxp()
1072 return table; in TrueTypeTableNew_maxp()
1077 TrueTypeTable* table = (TrueTypeTable*)smalloc(sizeof(TrueTypeTable)); in TrueTypeTableNew_glyf() local
1084 table->data = l; in TrueTypeTableNew_glyf()
1085 table->rawdata = 0; in TrueTypeTableNew_glyf()
1086 table->tag = T_glyf; in TrueTypeTableNew_glyf()
1088 return table; in TrueTypeTableNew_glyf()
1093 TrueTypeTable* table = (TrueTypeTable*)smalloc(sizeof(TrueTypeTable)); in TrueTypeTableNew_cmap() local
1101 table->data = (table_cmap *) cmap; in TrueTypeTableNew_cmap()
1103 table->rawdata = 0; in TrueTypeTableNew_cmap()
1104 table->tag = T_cmap; in TrueTypeTableNew_cmap()
1106 return table; in TrueTypeTableNew_cmap()
1134 TrueTypeTable* table = (TrueTypeTable*)smalloc(sizeof(TrueTypeTable)); in TrueTypeTableNew_name() local
1148 table->data = l; in TrueTypeTableNew_name()
1149 table->rawdata = 0; in TrueTypeTableNew_name()
1150 table->tag = T_name; in TrueTypeTableNew_name()
1152 return table; in TrueTypeTableNew_name()
1162 TrueTypeTable* table = (TrueTypeTable*)smalloc(sizeof(TrueTypeTable)); in TrueTypeTableNew_post() local
1172 table->data = post; in TrueTypeTableNew_post()
1173 table->rawdata = 0; in TrueTypeTableNew_post()
1174 table->tag = T_post; in TrueTypeTableNew_post()
1176 return table; in TrueTypeTableNew_post()
1206 void cmapAdd(TrueTypeTable *table, sal_uInt32 id, sal_uInt32 c, sal_uInt32 g) in cmapAdd() argument
1212 assert(table != 0); in cmapAdd()
1213 assert(table->tag == T_cmap); in cmapAdd()
1214 t = (table_cmap *) table->data; assert(t != 0); in cmapAdd()
1273 sal_uInt32 glyfAdd(TrueTypeTable *table, GlyphData *glyphdata, TrueTypeFont *fnt) in glyfAdd() argument
1280 assert(table != 0); in glyfAdd()
1281 assert(table->tag == T_glyf); in glyfAdd()
1289 l = (list) table->data; in glyfAdd()
1328 sal_uInt32 glyfCount(const TrueTypeTable *table) in glyfCount() argument
1330 assert(table != 0); in glyfCount()
1331 assert(table->tag == T_glyf); in glyfCount()
1332 return listCount((list) table->data); in glyfCount()
1336 void nameAdd(TrueTypeTable *table, NameRecord *nr) in nameAdd() argument
1340 assert(table != 0); in nameAdd()
1341 assert(table->tag == T_name); in nameAdd()
1343 l = (list) table->data; in nameAdd()