Home
last modified time | relevance | path

Searched refs:nameRecord (Results 1 – 6 of 6) sorted by relevance

/external/skia/src/sfnt/
DSkOTTable_name.cpp443 const SkOTTableName::Record* nameRecord; in next() local
451 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 …]
/external/harfbuzz_ng/src/
Dhb-ot-name-table.hh91 …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. */ member
127 DEFINE_SIZE_ARRAY (6, nameRecord);
Dhb-uniscribe.cc383 OT::NameRecord &record = name.nameRecord[i]; in _hb_rename_font()
/external/icu/icu4c/source/test/perf/leperf/
DPortableFontInstance.cpp300 const NameRecord *nameRecord = &fNAMETable->nameRecords[i]; in getNameString() local
302 … 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() local
335 … 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()
/external/icu/icu4c/source/test/letest/
DPortableFontInstance.cpp296 const NameRecord *nameRecord = &fNAMETable->nameRecords[i]; in getNameString() local
298 … 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() local
331 … 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()
/external/skia/tests/
DFontNamesTest.cpp18 SkOTTableName::Record nameRecord[R]; member
24 SkOTTableName::Record nameRecord[R]; member