Lines Matching defs:ttcIndex
55 static int count_tables(SkStream* stream, int ttcIndex, size_t* offsetToDir) {
56 SkASSERT(ttcIndex >= 0);
72 if ((unsigned)ttcIndex >= count) {
76 if (ttcIndex > 0) { // need to read more of the shared header
78 size_t amount = sizeof(SkSharedTTHeader) + ttcIndex * sizeof(uint32_t);
85 offset = SkEndian_SwapBE32((&header->fCollection.fOffset0)[ttcIndex]);
114 bool init(SkStream* stream, int ttcIndex) {
118 fCount = count_tables(stream, ttcIndex, &offsetToDir);
156 int SkFontStream::GetTableTags(SkStream* stream, int ttcIndex,
159 if (!header.init(stream, ttcIndex)) {
171 size_t SkFontStream::GetTableData(SkStream* stream, int ttcIndex,
175 if (!header.init(stream, ttcIndex)) {