Home
last modified time | relevance | path

Searched refs:hashtable (Results 1 – 25 of 40) sorted by relevance

12

/third_party/grpc/src/core/ext/transport/chttp2/transport/
Dhpack_encoder.cc124 static HpackEncoderIndex HpackIndex(const Hashtable* hashtable, in HpackIndex() argument
126 return hashtable[hash_index].index; in HpackIndex()
130 static const ValueType& GetEntry(const Hashtable* hashtable, in GetEntry() argument
132 return hashtable[hash_index].value; in GetEntry()
136 static bool TableEmptyAt(const Hashtable* hashtable, in TableEmptyAt() argument
138 return Cmp::Equals(hashtable[hash_index].value, Cmp::Null()); in TableEmptyAt()
142 static bool Matches(const Hashtable* hashtable, const ValueType& value, in Matches() argument
144 return Cmp::Equals(value, hashtable[hash_index].value); in Matches()
148 static void UpdateIndex(Hashtable* hashtable, HpackEncoderSlotHash hash_index, in UpdateIndex() argument
150 hashtable[hash_index].index = hpack_index; in UpdateIndex()
[all …]
/third_party/mesa3d/src/gallium/auxiliary/util/
Du_live_shader_cache.c56 cache->hashtable = _mesa_hash_table_create(NULL, key_hash, key_equals); in util_live_shader_cache_init()
64 if (cache->hashtable) { in util_live_shader_cache_deinit()
66 _mesa_hash_table_destroy(cache->hashtable, NULL); in util_live_shader_cache_deinit()
118 struct hash_entry *entry = _mesa_hash_table_search(cache->hashtable, sha1); in util_live_shader_cache_get()
149 struct hash_entry *entry2 = _mesa_hash_table_search(cache->hashtable, sha1); in util_live_shader_cache_get()
158 _mesa_hash_table_insert(cache->hashtable, shader->sha1, shader); in util_live_shader_cache_get()
180 struct hash_entry *entry = _mesa_hash_table_search(cache->hashtable, in util_shader_reference()
183 _mesa_hash_table_remove(cache->hashtable, entry); in util_shader_reference()
Du_live_shader_cache.h57 struct hash_table *hashtable; member
/third_party/gstreamer/gstplugins_good/gst/rtpmanager/
Drtptimerqueue.c32 GHashTable *hashtable; member
294 queue->hashtable = g_hash_table_new (NULL, NULL); in rtp_timer_queue_init()
305 g_hash_table_unref (queue->hashtable); in rtp_timer_queue_finalize()
364 return g_hash_table_lookup (queue->hashtable, GINT_TO_POINTER (seqnum)); in rtp_timer_queue_find()
419 g_hash_table_insert (queue->hashtable, in rtp_timer_queue_insert()
491 g_hash_table_remove (queue->hashtable, GINT_TO_POINTER (timer->seqnum)); in rtp_timer_queue_unschedule()
713 g_hash_table_remove (queue->hashtable, GINT_TO_POINTER (timer->seqnum)); in rtp_timer_queue_update_timer()
714 g_hash_table_insert (queue->hashtable, GINT_TO_POINTER (seqnum), timer); in rtp_timer_queue_update_timer()
/third_party/libnl/lib/
Dcache.c210 cache->hashtable = nl_hash_table_alloc(hashtable_size); in nl_cache_alloc()
381 if (cache->hashtable) in __nl_cache_free()
382 nl_hash_table_free(cache->hashtable); in __nl_cache_free()
441 if (cache->hashtable) { in __cache_add()
442 ret = nl_hash_table_add(cache->hashtable, obj); in __cache_add()
560 if (cache->hashtable) { in nl_cache_remove()
561 ret = nl_hash_table_del(cache->hashtable, obj); in nl_cache_remove()
1090 obj = nl_hash_table_lookup(cache->hashtable, needle); in __cache_fast_lookup()
1119 if (cache->hashtable) in nl_cache_search()
1158 && cache->hashtable) in nl_cache_find()
/third_party/boost/libs/intrusive/test/
Dany_test.cpp123 hashtable < MyClass, any_to_unordered_set_hook< BaseHook > > in instantiation_test()
128 hashtable < MyClass, any_to_unordered_set_hook< MemberHook > > in instantiation_test()
/third_party/python/Python/
Dmarshal.c88 _Py_hashtable_t *hashtable; member
298 if (p->version < 3 || p->hashtable == NULL) in w_ref()
305 entry = _Py_hashtable_get_entry(p->hashtable, v); in w_ref()
315 size_t s = p->hashtable->nentries; in w_ref()
323 if (_Py_hashtable_set(p->hashtable, v, (void *)(uintptr_t)w) < 0) { in w_ref()
559 wf->hashtable = _Py_hashtable_new_full(_Py_hashtable_hash_ptr, in w_init_refs()
562 if (wf->hashtable == NULL) { in w_init_refs()
573 if (wf->hashtable != NULL) { in w_clear_refs()
574 _Py_hashtable_destroy(wf->hashtable); in w_clear_refs()
/third_party/python/Modules/
D_hashopenssl.c217 _Py_hashtable_t *hashtable; member
325 state->hashtable, (const void*)name in py_digest_by_name()
2094 if (state->hashtable != NULL) { in hashlib_clear()
2095 _Py_hashtable_destroy(state->hashtable); in hashlib_clear()
2096 state->hashtable = NULL; in hashlib_clear()
2114 state->hashtable = py_hashentry_table_new(); in hashlib_init_hashtable()
2115 if (state->hashtable == NULL) { in hashlib_init_hashtable()
/third_party/openssl/doc/man3/
DOPENSSL_LH_COMPFUNC.pod120 lh_TYPE_doall(hashtable, LHASH_DOALL_FN(TYPE_cleanup));
123 lh_TYPE_free(hashtable);
151 /* Print out the entire hashtable to a particular BIO */
152 lh_TYPE_doall_arg(hashtable, LHASH_DOALL_ARG_FN(TYPE_print), BIO,
/third_party/mesa3d/src/gallium/drivers/r600/sb/
Dsb_valtable.cpp146 vt_item & vti = hashtable[hash & size_mask]; in add_value()
213 for(vt_table::iterator I = hashtable.begin(), E = hashtable.end(); in get_values()
Dsb_ir.h641 vt_table hashtable; variable
649 size_mask(size - 1), hashtable(size), cnt() {} in ex()
/third_party/python/Include/internal/
Dpycore_interp.h194 struct type_cache_entry hashtable[1 << MCACHE_SIZE_EXP]; member
/third_party/boost/boost/intrusive/
Dhashtable.hpp3603 class hashtable class
3619 BOOST_MOVABLE_BUT_NOT_COPYABLE(hashtable)
3634 BOOST_INTRUSIVE_FORCEINLINE explicit hashtable ( const bucket_traits &b_traits in hashtable() function in boost::intrusive::hashtable
3641 BOOST_INTRUSIVE_FORCEINLINE hashtable(BOOST_RV_REF(hashtable) x) in hashtable() function in boost::intrusive::hashtable
3645 BOOST_INTRUSIVE_FORCEINLINE hashtable& operator=(BOOST_RV_REF(hashtable) x) in operator =()
3646 { return static_cast<hashtable&>(this->Base::operator=(BOOST_MOVE_BASE(Base, x))); } in operator =()
3649 …BOOST_INTRUSIVE_FORCEINLINE void clone_from(const hashtable &src, Cloner cloner, Disposer disposer) in clone_from()
3653 …BOOST_INTRUSIVE_FORCEINLINE void clone_from(BOOST_RV_REF(hashtable) src, Cloner cloner, Disposer d… in clone_from()
Dintrusive_fwd.hpp558 class hashtable;
/third_party/boost/libs/intrusive/doc/
DJamfile.v248 \"hashtable_impl=hashtable\" \\
/third_party/gstreamer/gstplugins_bad/gst/mxf/
Dmxftypes.h183 void mxf_uuid_init (MXFUUID *uuid, GHashTable *hashtable);
Dmxftypes.c212 mxf_uuid_init (MXFUUID * uuid, GHashTable * hashtable) in mxf_uuid_init() argument
221 } while (hashtable && (mxf_uuid_is_zero (uuid) || in mxf_uuid_init()
222 g_hash_table_lookup_extended (hashtable, uuid, NULL, NULL))); in mxf_uuid_init()
/third_party/node/deps/icu-small/source/common/
DBUILD490 name = "hashtable",
664 ":hashtable",
/third_party/libwebsockets/READMEs/
DREADME.lws_map.md21 all zeros to select defaults, an 8-way hashtable with item allocation from heap,
/third_party/icu/icu4c/source/test/depstest/
Ddependencies.txt183 hashtable uhash uvector uvector32 uvector64 ulist
575 hashtable uvector
758 group: hashtable # Maps UnicodeString to value.
/third_party/libnl/
DBUILD.gn98 "lib/hashtable.c",
DMakefile.am57 include/netlink/hashtable.h \
/third_party/libnl/include/netlink-private/
Dtypes.h102 struct nl_hash_table * hashtable; member
/third_party/libxml2/os400/libxmlrpg/
Dxpath.rpgle343 d nsHash like(xmlHashTablePtr) Namespace hashtable
/third_party/python/Objects/
Dtypeobject.c235 struct type_cache_entry *entry = &cache->hashtable[i]; in type_cache_clear()
258 struct type_cache_entry *entry = &cache->hashtable[i]; in _PyType_InitCache()
283 sizeof(cache->hashtable) / 1024); in _PyType_ClearCache()
3807 struct type_cache_entry *entry = &cache->hashtable[h]; in _PyType_Lookup()
3839 struct type_cache_entry *entry = &cache->hashtable[h]; in _PyType_Lookup()

12