/external/compiler-rt/test/msan/ |
H A D | rand_r.cc | 9 unsigned seed; local 11 seed = 42; 13 int v = rand_r(&seed);
|
/external/e2fsprogs/lib/uuid/ |
H A D | gen_uuid_nt.c | 49 void* seed // 6 bytes 86 unsigned char seed[6]; local 87 ((NtAllocateUuids_2000)NtAllocateUuids)(out, ((char*)out)+8, ((char*)out)+12, &seed[0] );
|
/external/aac/libAACdec/src/ |
H A D | usacdec_lpd.h | 184 * \param[in,out] seed pointer to random seed 190 int UsacRandomSign(ULONG *seed) { argument 191 *seed = (ULONG)((UINT64)(*seed) * 69069 + 5); 193 return (int)((*seed) & 0x10000);
|
/external/elfutils/lib/ |
H A D | next_prime.c | 57 next_prime (size_t seed) argument 60 seed |= 1; 62 while (!is_prime (seed)) 63 seed += 2; 65 return seed;
|
/external/tensorflow/tensorflow/core/ops/ |
H A D | stateless_random_ops.cc | 25 // Check seed shape 26 ShapeHandle seed; local 27 TF_RETURN_IF_ERROR(context->WithRank(context->input(1), 1, &seed)); 29 TF_RETURN_IF_ERROR(context->WithValue(context->Dim(seed, 0), 2, &unused)); 41 .Input("seed: Tseed") \
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/random/ |
H A D | JDKRandomGenerator.java | 34 public void setSeed(int seed) { argument 35 setSeed((long) seed); 39 public void setSeed(int[] seed) { argument 44 for (int s : seed) {
|
/external/autotest/client/site_tests/kernel_PerfEventRename/src/ |
H A D | perf-rename-test.c | 14 static int do_something(int seed, unsigned int loops) { argument 17 seed ^= i; 18 seed = (seed << 1) ^ (i & 0x80000000 ? 0x04C11DB7 : 0);
|
/external/boringssl/include/openssl/ |
H A D | rand.h | 103 void (*seed) (const void *buf, int num); member in struct:rand_meth_st
|
/external/boringssl/src/crypto/curve25519/ |
H A D | ed25519_test.cc | 73 uint8_t seed[32]; local 74 OPENSSL_memcpy(seed, private_key1, sizeof(seed)); 77 ED25519_keypair_from_seed(public_key2, private_key2, seed);
|
/external/boringssl/src/include/openssl/ |
H A D | rand.h | 103 void (*seed) (const void *buf, int num); member in struct:rand_meth_st
|
/external/conscrypt/common/src/main/java/org/conscrypt/ |
H A D | OpenSSLRandom.java | 32 protected void engineSetSeed(byte[] seed) { argument 33 if (seed == null) { 34 throw new NullPointerException("seed == null");
|
/external/dagger2/core/src/test/java/dagger/internal/ |
H A D | MapProviderFactoryTest.java | 77 private static Provider<Integer> incrementingIntegerProvider(int seed) { argument 78 final AtomicInteger value = new AtomicInteger(seed);
|
/external/deqp/framework/randomshaders/ |
H A D | rsgTest.cpp | 37 void runTest (deUint32 seed) argument 39 printf("Seed: %d\n", seed); 46 programParams.seed = seed; 62 de::Random rnd(seed); 72 string fileName = string("test-") + de::toString(seed) + ".png"; 86 for (int seed = 0; seed < 10; seed++) 87 runTest(seed); [all...] |
/external/libdrm/tests/ |
H A D | random.c | 80 static void check_period(unsigned long seed) argument 86 state = drmRandomCreate(seed); 92 printf("With seed of %10lu, period = %10lu (0x%08lx)\n", 93 seed, count, count);
|
/external/libdrm/ |
H A D | xf86drmRandom.c | 82 void *drmRandomCreate(unsigned long seed) argument 103 state->seed = seed; 106 if (state->seed <= 0) state->seed = 1; 107 if (state->seed >= state->m) state->seed = state->m - 1; 124 hi = s->seed / s->q; 125 lo = s->seed % s->q; 126 s->seed [all...] |
H A D | xf86drmRandom.h | 34 unsigned long seed; member in struct:RandomState
|
/external/ltp/tools/pounder21/src/randacoords/ |
H A D | coords.c | 31 long seed; local 39 if (read(fp, &seed, sizeof(seed)) != sizeof(seed)) { 40 perror("read random seed"); 45 srand(seed);
|
/external/owasp/sanitizer/src/tests/org/owasp/html/ |
H A D | FuzzyTestCase.java | 36 * A testcase that has a random seed. 38 * If you see a failure, please report it along with the seed from the output. 39 * If you want to repeat a failure, set the system property "junit.seed". 45 protected long seed = System.currentTimeMillis(); field in class:FuzzyTestCase 47 String seedStr = System.getProperty("junit.seed"); 50 seed = Long.parseLong(seedStr); 66 rnd = new Random(seed);
|
/external/skia/src/core/ |
H A D | SkOpts.h | 53 extern uint32_t (*hash_fn)(const void*, size_t, uint32_t seed); 54 static inline uint32_t hash(const void* data, size_t bytes, uint32_t seed=0) { argument 55 return hash_fn(data, bytes, seed);
|
/external/skqp/src/core/ |
H A D | SkOpts.h | 53 extern uint32_t (*hash_fn)(const void*, size_t, uint32_t seed); 54 static inline uint32_t hash(const void* data, size_t bytes, uint32_t seed=0) { argument 55 return hash_fn(data, bytes, seed);
|
/external/syslinux/gpxe/src/crypto/ |
H A D | crc32.c | 30 * @v seed Initial value 34 * Usually @a seed is initially zero or all one bits, depending on the 36 * return value from one call as the @a seed parameter to the next. 38 u32 crc32_le ( u32 seed, const void *data, size_t len ) argument 40 u32 crc = seed;
|
/external/tensorflow/tensorflow/core/util/ |
H A D | guarded_philox_random.cc | 22 // Grab seed Attrs. 23 int64 seed, seed2; local 24 auto status = context->GetAttr("seed", &seed); 30 Init(seed, seed2); 34 void GuardedPhiloxRandom::Init(int64 seed, int64 seed2) { argument 36 if (seed == 0 && seed2 == 0) { 38 seed = random::New64(); 42 generator_ = random::PhiloxRandom(seed, seed2);
|
/external/tensorflow/tensorflow/stream_executor/ |
H A D | rng.cc | 24 bool RngSupport::CheckSeed(const uint8 *seed, uint64 seed_bytes) { argument 25 CHECK(seed != nullptr); 28 LOG(INFO) << "Insufficient RNG seed data specified: " << seed_bytes 35 LOG(INFO) << "Too much RNG seed data specified: " << seed_bytes
|
/external/tpm2/ |
H A D | Hierarchy.c | 142 // This function returns the primary seed of a hierarchy. 149 TPM2B_SEED *seed = NULL; local 153 seed = &gp.PPSeed; 156 seed = &gp.SPSeed; 159 seed = &gp.EPSeed; 167 return seed;
|
/external/v8/src/base/ |
H A D | functional.cc | 71 size_t hash_combine(size_t seed, size_t value) { argument 80 seed ^= value; 81 seed = bits::RotateRight32(seed, 13); 82 seed = seed * 5 + 0xe6546b64; 91 seed ^= value; 92 seed *= m; 94 return seed;
|