HomeSort by relevance Sort by last modified time
    Searched defs:seed (Results 101 - 125 of 296) sorted by null

1 2 3 45 6 7 8 91011>>

  /external/chromium_org/third_party/leveldatabase/src/db/
skiplist_test.cc 349 const int seed = test::RandomSeed() + (run * 100); local
350 Random rnd(seed);
357 TestState state(seed + 1);
  /external/compiler-rt/lib/sanitizer_common/
sanitizer_stackdepot.cc 27 const u32 seed = 0x9747b28c; local
29 u32 h = seed ^ (size * sizeof(uptr));
  /external/deqp/modules/gles3/stress/
es3sLongRunningShaderTests.cpp 263 const deUint32 seed = deStringHash(params.name) local
270 return seed;
  /external/dnsmasq/src/
util.c 48 static uint32 seed[32]; variable
57 !read_write(fd, (unsigned char *)&seed, sizeof(seed), 1) ||
59 die(_("failed to seed the random number generator: %s"), NULL, EC_MISC);
65 #define MUSH(i,b) x = t[i] += (((x ^ seed[i]) + sum) ^ ROTATE(x,b));
72 for (i = 0;i < 12;++i) t[i] = in[i] ^ seed[12 + i];
73 for (i = 0;i < 8;++i) out[i] = seed[24 + i];
  /external/eigen/test/eigen2/
main.h 334 unsigned int seed = 0; local
361 seed = int(std::strtoul(argv[i]+1, 0, 10));
363 bool ok = seed!=0;
366 std::cout << "Invalid \'seed\' value " << argv[i]+1 << std::endl;
380 std::cout << " sN Use N as seed for random numbers (default: based on current time)" << std::endl;
384 if(!has_set_seed) seed = (unsigned int) std::time(NULL);
387 std::cout << "Initializing random number generator with seed " << seed << std::endl;
388 std::srand(seed);
  /external/iputils/ninfod/
ninfod_core.c 400 unsigned int seed = 0; local
406 seed = (tv.tv_usec & 0xffffffff);
410 seed ^= (((unsigned long)pid) & 0xffffffff);
412 srand(seed);
  /external/libvpx/libvpx/examples/
decode_with_partial_drops.c 47 // partition boundaries where possible. The following example will seed the RNG
48 // with the seed 123 and drop approximately 5% of the pieces. Pieces which
204 unsigned int seed; local
227 seed = (m > 0) ? m : (unsigned int)time(NULL);
228 srand(seed);thrown_frame = 0;
229 printf("Seed: %u\n", seed);
  /external/pixman/test/
composite.c 448 run_test (uint32_t seed)
455 prng_srand (seed);
468 ok = composite_test (&dst, op, &src, NULL, FALSE, seed);
471 ok = composite_test (&dst, op, &src, &mask, FALSE, seed);
475 mask.size? TRUE : FALSE, seed);
494 uint32_t seed; local
518 seed = get_random_seed();
520 seed = 1;
523 # pragma omp parallel for default(none) shared(result, argv, seed)
527 if (!result && !run_test (i + seed))
    [all...]
  /external/speex/libspeex/
sb_celp.h 124 spx_int32_t seed; member in struct:SBDecState
scal.c 68 int seed; member in struct:SpeexDecorrState_
106 st->seed = rand();
119 static float uni_rand(int *seed)
124 *seed = 1664525 * *seed + 1013904223;
125 ran.i = jflone | (jflmsk & *seed);
130 static unsigned int irand(int *seed)
132 *seed = 1664525 * *seed + 1013904223;
133 return ((unsigned int)*seed)>>16
    [all...]
  /external/valgrind/main/memcheck/tests/
unit_oset.c 50 static UInt seed = 0; variable
53 seed = (1103515245 * seed + 12345);
54 return seed;
107 seed = 0;
323 seed = 0;
489 seed = 0;
  /external/valgrind/main/none/tests/arm64/
fp_and_simd.c 38 static UInt seed = 80021; local
39 seed = 1103515245 * seed + 12345;
40 return (seed >> 17) & 0xFF;
    [all...]
integer.c 41 static UInt seed = 80021; local
42 seed = 1103515245 * seed + 12345;
43 return (seed >> 17) & 0xFF;
    [all...]
  /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,
516 * @server_random_first: seed is 0 = client_random|server_random,
525 u8 seed[2 * TLS_RANDOM_LEN]; local
531 os_memcpy(seed, conn->server_random, TLS_RANDOM_LEN)
    [all...]
