Lines Matching refs:nbytes
459 sal_uInt32 nbytes; member
464 sal_uInt32 nbytes; /* number of bytes in loca table */ member
479 static sal_uInt8 *ttmalloc(sal_uInt32 nbytes) in ttmalloc() argument
483 n = (nbytes + 3) & (sal_uInt32) ~3; in ttmalloc()
503 if (pdata->nbytes) free(pdata->ptr); in TrueTypeTableDispose_generic()
626 *len = ((tdata_generic *) _this->data)->nbytes; in GetRawData_generic()
659 if (p->nbytes == 0) return TTCR_ZEROGLYPHS; in GetRawData_loca()
662 *len = p->nbytes; in GetRawData_loca()
679 sal_uInt32 n, nbytes = 0; in GetRawData_glyf() local
693 nbytes += ((GlyphData *) listCurrent(l))->nbytes; in GetRawData_glyf()
696 p = _this->rawdata = ttmalloc(nbytes); in GetRawData_glyf()
700 n = ((GlyphData *) listCurrent(l))->nbytes; in GetRawData_glyf()
707 *len = nbytes; in GetRawData_glyf()
964 sal_uInt32 nbytes, in TrueTypeTableNew() argument
969 pdata->nbytes = nbytes; in TrueTypeTableNew()
971 if (nbytes) { in TrueTypeTableNew()
972 pdata->ptr = ttmalloc(nbytes); in TrueTypeTableNew()
973 memcpy(pdata->ptr, ptr, nbytes); in TrueTypeTableNew()
1052 ((tdata_loca *)table->data)->nbytes = 0; in TrueTypeTableNew_loca()
1409 glyfLen += gd->nbytes; in ProcessTables()
1419 if (gd->nbytes != 0) { in ProcessTables()
1492 if (gd->nbytes != 0) { in ProcessTables()
1493 memcpy(p1, gd->ptr, gd->nbytes); in ProcessTables()
1502 p1 += gd->nbytes; in ProcessTables()
1522 ((tdata_loca *) loca->data)->nbytes = locaLen; in ProcessTables()