Home
last modified time | relevance | path

Searched refs:hash_func (Results 1 – 24 of 24) sorted by relevance

/freebsd-13.1/contrib/apr/tables/
H A Dapr_hash.c80 apr_hashfunc_t hash_func; member
109 ht->hash_func = NULL; in apr_hash_make()
115 apr_hashfunc_t hash_func) in apr_hash_make_custom() argument
118 ht->hash_func = hash_func; in apr_hash_make_custom()
293 if (ht->hash_func) in find_entry()
294 hash = ht->hash_func(key, &klen); in find_entry()
339 ht->hash_func = orig->hash_func; in apr_hash_copy()
458 res->hash_func = base->hash_func; in apr_hash_merge()
486 if (res->hash_func) in apr_hash_merge()
487 hash = res->hash_func(iter->key, &iter->klen); in apr_hash_merge()
/freebsd-13.1/crypto/openssl/crypto/objects/
H A Do_names.c50 unsigned long (*hash_func) (const char *name); member
87 int OBJ_NAME_new_index(unsigned long (*hash_func) (const char *), in OBJ_NAME_new_index()
119 name_funcs->hash_func = openssl_lh_strcasehash; in OBJ_NAME_new_index()
134 if (hash_func != NULL) in OBJ_NAME_new_index()
135 name_funcs->hash_func = hash_func; in OBJ_NAME_new_index()
170 a->type)->hash_func(a->name); in obj_name_hash()
/freebsd-13.1/lib/libc/db/hash/
H A DMakefile.inc6 SRCS+= hash.c hash_bigkey.c hash_buf.c hash_func.c hash_log2.c \
/freebsd-13.1/contrib/subversion/subversion/libsvn_delta/
H A Dxdelta.c151 static apr_uint32_t hash_func(apr_uint32_t sum) in hash_func() function
174 apr_uint32_t h = hash_func(adlersum) & blocks->max; in add_block()
196 apr_uint32_t h = hash_func(adlersum) & blocks->max; in find_block()
/freebsd-13.1/lib/libc/db/test/hash.tests/
H A Ddriver2.c79 info.hash_func = my_hash;
/freebsd-13.1/lib/libc/iconv/
H A Dcitrus_iconv.c193 hash_func(const char *key) in hash_func() function
220 hashval = hash_func(convname); in get_shared()
H A Dcitrus_mapper.c293 hash_func(const char *key) in hash_func() function
328 hashval = hash_func(mapname); in _citrus_mapper_open()
/freebsd-13.1/contrib/apr/include/
H A Dapr_hash.h87 apr_hashfunc_t hash_func);
/freebsd-13.1/sys/contrib/ena-com/
H A Dena_com.c1119 return ena_dev->rss.hash_func; in ena_com_get_current_hash_function()
2441 rss->hash_func); in ena_com_set_hash_function()
2452 cmd.u.flow_hash_func.selected_func = 1 << rss->hash_func; in ena_com_set_hash_function()
2471 rss->hash_func, ret); in ena_com_set_hash_function()
2527 old_func = rss->hash_func; in ena_com_fill_hash_function()
2528 rss->hash_func = func; in ena_com_fill_hash_function()
2533 rss->hash_func = old_func; in ena_com_fill_hash_function()
2556 rss->hash_func = ENA_FFS(get_resp.u.flow_hash_func.selected_func); in ena_com_get_hash_function()
2557 if (rss->hash_func) in ena_com_get_hash_function()
2558 rss->hash_func--; in ena_com_get_hash_function()
[all …]
H A Dena_com.h293 enum ena_admin_hash_functions hash_func; member
/freebsd-13.1/contrib/wpa/src/common/
H A Ddpp_crypto.c589 int *hash_func) in dpp_parse_jws_prot_hdr() argument
636 *hash_func = CRYPTO_HASH_ALG_SHA256; in dpp_parse_jws_prot_hdr()
639 *hash_func = CRYPTO_HASH_ALG_SHA384; in dpp_parse_jws_prot_hdr()
642 *hash_func = CRYPTO_HASH_ALG_SHA512; in dpp_parse_jws_prot_hdr()
644 *hash_func = -1; in dpp_parse_jws_prot_hdr()
708 int res, hash_func = -1; in dpp_process_signed_connector() local
735 kid = dpp_parse_jws_prot_hdr(curve, prot_hdr, prot_hdr_len, &hash_func); in dpp_process_signed_connector()
796 if (hash_func == CRYPTO_HASH_ALG_SHA256) in dpp_process_signed_connector()
799 else if (hash_func == CRYPTO_HASH_ALG_SHA384) in dpp_process_signed_connector()
802 else if (hash_func == CRYPTO_HASH_ALG_SHA512) in dpp_process_signed_connector()
/freebsd-13.1/crypto/openssl/include/openssl/
H A Dobjects.h45 int OBJ_NAME_new_index(unsigned long (*hash_func) (const char *),
/freebsd-13.1/contrib/apr-util/include/
H A Dapr_memcache.h106 apr_memcache_hash_func hash_func; member
H A Dapr_redis.h128 apr_redis_hash_func hash_func; member
/freebsd-13.1/sys/dev/hyperv/netvsc/
H A Dhn_rndis.c415 uint32_t hash_func = 0, hash_types = 0; in hn_rndis_query_rsscaps() local
505 hash_func = 1 << (hash_fnidx - 1); /* ffs is 1-based */ in hn_rndis_query_rsscaps()
523 sc->hn_rss_hcap = hash_func | hash_types; in hn_rndis_query_rsscaps()
/freebsd-13.1/sys/dev/vmware/vmxnet3/
H A Dif_vmxreg.h336 uint16_t hash_func; member
H A Dif_vmx.c1175 rss->hash_func = UPT1_RSS_HASH_FUNC_TOEPLITZ; in vmxnet3_reinit_rss_shared_data()
/freebsd-13.1/contrib/apr-util/redis/
H A Dapr_redis.c497 rc->hash_func = NULL; in apr_redis_create()
607 if (rc->hash_func) { in apr_redis_hash()
608 return rc->hash_func(rc->hash_baton, data, data_len); in apr_redis_hash()
/freebsd-13.1/contrib/apr-util/memcache/
H A Dapr_memcache.c460 mc->hash_func = NULL; in apr_memcache_create()
570 if (mc->hash_func) { in apr_memcache_hash()
571 return mc->hash_func(mc->hash_baton, data, data_len); in apr_memcache_hash()
/freebsd-13.1/contrib/apr-util/test/
H A Dtestredis.c216 redis->hash_func = my_hash_func; in test_redis_user_funcs()
H A Dtestmemcache.c215 memcache->hash_func = my_hash_func; in test_memcache_user_funcs()
/freebsd-13.1/sys/contrib/dpdk_rte_lpm/
H A Drte_lpm6.c274 .hash_func = rule_hash, in rte_lpm6_create()
/freebsd-13.1/sys/dev/ena/
H A Dena_datapath.c362 if (adapter->ena_dev->rss.hash_func != ENA_ADMIN_TOEPLITZ && in ena_rx_hash_mbuf()
/freebsd-13.1/contrib/subversion/subversion/libsvn_fs_fs/
H A Dtree.c216 hash_func(svn_revnum_t revision, in hash_func() function
300 hash_value = hash_func(revision, path, path_len); in cache_lookup()
345 hash_value = hash_func(revision, path, path_len); in cache_insert()