/external/chromium_org/third_party/libwebp/enc/ |
histogram.c | 355 static uint32_t MyRand(uint32_t *seed) { 356 *seed *= 16807U; 357 if (*seed == 0) { 358 *seed = 1; 360 return *seed; 368 uint32_t seed = 0; local 391 seed += iter; 395 const uint32_t idx1 = MyRand(&seed) % out_size; 397 const uint32_t diff = (tmp < 3) ? tmp : MyRand(&seed) % (out_size - 1);
|
/external/chromium_org/third_party/openssl/openssl/crypto/dh/ |
dh.h | 147 unsigned char *seed; member in struct:dh_st
|
/external/chromium_org/third_party/openssl/openssl/crypto/ec/ |
ec_lcl.h | 199 unsigned char *seed; /* optional seed for parameters (appears in ASN1) */ member in struct:ec_group_st
|
/external/chromium_org/third_party/openssl/openssl/include/openssl/ |
dh.h | 147 unsigned char *seed; member in struct:dh_st
|
/external/chromium_org/third_party/opus/src/src/ |
mlp_train.c | 432 unsigned int seed; local 451 seed = time(NULL); 452 /*seed = 1361480659;*/ 453 fprintf (stderr, "Seed is %u\n", seed); 454 srand(seed); 478 printf ("/* RMS error was %f, seed was %u */\n\n", rms, seed);
|
/external/compiler-rt/lib/asan/tests/ |
asan_noinst_test.cc | 34 u32 seed = my_rand(); local 54 size_t idx = my_rand_r(&seed) % vec.size(); 60 size_t size = my_rand_r(&seed) % 1000 + 1; 61 switch ((my_rand_r(&seed) % 128)) { 66 size_t alignment = 1 << (my_rand_r(&seed) % 10 + 1); 213 u32 seed = my_rand(); local 221 stack0.size = std::max((size_t)1, (size_t)(my_rand_r(&seed) % stack0.size)); 223 std::max((size_t)2, (size_t)my_rand_r(&seed) % (2 * kNumPcs)); 281 u32 seed = my_rand(); local 287 void *p = __asan::asan_malloc(1 + (my_rand_r(&seed) % 4000), &stack) [all...] |
/external/freetype/src/psaux/ |
t1decode.c | 374 FT_Fixed seed; local 383 /* compute random seed from stack address of parameter */ 384 seed = (FT_Fixed)( ( (FT_PtrDist)(char*)&seed ^ 388 seed = ( seed ^ ( seed >> 10 ) ^ ( seed >> 20 ) ) & 0xFFFFL; 389 if ( seed == 0 ) 390 seed = 0x7384 [all...] |
/external/grub/netboot/ |
main.c | 1138 static long seed = 0; local 1146 if (!seed) 1148 seed = (currticks () + *((long *) &arptable[ARP_CLIENT].node) 1152 q = seed / 53668; 1153 if ((seed = 40014 * (seed - 53668 * q) - 12211 *q ) < 0) 1154 seed += 2147483563L; 1155 tmo = (base << exp) + (TICKS_PER_SEC - (seed / TWO_SECOND_DIVISOR));
|
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/heightmap/ |
FaultHeightMap.java | 77 private long seed; // A seed to feed the random
field in class:FaultHeightMap 99 * @param seed A seed to feed the Random generator
102 public FaultHeightMap(int size, int iterations, int faultType, int faultShape, float minFaultHeight, float maxFaultHeight, long seed) throws Exception {
112 this.seed = seed;
139 Random random = new Random(seed);
320 return seed;
323 public void setSeed(long seed) {
[all...] |
/external/libxml2/ |
dict.c | 71 xmlDictComputeFastKey(name, len, (dict)->seed) : \ 72 xmlDictComputeBigKey(name, len, (dict)->seed)) 78 xmlDictComputeFastQKey(prefix, plen, name, len, (dict)->seed) : \ 79 xmlDictComputeBigQKey(prefix, plen, name, len, (dict)->seed))) 83 xmlDictComputeFastKey(name, len, (dict)->seed) 85 xmlDictComputeFastQKey(prefix, plen, name, len, (dict)->seed) 124 int seed; member in struct:_xmlDict 307 xmlDictComputeBigKey(const xmlChar* data, int namelen, int seed) { 313 hash = seed; 340 const xmlChar *name, int len, int seed) [all...] |
/external/llvm/include/llvm/ADT/ |
Hashing.h | 128 /// \brief Override the execution seed with a fixed value. 130 /// This hashing library uses a per-execution seed designed to change on each 137 /// which will forcibly set the seed to a fixed value. This must be done at the 196 inline uint64_t hash_1to3_bytes(const char *s, size_t len, uint64_t seed) { 202 return shift_mix(y * k2 ^ z * k3 ^ seed) * k2; 205 inline uint64_t hash_4to8_bytes(const char *s, size_t len, uint64_t seed) { 207 return hash_16_bytes(len + (a << 3), seed ^ fetch32(s + len - 4)); 210 inline uint64_t hash_9to16_bytes(const char *s, size_t len, uint64_t seed) { 213 return hash_16_bytes(seed ^ a, rotate(b + len, len)) ^ b; 216 inline uint64_t hash_17to32_bytes(const char *s, size_t len, uint64_t seed) { 268 uint64_t seed; member in struct:llvm::hashing::detail::hash_state 336 static size_t seed = fixed_seed_override ? fixed_seed_override local 412 const size_t seed = get_execution_seed(); local 456 const size_t seed = get_execution_seed(); local 506 const size_t seed; member in struct:llvm::hashing::detail::hash_combine_recursive_helper 725 const uint64_t seed = get_execution_seed(); local [all...] |
/external/opencv/cv/src/ |
cvmotempl.cpp | 474 CvPoint seed = cvPoint(x,y); local 476 CV_CALL( cvFloodFill( mhi, seed, cvRealScalar(0), _seg_thresh, _seg_thresh,
|
/external/openssl/crypto/dh/ |
dh.h | 147 unsigned char *seed; member in struct:dh_st
|
/external/openssl/crypto/ec/ |
ec_lcl.h | 199 unsigned char *seed; /* optional seed for parameters (appears in ASN1) */ member in struct:ec_group_st
|
/external/openssl/include/openssl/ |
dh.h | 147 unsigned char *seed; member in struct:dh_st
|
/external/skia/tests/ |
PathOpsCubicIntersectionTest.cpp | 394 unsigned seed = 0; local 399 cubic1[i].fX = static_cast<double>(SK_RAND(seed)) / RAND_MAX * 100; 400 cubic1[i].fY = static_cast<double>(SK_RAND(seed)) / RAND_MAX * 100; 401 cubic2[i].fX = static_cast<double>(SK_RAND(seed)) / RAND_MAX * 100; 402 cubic2[i].fY = static_cast<double>(SK_RAND(seed)) / RAND_MAX * 100;
|
/external/speex/libspeex/ |
nb_celp.h | 156 spx_int32_t seed; /** Seed used for random number generation */ member in struct:DecState
|
/external/v8/test/cctest/ |
test-strings.cc | 17 unsigned int seed = 123; variable 21 z = seed; 24 seed = static_cast<unsigned int>(z); 25 return static_cast<uint32_t>(seed >> 16);
|
/external/webp/src/enc/ |
histogram.c | 355 static uint32_t MyRand(uint32_t *seed) { 356 *seed *= 16807U; 357 if (*seed == 0) { 358 *seed = 1; 360 return *seed; 368 uint32_t seed = 0; local 391 seed += iter; 395 const uint32_t idx1 = MyRand(&seed) % out_size; 397 const uint32_t diff = (tmp < 3) ? tmp : MyRand(&seed) % (out_size - 1);
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
BinaryDictionaryDecayingTests.java | 196 final long seed = System.currentTimeMillis(); local 197 final Random random = new Random(seed); 248 final long seed = System.currentTimeMillis(); local 249 final Random random = new Random(seed);
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/i686-linux/include/c++/4.6.x-google/ext/ |
throw_allocator.h | 392 seed(unsigned long __s) function in struct:random_condition 393 { engine().seed(__s); }
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/x86_64-linux/include/c++/4.6.x-google/ext/ |
throw_allocator.h | 392 seed(unsigned long __s) function in struct:random_condition 393 { engine().seed(__s); }
|
/prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.6/include/ext/ |
throw_allocator.h | 392 seed(unsigned long __s) function in struct:random_condition 393 { engine().seed(__s); }
|
/prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.7/include/ext/ |
throw_allocator.h | 392 seed(unsigned long __s) function in struct:random_condition 393 { engine().seed(__s); }
|
/prebuilts/ndk/9/sources/cxx-stl/gnu-libstdc++/4.6/include/ext/ |
throw_allocator.h | 392 seed(unsigned long __s) function in struct:random_condition 393 { engine().seed(__s); }
|