HomeSort by relevance Sort by last modified time
    Searched refs:seed (Results 1 - 25 of 419) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /frameworks/av/media/libstagefright/codecs/amrwb/src/
noise_gen_amrwb.cpp 47 int16 * seed seed for the random ng
112 int16 noise_gen_amrwb(int16 * seed)
114 /* int16 seed = 21845; */
115 *seed = (int16)fxp_mac_16by16(*seed, 31821, 13849L);
117 return (*seed);
  /frameworks/av/media/libstagefright/codecs/amrwbenc/src/
random.c 27 Word16 Random(Word16 * seed)
29 /* static Word16 seed = 21845; */
30 *seed = (Word16)(L_add((L_mult(*seed, 31821) >> 1), 13849L));
31 return (*seed);
  /external/webkit/Source/WebKit/chromium/tests/
TreeTestHelpers.cpp 38 // A seed of 1 has the special behavior of resetting the random
41 int32_t seed; local
43 seed = static_cast<int32_t>(currentTime());
44 } while (seed <= 1);
45 return seed;
48 void initRandom(const int32_t seed)
50 srand(seed);
  /external/webrtc/src/common_audio/signal_processing/
randomization_functions.c 92 WebRtc_UWord32 WebRtcSpl_IncreaseSeed(WebRtc_UWord32 *seed)
94 seed[0] = (seed[0] * ((WebRtc_Word32)69069) + 1) & (WEBRTC_SPL_MAX_SEED_USED - 1);
95 return seed[0];
98 WebRtc_Word16 WebRtcSpl_RandU(WebRtc_UWord32 *seed)
100 return (WebRtc_Word16)(WebRtcSpl_IncreaseSeed(seed) >> 16);
103 WebRtc_Word16 WebRtcSpl_RandN(WebRtc_UWord32 *seed)
105 return kRandNTable[WebRtcSpl_IncreaseSeed(seed) >> 23];
111 WebRtc_UWord32* seed)
116 vector[i] = WebRtcSpl_RandU(seed);
    [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 7 private byte[] seed; field in class:DSAValidationParameters
11 byte[] seed,
14 this.seed = seed;
25 return seed;
30 return counter ^ Arrays.hashCode(seed);
48 return Arrays.areEqual(this.seed, other.seed);
ECDomainParameters.java 13 byte[] seed; field in class:ECDomainParameters
27 this.seed = null;
40 this.seed = null;
48 byte[] seed)
54 this.seed = seed;
79 return seed;
  /external/libvpx/libvpx/test/
