Searched refs:random_int (Results 1 – 3 of 3) sorted by relevance
54 uint64 random_int; in GetRandomBytes() local55 const char* random_int_bytes = reinterpret_cast<const char*>(&random_int); in GetRandomBytes()56 int random_int_size = sizeof(random_int); in GetRandomBytes()58 random_int = base::RandUint64(); in GetRandomBytes()
65 uint64 random_int; in RandBytes() local66 size_t random_int_size = sizeof(random_int); in RandBytes()68 random_int = base::RandUint64(); in RandBytes()70 memcpy(((uint8*)output) + i, &random_int, copy_count); in RandBytes()
235 unsigned int random_int; in Read() local236 errno_t err = rand_s(&random_int); in Read()242 int bytes_to_copy = std::min(bytes_left, sizeof(random_int)); in Read()243 memcpy(out, &random_int, bytes_to_copy); in Read()