Home
last modified time | relevance | path

Searched refs:hash_state (Results 1 – 15 of 15) sorted by relevance

/third_party/skia/third_party/externals/abseil-cpp/absl/hash/internal/
Dhash.h249 H hash_bytes(H hash_state, const T& value) {
251 return H::combine_contiguous(std::move(hash_state), start, sizeof(value));
269 H hash_state, B value) {
270 return H::combine(std::move(hash_state),
277 H hash_state, Enum e) {
283 return H::combine(std::move(hash_state),
291 AbslHashValue(H hash_state, Float value) {
292 return hash_internal::hash_bytes(std::move(hash_state),
302 AbslHashValue(H hash_state, LongDouble value) {
307 hash_state = H::combine(std::move(hash_state), std::signbit(value));
[all …]
Dspy_hash_state.h126 const SpyHashStateImpl& hash_state) {
128 for (auto& s : hash_state.hash_representation_) {
147 static SpyHashStateImpl combine_contiguous(SpyHashStateImpl hash_state, in combine_contiguous() argument
156 hash_state = SpyHashStateImpl::combine_contiguous( in combine_contiguous()
157 std::move(hash_state), begin, large_chunk_stride); in combine_contiguous()
163 hash_state.hash_representation_.emplace_back( in combine_contiguous()
165 return hash_state; in combine_contiguous()
/third_party/python/Modules/_sha3/
Dsha3module.c168 SHA3_state hash_state; member
212 res = Keccak_HashInitialize_SHA3_224(&self->hash_state); in py_sha3_new_impl()
214 res = Keccak_HashInitialize_SHA3_256(&self->hash_state); in py_sha3_new_impl()
216 res = Keccak_HashInitialize_SHA3_384(&self->hash_state); in py_sha3_new_impl()
218 res = Keccak_HashInitialize_SHA3_512(&self->hash_state); in py_sha3_new_impl()
221 res = Keccak_HashInitialize(&self->hash_state, 1152, 448, 224, 0x01); in py_sha3_new_impl()
223 res = Keccak_HashInitialize(&self->hash_state, 1088, 512, 256, 0x01); in py_sha3_new_impl()
225 res = Keccak_HashInitialize(&self->hash_state, 832, 768, 384, 0x01); in py_sha3_new_impl()
227 res = Keccak_HashInitialize(&self->hash_state, 576, 1024, 512, 0x01); in py_sha3_new_impl()
230 res = Keccak_HashInitialize_SHAKE128(&self->hash_state); in py_sha3_new_impl()
[all …]
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_autotune.c132 XXH64_state_t hash_state; in hash_renderpass_instance() local
133 XXH64_reset(&hash_state, 0); in hash_renderpass_instance()
135 APPEND_TO_HASH(&hash_state, framebuffer->width); in hash_renderpass_instance()
136 APPEND_TO_HASH(&hash_state, framebuffer->height); in hash_renderpass_instance()
137 APPEND_TO_HASH(&hash_state, framebuffer->layers); in hash_renderpass_instance()
139 APPEND_TO_HASH(&hash_state, pass->attachment_count); in hash_renderpass_instance()
140 …XXH64_update(&hash_state, pass->attachments, pass->attachment_count * sizeof(pass->attachments[0])… in hash_renderpass_instance()
143 APPEND_TO_HASH(&hash_state, cmd->state.attachments[i]->view.width); in hash_renderpass_instance()
144 APPEND_TO_HASH(&hash_state, cmd->state.attachments[i]->view.height); in hash_renderpass_instance()
145 APPEND_TO_HASH(&hash_state, cmd->state.attachments[i]->image->vk.format); in hash_renderpass_instance()
[all …]
/third_party/skia/third_party/externals/abseil-cpp/absl/hash/
Dhash.h311 static HashState combine_contiguous(HashState hash_state, in combine_contiguous() argument
313 hash_state.combine_contiguous_(hash_state.state_, first, size); in combine_contiguous()
314 return hash_state; in combine_contiguous()
Dhash_test.cc831 friend H AbslHashValue(H hash_state, const StructWithPadding& s) { in AbslHashValue() argument
832 return H::combine(std::move(hash_state), s.c, s.i); in AbslHashValue()
849 friend H AbslHashValue(H hash_state, const ArraySlice& slice) { in AbslHashValue() argument
851 hash_state = H::combine(std::move(hash_state), *t); in AbslHashValue()
853 return hash_state; in AbslHashValue()
897 friend H AbslHashValue(H hash_state, ConvertibleFromNoOp) { in AbslHashValue() argument
898 return H::combine(std::move(hash_state), 1); in AbslHashValue()
921 friend H AbslHashValue(H hash_state, IntAndString int_and_string) { in AbslHashValue() argument
922 return H::combine(std::move(hash_state), int_and_string.s, in AbslHashValue()
935 friend H AbslHashValue(H hash_state, const TypeErased& v) { in AbslHashValue() argument
[all …]
/third_party/f2fs-tools/tools/
Dsha512.c131 struct hash_state { struct
135 static void sha512_compress(struct hash_state * md, const unsigned char *buf) in sha512_compress() argument
173 static void sha512_init(struct hash_state * md) in sha512_init()
187 static void sha512_done(struct hash_state * md, unsigned char *out) in sha512_done()
226 static void sha512_process(struct hash_state * md, in sha512_process()
257 struct hash_state md; in f2fs_sha512()
306 struct hash_state md; in main()
/third_party/python/Modules/
Dsha1module.c54 struct sha1_state hash_state; member
357 newobj->hash_state = self->hash_state; in SHA1Type_copy_impl()
374 temp = self->hash_state; in SHA1Type_digest_impl()
393 temp = self->hash_state; in SHA1Type_hexdigest_impl()
416 sha1_process(&self->hash_state, buf.buf, buf.len); in SHA1Type_update()
509 sha1_init(&new->hash_state); in _sha1_sha1_impl()
518 sha1_process(&new->hash_state, buf.buf, buf.len); in _sha1_sha1_impl()
Dmd5module.c54 struct md5_state hash_state; member
379 newobj->hash_state = self->hash_state; in MD5Type_copy_impl()
396 temp = self->hash_state; in MD5Type_digest_impl()
415 temp = self->hash_state; in MD5Type_hexdigest_impl()
438 md5_process(&self->hash_state, buf.buf, buf.len); in MD5Type_update()
531 md5_init(&new->hash_state); in _md5_md5_impl()
540 md5_process(&new->hash_state, buf.buf, buf.len); in _md5_md5_impl()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DHashing.h260 struct hash_state { struct
266 static hash_state create(const char *s, uint64_t seed) { in create() argument
267 hash_state state = { in create()
415 hash_state state = state.create(buffer, seed);
457 hash_state state = state.create(s_begin, seed);
498 hash_state state;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DHashing.h259 struct hash_state { struct
265 static hash_state create(const char *s, uint64_t seed) { in create() argument
266 hash_state state = { in create()
413 hash_state state = state.create(buffer, seed);
455 hash_state state = state.create(s_begin, seed);
496 hash_state state;
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/
Dcord.h657 friend H AbslHashValue(H hash_state, const absl::Cord& c) { in AbslHashValue() argument
660 return H::combine(std::move(hash_state), *maybe_flat); in AbslHashValue()
662 return c.HashFragmented(std::move(hash_state)); in AbslHashValue()
892 H HashFragmented(H hash_state) const { in HashFragmented() argument
894 ForEachChunk([&combiner, &hash_state](absl::string_view chunk) { in HashFragmented()
895 hash_state = combiner.add_buffer(std::move(hash_state), chunk.data(), in HashFragmented()
898 return H::combine(combiner.finalize(std::move(hash_state)), size()); in HashFragmented()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/
Dcrypto_libtomcrypt.c27 hash_state md; in md4_vector()
62 hash_state md; in md5_vector()
75 hash_state md; in sha1_vector()
148 hash_state md;
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/
Dcrypto_libtomcrypt.c27 hash_state md; in md4_vector()
62 hash_state md; in md5_vector()
75 hash_state md; in sha1_vector()
148 hash_state md;
/third_party/ffmpeg/tools/
Dcrypto_bench.c461 hash_state md; \