OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:setSeed
(Results
1 - 25
of
51
) sorted by null
1
2
3
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/
SecureRandom_ImplTest.java
64
* Class under test for void
setSeed
(long)
68
sr.
setSeed
(0);
69
sr.
setSeed
(-1);
70
sr.
setSeed
(11111111111L);
112
* Class under test for void
setSeed
(byte[])
119
sr.
setSeed
(null);
124
sr.
setSeed
(seed);
127
sr.
setSeed
(seed1);
/libcore/luni/src/main/java/java/util/
Random.java
70
setSeed
(System.nanoTime() + seedBase);
76
* initial state. Equivalent to {@code Random r = new Random(); r.
setSeed
(seed);}.
82
setSeed
(seed);
206
public synchronized void
setSeed
(long seed) {
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/provider/crypto/
SHA1PRNG_SecureRandomTest.java
140
sr.
setSeed
(myBytes);
141
sr2.
setSeed
(myBytes);
241
* invocation of "
setSeed
(..)" methods are first ones
298
sr1.
setSeed
(myBytes);
299
sr2.
setSeed
(myBytes);
320
* test against the "void
setSeed
(byte[])" method;
326
sr.
setSeed
(null);
327
fail("
setSeed
(null) :: No NullPointerException");
334
* test against the "void
setSeed
(byte[])" method;
335
* it checks out that "
setSeed
(byte[])" method supplements its argument to current see
[
all
...]
/libcore/luni/src/test/java/org/apache/harmony/security/tests/provider/crypto/
SHA1PRNG_SecureRandomTest.java
133
sr.
setSeed
(myBytes);
134
sr2.
setSeed
(myBytes);
231
* invocation of "
setSeed
(..)" methods are first ones then further calls to
292
sr1.
setSeed
(myBytes);
293
sr2.
setSeed
(myBytes);
312
* test against the "void
setSeed
(byte[])" method; it checks out that the
317
sr.
setSeed
(null);
318
fail("
setSeed
(null) :: No NullPointerException");
324
* test against the "void
setSeed
(byte[])" method; it checks out that
325
* "
setSeed
(byte[])" method supplements its argument to current seed rathe
[
all
...]
/libcore/luni/src/test/java/libcore/java/util/
RandomTest.java
24
// Ensure that Random's constructors call
setSeed
by emulating the active ingredient
25
// from the bug: the subclass'
setSeed
had a side-effect necessary for the correct
32
@Override public synchronized void
setSeed
(long seed) { state = Long.toString(seed); }
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
SecureRandom2Test.java
209
* java.security.SecureRandom#
setSeed
(byte[])
212
// Test for method void java.security.SecureRandom.
setSeed
(byte [])
214
new SecureRandom().
setSeed
(SEED_BYTES);
220
new SecureRandom().
setSeed
(null);
228
* java.security.SecureRandom#
setSeed
(long)
231
// Test for method void java.security.SecureRandom.
setSeed
(long)
233
new SecureRandom().
setSeed
(SEED_VALUE);
239
new SecureRandom().
setSeed
(-1);
309
sr1.
setSeed
(seed1);
313
sr2.
setSeed
(seed2)
[
all
...]
/libcore/luni/src/main/java/java/security/
SecureRandom.java
60
* {@link #
setSeed
} may completely replace the cryptographically strong
63
* it is not recommended to use {@code
setSeed
} at all.
112
setSeed
(seed);
243
public synchronized void
setSeed
(byte[] seed) {
253
public void
setSeed
(long seed) {
259
setSeed
(byteSeed);
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
SecureRandom2Test.java
119
* @tests java.security.SecureRandom#
setSeed
(byte[])
122
// Test for method void java.security.SecureRandom.
setSeed
(byte [])
123
new SecureRandom().
setSeed
(SEED_BYTES);
127
* @tests java.security.SecureRandom#
setSeed
(long)
130
// Test for method void java.security.SecureRandom.
setSeed
(long)
131
new SecureRandom().
setSeed
(SEED_VALUE);
/external/apache-harmony/security/src/test/api/java.injected/java/security/
SecureRandomTest.java
63
* Class under test for void
setSeed
(long)
67
sr.
setSeed
(12345);
69
fail("
setSeed
failed");
102
fail("No
setSeed
");
143
* Class under test for void
setSeed
(byte[])
148
sr.
setSeed
(b);
150
fail("
setSeed
failed");
/libcore/luni/src/test/java/libcore/java/security/
SecureRandomTest.java
86
sr.
setSeed
(STATIC_SEED_BYTES);
91
sr.
setSeed
(STATIC_SEED_LONG);
/external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/
FETurbulence.h
53
bool
setSeed
(float);
/external/chromium_org/third_party/skia/src/animator/
SkDisplayRandom.cpp
63
fRandom.
setSeed
(value.fOperand.fS32);
/external/skia/src/animator/
SkDisplayRandom.cpp
63
fRandom.
setSeed
(value.fOperand.fS32);
/libcore/luni/src/main/java/java/util/concurrent/
ThreadLocalRandom.java
47
* Initialization flag to permit calls to
setSeed
to succeed only
93
public void
setSeed
(long seed) {
/external/chromium_org/third_party/skia/include/utils/
SkRandom.h
133
* same seed (using
setSeed
) so it can generate the same sequence.
141
void
setSeed
(int32_t seed) { fSeed = (uint32_t)seed; }
287
void
setSeed
(uint32_t seed) { init(seed); }
/external/skia/include/utils/
SkRandom.h
133
* same seed (using
setSeed
) so it can generate the same sequence.
141
void
setSeed
(int32_t seed) { fSeed = (uint32_t)seed; }
287
void
setSeed
(uint32_t seed) { init(seed); }
/libcore/luni/src/test/java/tests/security/
SecureRandomTest.java
67
random.
setSeed
(System.currentTimeMillis()+counter);
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
RandomTest.java
215
* java.util.Random#
setSeed
(long)
218
// Test for method void java.util.Random.
setSeed
(long)
226
aRandom.
setSeed
(firstSeed);
227
anotherRandom.
setSeed
(firstSeed);
242
aRandom.
setSeed
(firstSeed);
/libcore/luni/src/test/java/tests/java/security/
SecureRandomTest.java
69
* Class under test for void
setSeed
(long)
73
sr.
setSeed
(12345);
75
fail("
setSeed
failed");
116
fail("No
setSeed
");
247
* Class under test for void
setSeed
(byte[])
252
sr.
setSeed
(b);
254
fail("
setSeed
failed");
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/crypto/
CipherFactory.java
171
random.
setSeed
(seed);
/external/chromium_org/third_party/WebKit/Source/core/svg/
SVGFETurbulenceElement.cpp
120
return turbulence->
setSeed
(m_seed->currentValue()->value());
/frameworks/base/core/java/android/util/
MathUtils.java
178
sRandom.
setSeed
(seed);
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
PhotoSource.java
265
public void
setSeed
(long seed) {
266
mRNG.
setSeed
(seed);
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/
WebappAuthenticator.java
199
random.
setSeed
(seed);
/external/chromium_org/third_party/skia/samplecode/
SampleHairline.cpp
221
gRand.
setSeed
(fNow);
Completed in 945 milliseconds
1
2
3