/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
BlackWhiteFilter.java | 53 "uniform vec2 seed;\n" + 81 " float dither = rand(v_texcoord + seed);\n" + 127 float seed[] = { mRandom.nextFloat(), mRandom.nextFloat() }; local 128 mProgram.setHostValue("seed", seed);
|
DocumentaryFilter.java | 49 "uniform vec2 seed;\n" + 68 " float dither = rand(v_texcoord + seed);\n" + 161 float seed[] = { mRandom.nextFloat(), mRandom.nextFloat() }; local 162 mProgram.setHostValue("seed", seed);
|
GrainFilter.java | 57 "uniform vec2 seed;\n" + 71 " gl_FragColor = vec4(rand(v_texcoord + seed), 0.0, 0.0, 1.0);\n" + 132 float seed[] = { mRandom.nextFloat(), mRandom.nextFloat() }; local 133 mNoiseProgram.setHostValue("seed", seed);
|
/external/libvpx/libvpx/test/ |
video_source.h | 126 RandomVideoSource(int seed = ACMRandom::DeterministicSeed()) 127 : rnd_(seed), 128 seed_(seed) { }
|
/external/opencv/cvaux/src/ |
cvsegment.cpp | 86 CvSize /*roi*/, CvPoint seed, 91 uchar* img = pImage + step * seed.y; 92 uchar* mask = pMask + maskStep * (seed.y + 1); 99 int XMin, XMax, YMin = seed.y, YMax = seed.y; 102 L = R = seed.x; 103 img = pImage + seed.y*step; 104 mask = pMask + seed.y*maskStep; 107 val0[0] = img[seed.x*3]; 108 val0[1] = img[seed.x*3 + 1] [all...] |
/external/openssl/crypto/evp/ |
e_seed.c | 62 #include <openssl/seed.h> 72 IMPLEMENT_BLOCK_CIPHER(seed, ks, SEED, EVP_SEED_KEY, NID_seed,
|
/external/regex-re2/re2/testing/ |
string_generator.cc | 96 void StringGenerator::Random(int32 seed, int n) { 98 acm_ = new ACMRandom(seed); 100 acm_->Reset(seed);
|
/external/smack/src/org/xbill/DNS/ |
UDPClient.java | 26 * - If the SecureRandom seed generation process calls into here, and this 27 * module attempts to seed the local SecureRandom object, the thread hangs. 29 * module to seed the local SecureRandom object, the thread hangs.
|
/bionic/libc/netbsd/resolv/ |
res_random.c | 41 * seed = random 15bit 46 * X[0] = random seed. 53 * id[n] = seed xor (g^X[n] mod n) 169 * Initializes the seed and chooses a suitable generator. Also toggles 186 /* 15 bits of random seed */ 261 printf("Seed: %u\n", ru_seed);
|
/external/chromium/net/disk_cache/ |
disk_cache_perftest.cc | 149 int seed = static_cast<int>(Time::Now().ToInternalValue()); local 150 srand(seed); 176 int seed = static_cast<int>(Time::Now().ToInternalValue()); local 177 srand(seed); 227 int seed = static_cast<int>(Time::Now().ToInternalValue()); local 228 srand(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/guava/guava/src/com/google/common/hash/ |
Hashing.java | 70 * algorithm</a> (little-endian variant), using the given seed value. 72 public static HashFunction murmur3_32(int seed) { 73 return new Murmur3_32HashFunction(seed); 79 * algorithm</a> (little-endian variant), using a seed value of zero. 90 * 128-bit murmur3 algorithm, x64 variant</a> (little-endian variant), using the given seed 93 public static HashFunction murmur3_128(int seed) { 94 return new Murmur3_128HashFunction(seed); 100 * 128-bit murmur3 algorithm, x64 variant</a> (little-endian variant), using a seed value
|
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/heightmap/ |
FluidSimHeightMap.java | 58 private long seed; // the seed for the random number generator
field in class:FluidSimHeightMap 82 * @param seed
83 * the seed to generate the same heightmap again
89 public FluidSimHeightMap(int size, int iterations, float minInitialHeight, float maxInitialHeight, float viscosity, float waveSpeed, float timestep, float nodeDistance, long seed) throws Exception {
99 this.seed = seed;
149 Random random = new Random(seed);
|
/external/llvm/lib/Support/ |
Hashing.cpp | 20 // Provide a definition and static initializer for the fixed seed. This 25 // Implement the function for forced setting of the fixed seed.
|
/external/openfst/src/bin/ |
fstequivalent.cc | 31 DEFINE_int32(seed, time(0), "Random seed");
|
/external/openssl/crypto/dsa/ |
dsatest.c | 96 /* seed, out_p, out_q, out_g are taken from the updated Appendix 5 to 98 static unsigned char seed[20]={ variable 161 seed, 20, &counter, &h, &cb)) 164 BIO_printf(bio_err,"seed\n"); 168 seed[i],seed[i+1],seed[i+2],seed[i+3]);
|
/external/speex/libspeex/ |
cb_search.h | 73 spx_int32_t *seed 100 spx_int32_t *seed
|
/external/webkit/Source/WebCore/platform/graphics/filters/ |
FETurbulence.h | 52 float seed() const; 73 long seed; member in struct:WebCore::FETurbulence::PaintingData
|
/external/wpa_supplicant_8/src/eap_common/ |
eap_peap_common.c | 16 const char *label, const u8 *seed, size_t seed_len, 31 addr[2] = seed;
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
ImageFilterKMeans.java | 30 // set random seed for session 53 int swidth, int sheight, int p, int seed);
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/i686-linux/include/c++/4.4.3/ext/ |
throw_allocator.h | 99 init(unsigned long seed); 287 twister_rand_gen(unsigned int seed) : _M_generator(seed) { } 291 init(unsigned int seed) 292 { _M_generator.seed(seed); } 320 throw_allocator_base::init(unsigned long seed) 321 { _S_g.init(seed); }
|
/prebuilts/ndk/5/sources/cxx-stl/gnu-libstdc++/include/ext/ |
throw_allocator.h | 99 init(unsigned long seed); 287 twister_rand_gen(unsigned int seed) : _M_generator(seed) { } 291 init(unsigned int seed) 292 { _M_generator.seed(seed); } 320 throw_allocator_base::init(unsigned long seed) 321 { _S_g.init(seed); }
|
/prebuilts/ndk/6/sources/cxx-stl/gnu-libstdc++/include/ext/ |
throw_allocator.h | 99 init(unsigned long seed); 287 twister_rand_gen(unsigned int seed) : _M_generator(seed) { } 291 init(unsigned int seed) 292 { _M_generator.seed(seed); } 320 throw_allocator_base::init(unsigned long seed) 321 { _S_g.init(seed); }
|
/prebuilts/ndk/7/sources/cxx-stl/gnu-libstdc++/include/ext/ |
throw_allocator.h | 99 init(unsigned long seed); 287 twister_rand_gen(unsigned int seed) : _M_generator(seed) { } 291 init(unsigned int seed) 292 { _M_generator.seed(seed); } 320 throw_allocator_base::init(unsigned long seed) 321 { _S_g.init(seed); }
|
/prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.4.3/include/ext/ |
throw_allocator.h | 99 init(unsigned long seed); 287 twister_rand_gen(unsigned int seed) : _M_generator(seed) { } 291 init(unsigned int seed) 292 { _M_generator.seed(seed); } 320 throw_allocator_base::init(unsigned long seed) 321 { _S_g.init(seed); }
|