Searched refs:random (Results 1 - 25 of 170) sorted by relevance

1234567

/xsrc/external/mit/libXdmcp/dist/
H A DKey.c50 #define random lrand48 macro
55 #define random rand macro
59 /* Solaris 11.3.0 - 11.4.15 only define getentropy() in <sys/random.h> */
61 # include <sys/random.h>
70 lowbits = random ();
71 highbits = random ();
H A Dconfigure.ac57 AC_CHECK_HEADERS([sys/random.h])
/xsrc/external/mit/libdrm/dist/tests/
H A Dhash.c40 * 2) The hash computation uses a table of random integers [Hanson97,
188 printf("\n***** 1024 random integers ****\n");
192 drmHashInsert(table, random(), (void *)(i << 16 | i));
195 ret |= check_table(table, random(), (void *)(i << 16 | i));
198 ret |= check_table(table, random(), (void *)(i << 16 | i));
202 printf("\n***** 5000 random integers ****\n");
206 drmHashInsert(table, random(), (void *)(i << 16 | i));
209 ret |= check_table(table, random(), (void *)(i << 16 | i));
212 ret |= check_table(table, random(), (void *)(i << 16 | i));
/xsrc/external/mit/MesaLib/dist/src/util/
H A Drand_xor.c29 #include <sys/random.h>
39 /* Super fast random number generator.
/xsrc/external/mit/MesaLib.old/dist/src/glx/
H A Dglxhash.c42 * 2) The hash computation uses a table of random integers [Hanson97,
94 #define HASH_RANDOM random()
443 printf("\n***** 1024 random integers ****\n");
447 __glxHashInsert(table, random(), i);
450 check_table(table, random(), i);
453 check_table(table, random(), i);
457 printf("\n***** 5000 random integers ****\n");
461 __glxHashInsert(table, random(), i);
464 check_table(table, random(), i);
467 check_table(table, random(),
[all...]
/xsrc/external/mit/MesaLib/dist/src/glx/
H A Dglxhash.c42 * 2) The hash computation uses a table of random integers [Hanson97,
94 #define HASH_RANDOM random()
443 printf("\n***** 1024 random integers ****\n");
447 __glxHashInsert(table, random(), i);
450 check_table(table, random(), i);
453 check_table(table, random(), i);
457 printf("\n***** 5000 random integers ****\n");
461 __glxHashInsert(table, random(), i);
464 check_table(table, random(), i);
467 check_table(table, random(),
[all...]
/xsrc/external/mit/MesaLib/dist/src/util/tests/fast_urem_by_const/
H A Dfast_urem_by_const_test.cpp79 TEST(fast_urem_by_const, random)
/xsrc/external/mit/xgc/dist/
H A Dtests.c25 #define random lrand48 macro
221 segments[0].x1 = random()%400; segments[0].y1 = random()%400;
222 segments[0].x2 = random()%400; segments[0].y2 = random()%400;
257 points[0].x = random()%400; points[0].y = random()%400;
258 points[1].x = random()%400; points[1].y = random()%400;
/xsrc/external/mit/xorgproto/dist/include/X11/
H A DXw32defs.h52 # define random rand macro
/xsrc/external/mit/fontconfig/dist/src/
H A Dfccompat.c225 result = random ();
245 # error no random number generator function available.
/xsrc/external/mit/MesaLib/dist/docs/relnotes/
H A D7.5.2.rst48 - Fixed random number usage in GLX code.
H A D10.4.7.rst35 random code generation
H A D17.2.5.rst37 - Rust shadows(?) flash random colours
/xsrc/external/mit/xcb-util/dist/image/
H A Dtest_formats.c46 extern long random();
47 int frac = random() % (WIDTH * HEIGHT);
/xsrc/external/mit/xdm/dist/
H A Dconfigure.ac237 # Define a configure option to locate a special file (/dev/random or /dev/urandom)
238 # that serves as a random or a pseudorandom number generator
239 AC_ARG_WITH(random-device, AS_HELP_STRING([--with-random-device\[=<pathname>\]],
245 [AC_CHECK_FILE([/dev/random], [DEV_RANDOM=/dev/random],
247 [AC_MSG_ERROR([random device support requested, but no random device was found.])]
252 # assume the user input is a valid path to a random number generator
256 AC_DEFINE_UNQUOTED(DEV_RANDOM,"$DEV_RANDOM", [Define to device that provides random dat
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gtest/src/
H A Dgtest-internal-inl.h105 // A valid random seed must be in [1, kMaxRandomSeed].
134 // Returns a random seed in range [1, kMaxRandomSeed] based on the
149 // Returns the first valid random seed after 'seed'. The behavior is
154 << "Invalid random seed " << seed << " - must be in [1, "
312 void ShuffleRange(internal::Random* random, int begin, int end, argument
326 const int selected = begin + random->Generate(range_width);
333 inline void Shuffle(internal::Random* random, std::vector<E>* v) { argument
334 ShuffleRange(random, 0, static_cast<int>(v->size()), v);
788 // Gets the random seed used at the start of the current test iteration.
791 // Gets the random numbe
792 internal::Random* random() { return &random_; } function in class:testing::internal::UnitTestImpl
[all...]
/xsrc/external/mit/MesaLib/dist/src/gtest/src/
H A Dgtest-internal-inl.h99 // A valid random seed must be in [1, kMaxRandomSeed].
128 // Returns a random seed in range [1, kMaxRandomSeed] based on the
143 // Returns the first valid random seed after 'seed'. The behavior is
148 << "Invalid random seed " << seed << " - must be in [1, "
310 void ShuffleRange(internal::Random* random, int begin, int end, argument
326 static_cast<int>(random->Generate(static_cast<UInt32>(range_width)));
334 inline void Shuffle(internal::Random* random, std::vector<E>* v) { argument
335 ShuffleRange(random, 0, static_cast<int>(v->size()), v);
813 // Gets the random seed used at the start of the current test iteration.
816 // Gets the random numbe
817 internal::Random* random() { return &random_; } function in class:testing::internal::UnitTestImpl
[all...]
/xsrc/external/mit/mesa-demos/dist/src/tests/
H A DMakefile.am127 random \
/xsrc/external/mit/freetype/dist/src/tools/ftrandom/
H A Dftrandom.c32 #define _XOPEN_SOURCE 500 /* for `kill', `strdup', `random', and `srandom' */
430 return low + ( ( random() >> 8 ) % ( high + 1 - low ) );
432 return low + ( random() % ( high + 1 - low ) );
563 fprintf( out, "%s [options] -- Generate random erroneous fonts\n"
/xsrc/external/mit/MesaLib/dist/docs/
H A Dviewperf.rst60 random color. This is probably due to some uninitialized state
66 The lines drawn in this test appear in a random color. That's because
70 we get a random color.
154 and with a semi-random color (between white and black) since GL_FOG is
/xsrc/external/mit/mesa-demos/dist/src/trivial/
H A DMakefile.am39 clear-random \
/xsrc/external/mit/freetype/dist/include/freetype/internal/
H A Dcfftypes.h329 FT_UInt32 random; member in struct:CFF_SubFontRec_
/xsrc/external/mit/MesaLib.old/dist/src/util/tests/vma/
H A Dvma_random_test.cpp33 #include <random>
/xsrc/external/mit/MesaLib/dist/src/util/tests/vma/
H A Dvma_random_test.cpp33 #include <random>
/xsrc/external/mit/freetype/dist/src/psaux/
H A Dpsintrp.c2088 /* ==> push random value from interval [0, 1) */
2097 /* only use the lower 16 bits of `random' */
2100 ( ( decoder->current_subfont->random & 0xFFFF ) + 1 );
2102 decoder->current_subfont->random =
2103 cff_random( decoder->current_subfont->random );
2234 FT_TRACE4(( " random\n" ));
2236 /* only use the lower 16 bits of `random' */
2239 ( ( decoder->current_subfont->random & 0xFFFF ) + 1 );
2241 decoder->current_subfont->random =
2242 cff_random( decoder->current_subfont->random );
[all...]

Completed in 22 milliseconds

1234567