Lines Matching refs:p

312     sal_uInt32 *p;  in StreamToMemory()  local
379 p = (sal_uInt32 *) ttf; in StreamToMemory()
380 for (i = 0; i < (int)s / 4; i++) checkSumAdjustment += p[i]; in StreamToMemory()
493 GlyphData *p = (GlyphData *) ptr; in FreeGlyphData() local
494 if (p->ptr) free(p->ptr); in FreeGlyphData()
495 free(p); in FreeGlyphData()
530 tdata_loca *p = (tdata_loca *) _this->data; in TrueTypeTableDispose_loca() local
531 if (p->ptr) free(p->ptr); in TrueTypeTableDispose_loca()
588 tdata_post *p = (tdata_post *) _this->data; in TrueTypeTableDispose_post() local
589 if (p) { in TrueTypeTableDispose_post()
590 if (p->format == 0x00030000) { in TrueTypeTableDispose_post()
593 fprintf(stderr, "Unsupported format of a 'post' table: %08X.\n", (int)p->format); in TrueTypeTableDispose_post()
595 free(p); in TrueTypeTableDispose_post()
653 tdata_loca *p; in GetRawData_loca() local
657 p = (tdata_loca *) _this->data; in GetRawData_loca()
659 if (p->nbytes == 0) return TTCR_ZEROGLYPHS; in GetRawData_loca()
661 *ptr = p->ptr; in GetRawData_loca()
662 *len = p->nbytes; in GetRawData_loca()
682 sal_uInt8 *p; in GetRawData_glyf() local
696 p = _this->rawdata = ttmalloc(nbytes); in GetRawData_glyf()
702 memcpy(p, ((GlyphData *) listCurrent(l))->ptr, n); in GetRawData_glyf()
703 p += n; in GetRawData_glyf()
718 sal_uInt8 *p = ptr + 6; in PackCmapType0() local
733 p[i] = (sal_uInt8) g; in PackCmapType0()
742 sal_uInt8 *p = ptr + 10; in PackCmapType6() local
759 PutUInt16( g, p, 2*i, 1 ); in PackCmapType6()
898 tdata_post *p = (tdata_post *) _this->data; in GetRawData_post() local
905 if (p->format == 0x00030000) { in GetRawData_post()
909 PutUInt32(p->italicAngle, post, 4, 1); in GetRawData_post()
910 PutUInt16(p->underlinePosition, post, 8, 1); in GetRawData_post()
911 PutUInt16(p->underlineThickness, post, 10, 1); in GetRawData_post()
912 PutUInt16((sal_uInt16)p->isFixedPitch, post, 12, 1); in GetRawData_post()
915 fprintf(stderr, "Unrecognized format of a post table: %08X.\n", (int)p->format); in GetRawData_post()
1121 NameRecord* p = (NameRecord*)smalloc(sizeof(NameRecord)); in NameRecordNewCopy() local
1123 memcpy(p, nr, sizeof(NameRecord)); in NameRecordNewCopy()
1125 if (p->slen) { in NameRecordNewCopy()
1126 p->sptr = (sal_uInt8*)smalloc(p->slen); in NameRecordNewCopy()
1127 memcpy(p->sptr, nr->sptr, p->slen); in NameRecordNewCopy()
1130 return p; in NameRecordNewCopy()