Searched refs:StringHasher (Results 1 - 25 of 32) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Source/wtf/
H A DStringHasherTest.cpp28 #include "wtf/StringHasher.h"
55 TEST(StringHasherTest, StringHasher)
57 StringHasher hasher;
66 StringHasher hasher;
69 hasher = StringHasher();
75 hasher = StringHasher();
93 hasher = StringHasher();
113 StringHasher hasher;
116 hasher = StringHasher();
120 hasher = StringHasher();
[all...]
H A DStringHasher.h40 class StringHasher { class in namespace:WTF
44 StringHasher() function in class:WTF::StringHasher
161 StringHasher hasher;
173 StringHasher hasher;
237 using WTF::StringHasher;
/external/chromium_org/third_party/WebKit/Source/wtf/text/
H A DStringStatics.cpp68 setHash(StringHasher::computeHashAndMaskTop8Bits(characters8(), m_length));
70 setHash(StringHasher::computeHashAndMaskTop8Bits(characters16(), m_length));
H A DStringHash.h27 #include "wtf/StringHasher.h"
75 return StringHasher::computeHashAndMaskTop8Bits<UChar, foldCase<UChar> >(data, length);
87 return StringHasher::computeHashAndMaskTop8Bits<LChar, foldCase<LChar> >(data, length);
H A DAtomicString.cpp143 return StringHasher::computeHashAndMaskTop8Bits(buf.s, buf.length);
170 ASSERT(buffer.hash == StringHasher::computeHashAndMaskTop8Bits(buffer.characters, buffer.length));
307 return StringHasher::computeHashAndMaskTop8Bits(buffer.baseString->characters8() + buffer.start, buffer.length);
308 return StringHasher::computeHashAndMaskTop8Bits(buffer.baseString->characters16() + buffer.start, buffer.length);
349 return StringHasher::computeHashAndMaskTop8Bits(buf.s, buf.length);
369 return StringHasher::computeHashAndMaskTop8Bits(reinterpret_cast<const LChar*>(buf.s), buf.length);
H A DStringImpl.h30 #include "wtf/StringHasher.h"
254 // Multiple clients assume that StringHasher is the canonical string hash function.
255 ASSERT(hash == (is8Bit() ? StringHasher::computeHashAndMaskTop8Bits(characters8(), m_length) : StringHasher::computeHashAndMaskTop8Bits(characters16(), m_length)));
448 ASSERT(existingHash() == StringHasher::computeHashAndMaskTop8Bits(characters8(), length()));
/external/clang/test/PCH/
H A Dcxx-templates.cpp59 struct StringHasher { struct in namespace:Test1
71 return StringHasher::createHash<char, foldCase>(data, length);
/external/chromium_org/third_party/WebKit/Source/platform/
H A DCrypto.h17 #include "wtf/StringHasher.h"
44 return StringHasher::computeHash(v.data(), v.size());
/external/chromium_org/third_party/WebKit/Source/platform/fonts/
H A DFontCacheKey.h67 return StringHasher::hashMemory<sizeof(hashCodes)>(hashCodes);
H A DFontFaceCreationParams.h35 #include "wtf/StringHasher.h"
101 StringHasher hasher;
H A DWidthCache.h35 #include "wtf/StringHasher.h"
71 StringHasher hasher;
/external/chromium_org/third_party/WebKit/Source/core/dom/
H A DElementDataCache.cpp38 return StringHasher::hashMemory(attributes.data(), attributes.size() * sizeof(Attribute));
H A DPresentationAttributeStyle.cpp154 unsigned attributeHash = StringHasher::hashMemory(key.attributesAndValues.data(), key.attributesAndValues.size() * sizeof(key.attributesAndValues[0]));
H A DQualifiedName.h72 // We rely on StringHasher's hashMemory clearing out the top 8 bits when
151 return StringHasher::hashMemory<sizeof(QualifiedNameComponents)>(&buf);
/external/chromium_org/third_party/WebKit/Source/platform/weborigin/
H A DSecurityOriginHash.h46 return StringHasher::hashMemory<sizeof(hashCodes)>(hashCodes);
/external/chromium_org/v8/src/
H A Dast-value-factory.cc235 uint32_t hash = StringHasher::HashSequentialString<uint8_t>(
243 uint32_t hash = StringHasher::HashSequentialString<uint16_t>(
H A Djson-parser.h737 StringHasher::AddCharacterCore(running_hash,
740 StringHasher::AddCharacterCore(running_hash,
743 running_hash = StringHasher::AddCharacterCore(running_hash, c0);
751 ? StringHasher::GetHashCore(running_hash)
H A Dobjects-inl.h505 hash_field_ = StringHasher::HashSequentialString<Char>(string_.start(),
549 hash_field_ = StringHasher::HashSequentialString(
596 hash_field_ = StringHasher::ComputeUtf8Hash(string_, seed_, &chars_);
6478 StringHasher::StringHasher(int length, uint32_t seed) function in class:v8::internal::Code::FindAndReplacePattern::StringHasher
6488 bool StringHasher::has_trivial_hash() {
6493 uint32_t StringHasher::AddCharacterCore(uint32_t running_hash, uint16_t c) {
6501 uint32_t StringHasher::GetHashCore(uint32_t running_hash) {
6512 void StringHasher::AddCharacter(uint16_t c) {
6519 bool StringHasher
[all...]
H A Dheap-snapshot-generator.h578 return StringHasher::HashSequentialString(
H A Dprofile-generator.cc130 uint32_t hash = StringHasher::HashSequentialString(str, len, hash_seed_);
/external/chromium_org/third_party/WebKit/Source/platform/fonts/cocoa/
H A DFontPlatformDataCocoa.mm40 return StringHasher::hashMemory<sizeof(hashCodes)>(hashCodes);
/external/chromium_org/third_party/WebKit/Source/wtf/unicode/
H A DUTF8.cpp31 #include "wtf/StringHasher.h"
375 StringHasher stringHasher;
/external/chromium_org/v8/src/heap/
H A Dheap-inl.h295 StringHasher::AddCharacterCore(raw_allocations_hash_, c1);
297 StringHasher::AddCharacterCore(raw_allocations_hash_, c2);
302 uint32_t hash = StringHasher::GetHashCore(raw_allocations_hash_);
/external/chromium_org/third_party/WebKit/Source/core/html/forms/
H A DFormController.cpp165 return StringHasher::hashMemory<sizeof(FormElementKey)>(&key);
/external/chromium_org/third_party/WebKit/Source/platform/image-decoders/gif/
H A DGIFImageDecoderTest.cpp42 #include "wtf/StringHasher.h"
65 return StringHasher::hashMemory(bitmap.getPixels(), bitmap.getSize());

Completed in 391 milliseconds

12