Home
last modified time | relevance | path

Searched refs:prng (Results 1 – 19 of 19) sorted by relevance

/external/webrtc/webrtc/base/
Drandom_unittest.cc37 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/
Drtc_event_log_unittest.cc303 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/
DMetaRenamer.cpp53 prng.srand(seed); in Renamer()
57 return metaNames[prng.rand() % array_lengthof(metaNames)]; in newName()
60 PRNG prng; member
/external/libvpx/libvpx/test/
Dconvolve_test.cc392 ::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/
Dmlestimate.cpp417 CvRNG* prng;
449 prng = ((CvCrossValidationParams*)estimateParams)->rng;
451 prng = &rng;
557 j = cvRandInt (prng) % i;
/external/jemalloc/
DAndroid.mk93 src/prng.c \
220 test/unit/prng.c \
DAndroid.bp111 "src/prng.c",
207 "test/unit/prng.c",
DMakefile.in98 $(srcroot)src/prng.c \
150 $(srcroot)test/unit/prng.c \
/external/srtp/
DAndroid.mk21 crypto/rng/prng.c \
DMakefile89 rng = crypto/rng/$(RNG_OBJS) crypto/rng/prng.o crypto/rng/ctr_prng.o
DMakefile.in91 rng = crypto/rng/$(RNG_OBJS) crypto/rng/prng.o crypto/rng/ctr_prng.o
/external/opencv3/modules/calib3d/src/
Drho.cpp151 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/
DMakefile.in78 rng = rng/$(RNG_OBJS) rng/rand_source.o rng/prng.o rng/ctr_prng.o
DMakefile78 rng = rng/$(RNG_OBJS) rng/rand_source.o rng/prng.o rng/ctr_prng.o
/external/webrtc/webrtc/modules/remote_bitrate_estimator/
Dbwe_simulations.cc244 Random prng(Clock::GetRealTimeClock()->TimeInMicroseconds()); in TEST_P() local
253 i * prng.Rand(39999))); in TEST_P()
/external/jemalloc/include/jemalloc/internal/
Djemalloc_internal.h.in363 #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/
Dsecurity-syntax-checks.m88 // <rdar://problem/6337100> CWE-338: Use of cryptographically weak prng
/external/google-tv-pairing-protocol/java/jar/
Dbcprov-jdk15-143.jarMETA-INF/MANIFEST.MF META-INF/BCKEY.SF META-INF/BCKEY ...
/external/bouncycastle/
Dbouncycastle.config31 org/bouncycastle/crypto/prng \