Home
last modified time | relevance | path

Searched refs:InsecureRandomGenerator (Results 1 – 9 of 9) sorted by relevance

/aosp_15_r20/external/cronet/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/
H A Drand_util.cc39 InsecureRandomGenerator::InsecureRandomGenerator() { in InsecureRandomGenerator() function in partition_alloc::internal::base::InsecureRandomGenerator
44 void InsecureRandomGenerator::ReseedForTesting(uint64_t seed) { in ReseedForTesting()
49 uint64_t InsecureRandomGenerator::RandUint64() { in RandUint64()
64 uint32_t InsecureRandomGenerator::RandUint32() { in RandUint32()
H A Drand_util.h65 class PA_COMPONENT_EXPORT(PARTITION_ALLOC_BASE) InsecureRandomGenerator { in PA_COMPONENT_EXPORT()
73 static InsecureRandomGenerator ConstructForTesting() { in PA_COMPONENT_EXPORT()
74 return InsecureRandomGenerator(); in PA_COMPONENT_EXPORT()
78 InsecureRandomGenerator(); in PA_COMPONENT_EXPORT()
H A Drand_util_pa_unittest.cc136 InsecureRandomGenerator generator = in TEST()
137 InsecureRandomGenerator::ConstructForTesting(); in TEST()
180 bool ChiSquaredTest(InsecureRandomGenerator& gen, in ChiSquaredTest()
226 InsecureRandomGenerator gen = in TEST()
227 InsecureRandomGenerator::ConstructForTesting(); in TEST()
/aosp_15_r20/external/cronet/base/
H A Drand_util.cc128 InsecureRandomGenerator::InsecureRandomGenerator() { in InsecureRandomGenerator() function in base::InsecureRandomGenerator
133 void InsecureRandomGenerator::ReseedForTesting(uint64_t seed) { in ReseedForTesting()
138 uint64_t InsecureRandomGenerator::RandUint64() { in RandUint64()
153 uint32_t InsecureRandomGenerator::RandUint32() { in RandUint32()
162 double InsecureRandomGenerator::RandDouble() { in RandDouble()
H A Drand_util.h184 class BASE_EXPORT InsecureRandomGenerator {
195 InsecureRandomGenerator();
241 InsecureRandomGenerator generator_;
H A Drand_util_unittest.cc276 InsecureRandomGenerator generator; in TEST()
318 bool ChiSquaredTest(InsecureRandomGenerator& gen, in ChiSquaredTest()
363 InsecureRandomGenerator gen; in TEST()
379 InsecureRandomGenerator gen; in TEST()
H A Drand_util_perftest.cc38 base::InsecureRandomGenerator gen; in TEST()
/aosp_15_r20/external/cronet/base/allocator/partition_allocator/src/partition_alloc/
H A Drandom.cc33 internal::base::InsecureRandomGenerator instance_ PA_GUARDED_BY(lock_);
35 internal::base::InsecureRandomGenerator)] PA_GUARDED_BY(lock_) = {};
38 internal::base::InsecureRandomGenerator* GetGenerator() in GetGenerator()
41 new (instance_buffer_) internal::base::InsecureRandomGenerator(); in GetGenerator()
H A Dlightweight_quarantine.h171 base::InsecureRandomGenerator random_ PA_GUARDED_BY(lock_); in PA_COMPONENT_EXPORT()