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.hh92 …NameRecord *match = (NameRecord *) bsearch (&key, nameRecord, count, sizeof (nameRecord[0]), (hb_c… in get_name()
103 { return min_size + count * nameRecord[0].min_size; } in get_size()
110 if (!nameRecord[i].sanitize (c, string_pool)) return_trace (false); in sanitize_records()
119 c->check_array (nameRecord, nameRecord[0].static_size, count) && in sanitize()
127 NameRecord nameRecord[VAR]; /* The name records where count is the number of records. */ member
129 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.cpp306 const NameRecord *nameRecord = &fNAMETable->nameRecords[i]; in getNameString() local
308 … if (SWAPW(nameRecord->platformID) == platformID && SWAPW(nameRecord->encodingID) == encodingID && in getNameString()
309 SWAPW(nameRecord->languageID) == languageID && SWAPW(nameRecord->nameID) == nameID) { in getNameString()
310 char *name = ((char *) fNAMETable) + fNameStringOffset + SWAPW(nameRecord->offset); in getNameString()
311 le_uint16 length = SWAPW(nameRecord->length); in getNameString()
339 const NameRecord *nameRecord = &fNAMETable->nameRecords[i]; in getUnicodeNameString() local
341 … if (SWAPW(nameRecord->platformID) == platformID && SWAPW(nameRecord->encodingID) == encodingID && in getUnicodeNameString()
342 SWAPW(nameRecord->languageID) == languageID && SWAPW(nameRecord->nameID) == nameID) { in getUnicodeNameString()
343 …16 *name = (LEUnicode16 *) (((char *) fNAMETable) + fNameStringOffset + SWAPW(nameRecord->offset)); in getUnicodeNameString()
344 le_uint16 length = SWAPW(nameRecord->length) / 2; in getUnicodeNameString()
/external/icu/icu4c/source/test/letest/
DPortableFontInstance.cpp298 const NameRecord *nameRecord = &fNAMETable->nameRecords[i]; in getNameString() local
300 … if (SWAPW(nameRecord->platformID) == platformID && SWAPW(nameRecord->encodingID) == encodingID && in getNameString()
301 SWAPW(nameRecord->languageID) == languageID && SWAPW(nameRecord->nameID) == nameID) { in getNameString()
302 char *name = ((char *) fNAMETable) + fNameStringOffset + SWAPW(nameRecord->offset); in getNameString()
303 le_uint16 length = SWAPW(nameRecord->length); in getNameString()
331 const NameRecord *nameRecord = &fNAMETable->nameRecords[i]; in getUnicodeNameString() local
333 … if (SWAPW(nameRecord->platformID) == platformID && SWAPW(nameRecord->encodingID) == encodingID && in getUnicodeNameString()
334 SWAPW(nameRecord->languageID) == languageID && SWAPW(nameRecord->nameID) == nameID) { in getUnicodeNameString()
335 …16 *name = (LEUnicode16 *) (((char *) fNAMETable) + fNameStringOffset + SWAPW(nameRecord->offset)); in getUnicodeNameString()
336 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