HomeSort by relevance Sort by last modified time
    Searched full:prng (Results 1 - 25 of 118) sorted by null

1 2 3 4 5

  /system/update_engine/update_manager/
prng_unittest.cc 17 #include "update_engine/update_manager/prng.h"
28 PRNG a(42);
29 PRNG b(42);
37 PRNG a(42);
38 PRNG b(5);
51 PRNG prng(5);
53 uint32_t initial_value = prng.Rand();
56 if (prng.Rand() != initial_value) {
65 PRNG a(42)
    [all...]
prng.h 28 class PRNG {
31 explicit PRNG(uint32_t seed) : gen_(seed) {}
46 DISALLOW_COPY_AND_ASSIGN(PRNG);
random_provider.h 33 // random values are needed use a PRNG seeded with this value.
chromeos_policy.h 26 #include "update_engine/update_manager/prng.h"
151 static base::TimeDelta FuzzedInterval(PRNG* prng, int interval, int fuzz);
chromeos_policy.cc 607 PRNG prng(*seed);
612 &prng, kTimeoutInitialInterval, kTimeoutRegularFuzz);
657 &prng, interval, fuzz);
661 TimeDelta ChromeOSPolicy::FuzzedInterval(PRNG* prng, int interval, int fuzz) {
668 return TimeDelta::FromSeconds(prng->RandMinMax(interval_min, interval_max));
    [all...]
  /external/webrtc/webrtc/base/
random_unittest.cc 37 void UniformBucketTest(T bucket_count, int samples, Random* prng) {
54 sample = prng->Rand<T>();
67 Random prng(7297352569824ull);
68 UniformBucketTest<signed char>(64, 640000, &prng);
69 UniformBucketTest<signed char>(11, 440000, &prng);
70 UniformBucketTest<signed char>(3, 270000, &prng);
74 Random prng(7297352569824ull);
75 UniformBucketTest<unsigned char>(64, 640000, &prng);
76 UniformBucketTest<unsigned char>(11, 440000, &prng);
77 UniformBucketTest<unsigned char>(3, 270000, &prng);
    [all...]
  /external/srtp/crypto/include/
prng.h 2 * prng.h
20 * x917_prng is an ANSI X9.17-like AES-based PRNG
38 * ctr_prng is an AES-CTR based PRNG
  /external/webrtc/webrtc/call/
rtc_event_log_unittest.cc 303 Random* prng) {
320 csrcs.push_back(prng->Rand<uint32_t>());
323 rtp_sender.SetSSRC(prng->Rand<uint32_t>());
324 rtp_sender.SetStartTimestamp(prng->Rand<uint32_t>(), true);
325 rtp_sender.SetSequenceNumber(prng->Rand<uint16_t>());
333 int8_t payload_type = prng->Rand(0, 127);
334 bool marker_bit = prng->Rand<bool>();
335 uint32_t capture_timestamp = prng->Rand<uint32_t>();
336 int64_t capture_time_ms = prng->Rand<uint32_t>();
337 bool timestamp_provided = prng->Rand<bool>()
    [all...]
  /external/srtp/crypto/rng/
ctr_prng.c 46 #include "prng.h"
48 /* single, global prng structure */
81 * if we need to re-initialize the prng, do so now
93 * write prng output
prng.c 2 * prng.c
46 #include "prng.h"
48 /* single, global prng structure */
71 /* initialize prng state from random source */
87 * if we need to re-initialize the prng, do so now
  /external/llvm/lib/Transforms/Utils/
MetaRenamer.cpp 29 // This PRNG is from the ISO C spec. It is intentionally simple and
32 struct PRNG {
53 prng.srand(seed);
57 return metaNames[prng.rand() % array_lengthof(metaNames)];
60 PRNG prng; member in struct:__anon18096::Renamer
74 // Seed our PRNG with simple additive sum of ModuleID. We're looking to
  /external/conscrypt/src/main/java/org/conscrypt/
OpenSSLRandom.java 66 // increase the entropy of the OpenSSL PRNG.
76 * Obtains a seed from the Linux RNG and mixes it into the OpenSSL PRNG (default RAND engine).
78 * <p>NOTE: This modifies the OpenSSL PRNG shared by all instances of OpenSSLRandom and other
  /external/libdrm/tests/
random.c 1 /* xf86drmRandom.c -- "Minimal Standard" PRNG Implementation
31 * & Miller "Minimal Standard" PRNG [PM88, PMS93], which is a Lehmer
35 * This implementation is intended to provide a reliable, portable PRNG
41 * If initial seeds are not selected randomly, two instances of the PRNG
  /external/libdrm/
xf86drmRandom.c 1 /* xf86drmRandom.c -- "Minimal Standard" PRNG Implementation
31 * & Miller "Minimal Standard" PRNG [PM88, PMS93], which is a Lehmer
35 * This implementation is intended to provide a reliable, portable PRNG
41 * If initial seeds are not selected randomly, two instances of the PRNG
  /external/opencv3/3rdparty/include/ffmpeg_/libavutil/
random_seed.h 35 * PRNG. The quality of the seed depends on the platform.
lfg.h 2 * Lagged Fibonacci PRNG
  /external/jemalloc/include/jemalloc/internal/
prng.h 7 * prng(y) = (a*x + c) % m
  /external/srtp/
Android.mk 21 crypto/rng/prng.c \
srtp7.vcproj 136 RelativePath=".\crypto\rng\prng.c">
265 RelativePath=".\crypto\include\prng.h">
  /external/jcommander/src/test/java/com/beust/jcommander/
VariableArityTest.java 30 @Parameter(names = { "--seed" }, description = "Seed used for PRNG [0 means don't use a Seed]")
  /external/jemalloc/android/test/
run_jemalloc_tests.sh 34 "prng" \
  /external/v8/test/mjsunit/
random-bit-correlations.js 24 // The predicted bit is one of the bits from the PRNG.
  /external/libvpx/libvpx/test/
convolve_test.cc 392 ::libvpx_test::ACMRandom prng; local
400 input_[i] = prng.Rand8Extremes();
402 input16_[i] = prng.Rand16() & mask_;
764 ::libvpx_test::ACMRandom prng; local
770 r = prng.Rand8Extremes();
772 r = prng.Rand16() & mask_;
775 r = prng.Rand8Extremes();
846 ::libvpx_test::ACMRandom prng; local
852 r = prng.Rand8Extremes();
854 r = prng.Rand16() & mask_
    [all...]
  /external/v8/src/js/
math.js 13 // The first two slots are reserved to persist PRNG state.
43 // first two elements are reserved for the PRNG state.
  /external/v8/test/cctest/
test-random-number-generator.cc 63 // Test for correlations between recent bits from the PRNG, or bits that are
83 // The predicted bit is one of the bits from the PRNG.

Completed in 2229 milliseconds

1 2 3 4 5