Lines Matching refs:nr
844 NameRecord* nr = (NameRecord*)scalloc(n, sizeof(NameRecord)); in GetRawData_name() local
849 memcpy(nr+i, listCurrent(l), sizeof(NameRecord)); in GetRawData_name()
850 stringLen += nr[i].slen; in GetRawData_name()
855 free(nr); in GetRawData_name()
859 qsort(nr, n, sizeof(NameRecord), NameRecordCompareF); in GetRawData_name()
872 PutUInt16(nr[i].platformID, p1, 0, 1); in GetRawData_name()
873 PutUInt16(nr[i].encodingID, p1, 2, 1); in GetRawData_name()
874 PutUInt16(nr[i].languageID, p1, 4, 1); in GetRawData_name()
875 PutUInt16(nr[i].nameID, p1, 6, 1); in GetRawData_name()
876 PutUInt16(nr[i].slen, p1, 8, 1); in GetRawData_name()
878 memcpy(p2, nr[i].sptr, nr[i].slen); in GetRawData_name()
880 p2 += nr[i].slen; in GetRawData_name()
884 free(nr); in GetRawData_name()
1113 NameRecord *nr = (NameRecord *) ptr; in DisposeNameRecord() local
1114 if (nr->sptr) free(nr->sptr); in DisposeNameRecord()
1119 static NameRecord* NameRecordNewCopy(NameRecord *nr) in NameRecordNewCopy() argument
1123 memcpy(p, nr, sizeof(NameRecord)); in NameRecordNewCopy()
1127 memcpy(p->sptr, nr->sptr, p->slen); in NameRecordNewCopy()
1133 TrueTypeTable *TrueTypeTableNew_name(int n, NameRecord *nr) in TrueTypeTableNew_name() argument
1145 listAppend(l, NameRecordNewCopy(nr+i)); in TrueTypeTableNew_name()
1337 void nameAdd(TrueTypeTable *table, NameRecord *nr) in nameAdd() argument
1346 listAppend(l, NameRecordNewCopy(nr)); in nameAdd()