Searched refs:nameTableSize (Results 1 – 2 of 2) sorted by relevance
172 size_t nameTableSize = typeface->getTableSize(nameTag); in test_systemfonts() local173 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()
167 size_t nameTableSize = typeface.getTableSize(nameTag); in CreateForFamilyNames() local168 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()