/third_party/rust/crates/libc/src/unix/linux_like/android/b32/x86/ |
H A D | mod.rs | 75 impl ::hash::Hash for __c_anonymous_uc_sigmask_with_padding { 76 fn hash<H: ::hash::Hasher>(&self, state: &mut H) { in hash() functions 77 self.uc_sigmask.hash(state) in hash() 95 impl ::hash::Hash for __c_anonymous_uc_sigmask { 96 fn hash<H: ::hash::Hasher>(&self, state: &mut H) { in hash() functions 97 unsafe { self.uc_sigmask.hash(state) } in hash() 128 impl ::hash::Hash for ucontext_t { 129 fn hash< functions [all...] |
/third_party/selinux/libsepol/src/ |
H A D | avtab.c | 6 * Tuned number of hash slots for avtab to reduce memory usage 65 uint32_t hash = 0; in avtab_hash() local 72 hash ^= v; \ in avtab_hash() 73 hash = (hash << r2) | (hash >> (32 - r2)); \ in avtab_hash() 74 hash = hash * m + n; \ in avtab_hash() 83 hash ^= hash >> 1 in avtab_hash() [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/ |
H A D | xdp_metadata2.c | 8 extern int bpf_xdp_metadata_rx_hash(const struct xdp_md *ctx, __u32 *hash, 17 u32 hash = 0; in freplace_rx() local 19 bpf_xdp_metadata_rx_hash(ctx, &hash, &type); in freplace_rx()
|
/third_party/rust/crates/cxx/src/ |
H A D | hash.rs | 1 use core::hash::{Hash, Hasher}; 4 pub fn hash<V: Hash>(value: &V) -> usize { in hash() functions 10 Hash::hash(value, &mut hasher); in hash()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/rust/ylong_cloud_extension/src/ipc_conn/ |
H A D | asset.rs | 33 pub(crate) hash: String, 78 /// Get hash value of this CloudAsset. 79 pub fn hash(&self) -> &str { in hash() functions 80 &self.hash in hash() 118 /// Set hash value of this CloudAsset. 119 pub fn set_hash(&mut self, hash: String) { in set_hash() 120 self.hash = hash; in set_hash() 134 parcel.write_string16(&self.hash)?; in serialize() 149 let hash in deserialize() [all...] |
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/ |
H A D | object_snapshot_test.cpp | 50 .hash = "modifyTime_size", in SetUp() 91 .hash = "modifyTime1_size1", in HWTEST_F() 130 .hash = "modifyTime1_size1", in HWTEST_F() 169 .hash = "modifyTime1_size1", in HWTEST_F() 208 .hash = "modifyTime1_size1", in HWTEST_F() 247 .hash = "modifyTime1_size1", in HWTEST_F() 286 .hash = "modifyTime1_size1", in HWTEST_F() 326 .hash = "modifyTime1_size1", in HWTEST_F() 366 .hash = "modifyTime1_size1", in HWTEST_F()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/mthca/ |
H A D | mthca_mcg.c | 54 * If GID is found in MGM or MGM is empty, *index = *hash, *prev = -1 58 * previous entry in hash chain and *mgm holds AMGM entry. 61 * entry in hash chain and *mgm holds end of hash chain. 65 u16 *hash, int *prev, int *index) in find_mgm() 79 err = mthca_MGID_HASH(dev, mailbox, hash); in find_mgm() 86 mthca_dbg(dev, "Hash for %pI6 is %04x\n", gid, *hash); in find_mgm() 88 *index = *hash; in find_mgm() 99 if (*index != *hash) { in find_mgm() 125 u16 hash; in mthca_multicast_attach() local 63 find_mgm(struct mthca_dev *dev, u8 *gid, struct mthca_mailbox *mgm_mailbox, u16 *hash, int *prev, int *index) find_mgm() argument 219 u16 hash; mthca_multicast_detach() local [all...] |
/kernel/linux/linux-6.6/drivers/infiniband/hw/mthca/ |
H A D | mthca_mcg.c | 54 * If GID is found in MGM or MGM is empty, *index = *hash, *prev = -1 58 * previous entry in hash chain and *mgm holds AMGM entry. 61 * entry in hash chain and *mgm holds end of hash chain. 65 u16 *hash, int *prev, int *index) in find_mgm() 79 err = mthca_MGID_HASH(dev, mailbox, hash); in find_mgm() 86 mthca_dbg(dev, "Hash for %pI6 is %04x\n", gid, *hash); in find_mgm() 88 *index = *hash; in find_mgm() 99 if (*index != *hash) { in find_mgm() 125 u16 hash; in mthca_multicast_attach() local 63 find_mgm(struct mthca_dev *dev, u8 *gid, struct mthca_mailbox *mgm_mailbox, u16 *hash, int *prev, int *index) find_mgm() argument 219 u16 hash; mthca_multicast_detach() local [all...] |
/third_party/ffmpeg/libavformat/ |
H A D | httpauth.c | 149 uint8_t hash[16]; in make_digest_auth() local 166 av_md5_final(md5ctx, hash); in make_digest_auth() 167 ff_data_to_hex(A1hash, hash, 16, 1); in make_digest_auth() 173 av_md5_final(md5ctx, hash); in make_digest_auth() 174 ff_data_to_hex(A1hash, hash, 16, 1); in make_digest_auth() 183 av_md5_final(md5ctx, hash); in make_digest_auth() 184 ff_data_to_hex(A2hash, hash, 16, 1); in make_digest_auth() 192 av_md5_final(md5ctx, hash); in make_digest_auth() 193 ff_data_to_hex(response, hash, 16, 1); in make_digest_auth()
|
/third_party/icu/icu4c/source/common/unicode/ |
H A D | stringtriebuilder.h | 202 Node(int32_t initialHash) : hash(initialHash), offset(0) {} in Node() 203 inline int32_t hashCode() const { return hash; } in hashCode() 253 int32_t hash; member in StringTrieBuilder::Node 287 hash=hash*37u+v; in setValue() 353 hash=(hash*37u+c)*37u+value; in add() 361 hash=(hash*37u+c)*37u+hashCode(node); in add()
|
/third_party/node/deps/icu-small/source/common/unicode/ |
H A D | stringtriebuilder.h | 202 Node(int32_t initialHash) : hash(initialHash), offset(0) {} in Node() 203 inline int32_t hashCode() const { return hash; } in hashCode() 253 int32_t hash; member in StringTrieBuilder::Node 287 hash=hash*37u+v; in setValue() 353 hash=(hash*37u+c)*37u+value; in add() 361 hash=(hash*37u+c)*37u+hashCode(node); in add()
|
/third_party/skia/third_party/externals/icu/source/common/unicode/ |
H A D | stringtriebuilder.h | 202 Node(int32_t initialHash) : hash(initialHash), offset(0) {} in Node() 203 inline int32_t hashCode() const { return hash; } in hashCode() 253 int32_t hash; member in StringTrieBuilder::Node 287 hash=hash*37u+v; in setValue() 353 hash=(hash*37u+c)*37u+value; in add() 361 hash=(hash*37u+c)*37u+hashCode(node); in add()
|
/third_party/rust/crates/rustix/src/net/ |
H A D | addr.rs | 14 use core::hash; 633 impl hash::Hash for SocketAddrV4 { 634 fn hash<H: hash::Hasher>(&self, s: &mut H) { in hash() functions 635 (self.port, self.ip).hash(s) in hash() 639 impl hash::Hash for SocketAddrV6 { 640 fn hash<H: hash::Hasher>(&self, s: &mut H) { in hash() functions 641 (self.port, &self.ip, self.flowinfo, self.scope_id).hash(s) in hash()
|
/third_party/protobuf/csharp/src/Google.Protobuf.Test.TestProtos/ |
H A D | TestMessagesProto2.cs | 2428 int hash = 1; in GetHashCode() 2429 if (HasOptionalInt32) hash ^= OptionalInt32.GetHashCode(); in GetHashCode() 2430 if (HasOptionalInt64) hash ^= OptionalInt64.GetHashCode(); in GetHashCode() 2431 if (HasOptionalUint32) hash ^= OptionalUint32.GetHashCode(); in GetHashCode() 2432 if (HasOptionalUint64) hash ^= OptionalUint64.GetHashCode(); in GetHashCode() 2433 if (HasOptionalSint32) hash ^= OptionalSint32.GetHashCode(); in GetHashCode() 2434 if (HasOptionalSint64) hash ^= OptionalSint64.GetHashCode(); in GetHashCode() 2435 if (HasOptionalFixed32) hash ^= OptionalFixed32.GetHashCode(); in GetHashCode() 2436 if (HasOptionalFixed64) hash ^= OptionalFixed64.GetHashCode(); in GetHashCode() 2437 if (HasOptionalSfixed32) hash in GetHashCode() [all...] |
H A D | UnittestProto3Optional.cs | 590 int hash = 1; in GetHashCode() 591 if (HasOptionalInt32) hash ^= OptionalInt32.GetHashCode(); in GetHashCode() 592 if (HasOptionalInt64) hash ^= OptionalInt64.GetHashCode(); in GetHashCode() 593 if (HasOptionalUint32) hash ^= OptionalUint32.GetHashCode(); in GetHashCode() 594 if (HasOptionalUint64) hash ^= OptionalUint64.GetHashCode(); in GetHashCode() 595 if (HasOptionalSint32) hash ^= OptionalSint32.GetHashCode(); in GetHashCode() 596 if (HasOptionalSint64) hash ^= OptionalSint64.GetHashCode(); in GetHashCode() 597 if (HasOptionalFixed32) hash ^= OptionalFixed32.GetHashCode(); in GetHashCode() 598 if (HasOptionalFixed64) hash ^= OptionalFixed64.GetHashCode(); in GetHashCode() 599 if (HasOptionalSfixed32) hash in GetHashCode() [all...] |
H A D | Unittest.cs | 2735 int hash = 1; in GetHashCode() 2736 if (HasOptionalInt32) hash ^= OptionalInt32.GetHashCode(); in GetHashCode() 2737 if (HasOptionalInt64) hash ^= OptionalInt64.GetHashCode(); in GetHashCode() 2738 if (HasOptionalUint32) hash ^= OptionalUint32.GetHashCode(); in GetHashCode() 2739 if (HasOptionalUint64) hash ^= OptionalUint64.GetHashCode(); in GetHashCode() 2740 if (HasOptionalSint32) hash ^= OptionalSint32.GetHashCode(); in GetHashCode() 2741 if (HasOptionalSint64) hash ^= OptionalSint64.GetHashCode(); in GetHashCode() 2742 if (HasOptionalFixed32) hash ^= OptionalFixed32.GetHashCode(); in GetHashCode() 2743 if (HasOptionalFixed64) hash ^= OptionalFixed64.GetHashCode(); in GetHashCode() 2744 if (HasOptionalSfixed32) hash in GetHashCode() [all...] |
/kernel/linux/linux-5.10/arch/mips/cavium-octeon/crypto/ |
H A D | octeon-sha1.c | 23 #include <crypto/internal/hash.h> 33 u64 *hash = (u64 *)sctx->state; in octeon_sha1_store_hash() local 39 write_octeon_64bit_hash_dword(hash[0], 0); in octeon_sha1_store_hash() 40 write_octeon_64bit_hash_dword(hash[1], 1); in octeon_sha1_store_hash() 47 u64 *hash = (u64 *)sctx->state; in octeon_sha1_read_hash() local 53 hash[0] = read_octeon_64bit_hash_dword(0); in octeon_sha1_read_hash() 54 hash[1] = read_octeon_64bit_hash_dword(1); in octeon_sha1_read_hash()
|
/kernel/linux/linux-5.10/drivers/net/wireguard/ |
H A D | ratelimiter.c | 30 struct hlist_node hash; member 50 hlist_del_rcu(&entry->hash); in entry_uninit() 64 hlist_for_each_entry_safe(entry, temp, &table_v4[i], hash) { in wg_ratelimiter_gc_entries() 70 hlist_for_each_entry_safe(entry, temp, &table_v6[i], hash) { in wg_ratelimiter_gc_entries() 86 /* We only take the bottom half of the net pointer, so that we can hash in wg_ratelimiter_allow() 111 hlist_for_each_entry_rcu(entry, bucket, hash) { in wg_ratelimiter_allow() 144 INIT_HLIST_NODE(&entry->hash); in wg_ratelimiter_allow() 149 hlist_add_head_rcu(&entry->hash, bucket); in wg_ratelimiter_allow()
|
/kernel/linux/linux-5.10/fs/efivarfs/ |
H A D | super.c | 63 unsigned long hash = init_name_hash(dentry); in efivarfs_d_hash() local 71 hash = partial_name_hash(*s++, hash); in efivarfs_d_hash() 75 hash = partial_name_hash(tolower(*s++), hash); in efivarfs_d_hash() 77 qstr->hash = end_name_hash(hash); in efivarfs_d_hash()
|
/kernel/linux/linux-6.6/drivers/net/wireguard/ |
H A D | ratelimiter.c | 30 struct hlist_node hash; member 50 hlist_del_rcu(&entry->hash); in entry_uninit() 64 hlist_for_each_entry_safe(entry, temp, &table_v4[i], hash) { in wg_ratelimiter_gc_entries() 70 hlist_for_each_entry_safe(entry, temp, &table_v6[i], hash) { in wg_ratelimiter_gc_entries() 86 /* We only take the bottom half of the net pointer, so that we can hash in wg_ratelimiter_allow() 111 hlist_for_each_entry_rcu(entry, bucket, hash) { in wg_ratelimiter_allow() 144 INIT_HLIST_NODE(&entry->hash); in wg_ratelimiter_allow() 149 hlist_add_head_rcu(&entry->hash, bucket); in wg_ratelimiter_allow()
|
/test/xts/acts/security_lite/huks/common/ |
H A D | hks_test_api_performance.c | 193 const struct HksBlob *srcData, struct HksBlob *hash, uint32_t performTimes) in HksHashRun() 197 if (hash != NULL) { in HksHashRun() 198 oriHashSize = hash->size; in HksHashRun() 202 if (hash != NULL) { in HksHashRun() 203 (void)memset_s(hash->data, oriHashSize, 0, oriHashSize); in HksHashRun() 204 hash->size = oriHashSize; in HksHashRun() 207 ret = HksHash(paramSet, srcData, hash); in HksHashRun() 192 HksHashRun(const struct HksParamSet *paramSet, const struct HksBlob *srcData, struct HksBlob *hash, uint32_t performTimes) HksHashRun() argument
|
/third_party/node/deps/v8/tools/release/ |
H A D | list_deprecated.py | 41 def extract_version(self, hash): 42 if hash in VERSION_CACHE: 43 return VERSION_CACHE[hash] 44 if hash == '0000000000000000000000000000000000000000': 47 ['git', 'show', f"{hash}:include/v8-version.h"], encoding='UTF-8') 51 VERSION_CACHE[hash] = version 69 hash = line.split(" ")[0] 74 'hash': hash 105 commit_hash = blame['hash'] [all...] |
/third_party/node/test/fixtures/wpt/WebCryptoAPI/import_export/ |
H A D | symmetric_importKey.https.any.js | 25 {name: "HMAC", hash: "SHA-1", legalUsages: ["sign", "verify"], extractable: [false], formats: ["raw", "jwk"]}, 26 {name: "HMAC", hash: "SHA-256", legalUsages: ["sign", "verify"], extractable: [false], formats: ["raw", "jwk"]}, 27 {name: "HMAC", hash: "SHA-384", legalUsages: ["sign", "verify"], extractable: [false], formats: ["raw", "jwk"]}, 28 {name: "HMAC", hash: "SHA-512", legalUsages: ["sign", "verify"], extractable: [false], formats: ["raw", "jwk"]}, 39 if ("hash" in vector) { 40 algorithm.hash = vector.hash; 160 result.alg = "HS" + algorithm.hash.substring(4);
|
/third_party/rust/crates/libc/src/unix/redox/ |
H A D | mod.rs | 1118 impl ::hash::Hash for dirent { 1119 fn hash<H: ::hash::Hasher>(&self, state: &mut H) { in hash() functions 1120 self.d_ino.hash(state); in hash() 1121 self.d_off.hash(state); in hash() 1122 self.d_reclen.hash(state); in hash() 1123 self.d_type.hash(state); in hash() 1124 self.d_name.hash(state); in hash() 1150 impl ::hash::Hash for sockaddr_un { 1151 fn hash< functions 1182 fn hash<H: ::hash::Hasher>(&self, state: &mut H) { hash() functions 1239 fn hash<H: ::hash::Hasher>(&self, state: &mut H) { hash() functions [all...] |
/kernel/linux/linux-5.10/net/batman-adv/ |
H A D | translation-table.c | 48 #include "hash.h" 62 /* hash class keys */ 98 * batadv_choose_tt() - return the index of the tt entry in the hash table 100 * @size: the size of the hash table 102 * Return: the hash index where the object represented by 'data' should be 108 u32 hash = 0; in batadv_choose_tt() local 111 hash = jhash(&tt->addr, ETH_ALEN, hash); in batadv_choose_tt() 112 hash = jhash(&tt->vid, sizeof(tt->vid), hash); in batadv_choose_tt() 127 batadv_tt_hash_find(struct batadv_hashtable *hash, const u8 *addr, unsigned short vid) batadv_tt_hash_find() argument 1074 struct batadv_hashtable *hash = bat_priv->tt.local_hash; batadv_tt_local_seq_print_text() local 1211 batadv_tt_local_dump_bucket(struct sk_buff *msg, u32 portid, struct netlink_callback *cb, struct batadv_priv *bat_priv, struct batadv_hashtable *hash, unsigned int bucket, int *idx_s) batadv_tt_local_dump_bucket() argument 1253 struct batadv_hashtable *hash; batadv_tt_local_dump() local 1431 struct batadv_hashtable *hash = bat_priv->tt.local_hash; batadv_tt_local_purge() local 1448 struct batadv_hashtable *hash; batadv_tt_local_table_free() local 1974 struct batadv_hashtable *hash = bat_priv->tt.global_hash; batadv_tt_global_seq_print_text() local 2169 struct batadv_hashtable *hash; batadv_tt_global_dump() local 2428 struct batadv_hashtable *hash = bat_priv->tt.global_hash; batadv_tt_global_del_orig() local 2494 struct batadv_hashtable *hash = bat_priv->tt.global_hash; batadv_tt_global_purge() local 2533 struct batadv_hashtable *hash; batadv_tt_global_table_free() local 2671 struct batadv_hashtable *hash = bat_priv->tt.global_hash; batadv_tt_global_crc() local 2751 struct batadv_hashtable *hash = bat_priv->tt.local_hash; batadv_tt_local_crc() local 2981 batadv_tt_tvlv_generate(struct batadv_priv *bat_priv, struct batadv_hashtable *hash, void *tvlv_buff, u16 tt_len, bool (*valid_cb)(const void *, const void *, u8 *flags), void *cb_data) batadv_tt_tvlv_generate() argument 3842 struct batadv_hashtable *hash = bat_priv->tt.local_hash; batadv_tt_local_set_flags() local 3879 struct batadv_hashtable *hash = bat_priv->tt.local_hash; batadv_tt_local_purge_pending_clients() local [all...] |