Searched defs:RandomNumberGenerator (Results 1 - 4 of 4) sorted by relevance

/external/llvm/include/llvm/Support/
H A DRandomNumberGenerator.h1 //==- llvm/Support/RandomNumberGenerator.h - RNG for diversity ---*- C++ -*-==//
28 class RandomNumberGenerator { class in namespace:llvm
39 RandomNumberGenerator(StringRef Salt);
50 RandomNumberGenerator(const RandomNumberGenerator &other)
52 RandomNumberGenerator &
53 operator=(const RandomNumberGenerator &other) LLVM_DELETED_FUNCTION;
/external/llvm/lib/Support/
H A DRandomNumberGenerator.cpp1 //===-- RandomNumberGenerator.cpp - Implement RNG class -------------------===//
17 #include "llvm/Support/RandomNumberGenerator.h"
31 RandomNumberGenerator::RandomNumberGenerator(StringRef Salt) { function in class:RandomNumberGenerator
58 uint64_t RandomNumberGenerator::next(uint64_t Max) {
/external/chromium_org/v8/src/base/utils/
H A Drandom-number-generator.h14 // RandomNumberGenerator
19 // If two instances of RandomNumberGenerator are created with the same seed, and
28 class RandomNumberGenerator FINAL {
35 RandomNumberGenerator();
36 explicit RandomNumberGenerator(int64_t seed) { SetSeed(seed); } function in class:v8::base::FINAL
H A Drandom-number-generator.cc20 static RandomNumberGenerator::EntropySource entropy_source = NULL;
24 void RandomNumberGenerator::SetEntropySource(EntropySource source) {
30 RandomNumberGenerator::RandomNumberGenerator() { function in class:v8::base::RandomNumberGenerator
81 int RandomNumberGenerator::NextInt(int max) {
99 double RandomNumberGenerator::NextDouble() {
105 void RandomNumberGenerator::NextBytes(void* buffer, size_t buflen) {
112 int RandomNumberGenerator::Next(int bits) {
127 void RandomNumberGenerator::SetSeed(int64_t seed) {

Completed in 314 milliseconds