Searched defs:seed (Results 51 - 75 of 350) sorted by relevance

1234567891011>>

/external/chromium_org/v8/test/mjsunit/
H A Dunicodelctest.js56 var seed = 49734321; variable
62 seed = ((seed + 0x7ed55d16) + (seed << 12)) & 0xffffffff;
63 seed = ((seed ^ 0xc761c23c) ^ (seed >>> 19)) & 0xffffffff;
64 seed = ((seed + 0x165667b1) + (seed <<
[all...]
/external/compiler-rt/lib/tsan/tests/unit/
H A Dtsan_sync_test.cc34 unsigned seed = 0; local
36 uintptr_t addr = rand_r(&seed) % (kRange - 1) + 1;
37 if (rand_r(&seed) % 2) {
/external/dropbear/libtomcrypt/src/pk/pkcs1/
H A Dpkcs_1_mgf1.c22 @param seed The seed for MGF1
23 @param seedlen The length of the seed
30 const unsigned char *seed, unsigned long seedlen,
39 LTC_ARGCHK(seed != NULL);
71 /* get hash of seed || counter */
75 if ((err = hash_descriptor[hash_idx].process(md, seed, seedlen)) != CRYPT_OK) {
29 pkcs_1_mgf1(int hash_idx, const unsigned char *seed, unsigned long seedlen, unsigned char *mask, unsigned long masklen) argument
/external/guava/guava-tests/test/com/google/common/hash/
H A DMurmur3Hash128Test.java54 private static void assertHash(int seed, byte[] expectedHash, byte[] input) { argument
55 byte[] hash = murmur3_128(seed).newHasher().putBytes(input).hash().asBytes();
61 @Override public byte[] hash(byte[] input, int seed) {
62 Hasher hasher = murmur3_128(seed).newHasher();
/external/libvpx/libvpx/test/
H A Dacm_random.h24 explicit ACMRandom(int seed) : random_(seed) {} argument
26 void Reset(int seed) { argument
27 random_.Reseed(seed);
/external/openfst/src/include/fst/script/
H A Drandequivalent.h57 int32 seed = args->args.arg3; local
60 UniformArcSelector<Arc> arc_selector(seed);
67 FastLogProbArcSelector<Arc> arc_selector(seed);
74 LogProbArcSelector<Arc> arc_selector(seed);
86 int32 seed = time(0),
94 int32 seed,
H A Drandgen.h40 int32 seed = args->arg3; local
44 UniformArcSelector<Arc> arc_selector(seed);
50 FastLogProbArcSelector<Arc> arc_selector(seed);
56 LogProbArcSelector<Arc> arc_selector(seed);
66 void RandGen(const FstClass &ifst, MutableFstClass *ofst, int32 seed = time(0),
/external/openfst/src/test/
H A Dalgo_test.cc36 DEFINE_int32(seed, -1, "random seed");
73 int seed = FLAGS_seed >= 0 ? FLAGS_seed : time(0); local
74 srand(seed);
75 LOG(INFO) << "Seed = " << seed;
83 TropicalWeightGenerator tropical_generator(seed, false);
85 tropical_tester(tropical_generator, seed);
90 LogWeightGenerator log_generator(seed, false);
92 log_tester(log_generator, seed);
97 MinMaxWeightGenerator minmax_generator(seed, fals
[all...]
/external/openssl/crypto/dsa/
H A Ddsagen.c72 unsigned char seed[20]={ variable
105 memcpy(seed_buf,seed,20);
106 dsa=DSA_generate_parameters(1024,seed,20,&counter,&h,cb,bio_err);
/external/openssl/crypto/rand/
H A Drand.h83 void (*seed)(const void *buf, int num); member in struct:rand_meth_st
/external/openssl/include/openssl/
H A Drand.h83 void (*seed)(const void *buf, int num); member in struct:rand_meth_st
/external/ppp/pppd/
H A Dmagic.c62 * 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/regex-re2/re2/testing/
H A Dstring_generator.cc96 void StringGenerator::Random(int32 seed, int n) { argument
98 acm_ = new ACMRandom(seed);
100 acm_->Reset(seed);
/external/valgrind/main/memcheck/tests/
H A Dpdb-realloc2.c17 static UInt seed = 0; variable
21 seed = 1664525UL * seed + 1013904223UL;
22 return seed % size;
38 seed = 0;
73 seed = 0;
/external/valgrind/main/none/tests/amd64/
H A Dmovbe.c26 static UInt seed = 80021; local
27 seed = 1103515245 * seed + 12345;
28 return (seed >> 17) & 0xFF;
/external/wpa_supplicant_8/hostapd/src/crypto/
H A Dfips_prf_internal.c17 int fips186_2_prf(const u8 *seed, size_t seed_len, u8 *x, size_t xlen) argument
32 os_memcpy(xkey, seed, seed_len);
H A Dsha1-tprf.c20 * @seed: Seed value to bind into the key
21 * @seed_len: Length of the seed
30 const u8 *seed, size_t seed_len, u8 *buf, size_t buf_len)
44 addr[2] = seed;
29 sha1_t_prf(const u8 *key, size_t key_len, const char *label, const u8 *seed, size_t seed_len, u8 *buf, size_t buf_len) argument
H A Dsha256-tlsprf.c20 * @seed: Seed value to bind into the key
21 * @seed_len: Length of the seed
30 const u8 *seed, size_t seed_len, u8 *out, size_t outlen)
43 addr[2] = seed;
48 * A(0) = seed, A(i) = HMAC(secret, A(i-1))
49 * P_hash = HMAC(secret, A(1) + seed) + HMAC(secret, A(2) + seed) + ..
50 * PRF(secret, label, seed) = P_SHA256(secret, label + seed)
29 tls_prf_sha256(const u8 *secret, size_t secret_len, const char *label, const u8 *seed, size_t seed_len, u8 *out, size_t outlen) argument
/external/wpa_supplicant_8/src/crypto/
H A Dfips_prf_internal.c17 int fips186_2_prf(const u8 *seed, size_t seed_len, u8 *x, size_t xlen) argument
32 os_memcpy(xkey, seed, seed_len);
H A Dsha1-tprf.c20 * @seed: Seed value to bind into the key
21 * @seed_len: Length of the seed
30 const u8 *seed, size_t seed_len, u8 *buf, size_t buf_len)
44 addr[2] = seed;
29 sha1_t_prf(const u8 *key, size_t key_len, const char *label, const u8 *seed, size_t seed_len, u8 *buf, size_t buf_len) argument
H A Dsha256-tlsprf.c20 * @seed: Seed value to bind into the key
21 * @seed_len: Length of the seed
30 const u8 *seed, size_t seed_len, u8 *out, size_t outlen)
43 addr[2] = seed;
48 * A(0) = seed, A(i) = HMAC(secret, A(i-1))
49 * P_hash = HMAC(secret, A(1) + seed) + HMAC(secret, A(2) + seed) + ..
50 * PRF(secret, label, seed) = P_SHA256(secret, label + seed)
29 tls_prf_sha256(const u8 *secret, size_t secret_len, const char *label, const u8 *seed, size_t seed_len, u8 *out, size_t outlen) argument
/external/wpa_supplicant_8/wpa_supplicant/src/crypto/
H A Dfips_prf_internal.c17 int fips186_2_prf(const u8 *seed, size_t seed_len, u8 *x, size_t xlen) argument
32 os_memcpy(xkey, seed, seed_len);
H A Dsha1-tprf.c20 * @seed: Seed value to bind into the key
21 * @seed_len: Length of the seed
30 const u8 *seed, size_t seed_len, u8 *buf, size_t buf_len)
44 addr[2] = seed;
29 sha1_t_prf(const u8 *key, size_t key_len, const char *label, const u8 *seed, size_t seed_len, u8 *buf, size_t buf_len) argument
H A Dsha256-tlsprf.c20 * @seed: Seed value to bind into the key
21 * @seed_len: Length of the seed
30 const u8 *seed, size_t seed_len, u8 *out, size_t outlen)
43 addr[2] = seed;
48 * A(0) = seed, A(i) = HMAC(secret, A(i-1))
49 * P_hash = HMAC(secret, A(1) + seed) + HMAC(secret, A(2) + seed) + ..
50 * PRF(secret, label, seed) = P_SHA256(secret, label + seed)
29 tls_prf_sha256(const u8 *secret, size_t secret_len, const char *label, const u8 *seed, size_t seed_len, u8 *out, size_t outlen) argument
/external/apache-http/src/org/apache/http/util/
H A DLangUtils.java51 public static int hashCode(final int seed, final int hashcode) { argument
52 return seed * HASH_OFFSET + hashcode;
55 public static int hashCode(final int seed, final boolean b) { argument
56 return hashCode(seed, b ? 1 : 0);
59 public static int hashCode(final int seed, final Object obj) { argument
60 return hashCode(seed, obj != null ? obj.hashCode() : 0);

Completed in 3177 milliseconds

1234567891011>>