Searched refs:nameRecord (Results 1 – 6 of 6) sorted by relevance
443 const SkOTTableName::Record* nameRecord; in next() local451 nameRecord = &nameRecords[fIndex]; in next()453 } while (fType != -1 && nameRecord->nameID.fontSpecific != fType); in next()455 record.type = nameRecord->nameID.fontSpecific; in next()461 const uint16_t nameOffset = SkEndian_SwapBE16(nameRecord->offset); in next()462 const uint16_t nameLength = SkEndian_SwapBE16(nameRecord->length); in next()464 switch (nameRecord->platformID.value) { in next()467 != nameRecord->encodingID.windows.value in next()469 != nameRecord->encodingID.windows.value in next()471 != nameRecord->encodingID.windows.value) in next()[all …]
91 …NameRecord *match = (NameRecord *) bsearch (&key, nameRecord, count, sizeof (nameRecord[0]), (hb_c… in get_name()102 { return min_size + count * nameRecord[0].min_size; } in get_size()109 if (!nameRecord[i].sanitize (c, string_pool)) return TRACE_RETURN (false); in sanitize_records()117 c->check_array (nameRecord, nameRecord[0].static_size, count) && in sanitize()125 NameRecord nameRecord[VAR]; /* The name records where count is the number of records. */ member127 DEFINE_SIZE_ARRAY (6, nameRecord);
383 OT::NameRecord &record = name.nameRecord[i]; in _hb_rename_font()
300 const NameRecord *nameRecord = &fNAMETable->nameRecords[i]; in getNameString() local302 … if (SWAPW(nameRecord->platformID) == platformID && SWAPW(nameRecord->encodingID) == encodingID && in getNameString()303 SWAPW(nameRecord->languageID) == languageID && SWAPW(nameRecord->nameID) == nameID) { in getNameString()304 char *name = ((char *) fNAMETable) + fNameStringOffset + SWAPW(nameRecord->offset); in getNameString()305 le_uint16 length = SWAPW(nameRecord->length); in getNameString()333 const NameRecord *nameRecord = &fNAMETable->nameRecords[i]; in getUnicodeNameString() local335 … if (SWAPW(nameRecord->platformID) == platformID && SWAPW(nameRecord->encodingID) == encodingID && in getUnicodeNameString()336 SWAPW(nameRecord->languageID) == languageID && SWAPW(nameRecord->nameID) == nameID) { in getUnicodeNameString()337 …16 *name = (LEUnicode16 *) (((char *) fNAMETable) + fNameStringOffset + SWAPW(nameRecord->offset)); in getUnicodeNameString()338 le_uint16 length = SWAPW(nameRecord->length) / 2; in getUnicodeNameString()
296 const NameRecord *nameRecord = &fNAMETable->nameRecords[i]; in getNameString() local298 … if (SWAPW(nameRecord->platformID) == platformID && SWAPW(nameRecord->encodingID) == encodingID && in getNameString()299 SWAPW(nameRecord->languageID) == languageID && SWAPW(nameRecord->nameID) == nameID) { in getNameString()300 char *name = ((char *) fNAMETable) + fNameStringOffset + SWAPW(nameRecord->offset); in getNameString()301 le_uint16 length = SWAPW(nameRecord->length); in getNameString()329 const NameRecord *nameRecord = &fNAMETable->nameRecords[i]; in getUnicodeNameString() local331 … if (SWAPW(nameRecord->platformID) == platformID && SWAPW(nameRecord->encodingID) == encodingID && in getUnicodeNameString()332 SWAPW(nameRecord->languageID) == languageID && SWAPW(nameRecord->nameID) == nameID) { in getUnicodeNameString()333 …16 *name = (LEUnicode16 *) (((char *) fNAMETable) + fNameStringOffset + SWAPW(nameRecord->offset)); in getUnicodeNameString()334 le_uint16 length = SWAPW(nameRecord->length) / 2; in getUnicodeNameString()
18 SkOTTableName::Record nameRecord[R]; member24 SkOTTableName::Record nameRecord[R]; member