/third_party/rust/crates/rust-openssl/openssl/src/ |
H A D | sha.rs | 14 //! you can create a hasher that you can repeatedly update to add bytes to. 19 //! let mut hasher = sha::Sha256::new(); 21 //! hasher.update(b"Hello, "); 22 //! hasher.update(b"world"); 24 //! let hash = hasher.finish(); 122 /// Creates a new hasher. 133 /// Feeds some data into the hasher. 168 /// Creates a new hasher. 179 /// Feeds some data into the hasher. 214 /// Creates a new hasher 359 let mut hasher = Sha1::new(); struct_1() variables 370 let mut hasher = Sha1::new(); cloning_allows_incremental_hashing() variables 393 let mut hasher = Sha224::new(); struct_224() variables 412 let mut hasher = Sha256::new(); struct_256() variables 435 let mut hasher = Sha384::new(); struct_384() variables 458 let mut hasher = Sha512::new(); struct_512() variables [all...] |
/third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/ |
H A D | unordered_set_constructor_test.h | 51 using H = typename TypeParam::hasher; in TYPED_TEST_P() 52 H hasher; in TYPED_TEST_P() 53 TypeParam m(123, hasher); in TYPED_TEST_P() 54 EXPECT_EQ(m.hash_function(), hasher); in TYPED_TEST_P() 61 using H = typename TypeParam::hasher; in TYPED_TEST_P() 63 H hasher; in TYPED_TEST_P() 65 TypeParam m(123, hasher, equal); in TYPED_TEST_P() 66 EXPECT_EQ(m.hash_function(), hasher); in TYPED_TEST_P() 74 using H = typename TypeParam::hasher; in TYPED_TEST_P() 77 H hasher; in TYPED_TEST_P() [all...] |
H A D | unordered_map_constructor_test.h | 50 using H = typename TypeParam::hasher; in TYPED_TEST_P() 51 H hasher; in TYPED_TEST_P() 52 TypeParam m(123, hasher); in TYPED_TEST_P() 53 EXPECT_EQ(m.hash_function(), hasher); in TYPED_TEST_P() 60 using H = typename TypeParam::hasher; in TYPED_TEST_P() 62 H hasher; in TYPED_TEST_P() 64 TypeParam m(123, hasher, equal); in TYPED_TEST_P() 65 EXPECT_EQ(m.hash_function(), hasher); in TYPED_TEST_P() 73 using H = typename TypeParam::hasher; in TYPED_TEST_P() 76 H hasher; in TYPED_TEST_P() [all...] |
H A D | hash_function_defaults_test.cc | 88 hash_default_hash<T> hasher; member 104 auto hash = this->hasher; in TYPED_TEST() 132 hash_default_hash<T> hasher; member 163 hash_default_hash<Base*> hasher; in TEST() local 167 EXPECT_NE(hasher(&base), hasher(&derived)); in TEST() 168 EXPECT_EQ(hasher(static_cast<Base*>(&derived)), hasher(&derived)); in TEST() 171 EXPECT_EQ(hasher(static_cast<Base*>(dp.get())), hasher(d in TEST() [all...] |
H A D | raw_hash_set.h | 680 using hasher = Hash; 857 std::is_nothrow_default_constructible<hasher>::value&& 861 explicit raw_hash_set(size_t bucket_count, const hasher& hash = hasher(), 872 raw_hash_set(size_t bucket_count, const hasher& hash, 877 : raw_hash_set(bucket_count, hasher(), key_equal(), alloc) {} 880 : raw_hash_set(0, hasher(), key_equal(), alloc) {} 884 const hasher& hash = hasher(), const key_equal& eq = key_equal(), 893 const hasher [all...] |
/third_party/node/deps/brotli/c/enc/ |
H A D | hash.h | 39 /* False if hasher needs to be "prepared" before use. */ 393 static BROTLI_INLINE void HasherInit(Hasher* hasher) { in HasherInit() argument 394 hasher->common.extra = NULL; in HasherInit() 397 static BROTLI_INLINE void DestroyHasher(MemoryManager* m, Hasher* hasher) { in DestroyHasher() argument 398 if (hasher->common.extra == NULL) return; in DestroyHasher() 399 BROTLI_FREE(m, hasher->common.extra); in DestroyHasher() 402 static BROTLI_INLINE void HasherReset(Hasher* hasher) { in HasherReset() argument 403 hasher->common.is_prepared_ = BROTLI_FALSE; in HasherReset() 408 switch (params->hasher.type) { in HasherSize() 420 static BROTLI_INLINE void HasherSetup(MemoryManager* m, Hasher* hasher, in HasherSetup() argument 465 InitOrStitchToPreviousBlock( MemoryManager* m, Hasher* hasher, const uint8_t* data, size_t mask, BrotliEncoderParams* params, size_t position, size_t input_size, BROTLI_BOOL is_last) InitOrStitchToPreviousBlock() argument [all...] |
H A D | backward_references_hq.h | 30 Hasher* hasher, int* dist_cache, size_t* last_insert_len, 37 Hasher* hasher, int* dist_cache, size_t* last_insert_len, 84 const int* dist_cache, Hasher* hasher, ZopfliNode* nodes);
|
H A D | backward_references.c | 126 Hasher* hasher, int* dist_cache, size_t* last_insert_len, in BrotliCreateBackwardReferences() 128 switch (params->hasher.type) { in BrotliCreateBackwardReferences() 133 literal_context_lut, params, hasher, dist_cache, \ in BrotliCreateBackwardReferences() 123 BrotliCreateBackwardReferences(size_t num_bytes, size_t position, const uint8_t* ringbuffer, size_t ringbuffer_mask, ContextLut literal_context_lut, const BrotliEncoderParams* params, Hasher* hasher, int* dist_cache, size_t* last_insert_len, Command* commands, size_t* num_commands, size_t* num_literals) BrotliCreateBackwardReferences() argument
|
H A D | backward_references.h | 32 Hasher* hasher, int* dist_cache, size_t* last_insert_len,
|
/third_party/skia/third_party/externals/brotli/c/enc/ |
H A D | hash.h | 39 /* False if hasher needs to be "prepared" before use. */ 393 static BROTLI_INLINE void HasherInit(Hasher* hasher) { in HasherInit() argument 394 hasher->common.extra = NULL; in HasherInit() 397 static BROTLI_INLINE void DestroyHasher(MemoryManager* m, Hasher* hasher) { in DestroyHasher() argument 398 if (hasher->common.extra == NULL) return; in DestroyHasher() 399 BROTLI_FREE(m, hasher->common.extra); in DestroyHasher() 402 static BROTLI_INLINE void HasherReset(Hasher* hasher) { in HasherReset() argument 403 hasher->common.is_prepared_ = BROTLI_FALSE; in HasherReset() 408 switch (params->hasher.type) { in HasherSize() 420 static BROTLI_INLINE void HasherSetup(MemoryManager* m, Hasher* hasher, in HasherSetup() argument 465 InitOrStitchToPreviousBlock( MemoryManager* m, Hasher* hasher, const uint8_t* data, size_t mask, BrotliEncoderParams* params, size_t position, size_t input_size, BROTLI_BOOL is_last) InitOrStitchToPreviousBlock() argument [all...] |
H A D | backward_references_hq.h | 30 Hasher* hasher, int* dist_cache, size_t* last_insert_len, 37 Hasher* hasher, int* dist_cache, size_t* last_insert_len, 84 const int* dist_cache, Hasher* hasher, ZopfliNode* nodes);
|
H A D | backward_references.c | 126 Hasher* hasher, int* dist_cache, size_t* last_insert_len, in BrotliCreateBackwardReferences() 128 switch (params->hasher.type) { in BrotliCreateBackwardReferences() 133 literal_context_lut, params, hasher, dist_cache, \ in BrotliCreateBackwardReferences() 123 BrotliCreateBackwardReferences(size_t num_bytes, size_t position, const uint8_t* ringbuffer, size_t ringbuffer_mask, ContextLut literal_context_lut, const BrotliEncoderParams* params, Hasher* hasher, int* dist_cache, size_t* last_insert_len, Command* commands, size_t* num_commands, size_t* num_literals) BrotliCreateBackwardReferences() argument
|
H A D | backward_references.h | 32 Hasher* hasher, int* dist_cache, size_t* last_insert_len,
|
/third_party/rust/crates/cxx/src/ |
H A D | hash.rs | 6 let mut hasher = std::collections::hash_map::DefaultHasher::new(); in hash() variables 8 let mut hasher = crate::sip::SipHasher13::new(); in hash() variables 10 Hash::hash(value, &mut hasher); in hash() 11 Hasher::finish(&hasher) as usize in hash()
|
/third_party/spirv-tools/source/opt/ |
H A D | relax_float_ops_pass.h | 64 struct hasher { struct in spvtools::opt::RelaxFloatOpsPass 71 std::unordered_set<spv::Op, hasher> target_ops_core_f_rslt_; 74 std::unordered_set<spv::Op, hasher> target_ops_core_f_opnd_; 80 std::unordered_set<spv::Op, hasher> sample_ops_;
|
H A D | convert_to_half_pass.h | 127 struct hasher { struct in spvtools::opt::ConvertToHalfPass 134 std::unordered_set<spv::Op, hasher> target_ops_core_; 140 std::unordered_set<spv::Op, hasher> image_ops_; 143 std::unordered_set<spv::Op, hasher> dref_image_ops_; 146 std::unordered_set<spv::Op, hasher> closure_ops_;
|
H A D | const_folding_rules.h | 111 struct hasher { struct in spvtools::opt::ConstantFoldingRules 119 std::unordered_map<spv::Op, Value, hasher> rules_;
|
H A D | folding_rules.h | 89 struct hasher { struct in spvtools::opt::FoldingRules 96 std::unordered_map<spv::Op, FoldingRuleSet, hasher> rules_;
|
/third_party/rust/crates/serde/test_suite/tests/macros/ |
H A D | mod.rs | 37 ($hasher:ident @ $($value:expr),+) => {{ 39 let mut set = HashSet::with_hasher(BuildHasherDefault::<$hasher>::default()); 54 ($hasher:ident @ $($key:expr => $value:expr),+) => {{ 56 let mut map = HashMap::with_hasher(BuildHasherDefault::<$hasher>::default());
|
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/ |
H A D | vkSafetyCriticalUtil.hpp | 85 std::hash<T> hasher; in hash_combine() local 86 seed ^= hasher(v) + 0x9e3779b9 + (seed << 6) + (seed >> 2); in hash_combine() 92 std::hash<T> hasher; in hash_combine() local 93 seed ^= hasher(v) + 0x9e3779b9 + (seed << 6) + (seed >> 2); in hash_combine()
|
/third_party/lzma/CPP/7zip/Compress/ |
H A D | CodecExports.cpp | 283 static HRESULT CreateHasher2(UInt32 index, IHasher **hasher)
in CreateHasher2() argument 286 *hasher = g_Hashers[index]->CreateHasher();
in CreateHasher2() local 287 if (*hasher)
in CreateHasher2() 288 (*hasher)->AddRef();
in CreateHasher2() 354 Z7_COM7F_IMF(CHashers::CreateHasher(UInt32 index, IHasher **hasher))
356 return ::CreateHasher2(index, hasher);
|
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/ |
H A D | stl_type_traits.h | 110 absl::void_t<typename C::key_type, typename C::hasher, 112 : std::is_base_of<C, T<typename C::key_type, typename C::hasher, 120 typename C::hasher, typename C::key_equal, 123 typename C::hasher, typename C::key_equal, 187 absl::void_t<typename C::key_type, typename C::hasher, 190 C, T<typename C::key_type, typename C::hasher, typename C::key_equal, 197 typename C::hasher, typename C::key_equal, 200 typename C::hasher, typename C::key_equal,
|
/third_party/node/deps/npm/node_modules/@tufjs/models/dist/ |
H A D | role.js | 109 const hasher = crypto_1.default.createHash('sha256'); 110 const pathHash = hasher.update(targetFilepath).digest('hex'); 227 const hasher = crypto_1.default.createHash('sha256'); 228 const hasherBuffer = hasher.update(targetFilepath).digest();
|
/third_party/rust/crates/syn/codegen/src/ |
H A D | hash.rs | 130 let hasher = match &node.data { in expand_impl() 139 fn hash<H>(&self, #hasher: &mut H) in expand_impl()
|
/third_party/lzma/CPP/7zip/Common/ |
H A D | CreateCoder.cpp | 514 CMyComPtr<IHasher> &hasher)
in CreateHasher() 524 hasher = codec.CreateHasher();
in CreateHasher() 534 if (!hasher && _externalCodecs)
in CreateHasher() 541 return _externalCodecs->GetHashers->CreateHasher((UInt32)i, &hasher);
in CreateHasher() 510 CreateHasher( DECL_EXTERNAL_CODECS_LOC_VARS CMethodId methodId, AString &name, CMyComPtr<IHasher> &hasher) CreateHasher() argument
|