OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:computeHashAndMaskTop8Bits
(Results
1 - 7
of
7
) sorted by null
/external/chromium_org/third_party/WebKit/Source/wtf/text/
StringStatics.cpp
58
setHash(StringHasher::
computeHashAndMaskTop8Bits
(characters8(), m_length));
60
setHash(StringHasher::
computeHashAndMaskTop8Bits
(characters16(), m_length));
StringHash.h
75
return StringHasher::
computeHashAndMaskTop8Bits
<UChar, foldCase<UChar> >(data, length);
87
return StringHasher::
computeHashAndMaskTop8Bits
<LChar, foldCase<LChar> >(data, length);
AtomicString.cpp
126
return StringHasher::
computeHashAndMaskTop8Bits
(c);
162
return StringHasher::
computeHashAndMaskTop8Bits
(buf.s, buf.length);
189
ASSERT(buffer.hash == StringHasher::
computeHashAndMaskTop8Bits
(buffer.characters, buffer.length));
326
return StringHasher::
computeHashAndMaskTop8Bits
(buffer.baseString->characters8() + buffer.start, buffer.length);
327
return StringHasher::
computeHashAndMaskTop8Bits
(buffer.baseString->characters16() + buffer.start, buffer.length);
368
return StringHasher::
computeHashAndMaskTop8Bits
(buf.s, buf.length);
388
return StringHasher::
computeHashAndMaskTop8Bits
(reinterpret_cast<const LChar*>(buf.s), buf.length);
StringImpl.h
243
ASSERT(hash == (is8Bit() ? StringHasher::
computeHashAndMaskTop8Bits
(characters8(), m_length) : StringHasher::
computeHashAndMaskTop8Bits
(characters16(), m_length)));
455
ASSERT(existingHash() == StringHasher::
computeHashAndMaskTop8Bits
(characters8(), length()));
/external/chromium_org/third_party/WebKit/Source/wtf/
StringHasher.h
192
template<typename T, UChar Converter(T)> static unsigned
computeHashAndMaskTop8Bits
(const T* data, unsigned length)
199
template<typename T, UChar Converter(T)> static unsigned
computeHashAndMaskTop8Bits
(const T* data)
206
template<typename T> static unsigned
computeHashAndMaskTop8Bits
(const T* data, unsigned length)
208
return
computeHashAndMaskTop8Bits
<T, defaultConverter>(data, length);
211
template<typename T> static unsigned
computeHashAndMaskTop8Bits
(const T* data)
213
return
computeHashAndMaskTop8Bits
<T, defaultConverter>(data);
246
return
computeHashAndMaskTop8Bits
<UChar>(static_cast<const UChar*>(data), length / sizeof(UChar));
StringHasherTest.cpp
416
ASSERT_EQ(emptyStringHash & 0xFFFFFF, StringHasher::
computeHashAndMaskTop8Bits
(static_cast<LChar*>(0), 0));
417
ASSERT_EQ(emptyStringHash & 0xFFFFFF, StringHasher::
computeHashAndMaskTop8Bits
(nullLChars, 0));
418
ASSERT_EQ(emptyStringHash & 0xFFFFFF, StringHasher::
computeHashAndMaskTop8Bits
(static_cast<UChar*>(0), 0));
419
ASSERT_EQ(emptyStringHash & 0xFFFFFF, StringHasher::
computeHashAndMaskTop8Bits
(nullUChars, 0));
421
ASSERT_EQ(singleNullCharacterHash & 0xFFFFFF, StringHasher::
computeHashAndMaskTop8Bits
(nullLChars, 1));
422
ASSERT_EQ(singleNullCharacterHash & 0xFFFFFF, StringHasher::
computeHashAndMaskTop8Bits
(nullUChars, 1));
424
ASSERT_EQ(testAHash5 & 0xFFFFFF, StringHasher::
computeHashAndMaskTop8Bits
(testALChars, 5));
425
ASSERT_EQ(testAHash5 & 0xFFFFFF, StringHasher::
computeHashAndMaskTop8Bits
(testAUChars, 5));
426
ASSERT_EQ(testBHash5 & 0xFFFFFF, StringHasher::
computeHashAndMaskTop8Bits
(testBUChars, 5));
/external/chromium_org/third_party/WebKit/Source/core/html/parser/
HTMLParserIdioms.cpp
292
//
computeHashAndMaskTop8Bits
is the function StringImpl::hash() uses.
293
unsigned hash = StringHasher::
computeHashAndMaskTop8Bits
(characters, length);
Completed in 268 milliseconds