tlsv1_server.c 60 u8 seed[2 * TLS_RANDOM_LEN]; local
68 os_memcpy(seed, conn->client_random, TLS_RANDOM_LEN);
69 os_memcpy(seed + TLS_RANDOM_LEN, conn->server_random,
73 "master secret", seed, 2 * TLS_RANDOM_LEN,
83 os_memcpy(seed, conn->server_random, TLS_RANDOM_LEN);
84 os_memcpy(seed + TLS_RANDOM_LEN, conn->client_random, TLS_RANDOM_LEN);
89 "key expansion", seed, 2 * TLS_RANDOM_LEN,
462 * @server_random_first: seed is 0 = client_random|server_random,
471 u8 seed[2 * TLS_RANDOM_LEN]; local
477 os_memcpy(seed, conn->server_random, TLS_RANDOM_LEN)
    [all...]
  /frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
GrainFilter.java 52 "uniform vec2 seed;\n" +
66 " gl_FragColor = vec4(rand(v_texcoord + seed), 0.0, 0.0, 1.0);\n" +
127 float seed[] = { mRandom.nextFloat(), mRandom.nextFloat() }; local
128 mNoiseProgram.setHostValue("seed", seed);
  /hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/examples/
decode_with_partial_drops.c 47 // partition boundaries where possible. The following example will seed the RNG
48 // with the seed 123 and drop approximately 5% of the pieces. Pieces which
204 unsigned int seed; local
227 seed = (m > 0) ? m : (unsigned int)time(NULL);
228 srand(seed);thrown_frame = 0;
229 printf("Seed: %u\n", seed);
  /libcore/luni/src/main/java/org/apache/harmony/security/provider/crypto/
SHA1PRNG_SecureRandomImpl.java 92 // MAX_BYTES - maximum # of seed bytes processing which doesn't require extra frame
93 // see (1) comments on usage of "seed" array below and
118 // Structure of "seed" array:
121 // - 81 - # of seed bytes in current seed frame
122 // - 82-86 - 5 words, current seed hash
123 private transient int[] seed; field in class:SHA1PRNG_SecureRandomImpl
125 // total length of seed bytes, including all processed
129 // - 0-4 - 5 words, copy of current seed hash
147 // The "seed" array is used to compute both "current seed hash" and "next bytes"
    [all...]
  /libcore/luni/src/test/java/org/apache/harmony/security/tests/provider/crypto/
SHA1PRNG_SecureRandomTest.java 117 * different SecureRandom objects being supplied with the same seed return
178 * different SecureRandom objects being supplied with seed by themselves
325 * "setSeed(byte[])" method supplements its argument to current seed rather
326 * than replaces current seed
330 byte[] seed = new byte[LENGTH];
335 for (int i = 0; i < seed.length; i++) {
336 seed[i] = (byte) i;
339 sr.setSeed(seed);
340 sr.setSeed(seed);
341 sr2.setSeed(seed);
422 int[] seed = (int[]) seedField.get(sr); local
    [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/x86_64-linux/include/c++/4.6/tr1/
random.h 374 * seed @p __s. The default seed value is 1.
376 * @param __s The initial seed value.
380 { this->seed(__x0); }
386 * @param __g The seed generator function.
390 { this->seed(__g); }
394 * sequence to the seed @g __s.
396 * @param __s The new seed.
399 seed(unsigned long __s = 1);
405 * @param __g the seed generator function
409 seed(_Gen& __g) function in class:linear_congruential
501 seed(_Gen& __g, true_type) function in class:linear_congruential
584 seed() function in class:mersenne_twister
592 seed(_Gen& __g) function in class:mersenne_twister
677 seed(_Gen& __g, true_type) function in class:mersenne_twister
783 seed(_Gen& __g) function in class:subtract_with_carry
874 seed(_Gen& __g, true_type) function in class:subtract_with_carry
955 seed(_Gen& __g) function in class:subtract_with_carry_01
1055 seed(_Gen& __g, true_type) function in class:subtract_with_carry_01
1144 void seed() function in class:discard_block
1156 void seed(_Gen& __g) function in class:discard_block
    [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/x86_64-linux/include/c++/4.8/tr1/
random.h 374 * seed @p __s. The default seed value is 1.
376 * @param __s The initial seed value.
380 { this->seed(__x0); }
386 * @param __g The seed generator function.
390 { this->seed(__g); }
394 * sequence to the seed @g __s.
396 * @param __s The new seed.
399 seed(unsigned long __s = 1);
405 * @param __g the seed generator function
409 seed(_Gen& __g) function in class:linear_congruential
501 seed(_Gen& __g, true_type) function in class:linear_congruential
584 seed() function in class:mersenne_twister
592 seed(_Gen& __g) function in class:mersenne_twister
677 seed(_Gen& __g, true_type) function in class:mersenne_twister
783 seed(_Gen& __g) function in class:subtract_with_carry
874 seed(_Gen& __g, true_type) function in class:subtract_with_carry
955 seed(_Gen& __g) function in class:subtract_with_carry_01
1055 seed(_Gen& __g, true_type) function in class:subtract_with_carry_01
1144 void seed() function in class:discard_block
1156 void seed(_Gen& __g) function in class:discard_block
    [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/c++/4.8.3/tr1/
random.h 374 * seed @p __s. The default seed value is 1.
376 * @param __s The initial seed value.
380 { this->seed(__x0); }
386 * @param __g The seed generator function.
390 { this->seed(__g); }
394 * sequence to the seed @g __s.
396 * @param __s The new seed.
399 seed(unsigned long __s = 1);
405 * @param __g the seed generator function
409 seed(_Gen& __g) function in class:linear_congruential
501 seed(_Gen& __g, true_type) function in class:linear_congruential
584 seed() function in class:mersenne_twister
592 seed(_Gen& __g) function in class:mersenne_twister
677 seed(_Gen& __g, true_type) function in class:mersenne_twister
783 seed(_Gen& __g) function in class:subtract_with_carry
874 seed(_Gen& __g, true_type) function in class:subtract_with_carry
955 seed(_Gen& __g) function in class:subtract_with_carry_01
1055 seed(_Gen& __g, true_type) function in class:subtract_with_carry_01
1144 void seed() function in class:discard_block
1156 void seed(_Gen& __g) function in class:discard_block
    [all...]
  /prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.6/include/tr1/
random.h 374 * seed @p __s. The default seed value is 1.
376 * @param __s The initial seed value.
380 { this->seed(__x0); }
386 * @param __g The seed generator function.
390 { this->seed(__g); }
394 * sequence to the seed @g __s.
396 * @param __s The new seed.
399 seed(unsigned long __s = 1);
405 * @param __g the seed generator function
409 seed(_Gen& __g) function in class:linear_congruential
501 seed(_Gen& __g, true_type) function in class:linear_congruential
584 seed() function in class:mersenne_twister
592 seed(_Gen& __g) function in class:mersenne_twister
677 seed(_Gen& __g, true_type) function in class:mersenne_twister
783 seed(_Gen& __g) function in class:subtract_with_carry
874 seed(_Gen& __g, true_type) function in class:subtract_with_carry
955 seed(_Gen& __g) function in class:subtract_with_carry_01
1055 seed(_Gen& __g, true_type) function in class:subtract_with_carry_01
1144 void seed() function in class:discard_block
1156 void seed(_Gen& __g) function in class:discard_block
    [all...]
  /prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.7/include/tr1/
random.h 374 * seed @p __s. The default seed value is 1.
376 * @param __s The initial seed value.
380 { this->seed(__x0); }
386 * @param __g The seed generator function.
390 { this->seed(__g); }
394 * sequence to the seed @g __s.
396 * @param __s The new seed.
399 seed(unsigned long __s = 1);
405 * @param __g the seed generator function
409 seed(_Gen& __g) function in class:linear_congruential
501 seed(_Gen& __g, true_type) function in class:linear_congruential
584 seed() function in class:mersenne_twister
592 seed(_Gen& __g) function in class:mersenne_twister
677 seed(_Gen& __g, true_type) function in class:mersenne_twister
783 seed(_Gen& __g) function in class:subtract_with_carry
874 seed(_Gen& __g, true_type) function in class:subtract_with_carry
955 seed(_Gen& __g) function in class:subtract_with_carry_01
1055 seed(_Gen& __g, true_type) function in class:subtract_with_carry_01
1144 void seed() function in class:discard_block
1156 void seed(_Gen& __g) function in class:discard_block
    [all...]
  /prebuilts/ndk/9/sources/cxx-stl/gnu-libstdc++/4.6/include/tr1/
random.h 374 * seed @p __s. The default seed value is 1.
376 * @param __s The initial seed value.
380 { this->seed(__x0); }
386 * @param __g The seed generator function.
390 { this->seed(__g); }
394 * sequence to the seed @g __s.
396 * @param __s The new seed.
399 seed(unsigned long __s = 1);
405 * @param __g the seed generator function
409 seed(_Gen& __g) function in class:linear_congruential
501 seed(_Gen& __g, true_type) function in class:linear_congruential
584 seed() function in class:mersenne_twister
592 seed(_Gen& __g) function in class:mersenne_twister
677 seed(_Gen& __g, true_type) function in class:mersenne_twister
783 seed(_Gen& __g) function in class:subtract_with_carry
874 seed(_Gen& __g, true_type) function in class:subtract_with_carry
955 seed(_Gen& __g) function in class:subtract_with_carry_01
1055 seed(_Gen& __g, true_type) function in class:subtract_with_carry_01
1144 void seed() function in class:discard_block
1156 void seed(_Gen& __g) function in class:discard_block
    [all...]

Completed in 898 milliseconds

1 2 3 45 6 7 8 91011>>