Home
last modified time | relevance | path

Searched refs:hash (Results 1726 - 1750 of 3945) sorted by relevance

1...<<61626364656667686970>>...158

/third_party/rust/crates/clap/src/util/
H A Dflat_map.rs58 Q: std::hash::Hash + Eq, in remove()
66 Q: std::hash::Hash + Eq, in remove_entry()
/third_party/protobuf/csharp/src/Google.Protobuf/
H A DExtensionSet.cs287 /// Gets a hash code of the set
295 int hash = field.Key.GetHashCode() ^ field.Value.GetHashCode(); in GetHashCode()
296 ret ^= hash; in GetHashCode()
H A DUnknownFieldSet.cs142 /// Gets the unknown field set's hash code.
150 int hash = field.Key.GetHashCode() ^ field.Value.GetHashCode(); in GetHashCode()
151 ret ^= hash; in GetHashCode()
/third_party/skia/third_party/externals/spirv-tools/source/val/
H A Dfunction.h39 auto h1 = std::hash<const BasicBlock*>{}(p.first); in operator ()()
40 auto h2 = std::hash<std::underlying_type<ConstructType>::type>{}( in operator ()()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/
H A Dfunction.h39 auto h1 = std::hash<const BasicBlock*>{}(p.first); in operator ()()
40 auto h2 = std::hash<std::underlying_type<ConstructType>::type>{}( in operator ()()
/third_party/python/Lib/test/
H A Dtest_structseq.py66 self.assertEqual(hash(t1), hash(tuple(t1)))
H A Dtest_weakref.py60 return hash(self.arg)
481 hash(weakref.proxy(obj))
488 hash(weakref.proxy(obj))
903 # Alive weakrefs hash the same as the underlying object
908 self.assertEqual(hash(a), hash(42))
912 # - retain their hash is they were hashed when alive;
914 self.assertEqual(hash(a), hash(42))
915 self.assertRaises(TypeError, hash,
[all...]
/third_party/spirv-tools/source/val/
H A Dfunction.h39 auto h1 = std::hash<const BasicBlock*>{}(p.first); in operator ()()
40 auto h2 = std::hash<std::underlying_type<ConstructType>::type>{}( in operator ()()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_common/
H A Dikev2_common.h249 /* Maximum hash length for supported hash algorithms */
272 size_t data_len, u8 *hash);
276 u8 *hash);
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/tls/
H A Dpkcs1.c156 if (len < 3 + 8 + 16 /* min hash len */ || in pkcs1_decrypt_public_key()
180 if (pos + 16 /* min hash len */ >= plain + len || *pos != 0x00) { in pkcs1_decrypt_public_key()
199 const u8 *hash, size_t hash_len) in pkcs1_v15_sig_ver()
322 os_memcmp_const(hdr.payload, hash, hdr.length) != 0) { in pkcs1_v15_sig_ver()
323 wpa_printf(MSG_INFO, "PKCS #1: Digest value does not match calculated hash"); in pkcs1_v15_sig_ver()
196 pkcs1_v15_sig_ver(struct crypto_public_key *pk, const u8 *s, size_t s_len, const struct asn1_oid *hash_alg, const u8 *hash, size_t hash_len) pkcs1_v15_sig_ver() argument
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_common/
H A Dikev2_common.h249 /* Maximum hash length for supported hash algorithms */
272 size_t data_len, u8 *hash);
276 u8 *hash);
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/tls/
H A Dpkcs1.c156 if (len < 3 + 8 + 16 /* min hash len */ || in pkcs1_decrypt_public_key()
183 if (pos + 16 /* min hash len */ >= plain + len || *pos != 0x00) { in pkcs1_decrypt_public_key()
203 const u8 *hash, size_t hash_len) in pkcs1_v15_sig_ver()
319 os_memcmp_const(hdr.payload, hash, hdr.length) != 0) { in pkcs1_v15_sig_ver()
320 wpa_printf(MSG_INFO, "PKCS #1: Digest value does not match calculated hash"); in pkcs1_v15_sig_ver()
200 pkcs1_v15_sig_ver(struct crypto_public_key *pk, const u8 *s, size_t s_len, const struct asn1_oid *hash_alg, const u8 *hash, size_t hash_len) pkcs1_v15_sig_ver() argument
/kernel/linux/linux-5.10/fs/dlm/
H A Dlock.c544 uint32_t hash, uint32_t b, in find_rsb_dir()
669 r->res_hash = hash; in find_rsb_dir()
723 uint32_t hash, uint32_t b, in find_rsb_nodir()
801 r->res_hash = hash; in find_rsb_nodir()
819 uint32_t hash, b; in find_rsb() local
825 hash = jhash(name, len, 0); in find_rsb()
826 b = hash & (ls->ls_rsbtbl_size - 1); in find_rsb()
828 dir_nodeid = dlm_hash2nodeid(ls, hash); in find_rsb()
831 return find_rsb_nodir(ls, name, len, hash, b, dir_nodeid, in find_rsb()
834 return find_rsb_dir(ls, name, len, hash, in find_rsb()
543 find_rsb_dir(struct dlm_ls *ls, char *name, int len, uint32_t hash, uint32_t b, int dir_nodeid, int from_nodeid, unsigned int flags, struct dlm_rsb **r_ret) find_rsb_dir() argument
722 find_rsb_nodir(struct dlm_ls *ls, char *name, int len, uint32_t hash, uint32_t b, int dir_nodeid, int from_nodeid, unsigned int flags, struct dlm_rsb **r_ret) find_rsb_nodir() argument
914 uint32_t hash, b; dlm_master_lookup() local
1083 dlm_dump_rsb_hash(struct dlm_ls *ls, uint32_t hash) dlm_dump_rsb_hash() argument
1103 uint32_t hash, b; dlm_dump_rsb_name() local
4032 uint32_t hash, b; send_repeat_remove() local
4403 uint32_t hash, b; receive_remove() local
[all...]
/kernel/linux/linux-6.6/drivers/net/bonding/
H A Dbond_main.c4039 /* L2 hash helper */
4157 static u32 bond_ip_hash(u32 hash, struct flow_keys *flow, int xmit_policy) in bond_ip_hash() argument
4159 hash ^= (__force u32)flow_get_u32_dst(flow) ^ in bond_ip_hash()
4161 hash ^= (hash >> 16); in bond_ip_hash()
4162 hash ^= (hash >> 8); in bond_ip_hash()
4164 /* discard lowest hash bit to deal with the common even ports pattern */ in bond_ip_hash()
4167 return hash >> 1; in bond_ip_hash()
4169 return hash; in bond_ip_hash()
4180 u32 hash; __bond_xmit_hash() local
5144 u32 hash; bond_xmit_3ad_xor_slave_get() local
5160 u32 hash; bond_xdp_xmit_3ad_xor_slave_get() local
5360 u32 hash; bond_sk_hash_l34() local
5376 u32 hash; __bond_sk_get_lower_dev() local
[all...]
/third_party/ntfs-3g/ntfsprogs/
H A Dntfssecaudit.c91 * - checked hash value and fixed error report in restore
409 le32 hash; member
428 le32 hash; member
469 u32 hash; member
789 static u32 hash(const le32 *buf, int size /* bytes */) in hash() function
2120 printf(" Computed hash : 0x%08lx\n", in showhex()
2121 (unsigned long)hash((le32*)attr, in showhex()
2329 printf(" Computed hash : 0x%08lx\n", in restore()
2330 (unsigned long)hash((le32*)attr, in restore()
2378 if (!strncmp(line,"Computed hash in restore()
[all...]
/third_party/libfuse/lib/
H A Dfuse.c512 uint64_t hash = ((uint32_t) ino * 2654435761U) % f->id_table.size; in id_hash() local
513 uint64_t oldhash = hash % (f->id_table.size / 2); in id_hash()
518 return hash; in id_hash()
523 size_t hash = id_hash(f, nodeid); in get_node_nocheck() local
526 for (node = f->id_table.array[hash]; node != NULL; node = node->id_next) in get_node_nocheck()
650 size_t hash; in rehash_id() local
655 hash = t->split; in rehash_id()
657 for (nodep = &t->array[hash]; *nodep != NULL; nodep = next) { in rehash_id()
661 if (newhash != hash) { in rehash_id()
676 size_t hash in hash_id() local
688 uint64_t hash = parent; name_hash() local
733 size_t hash = name_hash(f, node->parent->nodeid, node->name); unhash_name() local
763 size_t hash; rehash_name() local
790 size_t hash = name_hash(f, parentid, name); hash_name() local
849 size_t hash = name_hash(f, parent, name); lookup_node() local
[all...]
/kernel/linux/linux-5.10/net/mpls/
H A Daf_mpls.c163 u32 hash = 0; in mpls_multipath_hash() local
179 hash = jhash_1word(dec.label, hash); in mpls_multipath_hash()
183 * label was just added to the hash - no need to in mpls_multipath_hash()
202 hash = jhash_3words(ntohl(v4hdr->saddr), in mpls_multipath_hash()
204 v4hdr->protocol, hash); in mpls_multipath_hash()
211 hash = __ipv6_addr_jhash(&v6hdr->saddr, hash); in mpls_multipath_hash()
212 hash = __ipv6_addr_jhash(&v6hdr->daddr, hash); in mpls_multipath_hash()
236 u32 hash = 0; mpls_select_multipath() local
[all...]
/kernel/linux/linux-6.6/net/mpls/
H A Daf_mpls.c164 u32 hash = 0; in mpls_multipath_hash() local
180 hash = jhash_1word(dec.label, hash); in mpls_multipath_hash()
184 * label was just added to the hash - no need to in mpls_multipath_hash()
203 hash = jhash_3words(ntohl(v4hdr->saddr), in mpls_multipath_hash()
205 v4hdr->protocol, hash); in mpls_multipath_hash()
212 hash = __ipv6_addr_jhash(&v6hdr->saddr, hash); in mpls_multipath_hash()
213 hash = __ipv6_addr_jhash(&v6hdr->daddr, hash); in mpls_multipath_hash()
237 u32 hash = 0; mpls_select_multipath() local
[all...]
/third_party/mesa3d/src/microsoft/vulkan/
H A Ddzn_pipeline.c79 uint8_t hash[SHA1_DIGEST_LENGTH]; member
106 const void *hash,
133 const void *hash, in dzn_cached_blob_create()
145 memcpy(blob->hash, hash, sizeof(blob->hash)); in dzn_cached_blob_create()
149 blob->hash, sizeof(blob->hash)); in dzn_cached_blob_create()
194 const uint8_t *hash, in dzn_pipeline_get_nir_shader()
205 *nir = vk_pipeline_cache_lookup_nir(cache, hash, SHA1_DIGEST_LENGT in dzn_pipeline_get_nir_shader()
132 dzn_cached_blob_create(struct vk_device *device, const void *hash, const void *data, size_t data_size) dzn_cached_blob_create() argument
191 dzn_pipeline_get_nir_shader(struct dzn_device *device, const struct dzn_pipeline_layout *layout, struct vk_pipeline_cache *cache, const uint8_t *hash, const VkPipelineShaderStageCreateInfo *stage_info, gl_shader_stage stage, enum dxil_spirv_yz_flip_mode yz_flip_mode, uint16_t y_flip_mask, uint16_t z_flip_mask, bool force_sample_rate_shading, enum pipe_format *vi_conversions, const nir_shader_compiler_options *nir_opts, nir_shader **nir) dzn_pipeline_get_nir_shader() argument
[all...]
/third_party/pulseaudio/src/modules/bluetooth/
H A Dbluez5-util.c1097 unsigned hash; in pa_a2dp_codec_id_hash_func() local
1100 hash = p->codec_id; in pa_a2dp_codec_id_hash_func()
1101 hash = 31 * hash + ((p->vendor_id >> 0) & 0xFF); in pa_a2dp_codec_id_hash_func()
1102 hash = 31 * hash + ((p->vendor_id >> 8) & 0xFF); in pa_a2dp_codec_id_hash_func()
1103 hash = 31 * hash + ((p->vendor_id >> 16) & 0xFF); in pa_a2dp_codec_id_hash_func()
1104 hash = 31 * hash in pa_a2dp_codec_id_hash_func()
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_peer/
H A Deap.c806 u8 hash[SHA256_MAC_LEN]; in eap_peer_build_erp_reauth_start() local
843 wpabuf_head(msg), wpabuf_len(msg), hash) < 0) { in eap_peer_build_erp_reauth_start()
847 wpabuf_put_data(msg, hash, 16); in eap_peer_build_erp_reauth_start()
1196 * unfortunately, such implementations exist. Use SHA1 hash as in eap_peer_req_is_duplicate()
1839 u8 hash[SHA256_MAC_LEN]; in eap_peer_finish() local
1927 end - ((const u8 *) hdr) - hash_len, hash) < 0) in eap_peer_finish()
1929 if (os_memcmp(end - hash_len, hash, hash_len) != 0) { in eap_peer_finish()
2135 if (data->peer_cert.hash) { in eap_peer_sm_tls_event()
2140 data->peer_cert.hash, in eap_peer_sm_tls_event()
2867 * @hash
2872 eap_get_config_password2(struct eap_sm *sm, size_t *len, int *hash) eap_get_config_password2() argument
[all...]
/third_party/ntfs-3g/libfuse-lite/
H A Dfuse.c258 size_t hash = nodeid % f->id_table_size; in get_node_nocheck() local
261 for (node = f->id_table[hash]; node != NULL; node = node->id_next) in get_node_nocheck()
287 size_t hash = node->nodeid % f->id_table_size; in unhash_id() local
288 struct node **nodep = &f->id_table[hash]; in unhash_id()
299 size_t hash = node->nodeid % f->id_table_size; in hash_id() local
300 node->id_next = f->id_table[hash]; in hash_id()
301 f->id_table[hash] = node; in hash_id()
307 unsigned int hash = *name; in name_hash() local
309 if (hash) in name_hash()
311 hash in name_hash()
321 size_t hash = name_hash(f, node->parent->nodeid, node->name); unhash_name() local
343 size_t hash = name_hash(f, parentid, name); hash_name() local
388 size_t hash = name_hash(f, parent, name); lookup_node() local
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/wps/
H A Dwps_registrar.c38 int pk_hash_provided_oob; /* whether own PK hash was provided OOB */
1479 u8 *hash; in wps_build_r_hash() local
1498 hash = wpabuf_put(msg, SHA256_MAC_LEN); in wps_build_r_hash()
1508 hmac_sha256_vector(wps->authkey, WPS_AUTHKEY_LEN, 4, addr, len, hash); in wps_build_r_hash()
1509 wpa_hexdump(MSG_DEBUG, "WPS: R-Hash1", hash, SHA256_MAC_LEN); in wps_build_r_hash()
1514 hash = wpabuf_put(msg, SHA256_MAC_LEN); in wps_build_r_hash()
1518 hmac_sha256_vector(wps->authkey, WPS_AUTHKEY_LEN, 4, addr, len, hash); in wps_build_r_hash()
1519 wpa_hexdump(MSG_DEBUG, "WPS: R-Hash2", hash, SHA256_MAC_LEN); in wps_build_r_hash()
1930 * Use abbreviated handshake since public key hash allowed in wps_build_m2()
2297 u8 hash[SHA256_MAC_LE in wps_process_e_snonce1() local
2337 u8 hash[SHA256_MAC_LEN]; wps_process_e_snonce2() local
2704 u8 hash[WPS_HASH_LEN]; wps_process_m1() local
3731 const u8 *pos, *hash, *dev_pw; wps_registrar_add_nfc_password_token() local
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/wps/
H A Dwps_registrar.c39 int pk_hash_provided_oob; /* whether own PK hash was provided OOB */
1457 u8 *hash; in wps_build_r_hash() local
1476 hash = wpabuf_put(msg, SHA256_MAC_LEN); in wps_build_r_hash()
1486 hmac_sha256_vector(wps->authkey, WPS_AUTHKEY_LEN, 4, addr, len, hash); in wps_build_r_hash()
1487 wpa_hexdump(MSG_DEBUG, "WPS: R-Hash1", hash, SHA256_MAC_LEN); in wps_build_r_hash()
1492 hash = wpabuf_put(msg, SHA256_MAC_LEN); in wps_build_r_hash()
1496 hmac_sha256_vector(wps->authkey, WPS_AUTHKEY_LEN, 4, addr, len, hash); in wps_build_r_hash()
1497 wpa_hexdump(MSG_DEBUG, "WPS: R-Hash2", hash, SHA256_MAC_LEN); in wps_build_r_hash()
1921 * Use abbreviated handshake since public key hash allowed in wps_build_m2()
2288 u8 hash[SHA256_MAC_LE in wps_process_e_snonce1() local
2328 u8 hash[SHA256_MAC_LEN]; wps_process_e_snonce2() local
2695 u8 hash[WPS_HASH_LEN]; wps_process_m1() local
3752 const u8 *pos, *hash, *dev_pw; wps_registrar_add_nfc_password_token() local
[all...]
/kernel/linux/linux-5.10/arch/powerpc/kvm/
H A Dbook3s_64_mmu_hv.c23 #include <asm/book3s/64/mmu-hash.h>
210 unsigned long addr, hash; in kvmppc_map_vrma() local
235 hash = (i ^ (VRMA_VSID ^ (VRMA_VSID << 25))) in kvmppc_map_vrma()
238 * We assume that the hash table is empty and no in kvmppc_map_vrma()
243 hash = (hash << 3) + 7; in kvmppc_map_vrma()
246 ret = kvmppc_virtmode_do_h_enter(kvm, H_EXACT, hash, hp_v, hp_r, in kvmppc_map_vrma()
358 /* Find the HPTE in the hash table */ in kvmppc_mmu_book3s_64_hv_xlate()
465 * Emulated accesses are emulated by looking at the hash for in kvmppc_hv_emulate_mmio()
1240 unsigned long apsize, avpn, pteg, hash; in resize_hpt_rehash_hpte() local
[all...]

Completed in 54 milliseconds

1...<<61626364656667686970>>...158