Lines Matching refs:te
326 TableEntry* te = (TableEntry*)scalloc(n, sizeof(TableEntry)); in StreamToMemory() local
330 … GetRawData((TrueTypeTable *) listCurrent(_this->tables), &te[i].data, &te[i].length, &te[i].tag); in StreamToMemory()
334 qsort(te, n, sizeof(TableEntry), TableEntryCompareF); in StreamToMemory()
348 s += (te[i].length + 3) & (sal_uInt32) ~3; in StreamToMemory()
363 PutUInt32(te[i].tag, ttf + 12, 16 * i, 1); in StreamToMemory()
364 PutUInt32(CheckSum((sal_uInt32 *) te[i].data, te[i].length), ttf + 12, 16 * i + 4, 1); in StreamToMemory()
366 PutUInt32(te[i].length, ttf + 12, 16 * i + 12, 1); in StreamToMemory()
368 if (te[i].tag == T_head) { 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()
377 free(te); in StreamToMemory()