Lines Matching refs:ttcIndex
82 SkStreamAsset* onOpenStream(int* ttcIndex) const override {
83 *ttcIndex = this->getIndex();
103 SkStreamAsset* onOpenStream(int* ttcIndex) const override {
104 *ttcIndex = this->getIndex();
285 SkTypeface* onCreateFromData(SkData* data, int ttcIndex) const override {
286 return this->createFromStream(new SkMemoryStream(data), ttcIndex);
289 SkTypeface* onCreateFromStream(SkStreamAsset* bareStream, int ttcIndex) const override {
298 if (fScanner.scanFont(stream, ttcIndex, &name, &style, &isFixedPitch, nullptr)) {
300 ttcIndex);
306 SkTypeface* onCreateFromFile(const char path[], int ttcIndex) const override {
308 return stream.get() ? this->createFromStream(stream.detach(), ttcIndex) : nullptr;