Home
last modified time | relevance | path

Searched refs:rand_state (Results 1 – 2 of 2) sorted by relevance

/external/webrtc/webrtc/base/
Dsslstreamadapter_unittest.cc691 unsigned int rand_state = sent_; in WriteData() local
695 rand_state = (rand_state * 251 + 19937) >> 7; in WriteData()
696 packet[i] = rand_state & 0xff; in WriteData()
742 unsigned int rand_state = packet_num; in ReadData() local
745 rand_state = (rand_state * 251 + 19937) >> 7; in ReadData()
746 ASSERT_EQ(rand_state & 0xff, buffer[i]); in ReadData()
/external/libaom/libaom/av1/encoder/
Dk_means_template.h55 unsigned int rand_state = (unsigned int)data[0]; in RENAME() local
71 data + (lcg_rand16(&rand_state) % n) * AV1_K_MEANS_DIM, in RENAME()