Lines Matching defs:hash
68 // Shape bits should be set to zeroes, because they are used for hash calculation.
80 // Shape bits should be set to zeroes, because they are used for hash calculation.
84 hash_t PathDescription::hash() const {
85 uint32_t hash = JenkinsHashMix(0, static_cast<int>(type));
86 hash = JenkinsHashMix(hash, join);
87 hash = JenkinsHashMix(hash, cap);
88 hash = JenkinsHashMix(hash, style);
89 hash = JenkinsHashMix(hash, android::hash_type(miter));
90 hash = JenkinsHashMix(hash, android::hash_type(strokeWidth));
91 hash = JenkinsHashMix(hash, android::hash_type(pathEffect));
92 hash = JenkinsHashMixBytes(hash, (uint8_t*) &shape, sizeof(Shape));
93 return JenkinsHashWhiten(hash);