acm_random.h 26 explicit ACMRandom(int seed) {
27 Reset(seed);
30 void Reset(int seed) {
31 srand(seed);
  /external/regex-re2/util/
random.h 17 ACMRandom(int32 seed) : seed_(seed) {}
21 void Reset(int32 seed) { seed_ = seed; }
  /external/elfutils/lib/
next_prime.c 77 next_prime (size_t seed)
80 seed |= 1;
82 while (!is_prime (seed))
83 seed += 2;
85 return seed;
  /external/wpa_supplicant_8/src/crypto/
fips_prf_cryptoapi.c 15 int fips186_2_prf(const u8 *seed, size_t seed_len, u8 *x, size_t xlen)
fips_prf_gnutls.c 16 int fips186_2_prf(const u8 *seed, size_t seed_len, u8 *x, size_t xlen)
fips_prf_nss.c 16 int fips186_2_prf(const u8 *seed, size_t seed_len, u8 *x, size_t xlen)
  /bionic/libc/upstream-netbsd/libc/stdlib/
srand48.c 29 srand48(long seed)
32 __rand48_seed[1] = (unsigned short) seed;
33 __rand48_seed[2] = (unsigned short) ((unsigned long)seed >> 16);
  /external/webkit/Source/JavaScriptCore/runtime/
WeakRandom.h 60 WeakRandom(unsigned seed)
61 : m_low(seed ^ 0x49616E42)
62 , m_high(seed)
  /libcore/luni/src/main/java/org/apache/harmony/security/provider/crypto/
SHA1PRNG_SecureRandomImpl.java 80 // MAX_BYTES - maximum # of seed bytes processing which doesn't require extra frame
81 // see (1) comments on usage of "seed" array below and
106 // Structure of "seed" array:
109 // - 81 - # of seed bytes in current seed frame
110 // - 82-86 - 5 words, current seed hash
111 private transient int[] seed; field in class:SHA1PRNG_SecureRandomImpl
113 // total length of seed bytes, including all processed
117 // - 0-4 - 5 words, copy of current seed hash
135 // The "seed" array is used to compute both "current seed hash" and "next bytes"
    [all...]
  /external/openfst/src/test/
algo_test.cc 36 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);
    [all...]
  /libcore/luni/src/main/java/java/security/spec/
EllipticCurve.java 39 private final byte[] seed; field in class:EllipticCurve
46 * coefficients and seed.
54 * @param seed
55 * the seed used for the generation of the curve.
59 public EllipticCurve(ECField field, BigInteger a, BigInteger b, byte[] seed) {
73 if (seed == null) {
74 this.seed = null;
76 this.seed = new byte[seed.length];
77 System.arraycopy(seed, 0, this.seed, 0, this.seed.length)
    [all...]
  /external/apache-http/src/org/apache/http/util/
LangUtils.java 51 public static int hashCode(final int seed, final int hashcode) {
52 return seed * HASH_OFFSET + hashcode;
55 public static int hashCode(final int seed, final boolean b) {
56 return hashCode(seed, b ? 1 : 0);
59 public static int hashCode(final int seed, final Object obj) {
60 return hashCode(seed, obj != null ? obj.hashCode() : 0);
  /external/e2fsprogs/lib/uuid/
gen_uuid_nt.c 28 // OUT PUCHAR Seed // 6 bytes
48 void* seed // 6 bytes
85 unsigned char seed[6]; local
86 ((NtAllocateUuids_2000)NtAllocateUuids)(out, ((char*)out)+8, ((char*)out)+12, &seed[0] );
  /libcore/luni/src/main/java/java/util/
Random.java 26 * <p>It is dangerous to seed {@code Random} with the current time because
27 * that value is more predictable to an attacker than the default seed.
49 private long seed; field in class:Random
62 * <p>The initial state (that is, the seed) is <i>partially</i> based
71 * Construct a random generator with the given {@code seed} as the
72 * initial state. Equivalent to {@code Random r = new Random(); r.setSeed(seed);}.
77 public Random(long seed) {
78 setSeed(seed);
90 seed = (seed * multiplier + 0xbL) & ((1L << 48) - 1)
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x9/
DHValidationParms.java 14 private DERBitString seed; field in class:DHValidationParms
37 public DHValidationParms(DERBitString seed, ASN1Integer pgenCounter)
39 if (seed == null)
41 throw new IllegalArgumentException("'seed' cannot be null");
48 this.seed = seed;
59 this.seed = DERBitString.getInstance(seq.getObjectAt(0));
65 return this.seed;
76 v.add(this.seed);
  /external/chromium/third_party/libjingle/source/talk/base/
helpers.h 40 bool InitRandom(int seed);
41 bool InitRandom(const char* seed, size_t len);
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/spec/
ECParameterSpec.java 16 private byte[] seed; field in class:ECParameterSpec
30 this.seed = null;
43 this.seed = null;
51 byte[] seed)
57 this.seed = seed;
97 * return the seed used to generate this curve (if available).
98 * @return the random seed
102 return seed;
  /external/guava/guava/src/com/google/common/hash/
Murmur3_32HashFunction.java 30 private final int seed; field in class:Murmur3_32HashFunction
32 Murmur3_32HashFunction(int seed) {
33 this.seed = seed;
41 return new Murmur3_32Hasher(seed);
50 Murmur3_32Hasher(int seed) {
52 h1 = seed;

Completed in 652 milliseconds

1 2 3 4 5 6 7 8 91011>>