Home
last modified time | relevance | path

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

/external/skqp/src/core/
DSkFontStream.cpp28 union SkSharedTTHeader { union
58 SkAutoSMalloc<1024> storage(sizeof(SkSharedTTHeader)); in count_tables()
59 SkSharedTTHeader* header = (SkSharedTTHeader*)storage.get(); in count_tables()
61 if (!read(stream, header, sizeof(SkSharedTTHeader))) { in count_tables()
78 size_t amount = sizeof(SkSharedTTHeader) + ttcIndex * sizeof(uint32_t); in count_tables()
79 header = (SkSharedTTHeader*)storage.reset(amount); in count_tables()
142 SkSharedTTHeader shared; in CountTTCEntries()
/external/skia/src/core/
DSkFontStream.cpp28 union SkSharedTTHeader { union
58 SkAutoSMalloc<1024> storage(sizeof(SkSharedTTHeader)); in count_tables()
59 SkSharedTTHeader* header = (SkSharedTTHeader*)storage.get(); in count_tables()
61 if (!read(stream, header, sizeof(SkSharedTTHeader))) { in count_tables()
78 size_t amount = sizeof(SkSharedTTHeader) + ttcIndex * sizeof(uint32_t); in count_tables()
79 header = (SkSharedTTHeader*)storage.reset(amount); in count_tables()
142 SkSharedTTHeader shared; in CountTTCEntries()