/external/compiler-rt/test/msan/ |
rand_r.cc | 9 unsigned seed; local 11 seed = 42; 13 int v = rand_r(&seed);
|
/external/e2fsprogs/lib/uuid/ |
gen_uuid_nt.c | 29 // OUT PUCHAR Seed // 6 bytes 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/boringssl/src/include/openssl/ |
rand.h | 103 void (*seed) (const void *buf, int num); member in struct:rand_meth_st
|
/external/compiler-rt/test/asan/TestCases/Posix/ |
halt_on_error-torture.cc | 32 void random_delay(unsigned *seed) { 33 *seed = 1664525 * *seed + 1013904223; 34 struct timespec delay = { 0, (*seed % 1000) * 1000 }; 39 unsigned seed = (unsigned)(size_t)arg; local 45 random_delay(&seed);
|
/external/guava/guava-tests/test/com/google/common/collect/ |
SpecialRandom.java | 22 * Utility class for being able to seed a {@link Random} value with a passed 23 * in seed from a benchmark parameter. 37 private final long seed; field in class:SpecialRandom 41 this.seed = 0; 44 public SpecialRandom(long seed) { 45 super(seed); 47 this.seed = seed; 51 return hasSeed ? "(seed:" + seed : "(default seed)" [all...] |
/external/libdrm/ |
xf86drmRandom.h | 34 unsigned long seed; member in struct:RandomState
|
/external/ltp/tools/pounder21/src/randacoords/ |
coords.c | 31 long seed; local 39 if (read(fp, &seed, sizeof(seed)) != sizeof(seed)) { 40 perror("read random seed"); 45 srand(seed);
|
/external/tpm2/ |
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/vixl/test/aarch64/ |
test-fuzz-aarch64.cc | 46 uint16_t seed[3] = {1, 2, 3}; local 47 seed48(seed); 64 uint16_t seed[3] = {42, 43, 44}; local 65 seed48(seed);
|
/libcore/ojluni/src/test/java/time/jdk/testlibrary/ |
RandomFactory.java | 30 * Factory class which generates and prints to STDOUT a long-valued seed 36 * Attempt to obtain the seed from the value of the "seed" property. 37 * @return The seed or {@code null} if the "seed" property was not set or 41 Long seed = null; local 46 seed = Long.valueOf(System.getProperty("seed")); 48 // do nothing: seed is still null 51 return seed; 72 Long seed = getSystemSeed(); local [all...] |
/system/core/libmemunreachable/ |
Leak.h | 32 std::size_t seed = 0; local 34 hash_combine(seed, key.num_frames); 36 hash_combine(seed, key.frames[i]); 39 return seed; 44 inline void hash_combine(std::size_t& seed, const T& v) const { 46 seed ^= hasher(v) + 0x9e3779b9 + (seed << 6) + (seed >> 2);
|
/external/boringssl/src/crypto/curve25519/ |
ed25519_test.cc | 61 uint8_t seed[32]; local 62 OPENSSL_memcpy(seed, private_key1, sizeof(seed)); 65 ED25519_keypair_from_seed(public_key2, private_key2, seed);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x9/ |
DHValidationParms.java | 17 private DERBitString seed; field in class:DHValidationParms 39 public DHValidationParms(DERBitString seed, ASN1Integer pgenCounter) 41 if (seed == null) 43 throw new IllegalArgumentException("'seed' cannot be null"); 50 this.seed = seed; 61 this.seed = DERBitString.getInstance(seq.getObjectAt(0)); 67 return this.seed; 78 v.add(this.seed);
|
ValidationParams.java | 18 * seed BIT STRING, 26 private DERBitString seed; field in class:ValidationParams 48 public ValidationParams(byte[] seed, int pgenCounter) 50 if (seed == null) 52 throw new IllegalArgumentException("'seed' cannot be null"); 55 this.seed = new DERBitString(seed); 59 public ValidationParams(DERBitString seed, ASN1Integer pgenCounter) 61 if (seed == null) 63 throw new IllegalArgumentException("'seed' cannot be null") [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/ |
DHValidationParameters.java | 7 private byte[] seed; field in class:DHValidationParameters 11 byte[] seed, 14 this.seed = seed; 25 return seed; 43 return Arrays.areEqual(this.seed, other.seed); 48 return counter ^ Arrays.hashCode(seed);
|
DSAValidationParameters.java | 8 private byte[] seed; field in class:DSAValidationParameters 12 byte[] seed, 15 this(seed, counter, -1); 19 byte[] seed, 23 this.seed = seed; 35 return seed; 45 return counter ^ Arrays.hashCode(seed); 63 return Arrays.areEqual(this.seed, other.seed); [all...] |
/external/fio/t/ |
axmap.c | 21 static int test_regular(size_t size, int seed) 32 lfsr_init(&lfsr, size, seed, seed & 0xF); 126 int seed = 1; local 131 seed = strtoul(argv[2], NULL, 10); 134 if (test_regular(size, seed))
|
lfsr-test.c | 16 printf("Usage: lfsr-test 0x<numbers> [seed] [spin] [verify]\n"); 19 "seed: initial value\n" 34 uint64_t seed = 0; local 46 case 3: seed = atol(argv[2]); 60 r = lfsr_init(fl, numbers, seed, spin); 72 printf("Seed is %lu\n", (unsigned long) fl->last_val);
|
/external/libopus/silk/ |
CNG.c | 40 opus_int32 *rand_seed /* I/O Seed to random index generator */ 43 opus_int32 seed; local 51 seed = *rand_seed; 53 seed = silk_RAND( seed ); 54 idx = (opus_int)( silk_RSHIFT( seed, 24 ) & exc_mask ); 59 *rand_seed = seed;
|
/external/owasp/sanitizer/src/tests/org/owasp/html/ |
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/ppp/pppd/ |
magic.c | 62 * Attempts to compute a random number seed which will not repeat. 69 long seed; local 73 seed = get_host_seed() ^ t.tv_sec ^ t.tv_usec ^ getpid(); 74 srand48(seed);
|
/external/v8/src/base/ |
functional.h | 70 V8_INLINE size_t hash_combine(size_t seed) { return seed; } 71 V8_BASE_EXPORT size_t hash_combine(size_t seed, size_t value); 80 size_t seed = 0; local 82 seed = hash_combine(seed, *first); 84 return seed;
|
/external/valgrind/memcheck/tests/ |
pdb-realloc2.c | 17 static UInt seed = 0; variable 21 seed = 1664525UL * seed + 1013904223UL; 22 return seed % size; 38 seed = 0; 73 seed = 0;
|
/external/valgrind/none/tests/amd64/ |
movbe.c | 26 static UInt seed = 80021; local 27 seed = 1103515245 * seed + 12345; 28 return (seed >> 17) & 0xFF;
|
/external/valgrind/none/tests/x86/ |
movbe.c | 26 static UInt seed = 80021; local 27 seed = 1103515245 * seed + 12345; 28 return (seed >> 17) & 0xFF;
|