webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Classes | Namespaces | Functions
helpers.cc File Reference
#include "webrtc/base/helpers.h"
#include <limits>
#include <memory>
#include <openssl/rand.h>
#include "webrtc/base/base64.h"
#include "webrtc/base/basictypes.h"
#include "webrtc/base/checks.h"
#include "webrtc/base/logging.h"
#include "webrtc/base/timeutils.h"

Classes

class  rtc::RandomGenerator
 
class  rtc::SecureRandomGenerator
 
class  rtc::TestRandomGenerator
 

Namespaces

 rtc
 

Functions

void rtc::SetRandomTestMode (bool test)
 
bool rtc::InitRandom (int seed)
 
bool rtc::InitRandom (const char *seed, size_t len)
 
WEBRTC_DYLIB_EXPORT std::string rtc::CreateRandomString (size_t length)
 
bool rtc::CreateRandomString (size_t length, std::string *str)
 
bool rtc::CreateRandomString (size_t length, const std::string &table, std::string *str)
 
bool rtc::CreateRandomData (size_t length, std::string *data)
 
std::string rtc::CreateRandomUuid ()
 
uint32_t rtc::CreateRandomId ()
 
uint64_t rtc::CreateRandomId64 ()
 
uint32_t rtc::CreateRandomNonZeroId ()
 
double rtc::CreateRandomDouble ()