Lines Matching refs:index
371 // >0 -- index
374 int32_t index = this->read32();
375 if (index == 0) {
377 } else if (index > 0) {
378 if (!this->validate(index <= fTFCount)) {
381 return fTFArray[index - 1];
383 size_t size = sk_negate_to_size_t(index);
396 int32_t index = this->read32();
397 if (0 == index || !this->isValid()) {
400 index -= 1; // we stored the index-base-1
401 if ((unsigned)index >= (unsigned)fFactoryCount) {
405 factory = fFactoryArray[index];
415 // Read the index. We are guaranteed that the first byte
417 uint32_t index = this->readUInt() >> 8;
418 if (index == 0) {
422 if (SkFlattenable::Factory* found = fFlattenableDict.find(index)) {