| /xsrc/external/mit/libXdmcp/dist/ |
| 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 ();
|
| configure.ac | 57 AC_CHECK_HEADERS([sys/random.h])
|
| /xsrc/external/mit/libdrm/dist/tests/ |
| 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/ |
| rand_xor.c | 29 #include <sys/random.h> 39 /* Super fast random number generator.
|
| /xsrc/external/mit/MesaLib/dist/src/glx/ |
| 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(), i) [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/glx/ |
| 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(), i) [all...] |
| /xsrc/external/mit/MesaLib/dist/src/util/tests/fast_urem_by_const/ |
| fast_urem_by_const_test.cpp | 79 TEST(fast_urem_by_const, random)
|
| /xsrc/external/mit/xgc/dist/ |
| tests.c | 24 #define random lrand48 macro 195 segments[0].x1 = random()%400; segments[0].y1 = random()%400; 196 segments[0].x2 = random()%400; segments[0].y2 = random()%400; 231 points[0].x = random()%400; points[0].y = random()%400; 232 points[1].x = random()%400; points[1].y = random()%400;
|
| /xsrc/external/mit/xorgproto/dist/include/X11/ |
| Xw32defs.h | 52 # define random rand macro
|
| /xsrc/external/mit/fontconfig/dist/src/ |
| fccompat.c | 225 result = random (); 245 # error no random number generator function available.
|
| /xsrc/external/mit/xcb-util/dist/image/ |
| test_formats.c | 46 extern long random(); 47 int frac = random() % (WIDTH * HEIGHT);
|
| /xsrc/external/mit/MesaLib/dist/src/gtest/src/ |
| 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, 326 static_cast<int>(random->Generate(static_cast<UInt32>(range_width))); 334 inline void Shuffle(internal::Random* random, std::vector<E>* v) { 335 ShuffleRange(random, 0, static_cast<int>(v->size()), v) 817 internal::Random* random() { return &random_; } function in class:testing::internal::UnitTestImpl [all...] |
| gtest.cc | 283 "Random number seed to use when shuffling test orders. Must be in range " 330 // Generates a random number from [0, range), using a Linear 333 UInt32 Random::Generate(UInt32 range) { 2841 void TestSuite::ShuffleTests(internal::Random* random) { 2842 Shuffle(random, &test_indices_); 4962 // Returns the random seed used at the start of the current test run. 5302 random()->Reseed(static_cast<UInt32>(random_seed_)); 5368 // Picks a new random seed for each iteration. 5661 ShuffleRange(random(), 0, last_death_test_suite_ + 1, &test_suite_indices_) [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gtest/src/ |
| 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, 326 const int selected = begin + random->Generate(range_width); 333 inline void Shuffle(internal::Random* random, std::vector<E>* v) { 334 ShuffleRange(random, 0, static_cast<int>(v->size()), v) 792 internal::Random* random() { return &random_; } function in class:testing::internal::UnitTestImpl [all...] |
| gtest.cc | 259 "Random number seed to use when shuffling test orders. Must be in range " 308 // Generates a random number from [0, range), using a Linear 311 UInt32 Random::Generate(UInt32 range) { 2793 void TestCase::ShuffleTests(internal::Random* random) { 2794 Shuffle(random, &test_indices_); 4285 // Returns the random seed used at the start of the current test run. 4627 random()->Reseed(random_seed_); 4679 // Picks a new random seed for each iteration. 4941 ShuffleRange(random(), 0, last_death_test_case_ + 1, &test_case_indices_) [all...] |
| /xsrc/external/mit/freetype/dist/src/tools/ftrandom/ |
| ftrandom.c | 32 #define _XOPEN_SOURCE 500 /* for `kill', `strdup', `random', and `srandom' */ 302 /* Random PostScript */ 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/src/util/tests/vma/ |
| vma_random_test.cpp | 33 #include <random>
|
| /xsrc/external/mit/MesaLib.old/dist/src/util/tests/vma/ |
| vma_random_test.cpp | 33 #include <random>
|
| /xsrc/external/mit/freetype/dist/include/freetype/internal/ |
| cfftypes.h | 329 FT_UInt32 random; member in struct:CFF_SubFontRec_
|
| /xsrc/external/mit/freetype/dist/src/psaux/ |
| 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...] |
| psobjs.c | 2539 /* Initialize the random number generator. */ 2544 subfont->random = (FT_UInt32)face->internal->random_seed; 2555 if ( !subfont->random ) 2560 /* compute random seed from some memory addresses */ 2568 subfont->random = seed;
|
| cffdecode.c | 1728 FT_UInt32* randval = in_dict ? &decoder->cff->top_font.random 1729 : &decoder->current_subfont->random; 1732 FT_TRACE4(( " random\n" )); 1734 /* only use the lower 16 bits of `random' */
|
| /xsrc/external/mit/MesaLib/dist/src/amd/common/ |
| ac_surface_modifier_test.c | 161 x = random(); 162 y = random();
|
| /xsrc/external/mit/libdrm/dist/tests/exynos/ |
| exynos_fimg2d_test.c | 152 * have a random color. The caller has to free the buffer. */ 165 const unsigned int color = 0xff000000 + (random() & 0xffffff); 222 img.color = 0xff000000 + (random() & 0xffffff); 414 s = &steps[random() % num_steps];
|
| /xsrc/external/mit/freetype/dist/src/cff/ |
| cffload.c | 2094 * Initialize the random number generator. 2102 * - If the random value is zero, use the seed given by the subfont's 2111 subfont->random = (FT_UInt32)driver->random_seed; 2124 subfont->random = (FT_UInt32)face->root.internal->random_seed; 2137 if ( !subfont->random ) 2138 subfont->random = (FT_UInt32)priv->initial_random_seed;
|