Home
last modified time | relevance | path

Searched refs:hasher (Results 1 – 12 of 12) 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/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/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.cc4549 StringHasher hasher(length); in ComputeHashField() local
4553 if (hasher.has_trivial_hash()) { in ComputeHashField()
4554 return hasher.GetHashField(); in ComputeHashField()
4559 while (buffer->has_more() && hasher.is_array_index()) { in ComputeHashField()
4560 hasher.AddCharacter(buffer->GetNext()); in ComputeHashField()
4566 hasher.AddCharacterNoIndex(buffer->GetNext()); in ComputeHashField()
4569 return hasher.GetHashField(); in ComputeHashField()
7369 StringHasher hasher(2); in TwoCharHashTableKey() local
7370 hasher.AddCharacter(c1); in TwoCharHashTableKey()
7371 hasher.AddCharacter(c2); in TwoCharHashTableKey()
[all …]
/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