/external/llvm-project/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_allocator.h | 62 inline void RandomShuffle(T *a, u32 n, u32 *rand_state) { in RandomShuffle() argument 64 u32 state = *rand_state; in RandomShuffle() 67 *rand_state = state; in RandomShuffle()
|
D | sanitizer_allocator_primary32.h | 282 u32 rand_state; in ALIGNED() local 322 RandomShuffle(pointers_array, count, &sci->rand_state); in PopulateBatches() 347 if (UNLIKELY(sci->rand_state == 0)) in PopulateFreeList() 349 sci->rand_state = reinterpret_cast<uptr>(sci) ^ NanoTime(); in PopulateFreeList()
|
D | sanitizer_allocator_primary64.h | 609 u32 rand_state; // Seed for random shuffle, used if kRandomShuffleChunks. in ALIGNED() local 706 region->rand_state = static_cast<u32>(region_beg >> 12); in PopulateFreeArray() 760 ®ion->rand_state); in PopulateFreeArray()
|
/external/rust/crates/ahash/src/ |
D | fallback_hash.rs | 48 pub(crate) fn from_random_state(rand_state: &RandomState) -> AHasher { in from_random_state() 50 buffer: rand_state.k0, in from_random_state() 51 pad: rand_state.k1, in from_random_state() 52 extra_keys: [rand_state.k2, rand_state.k3], in from_random_state()
|
D | aes_hash.rs | 61 pub(crate) fn from_random_state(rand_state: &RandomState) -> Self { in from_random_state() 62 let key1 = [rand_state.k0, rand_state.k1].convert(); in from_random_state() 63 let key2 = [rand_state.k2, rand_state.k3].convert(); in from_random_state()
|
/external/rust/crates/tokio/src/loom/std/ |
D | mod.rs | 37 let rand_state = RandomState::new(); in seed() localVariable 39 let mut hasher = rand_state.build_hasher(); in seed()
|
/external/libaom/libaom/av1/encoder/ |
D | k_means_template.h | 55 unsigned int rand_state = (unsigned int)data[0]; in RENAME() local 71 data + (lcg_rand16(&rand_state) % n) * AV1_K_MEANS_DIM, in RENAME()
|
/external/OpenCL-CTS/test_conformance/basic/ |
D | test_progvar.cpp | 330 static void l_set_randomly( cl_uchar* buf, size_t buf_size, RandomSeed& rand_state ); 341 …d device, cl_context context, cl_command_queue queue, const TypeInfo& ti, RandomSeed& rand_state ); 344 …d device, cl_context context, cl_command_queue queue, const TypeInfo& ti, RandomSeed& rand_state ); 644 static void l_set_randomly( cl_uchar* buf, size_t buf_size, RandomSeed& rand_state ) in l_set_randomly() argument 648 *( (cl_uint*)(buf + i) ) = genrand_int32( rand_state ); in l_set_randomly() 895 RandomSeed rand_state( gRandomSeed ); in l_write_read() local 898 status = status | l_write_read_for_type(device,context,queue,type_info[itype], rand_state ); in l_write_read() 905 …id device, cl_context context, cl_command_queue queue, const TypeInfo& ti, RandomSeed& rand_state ) in l_write_read_for_type() argument 983 l_set_randomly( write_data, write_data_size, rand_state ); in l_write_read_for_type() 1050 RandomSeed rand_state( gRandomSeed ); in l_init_write_read() local [all …]
|
/external/rust/crates/tokio-stream/src/ |
D | stream_map.rs | 585 let rand_state = RandomState::new(); in seed() localVariable 587 let mut hasher = rand_state.build_hasher(); in seed()
|
/external/webrtc/rtc_base/ |
D | ssl_stream_adapter_unittest.cc | 821 unsigned int rand_state = sent_; in WriteData() local 825 rand_state = (rand_state * 251 + 19937) >> 7; in WriteData() 826 packet[i] = rand_state & 0xff; in WriteData() 872 unsigned int rand_state = packet_num; in ReadData() local 875 rand_state = (rand_state * 251 + 19937) >> 7; in ReadData() 876 ASSERT_EQ(rand_state & 0xff, buffer[i]); in ReadData()
|