Lines Matching defs:keyLength
30 uint32_t keyLength() const { return *this->atOffset<uint32_t, kLengthOffset>(); }
36 uint32_t keyLength = other.keyLength();
37 fKey.reset(SkToInt(keyLength));
38 memcpy(fKey.begin(), other.fKey.begin(), keyLength);
44 return 0 == memcmp(this->asKey(), other.asKey(), this->keyLength() & ~0x3);
52 return memcmp(a.asKey(), b.asKey(), a.keyLength() & ~0x3) < 0;
88 int keyLength = fKey.count();
89 SkASSERT(0 == (keyLength % 4));
90 *(this->atOffset<uint32_t, GrProgramDesc::kLengthOffset>()) = SkToU32(keyLength);
94 *checksum = SkChecksum::Compute(reinterpret_cast<uint32_t*>(fKey.begin()), keyLength);