Lines Matching full:hash
115 uint32_t hash = WTF::stringHashingStartValue;
119 hash += s[0];
120 uint32_t tmp = (s[1] << 11) ^ hash;
121 hash = (hash << 16) ^ tmp;
123 hash += hash >> 11;
127 hash ^= hash << 3;
128 hash += hash >> 5;
129 hash ^= hash << 2;
130 hash += hash >> 15;
131 hash ^= hash << 10;
133 // this avoids ever returning a hash code of 0, since that is used to
134 // signal "hash not computed yet", using a value that is likely to be
136 if (hash == 0)
137 hash = 0x80000000;
139 return hash;
143 static unsigned hash(const QualifiedName& name) { return hash(name.impl()); }
145 static unsigned hash(const QualifiedName::QualifiedNameImpl* name)
164 typedef WebCore::QualifiedNameHash Hash;