Searched refs:random (Results 1 – 3 of 3) sorted by relevance
26 uint8_t* random, size_t requested_length) const { in GenerateRandom() argument42 memcpy(random, generated->buffer, sizeof(generated->buffer)); in GenerateRandom()43 random = (uint8_t*) random + sizeof(generated->buffer); in GenerateRandom()55 memcpy(random, generated->buffer, requested_length); in GenerateRandom()
80 virtual void GetRandom(void* random, uint32_t requested_length) const { in GetRandom() argument81 if (random == NULL) return; in GetRandom()82 RAND_pseudo_bytes((uint8_t*)random, requested_length); in GetRandom()
150 std::uniform_int_distribution<int> random{0, 2}; in Worker() local174 if (random(e)) { in Worker()