/external/lz4/ossfuzz/ |
D | fuzz_helpers.h | 76 uint32_t rand32 = *state; in FUZZ_rand() local 77 rand32 *= prime1; in FUZZ_rand() 78 rand32 += prime2; in FUZZ_rand() 79 rand32 = FUZZ_rotl32(rand32, 13); in FUZZ_rand() 80 *state = rand32; in FUZZ_rand() 81 return rand32 >> 5; in FUZZ_rand()
|
/external/lz4/programs/ |
D | datagen.c | 63 U32 rand32 = *src; in RDG_rand() local 64 rand32 *= PRIME1; in RDG_rand() 65 rand32 ^= PRIME2; in RDG_rand() 66 rand32 = RDG_rotl32(rand32, 13); in RDG_rand() 67 *src = rand32; in RDG_rand() 68 return rand32; in RDG_rand()
|
/external/zstd/programs/ |
D | datagen.c | 50 U32 rand32 = *src; in RDG_rand() local 51 rand32 *= prime1; in RDG_rand() 52 rand32 ^= prime2; in RDG_rand() 53 rand32 = RDG_rotl32(rand32, 13); in RDG_rand() 54 *src = rand32; in RDG_rand() 55 return rand32 >> 5; in RDG_rand()
|
D | dibio.c | 152 U32 rand32 = *src; in DiB_rand() local 153 rand32 *= prime1; in DiB_rand() 154 rand32 ^= prime2; in DiB_rand() 155 rand32 = DiB_rotl32(rand32, 13); in DiB_rand() 156 *src = rand32; in DiB_rand() 157 return rand32 >> 5; in DiB_rand()
|
/external/ms-tpm-20-ref/Samples/ARM32-FirmwareTPM/optee_ta/fTPM/platform/ |
D | Entropy.c | 69 rand32( in rand32() function 99 lastEntropy = rand32(); in _plat__GetEntropy() 104 rndNum = rand32(); in _plat__GetEntropy()
|
/external/zstd/tests/ |
D | seqgen.c | 24 U32 rand32 = *src; in SEQ_randByte() local 25 rand32 *= prime1; in SEQ_randByte() 26 rand32 ^= prime2; in SEQ_randByte() 27 rand32 = SEQ_rotl32(rand32, 13); in SEQ_randByte() 28 *src = rand32; in SEQ_randByte() 29 return (BYTE)(rand32 >> 5); in SEQ_randByte()
|
D | zbufftest.c | 87 U32 rand32 = *seedPtr; in FUZ_rand() local 88 rand32 *= prime1; in FUZ_rand() 89 rand32 += prime2; in FUZ_rand() 90 rand32 = FUZ_rotl32(rand32, 13); in FUZ_rand() 91 *seedPtr = rand32; in FUZ_rand() 92 return rand32 >> 5; in FUZ_rand()
|
D | decodecorpus.c | 81 U32 rand32 = *src; in RAND() local 82 rand32 *= prime1; in RAND() 83 rand32 += prime2; in RAND() 84 rand32 = RAND_rotl32(rand32, 13); in RAND() 85 *src = rand32; in RAND() 86 return RAND_rotl32(rand32, 27); in RAND()
|
D | paramgrill.c | 414 U32 rand32 = *src; in FUZ_rand() local 415 rand32 *= prime1; in FUZ_rand() 416 rand32 += prime2; in FUZ_rand() 417 rand32 = FUZ_rotl32(rand32, 13); in FUZ_rand() 418 *src = rand32; in FUZ_rand() 419 return rand32 >> 5; in FUZ_rand()
|
D | zstreamtest.c | 91 U32 rand32 = *seedPtr; in FUZ_rand() local 92 rand32 *= prime32; in FUZ_rand() 93 rand32 += prime2; in FUZ_rand() 94 rand32 = FUZ_rotl32(rand32, 13); in FUZ_rand() 95 *seedPtr = rand32; in FUZ_rand() 96 return rand32 >> 5; in FUZ_rand()
|
D | fuzzer.c | 99 U32 rand32 = *src; in FUZ_rand() local 100 rand32 *= prime1; in FUZ_rand() 101 rand32 += prime2; in FUZ_rand() 102 rand32 = FUZ_rotl32(rand32, 13); in FUZ_rand() 103 *src = rand32; in FUZ_rand() 104 return rand32 >> 5; in FUZ_rand()
|
/external/ms-tpm-20-ref/TPMCmd/Platform/src/ |
D | Entropy.c | 66 rand32( in rand32() function 126 lastEntropy = rand32(); in _plat__GetEntropy() 131 rndNum = rand32(); in _plat__GetEntropy()
|
/external/arm-optimized-routines/string/bench/ |
D | memcpy.c | 145 copy[i].dst = (rand32 (0) & (max_size - 1)); in init_copies() 146 copy[i].dst &= ~dst_align_arr[rand32 (0) & ALIGN_MASK]; in init_copies() 147 copy[i].src = (rand32 (0) & (max_size - 1)); in init_copies() 148 copy[i].src &= ~src_align_arr[rand32 (0) & ALIGN_MASK]; in init_copies() 149 copy[i].len = size_arr[rand32 (0) & SIZE_MASK]; in init_copies() 169 rand32 (0x12345678); in main()
|
D | strlen.c | 122 int align = strlen_align_arr[rand32 (0) & ALIGN_MASK]; in init_strlen_tests() 123 int exp_len = strlen_len_arr[rand32 (0) & SIZE_MASK]; in init_strlen_tests() 134 rand32 (0x12345678); in main()
|
/external/zstd/tests/fuzz/ |
D | sequence_compression_api.c | 47 uint32_t rand32 = *src; in FUZZ_RDG_rand() local 48 rand32 *= prime1; in FUZZ_RDG_rand() 49 rand32 ^= prime2; in FUZZ_RDG_rand() 50 rand32 = FUZZ_RDG_rotl32(rand32, 13); in FUZZ_RDG_rand() 51 *src = rand32; in FUZZ_RDG_rand() 52 return rand32 >> 5; in FUZZ_RDG_rand()
|
/external/arm-optimized-routines/string/include/ |
D | benchlib.h | 23 rand32 (uint32_t seed) in rand32() function
|
/external/lz4/tests/ |
D | frametest.c | 117 U32 rand32 = *src; in FUZ_rand() local 118 rand32 *= prime1; in FUZ_rand() 119 rand32 += prime2; in FUZ_rand() 120 rand32 = FUZ_rotl32(rand32, 13); in FUZ_rand() 121 *src = rand32; in FUZ_rand() 122 return rand32 >> 5; in FUZ_rand()
|
D | fuzzer.c | 135 U32 rand32 = *src; in FUZ_rand() local 136 rand32 *= PRIME1; in FUZ_rand() 137 rand32 ^= PRIME2; in FUZ_rand() 138 rand32 = FUZ_rotl32(rand32, 13); in FUZ_rand() 139 *src = rand32; in FUZ_rand() 140 return rand32; in FUZ_rand()
|