| /xsrc/external/mit/libXdmcp/dist/ |
| H A D | Key.c | 50 #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 D | configure.ac | 57 AC_CHECK_HEADERS([sys/random.h])
|
| /xsrc/external/mit/libdrm/dist/tests/ |
| H A D | hash.c | 40 * 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 D | rand_xor.c | 29 #include <sys/random.h> 39 /* Super fast random number generator.
|
| /xsrc/external/mit/MesaLib.old/dist/src/glx/ |
| H A D | glxhash.c | 42 * 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 D | glxhash.c | 42 * 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 D | fast_urem_by_const_test.cpp | 79 TEST(fast_urem_by_const, random)
|
| /xsrc/external/mit/xgc/dist/ |
| H A D | tests.c | 25 #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 D | Xw32defs.h | 52 # define random rand macro
|
| /xsrc/external/mit/fontconfig/dist/src/ |
| H A D | fccompat.c | 225 result = random (); 245 # error no random number generator function available.
|
| /xsrc/external/mit/MesaLib/dist/docs/relnotes/ |
| H A D | 7.5.2.rst | 48 - Fixed random number usage in GLX code.
|
| H A D | 10.4.7.rst | 35 random code generation
|
| H A D | 17.2.5.rst | 37 - Rust shadows(?) flash random colours
|
| /xsrc/external/mit/xcb-util/dist/image/ |
| H A D | test_formats.c | 46 extern long random(); 47 int frac = random() % (WIDTH * HEIGHT);
|
| /xsrc/external/mit/xdm/dist/ |
| H A D | configure.ac | 237 # 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 D | gtest-internal-inl.h | 105 // 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 D | gtest-internal-inl.h | 99 // 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 D | Makefile.am | 127 random \
|
| /xsrc/external/mit/freetype/dist/src/tools/ftrandom/ |
| H A D | ftrandom.c | 32 #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 D | viewperf.rst | 60 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 D | Makefile.am | 39 clear-random \
|
| /xsrc/external/mit/freetype/dist/include/freetype/internal/ |
| H A D | cfftypes.h | 329 FT_UInt32 random; member in struct:CFF_SubFontRec_
|
| /xsrc/external/mit/MesaLib.old/dist/src/util/tests/vma/ |
| H A D | vma_random_test.cpp | 33 #include <random>
|
| /xsrc/external/mit/MesaLib/dist/src/util/tests/vma/ |
| H A D | vma_random_test.cpp | 33 #include <random>
|
| /xsrc/external/mit/freetype/dist/src/psaux/ |
| H A D | psintrp.c | 2088 /* ==> 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...] |