• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/WTF-7600.1.24/wtf/text/

Lines Matching refs:hash

88     static unsigned hash(const LChar* c)
98 static void translate(StringImpl*& location, const LChar* const& c, unsigned hash)
101 location->setHash(hash);
124 static unsigned hash(const UCharBuffer& buf)
134 static void translate(StringImpl*& location, const UCharBuffer& buf, unsigned hash)
137 location->setHash(hash);
144 unsigned hash;
151 static unsigned hash(const HashAndCharacters<CharacterType>& buffer)
153 ASSERT(buffer.hash == StringHasher::computeHashAndMaskTop8Bits(buffer.characters, buffer.length));
154 return buffer.hash;
162 static void translate(StringImpl*& location, const HashAndCharacters<CharacterType>& buffer, unsigned hash)
165 location->setHash(hash);
171 unsigned hash;
178 static unsigned hash(const HashAndUTF8Characters& buffer)
180 return buffer.hash;
219 static void translate(StringImpl*& location, const HashAndUTF8Characters& buffer, unsigned hash)
233 location->setHash(hash);
285 static void translate(StringImpl*& location, const SubstringLocation& buffer, unsigned hash)
288 location->setHash(hash);
294 static unsigned hash(const SubstringLocation& buffer)
306 static unsigned hash(const SubstringLocation& buffer)
340 static unsigned hash(const LCharBuffer& buf)
350 static void translate(StringImpl*& location, const LCharBuffer& buf, unsigned hash)
353 location->setHash(hash);
360 static unsigned hash(const CharBuffer& buf)
370 static void translate(StringImpl*& location, const CharBuffer& buf, unsigned hash)
373 location->setHash(hash);
541 buffer.hash = calculateStringHashAndLengthFromUTF8MaskingTop8Bits(charactersStart, charactersEnd, buffer.length, buffer.utf16Length);
543 if (!buffer.hash)