Home
last modified time | relevance | path

Searched refs:randomInt (Results 1 – 16 of 16) sorted by relevance

/third_party/flutter/skia/third_party/externals/sdl/Xcode-iOS/Template/SDL iOS Application/
Dmain.c14 randomInt(int min, int max) in randomInt() function
31 rect.w = randomInt(64, 128); in render()
32 rect.h = randomInt(64, 128); in render()
33 rect.x = randomInt(0, SCREEN_WIDTH); in render()
34 rect.y = randomInt(0, SCREEN_HEIGHT); in render()
37 r = randomInt(50, 255); in render()
38 g = randomInt(50, 255); in render()
39 b = randomInt(50, 255); in render()
/third_party/flutter/skia/third_party/externals/sdl/Xcode-iOS/Demos/src/
Drectangles.c22 rect.w = randomInt(64, 128); in render()
23 rect.h = randomInt(64, 128); in render()
24 rect.x = randomInt(0, renderW); in render()
25 rect.y = randomInt(0, renderH); in render()
28 r = randomInt(50, 255); in render()
29 g = randomInt(50, 255); in render()
30 b = randomInt(50, 255); in render()
Dcommon.h7 extern int randomInt(int min, int max);
Dcommon.c16 randomInt(int min, int max) in randomInt() function
/third_party/node/test/parallel/
Dtest-crypto-random.js316 crypto.randomInt(3, common.mustSucceed((n) => {
334 const n = crypto.randomInt(3);
350 crypto.randomInt(1, 3, common.mustSucceed((n) => {
367 crypto.randomInt(-10, -8, common.mustSucceed((n) => {
397 () => crypto.randomInt(i, 100),
401 () => crypto.randomInt(i, 100, common.mustNotCall()),
405 () => crypto.randomInt(i),
409 () => crypto.randomInt(i, common.mustNotCall()),
413 () => crypto.randomInt(0, i, common.mustNotCall()),
417 () => crypto.randomInt(0, i),
[all …]
/third_party/node/lib/
Dcrypto.js54 randomInt,
187 randomInt, property
/third_party/flutter/skia/third_party/externals/angle2/util/
Drandom_utils.cpp42 int RNG::randomInt() in randomInt() function in angle::RNG
Drandom_utils.h34 int randomInt();
/third_party/skia/third_party/externals/angle2/util/
Drandom_utils.cpp42 int RNG::randomInt() in randomInt() function in angle::RNG
Drandom_utils.h34 int randomInt();
/third_party/node/lib/internal/crypto/
Drandom.js142 function randomInt(min, max, callback) { function
325 randomInt, property
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/
DParallelShaderCompileTest.cpp77 ostream << source << "\n// Random string to fool program cache: " << rng.randomInt() in insertRandomString()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DParallelShaderCompileTest.cpp78 ostream << source << "\n// Random string to fool program cache: " << rng.randomInt() in insertRandomString()
DVertexAttributeTest.cpp3261 Vector4 randomVec4 = RandomVec4(rng.randomInt(), 0.0f, 1.0f); in TEST_P()
/third_party/node/doc/api/
Dcrypto.md2808 ### `crypto.randomInt([min, ]max[, callback])`
2828 crypto.randomInt(3, (err, n) => {
2836 const n = crypto.randomInt(3);
2842 const n = crypto.randomInt(1, 7);
/third_party/node/doc/changelogs/
DCHANGELOG_V14.md1491 * [[`00659a9218`](https://github.com/nodejs/node/commit/00659a9218)] - **crypto**: fix randomInt bi…
2648 …/commit/1bb0ed3c6a)] - **crypto**: improve invalid arg type message for randomInt() (Rich Trott) […
2649 …ttps://github.com/nodejs/node/commit/3573545315)] - **crypto**: improve randomInt out-of-range err…
2753 …om/nodejs/node/commit/44d89a9faa)] - **(SEMVER-MINOR)** **crypto**: add randomInt function (Oli La…
2770 * [[`a12d92c97b`](https://github.com/nodejs/node/commit/a12d92c97b)] - **crypto**: fix randomInt ra…
2772 …om/nodejs/node/commit/44d89a9faa)] - **(SEMVER-MINOR)** **crypto**: add randomInt function (Oli La…