Home
last modified time | relevance | path

Searched refs:prng (Results 1 – 13 of 13) 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.cc420 ::libvpx_test::ACMRandom prng; in SetUp()
428 input_[i] = prng.Rand8Extremes(); in SetUp()
430 input16_[i] = prng.Rand16() & mask_; in SetUp()
728 ::libvpx_test::ACMRandom prng; in TEST_P()
734 r = prng.Rand8Extremes(); in TEST_P()
736 r = prng.Rand16() & mask_; in TEST_P()
739 r = prng.Rand8Extremes(); in TEST_P()
807 ::libvpx_test::ACMRandom prng; in TEST_P()
813 r = prng.Rand8Extremes(); in TEST_P()
815 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.bp118 "src/prng.c",
221 "test/unit/prng.c",
DMakefile.in102 $(srcroot)src/prng.c \
172 $(srcroot)test/unit/prng.c \
DChangeLog39 - Refactor atomic and prng APIs to restore support for 32-bit platforms that
/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.in373 #include "jemalloc/internal/prng.h"
406 #include "jemalloc/internal/prng.h"
509 #include "jemalloc/internal/prng.h"
542 #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 \