Home
last modified time | relevance | path

Searched refs:hasher (Results 1 – 15 of 15) sorted by relevance

/external/stlport/stlport/stl/
D_hash_set.h59 typedef typename _Ht::hasher hasher; in _STLP_CREATE_HASH_ITERATOR_TRAITS() typedef
74 hasher hash_funct() const { return _M_ht.hash_funct(); } in _STLP_CREATE_HASH_ITERATOR_TRAITS()
84 : _M_ht(0, hasher(), key_equal(), allocator_type()) {} in _STLP_CREATE_HASH_ITERATOR_TRAITS()
86 : _M_ht(__n, hasher(), key_equal(), allocator_type()) {} in _STLP_CREATE_HASH_ITERATOR_TRAITS()
87 hash_set(size_type __n, const hasher& __hf) in _STLP_CREATE_HASH_ITERATOR_TRAITS()
90 hash_set(size_type __n, const hasher& __hf, const key_equal& __eql, in _STLP_CREATE_HASH_ITERATOR_TRAITS()
93 hash_set(size_type __n, const hasher& __hf, const key_equal& __eql) in _STLP_CREATE_HASH_ITERATOR_TRAITS()
95 hash_set(size_type __n, const hasher& __hf, const key_equal& __eql, in _STLP_CREATE_HASH_ITERATOR_TRAITS()
108 : _M_ht(0, hasher(), key_equal(), allocator_type()) in _STLP_CREATE_HASH_ITERATOR_TRAITS()
112 : _M_ht(__n, hasher(), key_equal(), allocator_type()) in _STLP_CREATE_HASH_ITERATOR_TRAITS()
[all …]
D_hash_map.h65 typedef typename _Ht::hasher hasher; in _STLP_CREATE_HASH_ITERATOR_TRAITS() typedef
80 hasher hash_funct() const { return _M_ht.hash_funct(); } in _STLP_CREATE_HASH_ITERATOR_TRAITS()
88 hash_map() : _M_ht(0, hasher(), key_equal(), allocator_type()) {} in _STLP_CREATE_HASH_ITERATOR_TRAITS()
90 : _M_ht(__n, hasher(), key_equal(), allocator_type()) {} in _STLP_CREATE_HASH_ITERATOR_TRAITS()
91 hash_map(size_type __n, const hasher& __hf) in _STLP_CREATE_HASH_ITERATOR_TRAITS()
93 hash_map(size_type __n, const hasher& __hf, const key_equal& __eql, in _STLP_CREATE_HASH_ITERATOR_TRAITS()
106 : _M_ht(0, hasher(), key_equal(), allocator_type()) in _STLP_CREATE_HASH_ITERATOR_TRAITS()
110 : _M_ht(__n, hasher(), key_equal(), allocator_type()) in _STLP_CREATE_HASH_ITERATOR_TRAITS()
114 const hasher& __hf) in _STLP_CREATE_HASH_ITERATOR_TRAITS()
120 const hasher& __hf, const key_equal& __eql) in _STLP_CREATE_HASH_ITERATOR_TRAITS()
[all …]
D_unordered_set.h51 typedef typename _Ht::hasher hasher; in _STLP_CREATE_HASH_ITERATOR_TRAITS() typedef
68 hasher hash_function() const { return _M_ht.hash_funct(); } in _STLP_CREATE_HASH_ITERATOR_TRAITS()
77 explicit unordered_set(size_type __n = 0, const hasher& __hf = hasher(), in _STLP_CREATE_HASH_ITERATOR_TRAITS()
90 size_type __n = 0, const hasher& __hf = hasher(), in _STLP_CREATE_HASH_ITERATOR_TRAITS()
97 size_type __n = 0, const hasher& __hf = hasher(), in _STLP_CREATE_HASH_ITERATOR_TRAITS()
104 size_type __n = 0, const hasher& __hf = hasher(), in _STLP_CREATE_HASH_ITERATOR_TRAITS()
201 typedef typename _Ht::hasher hasher; in _STLP_CREATE_HASH_ITERATOR_TRAITS() typedef
218 hasher hash_function() const { return _M_ht.hash_funct(); } in _STLP_CREATE_HASH_ITERATOR_TRAITS()
227 explicit unordered_multiset(size_type __n = 0, const hasher& __hf = hasher(), in _STLP_CREATE_HASH_ITERATOR_TRAITS()
240 size_type __n = 0, const hasher& __hf = hasher(), in _STLP_CREATE_HASH_ITERATOR_TRAITS()
[all …]
D_unordered_map.h57 typedef typename _Ht::hasher hasher; in _STLP_CREATE_HASH_ITERATOR_TRAITS() typedef
74 hasher hash_function() const { return _M_ht.hash_funct(); } in _STLP_CREATE_HASH_ITERATOR_TRAITS()
83 explicit unordered_map(size_type __n = 0, const hasher& __hf = hasher(), in _STLP_CREATE_HASH_ITERATOR_TRAITS()
96 size_type __n = 0, const hasher& __hf = hasher(), in _STLP_CREATE_HASH_ITERATOR_TRAITS()
103 size_type __n = 0, const hasher& __hf = hasher(), in _STLP_CREATE_HASH_ITERATOR_TRAITS()
110 size_type __n = 0, const hasher& __hf = hasher(), in _STLP_CREATE_HASH_ITERATOR_TRAITS()
225 typedef typename _Ht::hasher hasher; in _STLP_CREATE_HASH_ITERATOR_TRAITS() typedef
242 hasher hash_function() const { return _M_ht.hash_funct(); } in _STLP_CREATE_HASH_ITERATOR_TRAITS()
251 explicit unordered_multimap(size_type __n = 0, const hasher& __hf = hasher(), in _STLP_CREATE_HASH_ITERATOR_TRAITS()
264 size_type __n = 0, const hasher& __hf = hasher(), in _STLP_CREATE_HASH_ITERATOR_TRAITS()
[all …]
D_hashtable.h235 typedef _HF hasher;
246 hasher hash_funct() const { return _M_hash; }
274 hasher _M_hash;
/external/webkit/Source/JavaScriptCore/wtf/
DStringHasher.h93 StringHasher hasher; in computeHash() local
98 hasher.addCharacters(Converter(data[0]), Converter(data[1])); in computeHash()
103 hasher.addCharacter(Converter(*data)); in computeHash()
105 return hasher.hash(); in computeHash()
110 StringHasher hasher; in computeHash() local
118 hasher.addCharacter(b0); in computeHash()
122 hasher.addCharacters(b0, b1); in computeHash()
125 return hasher.hash(); in computeHash()
/external/chromium/sdch/open-vcdiff/src/
Drolling_hash_test.cc106 RollingHash<kBlockSize> hasher; in BM_DefaultHash() local
110 result_array[i] = hasher.Hash(&buffer[i]); in BM_DefaultHash()
117 RollingHash<kBlockSize> hasher; in BM_UpdateHash() local
120 uint32_t running_hash = hasher.Hash(buffer); in BM_UpdateHash()
122 running_hash = hasher.UpdateHash(running_hash, in BM_UpdateHash()
139 RollingHash<kBlockSize> hasher; in UpdateHashMatchesHashForBlockSize() local
144 uint32_t running_hash = hasher.Hash(buffer_); in UpdateHashMatchesHashForBlockSize()
147 running_hash = hasher.UpdateHash(running_hash, in UpdateHashMatchesHashForBlockSize()
152 EXPECT_EQ(running_hash, hasher.Hash(&buffer_[i + 1 - kBlockSize])); in UpdateHashMatchesHashForBlockSize()
Dvcdiffengine.cc170 RollingHash<BlockHash::kBlockSize> hasher; in EncodeInternal() local
191 uint32_t hash_value = hasher.Hash(candidate_pos); in EncodeInternal()
209 hash_value = hasher.Hash(candidate_pos); in EncodeInternal()
226 hash_value = hasher.UpdateHash(hash_value, in EncodeInternal()
/external/bison/lib/
Dhash.c71 Hash_hasher hasher; member
253 = table->bucket + table->hasher (entry, table->n_buckets); in hash_lookup()
301 = table->bucket + table->hasher (entry, table->n_buckets); in hash_get_next()
541 Hash_hasher hasher, Hash_comparator comparator, in hash_initialize() argument
546 if (hasher == NULL || comparator == NULL) in hash_initialize()
585 table->hasher = hasher; in hash_initialize()
748 = table->bucket + table->hasher (entry, table->n_buckets); in hash_find_entry()
826 new_table = hash_initialize (candidate, table->tuning, table->hasher, in hash_rehash()
845 + new_table->hasher (data, new_table->n_buckets)); in hash_rehash()
/external/webkit/Source/WebCore/dom/
DStyledElement.cpp406 StringHasher hasher; in hash() local
410 hasher.addCharacters(data[0], data[1]); in hash()
412 hasher.addCharacters(data[2], data[3]); in hash()
415 hasher.addCharacters(data[0], data[1]); in hash()
417 hasher.addCharacters(data[2], data[3]); in hash()
419 return hasher.hash(); in hash()
/external/stlport/stlport/stl/debug/
D_hashtable.h105 typedef _HF hasher; typedef
120 hasher hash_funct() const { return _M_non_dbg_impl.hash_funct(); } in hash_funct()
/external/v8/src/
Dobjects.cc5607 StringHasher hasher(length); in ComputeHashField() local
5611 if (hasher.has_trivial_hash()) { in ComputeHashField()
5612 return hasher.GetHashField(); in ComputeHashField()
5617 while (buffer->has_more() && hasher.is_array_index()) { in ComputeHashField()
5618 hasher.AddCharacter(buffer->GetNext()); in ComputeHashField()
5624 hasher.AddCharacterNoIndex(buffer->GetNext()); in ComputeHashField()
5627 return hasher.GetHashField(); in ComputeHashField()
8635 StringHasher hasher(string_.length()); in Hash() local
8639 if (hasher.has_trivial_hash()) { in Hash()
8640 hash_field_ = hasher.GetHashField(); in Hash()
[all …]
Dobjects-inl.h3832 StringHasher hasher(length); in HashSequentialString()
3833 if (!hasher.has_trivial_hash()) { in HashSequentialString()
3835 for (i = 0; hasher.is_array_index() && (i < length); i++) { in HashSequentialString()
3836 hasher.AddCharacter(chars[i]); in HashSequentialString()
3839 hasher.AddCharacterNoIndex(chars[i]); in HashSequentialString()
3842 return hasher.GetHashField(); in HashSequentialString()
/external/stlport/etc/
DChangeLog-5.1758 * stlport/stl/_hash_fun.h: use primary types for hasher, not
/external/srec/config/en.us/dictionary/
Dlarge.ok12966 hasher haSP