Searched refs:prng (Results 1 – 18 of 18) sorted by relevance
/external/webrtc/webrtc/base/ |
D | random_unittest.cc | 37 void UniformBucketTest(T bucket_count, int samples, Random* prng) { in UniformBucketTest() argument 54 sample = prng->Rand<T>(); in UniformBucketTest() 67 Random prng(7297352569824ull); in TEST() local 68 UniformBucketTest<signed char>(64, 640000, &prng); in TEST() 69 UniformBucketTest<signed char>(11, 440000, &prng); in TEST() 70 UniformBucketTest<signed char>(3, 270000, &prng); in TEST() 74 Random prng(7297352569824ull); in TEST() local 75 UniformBucketTest<unsigned char>(64, 640000, &prng); in TEST() 76 UniformBucketTest<unsigned char>(11, 440000, &prng); in TEST() 77 UniformBucketTest<unsigned char>(3, 270000, &prng); in TEST() [all …]
|
/external/webrtc/webrtc/call/ |
D | rtc_event_log_unittest.cc | 303 Random* prng) { in GenerateRtpPacket() argument 320 csrcs.push_back(prng->Rand<uint32_t>()); in GenerateRtpPacket() 323 rtp_sender.SetSSRC(prng->Rand<uint32_t>()); in GenerateRtpPacket() 324 rtp_sender.SetStartTimestamp(prng->Rand<uint32_t>(), true); in GenerateRtpPacket() 325 rtp_sender.SetSequenceNumber(prng->Rand<uint16_t>()); in GenerateRtpPacket() 333 int8_t payload_type = prng->Rand(0, 127); in GenerateRtpPacket() 334 bool marker_bit = prng->Rand<bool>(); in GenerateRtpPacket() 335 uint32_t capture_timestamp = prng->Rand<uint32_t>(); in GenerateRtpPacket() 336 int64_t capture_time_ms = prng->Rand<uint32_t>(); in GenerateRtpPacket() 337 bool timestamp_provided = prng->Rand<bool>(); in GenerateRtpPacket() [all …]
|
/external/llvm/lib/Transforms/Utils/ |
D | MetaRenamer.cpp | 53 prng.srand(seed); in Renamer() 57 return metaNames[prng.rand() % array_lengthof(metaNames)]; in newName() 60 PRNG prng; member
|
/external/libvpx/libvpx/test/ |
D | convolve_test.cc | 392 ::libvpx_test::ACMRandom prng; in SetUp() 400 input_[i] = prng.Rand8Extremes(); in SetUp() 402 input16_[i] = prng.Rand16() & mask_; in SetUp() 764 ::libvpx_test::ACMRandom prng; in TEST_P() 770 r = prng.Rand8Extremes(); in TEST_P() 772 r = prng.Rand16() & mask_; in TEST_P() 775 r = prng.Rand8Extremes(); in TEST_P() 846 ::libvpx_test::ACMRandom prng; in TEST_P() 852 r = prng.Rand8Extremes(); in TEST_P() 854 r = prng.Rand16() & mask_; in TEST_P() [all …]
|
/external/opencv/ml/src/ |
D | mlestimate.cpp | 417 CvRNG* prng; 449 prng = ((CvCrossValidationParams*)estimateParams)->rng; 451 prng = &rng; 557 j = cvRandInt (prng) % i;
|
/external/jemalloc/ |
D | Android.mk | 93 src/prng.c \ 220 test/unit/prng.c \
|
D | Android.bp | 111 "src/prng.c", 207 "test/unit/prng.c",
|
D | Makefile.in | 98 $(srcroot)src/prng.c \ 150 $(srcroot)test/unit/prng.c \
|
/external/srtp/ |
D | Android.mk | 21 crypto/rng/prng.c \
|
D | Makefile | 89 rng = crypto/rng/$(RNG_OBJS) crypto/rng/prng.o crypto/rng/ctr_prng.o
|
D | Makefile.in | 91 rng = crypto/rng/$(RNG_OBJS) crypto/rng/prng.o crypto/rng/ctr_prng.o
|
/external/opencv3/modules/calib3d/src/ |
D | rho.cpp | 151 uint64_t x = prng.s[0]; in fastRandom() 152 uint64_t y = prng.s[1]; in fastRandom() 156 prng.s[0] = y; in fastRandom() 157 prng.s[1] = x; in fastRandom() 173 prng.s[0] = seed; in fastSeed() 174 prng.s[1] = ~seed;/* Guarantees one of the elements will be non-zero. */ in fastSeed() 233 } prng; member
|
/external/srtp/crypto/ |
D | Makefile | 78 rng = rng/$(RNG_OBJS) rng/rand_source.o rng/prng.o rng/ctr_prng.o
|
D | Makefile.in | 78 rng = rng/$(RNG_OBJS) rng/rand_source.o rng/prng.o rng/ctr_prng.o
|
/external/webrtc/webrtc/modules/remote_bitrate_estimator/ |
D | bwe_simulations.cc | 244 Random prng(Clock::GetRealTimeClock()->TimeInMicroseconds()); in TEST_P() local 253 i * prng.Rand(39999))); in TEST_P()
|
/external/jemalloc/include/jemalloc/internal/ |
D | jemalloc_internal.h.in | 363 #include "jemalloc/internal/prng.h" 394 #include "jemalloc/internal/prng.h" 486 #include "jemalloc/internal/prng.h" 517 #include "jemalloc/internal/prng.h"
|
/external/clang/test/Analysis/ |
D | security-syntax-checks.m | 88 // <rdar://problem/6337100> CWE-338: Use of cryptographically weak prng
|
/external/bouncycastle/ |
D | bouncycastle.config | 31 org/bouncycastle/crypto/prng \
|