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()
967 TrueTypeTable* table = (TrueTypeTable*)smalloc(sizeof(TrueTypeTable)); in TrueTypeTableNew() local
978 table->tag = 0; in TrueTypeTableNew()
979 table->data = pdata; in TrueTypeTableNew()
980 table->rawdata = 0; in TrueTypeTableNew()
982 return table; in TrueTypeTableNew()
995 TrueTypeTable* table = (TrueTypeTable*)smalloc(sizeof(TrueTypeTable)); in TrueTypeTableNew_head() local
1011 table->data = (void *) ptr; in TrueTypeTableNew_head()
1012 table->tag = T_head; in TrueTypeTableNew_head()
1013 table->rawdata = 0; in TrueTypeTableNew_head()
1015 return table; in TrueTypeTableNew_head()
1024 TrueTypeTable* table = (TrueTypeTable*)smalloc(sizeof(TrueTypeTable)); in TrueTypeTableNew_hhea() local
1040 table->data = (void *) ptr; in TrueTypeTableNew_hhea()
1041 table->tag = T_hhea; in TrueTypeTableNew_hhea()
1042 table->rawdata = 0; in TrueTypeTableNew_hhea()
1044 return table; in TrueTypeTableNew_hhea()
1049 TrueTypeTable* table = (TrueTypeTable*)smalloc(sizeof(TrueTypeTable)); in TrueTypeTableNew_loca() local
1050 table->data = smalloc(sizeof(tdata_loca)); in TrueTypeTableNew_loca()
1052 ((tdata_loca *)table->data)->nbytes = 0; in TrueTypeTableNew_loca()
1053 ((tdata_loca *)table->data)->ptr = 0; in TrueTypeTableNew_loca()
1055 table->tag = T_loca; in TrueTypeTableNew_loca()
1056 table->rawdata = 0; in TrueTypeTableNew_loca()
1058 return table; in TrueTypeTableNew_loca()
1063 TrueTypeTable* table = (TrueTypeTable*)smalloc(sizeof(TrueTypeTable)); in TrueTypeTableNew_maxp() local
1064 table->data = ttmalloc(TABLESIZE_maxp); in TrueTypeTableNew_maxp()
1067 memcpy(table->data, maxp, TABLESIZE_maxp); in TrueTypeTableNew_maxp()
1070 table->tag = T_maxp; in TrueTypeTableNew_maxp()
1071 table->rawdata = 0; in TrueTypeTableNew_maxp()
1073 return table; in TrueTypeTableNew_maxp()
1078 TrueTypeTable* table = (TrueTypeTable*)smalloc(sizeof(TrueTypeTable)); in TrueTypeTableNew_glyf() local
1085 table->data = l; in TrueTypeTableNew_glyf()
1086 table->rawdata = 0; in TrueTypeTableNew_glyf()
1087 table->tag = T_glyf; in TrueTypeTableNew_glyf()
1089 return table; in TrueTypeTableNew_glyf()
1094 TrueTypeTable* table = (TrueTypeTable*)smalloc(sizeof(TrueTypeTable)); in TrueTypeTableNew_cmap() local
1102 table->data = (table_cmap *) cmap; in TrueTypeTableNew_cmap()
1104 table->rawdata = 0; in TrueTypeTableNew_cmap()
1105 table->tag = T_cmap; in TrueTypeTableNew_cmap()
1107 return table; in TrueTypeTableNew_cmap()
1135 TrueTypeTable* table = (TrueTypeTable*)smalloc(sizeof(TrueTypeTable)); in TrueTypeTableNew_name() local
1149 table->data = l; in TrueTypeTableNew_name()
1150 table->rawdata = 0; in TrueTypeTableNew_name()
1151 table->tag = T_name; in TrueTypeTableNew_name()
1153 return table; in TrueTypeTableNew_name()
1163 TrueTypeTable* table = (TrueTypeTable*)smalloc(sizeof(TrueTypeTable)); in TrueTypeTableNew_post() local
1173 table->data = post; in TrueTypeTableNew_post()
1174 table->rawdata = 0; in TrueTypeTableNew_post()
1175 table->tag = T_post; in TrueTypeTableNew_post()
1177 return table; in TrueTypeTableNew_post()
1207 void cmapAdd(TrueTypeTable *table, sal_uInt32 id, sal_uInt32 c, sal_uInt32 g) in cmapAdd() argument
1213 assert(table != 0); in cmapAdd()
1214 assert(table->tag == T_cmap); in cmapAdd()
1215 t = (table_cmap *) table->data; assert(t != 0); in cmapAdd()
1274 sal_uInt32 glyfAdd(TrueTypeTable *table, GlyphData *glyphdata, TrueTypeFont *fnt) in glyfAdd() argument
1281 assert(table != 0); in glyfAdd()
1282 assert(table->tag == T_glyf); in glyfAdd()
1290 l = (list) table->data; in glyfAdd()
1329 sal_uInt32 glyfCount(const TrueTypeTable *table) in glyfCount() argument
1331 assert(table != 0); in glyfCount()
1332 assert(table->tag == T_glyf); in glyfCount()
1333 return listCount((list) table->data); in glyfCount()
1337 void nameAdd(TrueTypeTable *table, NameRecord *nr) in nameAdd() argument
1341 assert(table != 0); in nameAdd()
1342 assert(table->tag == T_name); in nameAdd()
1344 l = (list) table->data; in nameAdd()