HomeSort by relevance Sort by last modified time
    Searched refs:random (Results 1 - 25 of 3042) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/
KeyGenerationParameters.java 10 private SecureRandom random; field in class:KeyGenerationParameters
17 * @param random the random byte source.
21 SecureRandom random,
24 this.random = random;
29 * return the random source associated with this
32 * @return the generators random source.
36 return random;
CipherKeyGenerator.java 10 protected SecureRandom random; field in class:CipherKeyGenerator
21 this.random = param.getRandom();
34 random.nextBytes(key);
  /bionic/libc/bionic/
rand.cpp 19 // The BSD rand/srand is very weak. glibc just uses random/srandom instead.
24 return random();
  /external/apache-commons-math/src/main/java/org/apache/commons/math/random/
NormalizedRandomGenerator.java 18 package org.apache.commons.math.random;
21 * This interface represent a normalized random generator for
29 /** Generate a random scalar with null mean and unit standard deviation.
34 * @return a random scalar with null mean and unit standard deviation
RandomVectorGenerator.java 18 package org.apache.commons.math.random;
21 /** This interface represents a random generator for whole vectors.
30 /** Generate a random vector.
31 * @return a random vector as an array of double.
BitsStreamGenerator.java 17 package org.apache.commons.math.random;
22 /** Base class for random number generators that generates bits streams.
33 /** Creates a new random number generator.
54 * @param bits number of random bits to produce
55 * @return random bits generated
69 final int random = next(32); local
70 bytes[i] = (byte) (random & 0xff);
71 bytes[i + 1] = (byte) ((random >> 8) & 0xff);
72 bytes[i + 2] = (byte) ((random >> 16) & 0xff);
73 bytes[i + 3] = (byte) ((random >> 24) & 0xff)
76 int random = next(32); local
98 final double random; local
138 final int random = next(32) & mask; local
    [all...]
  /external/clang/test/Lexer/
msdos-cpm-eof.c 8 I am random garbage after ^Z
  /external/libcxx/test/std/numerics/rand/rand.synopsis/
version.pass.cpp 10 // <random>
12 #include <random>
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/rand/rand.synopsis/
version.pass.cpp 10 // <random>
12 #include <random>
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/
DSAParameterGenerationParameters.java 14 private final SecureRandom random; field in class:DSAParameterGenerationParameters
17 * Construct without a usage index, this will do a random construction of G.
22 * @param random the source of randomness to use.
28 SecureRandom random)
30 this(L, N, certainty, random, -1);
39 * @param random the source of randomness to use.
46 SecureRandom random,
53 this.random = random;
73 return random;
    [all...]
ParametersWithRandom.java 10 private SecureRandom random; field in class:ParametersWithRandom
15 SecureRandom random)
17 this.random = random;
29 return random;
  /external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/particles/values/
RectangleSpawnShapeValue.java 24 int a = MathUtils.random(-1,1);
27 tx = MathUtils.random(1)==0 ? -width/ 2 : width/ 2;
29 ty = MathUtils.random(1)==0 ? -height / 2 : height/ 2;
30 tz = MathUtils.random(1)==0 ? -depth/2 : depth/2;
33 ty = MathUtils.random(height) - height / 2;
34 tz = MathUtils.random(depth) - depth / 2;
39 tz = MathUtils.random(1)==0 ? -depth/ 2 : depth/ 2;
41 ty = MathUtils.random(1)==0 ? -height / 2 : height/ 2;
42 tx = MathUtils.random(1)==0 ? -width/2 : width/2;
45 ty = MathUtils.random(height) - height / 2;
    [all...]
  /external/slf4j/slf4j-api/src/test/java/org/slf4j/
Differentiator.java 28 import java.util.Random;
32 static Random random = new Random(System.currentTimeMillis()); field in class:Differentiator
35 return (short) random.nextInt(Short.MAX_VALUE);
  /libcore/ojluni/src/main/java/java/security/
AlgorithmParameterGeneratorSpi.java 62 * @param random the source of randomness.
64 protected abstract void engineInit(int size, SecureRandom random);
71 * @param random the source of randomness.
77 SecureRandom random)
KeyPairGeneratorSpi.java 62 * @param random the source of randomness for this generator.
67 public abstract void initialize(int keysize, SecureRandom random);
84 * @param random the source of randomness for this generator.
92 SecureRandom random)
  /libcore/ojluni/src/main/java/java/security/interfaces/
DSAKeyPairGenerator.java 37 * the random bit source.
77 * @param random the random bit source to use to generate key bits;
83 public void initialize(DSAParams params, SecureRandom random)
102 * @param random the random bit source to use to generate key bits;
113 public void initialize(int modlen, boolean genParams, SecureRandom random)
  /external/libcxx/test/std/numerics/rand/rand.device/
entropy.pass.cpp 10 // <random>
16 #include <random>
  /external/libcxx/test/std/numerics/rand/rand.util/rand.util.seedseq/
assign.fail.cpp 10 // <random>
16 #include <random>
copy.fail.cpp 10 // <random>
16 #include <random>
default.pass.cpp 10 // <random>
16 #include <random>
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/rand/rand.device/
entropy.pass.cpp 10 // <random>
16 #include <random>
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/rand/rand.util/rand.util.seedseq/
assign.fail.cpp 10 // <random>
16 #include <random>
copy.fail.cpp 10 // <random>
16 #include <random>
default.pass.cpp 10 // <random>
16 #include <random>
  /external/compiler-rt/test/BlocksRuntime/
rettypepromotion.c 30 if (random()) return LESS;
31 if (random()) return EQUAL;
32 if (random()) return GREATER;

Completed in 2570 milliseconds

1 2 3 4 5 6 7 8 91011>>