/external/webp/src/enc/ |
histogram.c | 243 static uint32_t MyRand(uint32_t *seed) { 244 *seed *= 16807U; 245 if (*seed == 0) { 246 *seed = 1; 248 return *seed; 256 uint32_t seed = 0; local 279 seed += iter; 283 const uint32_t idx1 = MyRand(&seed) % out_size; 285 const uint32_t diff = (tmp < 3) ? tmp : MyRand(&seed) % (out_size - 1);
|
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
ConnectionStateTLS.java | 114 byte[] seed = new byte[clientRandom.length + serverRandom.length]; 115 System.arraycopy(serverRandom, 0, seed, 0, serverRandom.length); 116 System.arraycopy(clientRandom, 0, seed, serverRandom.length, 120 KEY_EXPANSION_LABEL, seed); 141 seed, 0, clientRandom.length); 143 seed, clientRandom.length, serverRandom.length); 149 CLIENT_WRITE_KEY_LABEL, seed); 151 SERVER_WRITE_KEY_LABEL, seed); 156 PRF.computePRF(iv_block, null, IV_BLOCK_LABEL, seed);
|
/external/wpa_supplicant_8/src/tls/ |
tlsv1_client.c | 53 u8 seed[2 * TLS_RANDOM_LEN]; local 61 os_memcpy(seed, conn->client_random, TLS_RANDOM_LEN); 62 os_memcpy(seed + TLS_RANDOM_LEN, conn->server_random, 66 "master secret", seed, 2 * TLS_RANDOM_LEN, 76 os_memcpy(seed, conn->server_random, TLS_RANDOM_LEN); 77 os_memcpy(seed + TLS_RANDOM_LEN, conn->client_random, TLS_RANDOM_LEN); 83 "key expansion", seed, 2 * TLS_RANDOM_LEN, 511 * @server_random_first: seed is 0 = client_random|server_random, 520 u8 seed[2 * TLS_RANDOM_LEN]; local 526 os_memcpy(seed, conn->server_random, TLS_RANDOM_LEN) [all...] |
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/spec/ |
EllipticCurve_ImplTest.java | 78 // test case 5: not equal objects - both seed not null 89 // test case 6: not equal objects - one seed is null
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/ec/ |
EC5Util.java | 19 byte[] seed) 21 // TODO: the Sun EC implementation doesn't currently handle the seed properly
|
/external/openssh/openbsd-compat/ |
openssl-compat.c | 107 DSA_generate_parameters_ex(DSA *dsa, int bits, const unsigned char *seed, 114 new_dsa = DSA_generate_parameters(bits, (unsigned char *)seed, seed_len,
|
/external/openssl/crypto/dsa/ |
fips186a.txt | 13 generation standard described in appendix 2 using the 160-bit SEED: 17 With this SEED, the algorithm found p and q when the counter was at 105.
|
dsagen.c | 72 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/regex-re2/re2/testing/ |
random_test.cc | 11 DEFINE_int32(regexpseed, 404, "Random regexp seed."); 13 DEFINE_int32(stringseed, 200, "Random string seed.");
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/i686-linux/include/c++/4.6.x-google/bits/ |
random.h | 191 * generator engine with seed @p __s. The default seed value 194 * @param __s The initial seed value. 198 { seed(__s); } 202 * generator engine seeded from the seed sequence @p __q. 204 * @param __q the seed sequence. 211 { seed(__q); } 215 * engine sequence to the seed @p __s. 217 * @param __s The new seed. 220 seed(result_type __s = default_seed) [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/x86_64-linux/include/c++/4.6.x-google/bits/ |
random.h | 191 * generator engine with seed @p __s. The default seed value 194 * @param __s The initial seed value. 198 { seed(__s); } 202 * generator engine seeded from the seed sequence @p __q. 204 * @param __q the seed sequence. 211 { seed(__q); } 215 * engine sequence to the seed @p __s. 217 * @param __s The new seed. 220 seed(result_type __s = default_seed) [all...] |
/prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.6/include/bits/ |
random.h | 191 * generator engine with seed @p __s. The default seed value 194 * @param __s The initial seed value. 198 { seed(__s); } 202 * generator engine seeded from the seed sequence @p __q. 204 * @param __q the seed sequence. 211 { seed(__q); } 215 * engine sequence to the seed @p __s. 217 * @param __s The new seed. 220 seed(result_type __s = default_seed) [all...] |
/prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.7/include/bits/ |
random.h | 196 * generator engine with seed @p __s. The default seed value 199 * @param __s The initial seed value. 203 { seed(__s); } 207 * generator engine seeded from the seed sequence @p __q. 209 * @param __q the seed sequence. 216 { seed(__q); } 220 * engine sequence to the seed @p __s. 222 * @param __s The new seed. 225 seed(result_type __s = default_seed) [all...] |
/external/webrtc/src/common_audio/signal_processing/include/ |
signal_processing_library.h | 344 WebRtc_UWord32 WebRtcSpl_IncreaseSeed(WebRtc_UWord32* seed); 345 WebRtc_Word16 WebRtcSpl_RandU(WebRtc_UWord32* seed); 346 WebRtc_Word16 WebRtcSpl_RandN(WebRtc_UWord32* seed); 349 WebRtc_UWord32* seed); [all...] |
/external/freetype/src/psaux/ |
psobjs.h | 204 FT_UShort seed );
|
/external/openssl/crypto/rand/ |
rand_lib.c | 149 if (meth && meth->seed) 150 meth->seed(buf,num); 190 /* Entropy gatherer: use standard OpenSSL PRNG to seed (this will gather 247 RAND_SSLeay()->seed(in, inlen);
|
/external/v8/src/ |
v8.cc | 134 // Initialize seed using the system random(). 135 // No non-zero seed will ever become zero again. 160 ByteArray* seed = context->random_seed(); local 161 return random_base(reinterpret_cast<uint32_t*>(seed->GetDataStartAddress()));
|
/external/webkit/Source/WebCore/svg/ |
SVGFETurbulenceElement.idl | 46 readonly attribute SVGAnimatedNumber seed;
|
/external/bison/lib/ |
stdlib.in.h | 548 _GL_FUNCDECL_SYS (srandom, void, (unsigned int seed)); 550 _GL_CXXALIAS_SYS (srandom, void, (unsigned int seed)); 563 (unsigned int seed, char *buf, size_t buf_size) 567 (unsigned int seed, char *buf, size_t buf_size)); 624 (unsigned int seed, struct random_data *rand_state) 627 (unsigned int seed, struct random_data *rand_state)); 631 (unsigned int seed, struct random_data *rand_state) 635 (unsigned int seed, struct random_data *rand_state)); 653 (unsigned int seed, char *buf, size_t buf_size, 657 (unsigned int seed, char *buf, size_t buf_size [all...] |
/external/llvm/lib/Transforms/Utils/ |
MetaRenamer.cpp | 35 void srand(unsigned int seed) { 36 next = seed; 62 // Seed our PRNG with simple additive sum of ModuleID. We're looking to
|
/external/skia/tests/ |
ChecksumTest.cpp | 98 // for every call, based on 'seed'. 99 checksum_result GetTestDataChecksum(size_t len, char seed=0) { 104 *ptr++ = ((seed+i) & 0x7f);
|
/external/valgrind/unittest/ |
old_test_suite.cc | 64 RandomGenerator(int seed) { srand(seed); } 151 printf("Shuffling with seed = %i\n", shuffle_seed);
|
/external/chromium/testing/gtest/test/ |
gtest_shuffle_test.py | 262 # Get the test lists in all 3 iterations, using random seed 1, 2, 263 # and 3 respectively. Google Test picks a different seed in each 271 # Make sure running the tests with random seed 1 gets the same 277 # Make sure running the tests with random seed 2 gets the same 285 # Make sure running the tests with random seed 3 gets the same
|
/external/gtest/test/ |
gtest_shuffle_test.py | 262 # Get the test lists in all 3 iterations, using random seed 1, 2, 263 # and 3 respectively. Google Test picks a different seed in each 271 # Make sure running the tests with random seed 1 gets the same 277 # Make sure running the tests with random seed 2 gets the same 285 # Make sure running the tests with random seed 3 gets the same
|
/external/libvpx/libvpx/third_party/googletest/src/test/ |
gtest_shuffle_test.py | 262 # Get the test lists in all 3 iterations, using random seed 1, 2, 263 # and 3 respectively. Google Test picks a different seed in each 271 # Make sure running the tests with random seed 1 gets the same 277 # Make sure running the tests with random seed 2 gets the same 285 # Make sure running the tests with random seed 3 gets the same
|