Searched refs:nameTableSize (Results 1 – 4 of 4) sorted by relevance
/external/skia/tests/ |
D | FontNamesTest.cpp | 175 size_t nameTableSize = typeface->getTableSize(nameTag); in test_systemfonts() local 176 if (0 == nameTableSize) { in test_systemfonts() 179 SkAutoTMalloc<uint8_t> nameTableData(nameTableSize); in test_systemfonts() 180 size_t copied = typeface->getTableData(nameTag, 0, nameTableSize, nameTableData.get()); in test_systemfonts() 181 if (copied != nameTableSize) { in test_systemfonts() 186 SkOTTableName::Iterator familyNameIter(nameTableData.get(), nameTableSize, in test_systemfonts() 198 SkOTTableName::Iterator styleNameIter(nameTableData.get(), nameTableSize, in test_systemfonts()
|
/external/skqp/tests/ |
D | FontNamesTest.cpp | 175 size_t nameTableSize = typeface->getTableSize(nameTag); in test_systemfonts() local 176 if (0 == nameTableSize) { in test_systemfonts() 179 SkAutoTMalloc<uint8_t> nameTableData(nameTableSize); in test_systemfonts() 180 size_t copied = typeface->getTableData(nameTag, 0, nameTableSize, nameTableData.get()); in test_systemfonts() 181 if (copied != nameTableSize) { in test_systemfonts() 186 SkOTTableName::Iterator familyNameIter(nameTableData.get(), nameTableSize, in test_systemfonts() 198 SkOTTableName::Iterator styleNameIter(nameTableData.get(), nameTableSize, in test_systemfonts()
|
/external/skia/src/sfnt/ |
D | SkOTUtils.cpp | 172 size_t nameTableSize = typeface.getTableSize(nameTag); in Make() local 173 if (0 == nameTableSize) { in Make() 176 std::unique_ptr<uint8_t[]> nameTableData(new uint8_t[nameTableSize]); in Make() 177 size_t copied = typeface.getTableData(nameTag, 0, nameTableSize, nameTableData.get()); in Make() 178 if (copied != nameTableSize) { in Make() 183 new SkOTUtils::LocalizedStrings_NameTable(std::move(nameTableData), nameTableSize, in Make()
|
/external/skqp/src/sfnt/ |
D | SkOTUtils.cpp | 172 size_t nameTableSize = typeface.getTableSize(nameTag); in Make() local 173 if (0 == nameTableSize) { in Make() 176 std::unique_ptr<uint8_t[]> nameTableData(new uint8_t[nameTableSize]); in Make() 177 size_t copied = typeface.getTableData(nameTag, 0, nameTableSize, nameTableData.get()); in Make() 178 if (copied != nameTableSize) { in Make() 183 new SkOTUtils::LocalizedStrings_NameTable(std::move(nameTableData), nameTableSize, in Make()
|