Home
last modified time | relevance | path

Searched refs:nameTableSize (Results 1 – 2 of 2) sorted by relevance

/external/skia/tests/
DFontNamesTest.cpp172 size_t nameTableSize = typeface->getTableSize(nameTag); in test_systemfonts() local
173 if (0 == nameTableSize) { in test_systemfonts()
176 SkAutoTMalloc<uint8_t> nameTableData(nameTableSize); in test_systemfonts()
177 size_t copied = typeface->getTableData(nameTag, 0, nameTableSize, nameTableData.get()); in test_systemfonts()
178 if (copied != nameTableSize) { in test_systemfonts()
/external/skia/src/sfnt/
DSkOTUtils.cpp167 size_t nameTableSize = typeface.getTableSize(nameTag); in CreateForFamilyNames() local
168 if (0 == nameTableSize) { in CreateForFamilyNames()
171 SkAutoTDeleteArray<uint8_t> nameTableData(new uint8_t[nameTableSize]); in CreateForFamilyNames()
172 size_t copied = typeface.getTableData(nameTag, 0, nameTableSize, nameTableData.get()); in CreateForFamilyNames()
173 if (copied != nameTableSize) { in CreateForFamilyNames()