/frameworks/ml/nn/common/random/ |
D | random.cc | 37 static std::mt19937_64* rng = InitRngWithRandomSeed(); in New64() local 40 return (*rng)(); in New64() 44 static std::mt19937_64 rng = InitRngWithDefaultSeed(); in New64DefaultSeed() local 47 return rng(); in New64DefaultSeed()
|
/frameworks/base/keystore/java/android/security/keystore/ |
D | KeyStoreCryptoOperationUtils.java | 98 static byte[] getRandomBytesToMixIntoKeystoreRng(SecureRandom rng, int sizeBytes) { in getRandomBytesToMixIntoKeystoreRng() argument 102 if (rng == null) { in getRandomBytesToMixIntoKeystoreRng() 103 rng = getRng(); in getRandomBytesToMixIntoKeystoreRng() 106 rng.nextBytes(result); in getRandomBytesToMixIntoKeystoreRng()
|
/frameworks/ml/nn/runtime/test/specs/V1_0/ |
D | relu_quant8_2.mod.py | 32 rng = d0 * d1 * d2 * d3 variable 33 input_values = (lambda r = rng: [x % 256 for x in range(r)])() 35 output_values = (lambda r = rng: [x % 256 if x % 256 > 128 else 128 for x in range(r)])()
|
D | relu_float_2.mod.py | 32 rng = d0 * d1 * d2 * d3 variable 33 input_values = (lambda r = rng: [x * (x % 2 - .5) * 2 for x in range(r)])() 35 output_values = (lambda r = rng: [x * (x % 2) for x in range(r)])()
|
D | relu6_quant8_2.mod.py | 32 rng = d0 * d1 * d2 * d3 variable 33 input_values = (lambda r = rng: [x % 256 for x in range(r)])()
|
D | relu1_quant8_2.mod.py | 32 rng = d0 * d1 * d2 * d3 variable 33 input_values = (lambda r = rng: [x % 256 for x in range(r)])()
|
D | logistic_float_2.mod.py | 32 rng = d0 * d1 * d2 * d3 variable 33 input_values = (lambda r = rng: [x * (x % 2 - .5) * 2 % 512 for x in range(r)])()
|
D | relu6_float_2.mod.py | 32 rng = d0 * d1 * d2 * d3 variable 33 input_values = (lambda r = rng: [x * (x % 2 - .5) * .002 for x in range(r)])()
|
D | relu1_float_2.mod.py | 32 rng = d0 * d1 * d2 * d3 variable 33 input_values = (lambda r = rng: [x * (x % 2 - .5) * .002 for x in range(r)])()
|
D | logistic_quant8_2.mod.py | 32 rng = d0 * d1 * d2 * d3 variable 33 input_values = (lambda r = rng: [x % 256 for x in range(r)])()
|
/frameworks/ml/nn/runtime/test/specs/V1_1/ |
D | relu_float_2_relaxed.mod.py | 33 rng = d0 * d1 * d2 * d3 variable 34 input_values = (lambda r = rng: [x * (x % 2 - .5) * 2 for x in range(r)])() 36 output_values = (lambda r = rng: [x * (x % 2) for x in range(r)])()
|
D | relu1_float_2_relaxed.mod.py | 33 rng = d0 * d1 * d2 * d3 variable 34 input_values = (lambda r = rng: [x * (x % 2 - .5) * .002 for x in range(r)])()
|
D | relu6_float_2_relaxed.mod.py | 33 rng = d0 * d1 * d2 * d3 variable 34 input_values = (lambda r = rng: [x * (x % 2 - .5) * .002 for x in range(r)])()
|
D | logistic_float_2_relaxed.mod.py | 33 rng = d0 * d1 * d2 * d3 variable 34 input_values = (lambda r = rng: [x * (x % 2 - .5) * 2 % 512 for x in range(r)])()
|
/frameworks/ml/nn/runtime/test/specs/V1_2/ |
D | relu_v1_2.mod.py | 41 rng = d0 * d1 * d2 * d3 variable 42 input_values = (lambda r = rng: [x * (x % 2 - .5) * 2 for x in range(r)])() 44 output_values = (lambda r = rng: [x * (x % 2) for x in range(r)])()
|
D | relu1_v1_2.mod.py | 41 rng = d0 * d1 * d2 * d3 variable 42 input_values = (lambda r = rng: [x * (x % 2 - .5) * .002 for x in range(r)])()
|
D | relu6_v1_2.mod.py | 41 rng = d0 * d1 * d2 * d3 variable 42 input_values = (lambda r = rng: [x * (x % 2 - .5) * .002 for x in range(r)])()
|
D | logistic_v1_2.mod.py | 47 rng = d0 * d1 * d2 * d3 variable 48 input_values = (lambda r = rng: [x * (x % 2 - .5) * 2 % 512 for x in range(r)])()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/internal/ |
D | message_factory_test.py | 144 rng = msg.extension_range.add() 145 rng.start = 1 146 rng.end = 10
|
/frameworks/base/core/java/android/content/pm/ |
D | VerifierDeviceIdentity.java | 92 static VerifierDeviceIdentity generate(Random rng) { in generate() argument 93 long identity = rng.nextLong(); in generate()
|
/frameworks/base/core/tests/coretests/src/android/app/ |
D | DownloadManagerBaseTest.java | 311 protected byte[] generateData(int size, DataType type, Random rng) { in generateData() argument 323 if (rng == null) { in generateData() 324 rng = new LoggingRng(); in generateData() 328 result[i] = (byte) (min + rng.nextInt(max - min + 1)); in generateData() 615 Random rng = new LoggingRng(); in createFileOnSD() local 616 byte[] chunkSizeData = generateData(nextChunkSize, type, rng); in createFileOnSD() 623 randomData = generateData(nextChunkSize, type, rng); in createFileOnSD()
|
/frameworks/ml/nn/common/operations/ |
D | MultinomialTest.cpp | 65 tensorflow::random::PhiloxRandom rng(kFixedRandomSeed1); in Invoke() local 66 tensorflow::random::SimplePhilox srng(&rng); in Invoke()
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | Base64Test.java | 322 Random rng = new Random(32176L); in testInputStream() local 362 int l = writeLengths[rng.nextInt(writeLengths.length)]; in testInputStream() 401 int l = writeLengths[rng.nextInt(writeLengths.length)]; in testInputStream() 437 Random rng = new Random(32176L); in testOutputStream() local 477 int l = writeLengths[rng.nextInt(writeLengths.length)]; in testOutputStream() 520 int l = writeLengths[rng.nextInt(writeLengths.length)]; in testOutputStream()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/ |
D | ByteStringTest.java | 426 Random rng = new Random(1); in testNewOutput_Mixed() local 439 if (rng.nextBoolean()) { in testNewOutput_Mixed() 440 int count = 1 + rng.nextInt(bytes.length - position); in testNewOutput_Mixed()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/ |
D | ByteStringTest.java | 466 Random rng = new Random(1); in testNewOutput_Mixed() local 479 if (rng.nextBoolean()) { in testNewOutput_Mixed() 480 int count = 1 + rng.nextInt(bytes.length - position); in testNewOutput_Mixed()
|