Home
last modified time | relevance | path

Searched refs:XXH32 (Results 1 – 25 of 30) sorted by relevance

12

/third_party/lz4/tests/
Dfuzzer.c386 U32 const crcOrig = XXH32(block, (size_t)blockSize, 0); in FUZ_test()
411 U32 const crcBase = XXH32(block, (size_t)srcSize, 0); in FUZ_test()
421 { U32 const crcDec = XXH32(decodedBuffer, (size_t)srcSize, 0); in FUZ_test()
444 U32 const crcBase = XXH32(block, (size_t)srcSize, 0); in FUZ_test()
454 { U32 const crcDec = XXH32(decodedBuffer, (size_t)srcSize, 0); in FUZ_test()
513 { U32 const crcCheck = XXH32(decodedBuffer, (size_t)blockSize, 0); in FUZ_test()
539 { U32 const crcCheck = XXH32(decodedBuffer, (size_t)blockSize, 0); in FUZ_test()
552 { U32 const crcCheck = XXH32(decodedBuffer, (size_t)blockSize, 0); in FUZ_test()
746 { U32 const crcCheck = XXH32(decodedBuffer+dictSize, (size_t)blockSize, 0); in FUZ_test()
755 { U32 const crcCheck = XXH32(decodedBuffer+dictSize, (size_t)blockSize, 0); in FUZ_test()
[all …]
DroundTripTest.c83 unsigned const h32 = XXH32(refBuff, hashLength, 0); in select_clevel()
Dfullbench.c524 crcOriginal = XXH32(orig_buff, benchedSize,0); in fullSpeedBench()
745 crcDecoded = XXH32(orig_buff, benchedSize, 0); in fullSpeedBench()
/third_party/skia/third_party/externals/angle2/src/common/third_party/xxhash/
Dxxhash.h131 # define XXH32 XXH_NAME2(XXH_NAMESPACE, XXH32) macro
171 XXH_PUBLIC_API XXH32_hash_t XXH32(const void *input, size_t length, unsigned int seed);
Dxxhash_fuzzer.cpp42 XXH32(&data[seedSize32], size - seedSize32, seed32); in LLVMFuzzerTestOneInput()
DREADME.md52 | XXH32 | 6.8 GB/s | 6.0 GB/s |
/third_party/lz4/lib/
Dxxhash.h128 # define XXH32 XXH_NAME2(XXH_NAMESPACE, XXH32) macro
169 XXH_PUBLIC_API XXH32_hash_t XXH32 (const void* input, size_t length, unsigned int seed);
/third_party/mesa3d/src/util/
Dhash_table.c631 return XXH32(data, size, 0); in _mesa_hash_data()
637 return XXH32(data, size, seed); in _mesa_hash_data_with_seed()
643 return XXH32(key, sizeof(int), 0); in _mesa_hash_int()
649 return XXH32(key, sizeof(unsigned), 0); in _mesa_hash_uint()
655 return XXH32(key, 4, 0); in _mesa_hash_u32()
673 hash = XXH32(key, length, hash); in _mesa_hash_string_with_length()
Dxxhash.h147 # define XXH32 XXH_NAME2(XXH_NAMESPACE, XXH32) macro
211 XXH_PUBLIC_API XXH32_hash_t XXH32 (const void* input, size_t length, XXH32_hash_t seed);
815 XXH_PUBLIC_API XXH32_hash_t XXH32 (const void* input, size_t len, XXH32_hash_t seed) in XXH32() function
/third_party/mesa3d/src/panfrost/bifrost/
Dbi_opt_dual_tex.c108 #define HASH(hash, data) XXH32(&(data), sizeof(data), hash)
115 return XXH32(&I->src[0], sizeof(I->src[0]) + sizeof(I->src[1]), 0); in coord_hash()
Dbi_opt_cse.c39 return XXH32(&data, sizeof(data), hash); in HASH()
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_descriptors.c391 hash = XXH32(&k->num_bindings, sizeof(unsigned), hash); in hash_descriptor_layout()
394 hash = XXH32(&k->bindings[i], offsetof(VkDescriptorSetLayoutBinding, stageFlags), hash); in hash_descriptor_layout()
470 hash = XXH32(&k->layout, sizeof(void*), hash); in hash_descriptor_pool_key()
472 hash = XXH32(&k->sizes[i], sizeof(VkDescriptorPoolSize), hash); in hash_descriptor_pool_key()
1618 hash = XXH32(&obj, sizeof(void*), hash); in calc_descriptor_state_hash_ubo()
1621 hash = XXH32(hash_data, data_size, hash); in calc_descriptor_state_hash_ubo()
1623 hash = XXH32(&ctx->di.ubos[shader][idx + k].offset, sizeof(unsigned), hash); in calc_descriptor_state_hash_ubo()
1634 hash = XXH32(&obj, sizeof(void*), hash); in calc_descriptor_state_hash_ssbo()
1637 hash = XXH32(&ssbo->buffer_offset, sizeof(ssbo->buffer_offset), hash); in calc_descriptor_state_hash_ssbo()
1638 hash = XXH32(&ssbo->buffer_size, sizeof(ssbo->buffer_size), hash); in calc_descriptor_state_hash_ssbo()
[all …]
Dzink_program.c233 hash = XXH32(&state->dyn_state2, sizeof(state->dyn_state2), hash); in hash_gfx_pipeline_state()
236 return XXH32(&state->dyn_state1, sizeof(state->dyn_state1), hash); in hash_gfx_pipeline_state()
507 hash = XXH32(&state->local_size[0], sizeof(state->local_size), hash); in hash_compute_pipeline_state()
843 hash = XXH32(&vertex_buffers_enabled_mask, sizeof(uint32_t), hash); in zink_get_gfx_pipeline()
849 hash = XXH32(&state->vertex_strides[buffer_id], sizeof(uint32_t), hash); in zink_get_gfx_pipeline()
/third_party/skia/third_party/externals/angle2/src/common/
Dhash_utils.h27 return XXH32(key, keySize, kSeed); in ComputeGenericHash()
/third_party/mesa3d/src/compiler/nir/
Dnir_lower_locals_to_regs.c54 return XXH32(&deref->var, sizeof(deref->var), hash); in hash_deref()
60 hash = XXH32(&deref->strct.index, sizeof(deref->strct.index), hash); in hash_deref()
Dnir_opt_load_store_vectorize.c220 hash = XXH32(&key->resource->index, sizeof(key->resource->index), hash); in hash_entry_key()
222 hash = XXH32(&key->var->index, sizeof(key->var->index), hash); in hash_entry_key()
224 hash = XXH32(&mode, sizeof(mode), hash); in hash_entry_key()
228 hash = XXH32(&key->offset_defs[i].def->index, sizeof(key->offset_defs[i].def->index), hash); in hash_entry_key()
229 hash = XXH32(&key->offset_defs[i].comp, sizeof(key->offset_defs[i].comp), hash); in hash_entry_key()
232 hash = XXH32(key->offset_defs_mul, key->offset_def_count * sizeof(uint64_t), hash); in hash_entry_key()
Dnir_instr_set.c86 #define HASH(hash, data) XXH32(&(data), sizeof(data), hash)
204 hash = XXH32(instr->value, size, hash); in hash_load_const()
252 hash = XXH32(instr->const_index, info->num_indices * sizeof(instr->const_index[0]), hash); in hash_intrinsic()
Dnir_opt_vectorize.c40 #define HASH(hash, data) XXH32(&data, sizeof(data), hash)
/third_party/lz4/ossfuzz/
Dfuzz_helpers.h69 return XXH32(data, toHash, 0); in FUZZ_seed()
/third_party/mesa3d/src/gallium/drivers/freedreno/ir3/
Dir3_cache.c39 return XXH32(key, sizeof(*key), 0); in key_hash()
/third_party/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_batch_cache.c107 hash = XXH32(key, offsetof(struct fd_batch_key, surf[0]), hash); in fd_batch_key_hash()
108 hash = XXH32(key->surf, sizeof(key->surf[0]) * key->num_surfs, hash); in fd_batch_key_hash()
/third_party/mesa3d/src/freedreno/ir3/
Dir3_cse.c35 #define HASH(hash, data) XXH32(&(data), sizeof(data), hash)
/third_party/mesa3d/src/gallium/drivers/zink/nir_to_spirv/
Dspirv_builder.c1166 hash = XXH32(&type->op, sizeof(type->op), hash); in non_aggregate_type_hash()
1167 hash = XXH32(type->args, sizeof(uint32_t) * type->num_args, hash); in non_aggregate_type_hash()
1404 hash = XXH32(&key->op, sizeof(key->op), hash); in const_hash()
1405 hash = XXH32(&key->type, sizeof(key->type), hash); in const_hash()
1406 hash = XXH32(key->args, sizeof(uint32_t) * key->num_args, hash); in const_hash()
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_nir_vectorize_vs_inputs.c226 #define HASH(hash, data) XXH32(&(data), sizeof(data), (hash))
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/
Dfd6_texture.c318 return XXH32(key, sizeof(*key), 0); in key_hash()

12