Home | History | Annotate | Download | only in core

Lines Matching refs:ttcIndex

54 static int count_tables(SkStream* stream, int ttcIndex, size_t* offsetToDir) {
55 SkASSERT(ttcIndex >= 0);
71 if ((unsigned)ttcIndex >= count) {
75 if (ttcIndex > 0) { // need to read more of the shared header
77 size_t amount = sizeof(SkSharedTTHeader) + ttcIndex * sizeof(uint32_t);
84 offset = SkEndian_SwapBE32((&header->fCollection.fOffset0)[ttcIndex]);
113 bool init(SkStream* stream, int ttcIndex) {
117 fCount = count_tables(stream, ttcIndex, &offsetToDir);
155 int SkFontStream::GetTableTags(SkStream* stream, int ttcIndex,
158 if (!header.init(stream, ttcIndex)) {
170 size_t SkFontStream::GetTableData(SkStream* stream, int ttcIndex,
174 if (!header.init(stream, ttcIndex)) {