Searched refs:GetRandom (Results 1 – 2 of 2) sorted by relevance
888 uint32_t GetRandom(uint32_t max) in GetRandom() function916 byte = static_cast<uint8_t>(GetRandom(256)); in WriteRandomFrame()997 shouldRead = (GetRandom(100) < kReadProbability); in TestFuzzBuffer()1018 uint32_t len = GetRandom(kMaxFrameLen) + 1; in TestFuzzBuffer()1021 if (GetRandom(100) < kHighPriorityProbability) in TestFuzzBuffer()
594 uint32_t GetRandom(uint32_t max) in GetRandom() function618 length = static_cast<uint16_t>(GetRandom(kMaxFrameLength)); in TestFuzzEncoderDecoder()623 frame[i] = static_cast<uint8_t>(GetRandom(256)); in TestFuzzEncoderDecoder()