Home
last modified time | relevance | path

Searched refs:hash (Results 1051 - 1075 of 2221) sorted by relevance

1...<<41424344454647484950>>...89

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/
H A DMD5.h53 /// \brief Updates the hash for the byte stream provided.
56 /// \brief Updates the hash for the StringRef provided.
59 /// \brief Finishes off the hash and puts the result in result.
66 /// \brief Computes the hash for a given bytes.
67 static std::array<uint8_t, 16> hash(ArrayRef<uint8_t> Data);
73 /// Helper to compute and return lower 64 bits of the given string's MD5 hash.
/third_party/skia/third_party/externals/tint/src/
H A Dsymbol.h107 /// Custom std::hash specialization for tint::Symbol so symbols can be used as
110 class hash<tint::Symbol> { class
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/
H A Dhttp-utils.h24 u8 *hash; member
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/
H A Dhttp-utils.h24 u8 *hash; member
/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/python/Lib/test/
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/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...]
/foundation/multimedia/media_library/frameworks/services/media_backup_extension/src/
H A Dupgrade_restore.cpp711 // fetch relative_bucket_id, recycleFlag, is_hw_burst, hash field to generate burst_key in ParseResultSetFromGallery()
1043 std::string hash = GetStringVal(GALLERY_MERGE_FACE_HASH, resultSet); in NeedBatchQueryPhotoForPortrait() local
1044 if (hash.empty()) { in NeedBatchQueryPhotoForPortrait()
1047 needQuerySet.insert(hash); in NeedBatchQueryPhotoForPortrait()
1150 MEDIA_ERR_LOG("Parse face result set failed, exclude %{public}s", faceInfo.hash.c_str()); in QueryFaceInfos()
1151 excludedFiles.insert(faceInfo.hash); in QueryFaceInfos()
1155 MEDIA_ERR_LOG("Set attributes failed, exclude %{public}s", faceInfo.hash.c_str()); in QueryFaceInfos()
1156 excludedFiles.insert(faceInfo.hash); in QueryFaceInfos()
1175 faceInfo.hash = GetStringVal(GALLERY_MERGE_FACE_HASH, resultSet); in ParseFaceResultSet()
1212 if (excludedFiles.count(faceInfo.hash) > in GetInsertValues()
[all...]
/foundation/distributeddatamgr/relational_store/test/native/rdb/unittest/
H A Drdb_trans_db_test.cpp56 { "attachment", ValueObject(AssetValue{ .id = "119", .name = "picture1", .hash = "111" }) },
58 AssetValue{ .id = "120", .name = "picture2", .hash = "112" },
59 AssetValue{ .id = "121", .name = "picture3", .hash = "113" },
60 AssetValue{ .id = "122", .name = "picture4", .hash = "114" },
61 AssetValue{ .id = "123", .name = "picture5", .hash = "115" }
490 ValueObject(AssetValue{ .id = "119", .name = "picture1", .hash = "111", .path = "/data/test" })); in HWTEST_F()
526 ValueObject(AssetValue{ .id = "119", .name = "picture1", .hash = "111", .path = "/data/test" })); in HWTEST_F()
570 ValueObject(AssetValue{ .id = "119", .name = "picture1", .hash = "111", .path = "/data/test" })); in HWTEST_F()
607 ValueObject(AssetValue{ .id = "119", .name = "picture1", .hash = "111", .path = "/data/test" })); in HWTEST_F()
643 ValueObject(AssetValue{ .id = "119", .name = "picture1", .hash in HWTEST_F()
[all...]
/third_party/mbedtls/library/
H A Dx509_crt.c2014 unsigned char hash[MBEDTLS_MD_MAX_SIZE]; in x509_crt_verifycrl() local
2058 hash, in x509_crt_verifycrl()
2059 sizeof(hash), in x509_crt_verifycrl()
2071 hash) != 0) { in x509_crt_verifycrl()
2083 crl_list->sig_md, hash, hash_length, in x509_crt_verifycrl()
2127 unsigned char hash[MBEDTLS_MD_MAX_SIZE]; in x509_crt_check_signature() local
2133 /* Note: hash errors can happen only after an internal error */ in x509_crt_check_signature()
2134 if (mbedtls_md(md_info, child->tbs.p, child->tbs.len, hash) != 0) { in x509_crt_check_signature()
2144 hash, in x509_crt_check_signature()
2145 sizeof(hash), in x509_crt_check_signature()
[all...]
/third_party/node/tools/gyp/pylib/gyp/
H A Dxcodeproj_file.py406 An object's "id" property is set based on a hash of its class type and
418 def _HashUpdate(hash, data):
419 """Update hash with data's length and contents.
421 If the hash were updated only with the value of data, it would be
427 hash.update(struct.pack(">i", len(data)))
430 hash.update(data)
435 hash = seed_hash.copy()
440 _HashUpdate(hash, hashable)
445 child_hash = hash
459 assert hash
[all...]
/third_party/ntfs-3g/libntfs-3g/
H A Dcompress.c82 /* log base 2 of the number of entries in the hash table for match-finding. */
85 /* Constant for the multiplicative hash function. */
104 u32 hash; in ntfs_hash() local
114 hash = str * HASH_MULTIPLIER; in ntfs_hash()
117 return hash >> (32 - HASH_SHIFT); in ntfs_hash()
123 * A hash table, each entry of which points to a chain of sequence
124 * positions sharing the corresponding hash code, is maintained to speed up
125 * searching for matches. To maintain the hash table, either
159 unsigned int hash; in ntfs_best_match() local
167 /* Insert the current sequence into the appropriate hash chai in ntfs_best_match()
250 unsigned int hash; ntfs_skip_position() local
[all...]
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/
H A Dxcodeproj_file.py406 An object's "id" property is set based on a hash of its class type and
418 def _HashUpdate(hash, data):
419 """Update hash with data's length and contents.
421 If the hash were updated only with the value of data, it would be
427 hash.update(struct.pack(">i", len(data)))
430 hash.update(data)
435 hash = seed_hash.copy()
440 _HashUpdate(hash, hashable)
445 child_hash = hash
459 assert hash
[all...]
/third_party/node/deps/openssl/openssl/crypto/poly1305/asm/
H A Dpoly1305-sparcv9.pl17 # This module implements Poly1305 hash for SPARCv9, vanilla, as well
92 stx %g0,[$ctx+8] ! zero hash value
161 ld [$ctx+0],$h1 ! load hash value
268 st $h1,[$ctx+0] ! store hash value
298 ldx [$ctx+0],$H0 ! load hash value
362 stx $H0,[$ctx+0] ! store hash value
380 ld [$ctx+0],$h1 ! load hash value
477 std $two0,[$ctx+8*0] ! initial hash value, biased 0
628 ldd [$ctx+8*0],$h0lo ! load [biased] hash value
699 fsubd $h0lo,$two0, $h0lo ! de-bias hash valu
[all...]
/third_party/openssl/crypto/poly1305/asm/
H A Dpoly1305-sparcv9.pl17 # This module implements Poly1305 hash for SPARCv9, vanilla, as well
92 stx %g0,[$ctx+8] ! zero hash value
161 ld [$ctx+0],$h1 ! load hash value
268 st $h1,[$ctx+0] ! store hash value
298 ldx [$ctx+0],$H0 ! load hash value
362 stx $H0,[$ctx+0] ! store hash value
380 ld [$ctx+0],$h1 ! load hash value
477 std $two0,[$ctx+8*0] ! initial hash value, biased 0
628 ldd [$ctx+8*0],$h0lo ! load [biased] hash value
699 fsubd $h0lo,$two0, $h0lo ! de-bias hash valu
[all...]
/third_party/python/Python/
H A Dimport.c2443 } hash; in _imp_source_hash_impl() local
2444 hash.x = _Py_KeyedHash((uint64_t)key, source->buf, source->len); in _imp_source_hash_impl()
2448 for (size_t i = 0; i < sizeof(hash.data)/2; i++) { in _imp_source_hash_impl()
2449 char tmp = hash.data[i]; in _imp_source_hash_impl()
2450 hash.data[i] = hash.data[sizeof(hash.data) - i - 1]; in _imp_source_hash_impl()
2451 hash.data[sizeof(hash.data) - i - 1] = tmp; in _imp_source_hash_impl()
2454 return PyBytes_FromStringAndSize(hash in _imp_source_hash_impl()
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/
H A Dcrypto_wolfssl.c886 struct crypto_hash *hash; in crypto_hash_init() local
889 hash = os_zalloc(sizeof(*hash)); in crypto_hash_init()
890 if (!hash) in crypto_hash_init()
896 hash->size = 16; in crypto_hash_init()
903 hash->size = 20; in crypto_hash_init()
910 hash->size = 32; in crypto_hash_init()
918 if (wc_HmacSetKey(&hash->hmac, type, key, key_len) != 0) in crypto_hash_init()
921 ret = hash; in crypto_hash_init()
922 hash in crypto_hash_init()
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/
H A Dcrypto_wolfssl.c890 struct crypto_hash *hash; in crypto_hash_init() local
893 hash = os_zalloc(sizeof(*hash)); in crypto_hash_init()
894 if (!hash) in crypto_hash_init()
900 hash->size = 16; in crypto_hash_init()
907 hash->size = 20; in crypto_hash_init()
914 hash->size = 32; in crypto_hash_init()
922 if (wc_HmacSetKey(&hash->hmac, type, key, key_len) != 0) in crypto_hash_init()
925 ret = hash; in crypto_hash_init()
926 hash in crypto_hash_init()
[all...]
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/bundlemgr/
H A Dbundle_mgr.h304 return std::hash<std::string>()(query.bundleName_) ^ std::hash<std::string>()(query.interfaceType_) ^ in operator ()()
305 std::hash<int32_t>()(query.flags_) ^ std::hash<int32_t>()(query.userId_); in operator ()()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/syncer/src/device/multiver/
H A Dvalue_slice_sync.cpp41 void ValueSliceHashPacket::SetValueSliceHash(ValueSliceHash &hash) in SetValueSliceHash() argument
43 valueSliceHash_ = std::move(hash); in SetValueSliceHash()
46 void ValueSliceHashPacket::GetValueSliceHash(ValueSliceHash &hash) const in GetValueSliceHash()
48 hash = valueSliceHash_; in GetValueSliceHash()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DDateIntervalInfo.java258 * Returns the hash code of this <code>PatternInfo</code>.
259 * @return A hash code value for this object.
264 int hash = fIntervalPatternFirstPart != null ? fIntervalPatternFirstPart.hashCode() : 0; in hashCode()
266 hash ^= fIntervalPatternSecondPart.hashCode(); in hashCode()
269 hash ^= -1; in hashCode()
271 return hash; in hashCode()
768 * afer which, not only sets the interval pattern info into the hash map,

Completed in 46 milliseconds

1...<<41424344454647484950>>...89