Home
last modified time | relevance | path

Searched refs:random_int (Results 1 – 3 of 3) sorted by relevance

/external/chromium/chrome/browser/sync/util/
Dcrypto_helpers.cc54 uint64 random_int; in GetRandomBytes() local
55 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()
/external/chromium_org/base/
Drand_util.cc65 uint64 random_int; in RandBytes() local
66 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()
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/
Dmount_dev.cc235 unsigned int random_int; in Read() local
236 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()