Home
last modified time | relevance | path

Searched refs:StringHasher (Results 1 – 25 of 34) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Source/wtf/
DStringHasherTest.cpp55 TEST(StringHasherTest, StringHasher) in TEST() argument
57 StringHasher hasher; in TEST()
66 StringHasher hasher; in TEST()
69 hasher = StringHasher(); in TEST()
75 hasher = StringHasher(); in TEST()
93 hasher = StringHasher(); in TEST()
113 StringHasher hasher; in TEST()
116 hasher = StringHasher(); in TEST()
120 hasher = StringHasher(); in TEST()
124 hasher = StringHasher(); in TEST()
[all …]
DStringHasher.h40 class StringHasher {
44 StringHasher() in StringHasher() function
161 StringHasher hasher; in computeHashAndMaskTop8Bits()
173 StringHasher hasher; in computeHash()
237 using WTF::StringHasher;
Dwtf.gypi112 'StringHasher.h',
/external/chromium_org/third_party/WebKit/Source/wtf/text/
DStringStatics.cpp68 setHash(StringHasher::computeHashAndMaskTop8Bits(characters8(), m_length)); in DEFINE_GLOBAL()
70 setHash(StringHasher::computeHashAndMaskTop8Bits(characters16(), m_length)); in DEFINE_GLOBAL()
DAtomicString.cpp143 return StringHasher::computeHashAndMaskTop8Bits(buf.s, buf.length); in hash()
170 … ASSERT(buffer.hash == StringHasher::computeHashAndMaskTop8Bits(buffer.characters, buffer.length)); in hash()
307 …return StringHasher::computeHashAndMaskTop8Bits(buffer.baseString->characters8() + buffer.start, b… in hash()
308 …return StringHasher::computeHashAndMaskTop8Bits(buffer.baseString->characters16() + buffer.start, … in hash()
349 return StringHasher::computeHashAndMaskTop8Bits(buf.s, buf.length); in hash()
369 …return StringHasher::computeHashAndMaskTop8Bits(reinterpret_cast<const LChar*>(buf.s), buf.length); in hash()
DStringHash.h75 return StringHasher::computeHashAndMaskTop8Bits<UChar, foldCase<UChar> >(data, length); in hash()
87 return StringHasher::computeHashAndMaskTop8Bits<LChar, foldCase<LChar> >(data, length); in hash()
DStringImpl.h255 …ASSERT(hash == (is8Bit() ? StringHasher::computeHashAndMaskTop8Bits(characters8(), m_length) : Str… in setHash()
448 ASSERT(existingHash() == StringHasher::computeHashAndMaskTop8Bits(characters8(), length())); in assertHashIsCorrect()
/external/clang/test/PCH/
Dcxx-templates.cpp59 struct StringHasher { struct
71 return StringHasher::createHash<char, foldCase>(data, length); in hash()
/external/chromium_org/third_party/WebKit/Source/platform/
DCrypto.h44 return StringHasher::computeHash(v.data(), v.size()); in hash()
/external/chromium_org/third_party/WebKit/Source/platform/fonts/
DFontCacheKey.h67 return StringHasher::hashMemory<sizeof(hashCodes)>(hashCodes); in hash()
DFontFaceCreationParams.h101 StringHasher hasher; in hash()
DWidthCache.h71 StringHasher hasher; in SmallStringKey()
/external/chromium_org/third_party/WebKit/Source/core/dom/
DElementDataCache.cpp38 return StringHasher::hashMemory(attributes.data(), attributes.size() * sizeof(Attribute)); in DEFINE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED()
DQualifiedName.h151 return StringHasher::hashMemory<sizeof(QualifiedNameComponents)>(&buf); in hashComponents()
DPresentationAttributeStyle.cpp154 …unsigned attributeHash = StringHasher::hashMemory(key.attributesAndValues.data(), key.attributesAn… in computePresentationAttributeCacheHash()
/external/chromium_org/third_party/WebKit/Source/platform/weborigin/
DSecurityOriginHash.h46 return StringHasher::hashMemory<sizeof(hashCodes)>(hashCodes); in hash()
/external/chromium_org/v8/src/
Djson-parser.h737 StringHasher::AddCharacterCore(running_hash, in ScanJsonString()
740 StringHasher::AddCharacterCore(running_hash, in ScanJsonString()
743 running_hash = StringHasher::AddCharacterCore(running_hash, c0); in ScanJsonString()
751 ? StringHasher::GetHashCore(running_hash) in ScanJsonString()
Dast-value-factory.cc235 uint32_t hash = StringHasher::HashSequentialString<uint8_t>( in GetOneByteString()
243 uint32_t hash = StringHasher::HashSequentialString<uint16_t>( in GetTwoByteString()
Dobjects-inl.h505 hash_field_ = StringHasher::HashSequentialString<Char>(string_.start(), in Hash()
549 hash_field_ = StringHasher::HashSequentialString( in Hash()
596 hash_field_ = StringHasher::ComputeUtf8Hash(string_, seed_, &chars_); in Hash()
6478 StringHasher::StringHasher(int length, uint32_t seed) in StringHasher() function
6488 bool StringHasher::has_trivial_hash() { in has_trivial_hash()
6493 uint32_t StringHasher::AddCharacterCore(uint32_t running_hash, uint16_t c) { in AddCharacterCore()
6501 uint32_t StringHasher::GetHashCore(uint32_t running_hash) { in GetHashCore()
6512 void StringHasher::AddCharacter(uint16_t c) { in AddCharacter()
6519 bool StringHasher::UpdateIndex(uint16_t c) { in UpdateIndex()
6543 inline void StringHasher::AddCharacters(const Char* chars, int length) { in AddCharacters()
[all …]
/external/chromium_org/v8/src/heap/
Dheap-inl.h295 StringHasher::AddCharacterCore(raw_allocations_hash_, c1); in UpdateAllocationsHash()
297 StringHasher::AddCharacterCore(raw_allocations_hash_, c2); in UpdateAllocationsHash()
302 uint32_t hash = StringHasher::GetHashCore(raw_allocations_hash_); in PrintAlloctionsHash()
/external/chromium_org/third_party/WebKit/Source/wtf/unicode/
DUTF8.cpp375 StringHasher stringHasher; in calculateStringHashAndLengthFromUTF8MaskingTop8Bits()
/external/chromium_org/third_party/WebKit/Source/core/html/parser/
DHTMLParserIdioms.cpp379 unsigned hash = StringHasher::computeHashAndMaskTop8Bits(characters, length); in findStringIfStatic()
/external/chromium_org/third_party/WebKit/Source/platform/fonts/cocoa/
DFontPlatformDataCocoa.mm40 return StringHasher::hashMemory<sizeof(hashCodes)>(hashCodes);
/external/chromium_org/third_party/WebKit/Source/platform/image-decoders/gif/
DGIFImageDecoderTest.cpp65 return StringHasher::hashMemory(bitmap.getPixels(), bitmap.getSize()); in hashSkBitmap()
/external/chromium_org/third_party/WebKit/Source/core/html/forms/
DFormController.cpp165 return StringHasher::hashMemory<sizeof(FormElementKey)>(&key); in hash()

12