/third_party/mesa3d/src/gallium/auxiliary/tgsi/ |
H A D | tgsi_sanity.c | 546 regs_hash_destroy(struct cso_hash *hash) in regs_hash_destroy() argument 548 struct cso_hash_iter iter = cso_hash_first_node(hash); in regs_hash_destroy() 551 iter = cso_hash_erase(hash, iter); in regs_hash_destroy() 555 cso_hash_deinit(hash); in regs_hash_destroy()
|
/third_party/openssl/test/ |
H A D | tls13secretstest.c | 136 /* Give a hash of the currently set handshake */ 236 unsigned char hash[EVP_MAX_MD_SIZE]; in test_secret() local 241 if (!ssl_handshake_hash(s, hash, sizeof(hash), &hashsize)) { in test_secret() 242 TEST_error("Failed to get hash"); in test_secret() 246 if (!tls13_hkdf_expand(s, md, prk, label, labellen, hash, hashsize, in test_secret() 350 * hash. in test_handshake_secrets()
|
/third_party/protobuf/csharp/src/Google.Protobuf/Collections/ |
H A D | RepeatedField.cs | 507 /// Returns a hash code for this instance.
510 /// A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.
514 int hash = 0;
in GetHashCode() 517 hash = hash * 31 + array[i].GetHashCode();
in GetHashCode() 519 return hash;
in GetHashCode()
|
/third_party/skia/third_party/externals/swiftshader/tests/regres/cmd/export_to_sheets/ |
H A D | main.go | 133 hash := change.Hash.String() 134 if _, found := hashIndices[hash]; found { 145 data, err := git.Show(path, hash) 173 fmt.Printf("Adding test data at %v to %v\n", hash[:8], sheetName)
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/ |
H A D | FoldingSet.h | 9 // This file defines a hash set that can be used to remove duplication of nodes 34 /// This class is implemented as a single-link chained hash table, where the 107 /// structure is an array of buckets. Each bucket is indexed by the hash of 171 /// GrowHashTable - Double the size of the hash table and rehash everything. 174 /// GrowBucketCount - resize the hash table and rehash everything. 190 /// this function to compute a hash value for the given node. 235 // ComputeHash - Compute a hash value for X, using TempID to 237 // just calls Profile and does a regular hash computation. 285 /// ComputeHash - Compute a strong hash value for this FoldingSetNodeIDRef, 304 /// hash valu 422 bucket_begin(unsigned hash) bucket_begin() argument 426 bucket_end(unsigned hash) bucket_end() argument [all...] |
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/ |
H A D | LiteralByteStringTest.java | 479 int hash = stringUnderTest.hashCode(); in testHashCode() 480 assertEquals(classUnderTest + " must have expected hashCode", expectedHashCode, hash); in testHashCode() 497 // This test would fail if the expected hash were 1. It's not. in testPartialHash() 498 int hash = stringUnderTest.partialHash(stringUnderTest.size(), 0, stringUnderTest.size()); in testPartialHash() 500 classUnderTest + ".partialHash() must yield expected hashCode", expectedHashCode, hash); in testPartialHash()
|
/third_party/pulseaudio/src/pulsecore/ |
H A D | database-simple.c | 73 unsigned hash = 0; in hash_func() local 81 hash = 31 * hash + (unsigned) *c; in hash_func() 85 return hash; in hash_func()
|
/third_party/rust/crates/rust-openssl/openssl/src/ |
H A D | pkcs5.rs | 9 use crate::hash::MessageDigest; 95 hash: MessageDigest, in pbkdf2_hmac() 106 hash.as_ptr(), in pbkdf2_hmac() 149 use crate::hash::MessageDigest;
|
/kernel/linux/linux-5.10/fs/ocfs2/dlm/ |
H A D | dlmmaster.c | 282 mle->mnamehash = res->lockname.hash; in dlm_init_mle() 330 unsigned int hash; in dlm_find_mle() local 334 hash = dlm_lockid_hash(name, namelen); in dlm_find_mle() 335 bucket = dlm_master_hash(dlm, hash); in dlm_find_mle() 539 res->lockname.hash = dlm_lockid_hash(name, namelen); in dlm_init_lockres() 714 unsigned int hash; in dlm_get_lock_resource() local 720 hash = dlm_lockid_hash(lockid, namelen); in dlm_get_lock_resource() 726 tmpres = __dlm_lookup_lockres_full(dlm, lockid, namelen, hash); in dlm_get_lock_resource() 880 /* finally add the lockres to its hash bucket */ in dlm_get_lock_resource() 1411 unsigned int namelen, hash; in dlm_master_request_handler() local 1769 unsigned int namelen, hash; dlm_assert_master_handler() local 2261 unsigned int hash; dlm_deref_lockres_handler() local 2356 unsigned int hash; dlm_deref_lockres_done_handler() local 3109 unsigned int namelen, hash; dlm_migrate_request_handler() local [all...] |
/kernel/linux/linux-5.10/net/netfilter/ipvs/ |
H A D | ip_vs_ctl.c | 270 * Returns hash value for virtual service 293 * Returns hash value of fwmark for virtual service lookup 307 unsigned int hash; in ip_vs_svc_hash() local 319 hash = ip_vs_svc_hashkey(svc->ipvs, svc->af, svc->protocol, in ip_vs_svc_hash() 321 hlist_add_head_rcu(&svc->s_list, &ip_vs_svc_table[hash]); in ip_vs_svc_hash() 326 hash = ip_vs_svc_fwm_hashkey(svc->ipvs, svc->fwmark); in ip_vs_svc_hash() 327 hlist_add_head_rcu(&svc->f_list, &ip_vs_svc_fwm_table[hash]); in ip_vs_svc_hash() 370 unsigned int hash; in __ip_vs_service_find() local 374 hash = ip_vs_svc_hashkey(ipvs, af, protocol, vaddr, vport); in __ip_vs_service_find() 376 hlist_for_each_entry_rcu(svc, &ip_vs_svc_table[hash], s_lis in __ip_vs_service_find() 397 unsigned int hash; __ip_vs_svc_fwm_find() local 523 unsigned int hash; ip_vs_rs_hash() local 576 unsigned int hash; ip_vs_has_real_service() local 607 unsigned int hash; ip_vs_find_real_service() local 638 unsigned int hash; ip_vs_find_tunnel() local [all...] |
/kernel/linux/linux-6.6/fs/ocfs2/dlm/ |
H A D | dlmmaster.c | 280 mle->mnamehash = res->lockname.hash; in dlm_init_mle() 328 unsigned int hash; in dlm_find_mle() local 332 hash = dlm_lockid_hash(name, namelen); in dlm_find_mle() 333 bucket = dlm_master_hash(dlm, hash); in dlm_find_mle() 537 res->lockname.hash = dlm_lockid_hash(name, namelen); in dlm_init_lockres() 712 unsigned int hash; in dlm_get_lock_resource() local 718 hash = dlm_lockid_hash(lockid, namelen); in dlm_get_lock_resource() 724 tmpres = __dlm_lookup_lockres_full(dlm, lockid, namelen, hash); in dlm_get_lock_resource() 878 /* finally add the lockres to its hash bucket */ in dlm_get_lock_resource() 1409 unsigned int namelen, hash; in dlm_master_request_handler() local 1767 unsigned int namelen, hash; dlm_assert_master_handler() local 2259 unsigned int hash; dlm_deref_lockres_handler() local 2354 unsigned int hash; dlm_deref_lockres_done_handler() local 3107 unsigned int namelen, hash; dlm_migrate_request_handler() local [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | eswitch.c | 54 /* Vport UC/MC hash node */ 613 struct hlist_head *hash = esw->mc_table; in esw_add_mc_addr() local 621 esw_mc = l2addr_hash_find(hash, mac, struct esw_mc_addr); in esw_add_mc_addr() 625 esw_mc = l2addr_hash_add(hash, mac, struct esw_mc_addr, GFP_KERNEL); in esw_add_mc_addr() 653 struct hlist_head *hash = esw->mc_table; in esw_del_mc_addr() local 661 esw_mc = l2addr_hash_find(hash, mac, struct esw_mc_addr); in esw_del_mc_addr() 702 struct hlist_head *hash; in esw_apply_vport_addr_list() local 711 hash = is_uc ? vport->uc_list : vport->mc_list; in esw_apply_vport_addr_list() 712 for_each_l2hash_node(node, tmp, hash, hi) { in esw_apply_vport_addr_list() 735 struct hlist_head *hash; in esw_update_vport_addr_list() local 820 struct hlist_head *hash; esw_update_vport_mc_promisc() local [all...] |
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/src/drv/cipher_v1.0/drivers/crypto/include/ |
H A D | cryp_hash.h | 25 /* Initialize crypto of hash. */ 28 /* Deinitialize crypto of hash. */ 32 * \brief Create hash handle 40 * \brief Clear hash context 53 * \param ctx hash handle to be destroy 54 * \param chunk hash message to update 55 * \param length length of hash message 56 * \param src source of hash message 64 * \param hash HASH checksum result 67 typedef hi_s32 (*func_hash_finish)(hi_void *ctx, hi_void *hash, hi_u3 [all...] |
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/loaderboot/include/ |
H A D | efuse_opt.h | 32 hi_u8 hash[SHA_256_LENGTH]; /* hash of configuration file. */ member
|
/device/soc/rockchip/rk3588/hardware/mpp/include/ |
H A D | dictionary.h | 57 hash function. 65 unsigned * hash ; /** List of hash values for keys */ member 75 @brief Compute the hash key for a string. 79 This hash function has been taken from an Article in Dr Dobbs Journal.
|
/kernel/linux/linux-5.10/include/net/ |
H A D | tls_toe.h | 51 * int (*hash)(struct tls_toe_device *device, struct sock *sk); 66 int (*hash)(struct tls_toe_device *device, struct sock *sk); member
|
/kernel/linux/linux-5.10/kernel/ |
H A D | module_signature.c | 34 ms->hash != 0 || in mod_check_sig()
|
/kernel/linux/linux-5.10/fs/xfs/libxfs/ |
H A D | xfs_attr_sf.h | 18 * We generate this then sort it, attr_list() must return things in hash-order. 25 xfs_dahash_t hash; /* this entry's hash value */ member
|
/kernel/linux/linux-5.10/include/keys/ |
H A D | trusted-type.h | 38 uint32_t hash; member
|
/kernel/linux/linux-5.10/include/crypto/ |
H A D | sm3.h | 41 unsigned int len, u8 *hash);
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | digsig.h | 39 uint8_t hash; member
|
/kernel/linux/linux-6.6/fs/xfs/libxfs/ |
H A D | xfs_attr_sf.h | 18 * We generate this then sort it, attr_list() must return things in hash-order. 25 xfs_dahash_t hash; /* this entry's hash value */ member
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | digsig.h | 39 uint8_t hash; member
|
/kernel/linux/linux-6.6/include/crypto/ |
H A D | sha1.h | 34 unsigned int len, u8 *hash); 39 * the correct way to hash something with SHA-1 (use crypto_shash instead).
|
/kernel/linux/linux-6.6/include/net/ |
H A D | tls_toe.h | 51 * int (*hash)(struct tls_toe_device *device, struct sock *sk); 66 int (*hash)(struct tls_toe_device *device, struct sock *sk); member
|