Home
last modified time | relevance | path

Searched refs:rand_r (Results 1 – 25 of 41) sorted by relevance

12

/external/compiler-rt/test/tsan/
Dreal_deadlock_detector_stress_test.cc46 int what = rand_r(&rnd) % 10; in Thread()
57 int id = (rand_r(&rnd) % (kMutexes - max_locked - 1)) + max_locked + 1; in Thread()
85 switch (rand_r(&rnd) % 4) { in Thread()
125 int pos = rand_r(&rnd) % locked.size(); in Thread()
140 int id = rand_r(&rnd) % kMutexes; in Thread()
/external/llvm-project/compiler-rt/test/tsan/
Dreal_deadlock_detector_stress_test.cpp46 int what = rand_r(&rnd) % 10; in Thread()
57 int id = (rand_r(&rnd) % (kMutexes - max_locked - 1)) + max_locked + 1; in Thread()
85 switch (rand_r(&rnd) % 4) { in Thread()
125 int pos = rand_r(&rnd) % locked.size(); in Thread()
140 int id = rand_r(&rnd) % kMutexes; in Thread()
/external/clang/test/Analysis/
Dsecurity-syntax-checks-no-emit.c17 int rand_r(unsigned *);
32 rand_r(&b); // no-warning in test_rand()
Dsecurity-syntax-checks.m99 int rand_r(unsigned *); function
114rand_r(&b); // expected-warning{{Function 'rand_r' is obsolete because it implements a poor random…
/external/llvm-project/clang/test/Analysis/
Dsecurity-syntax-checks-no-emit.c20 int rand_r(unsigned *);
35 rand_r(&b); // no-warning in test_rand()
Dsecurity-syntax-checks.m152 int rand_r(unsigned *); function
167rand_r(&b); // expected-warning{{Function 'rand_r' is obsolete because it implements a poor random…
Dstd-c-library-functions-POSIX.c195 int rand_r(unsigned int *seedp);
/external/llvm-project/clang/test/CodeGen/
Dblocksignature.c25 extern void rand_r(int (^b)(char x, float y)); // name a function present at runtime in foo()
27rand_r(^(char x, float y){ return x + (int)y + param + rand(); }); // generate a local block bind… in foo()
/external/clang/test/CodeGen/
Dblocksignature.c25 extern void rand_r(int (^b)(char x, float y)); // name a function present at runtime in foo()
27rand_r(^(char x, float y){ return x + (int)y + param + rand(); }); // generate a local block bind… in foo()
/external/compiler-rt/test/msan/
Drand_r.cc13 int v = rand_r(&seed); in main()
/external/llvm-project/compiler-rt/test/msan/
Drand_r.cpp13 int v = rand_r(&seed); in main()
/external/puffin/src/
Dstream_unittest.cc77 size_t size = rand_r(&rand_seed) % (buf.size() + 1); in TestRead()
79 uint64_t start = rand_r(&rand_seed) % (max_start + 1); in TestRead()
/external/eigen/unsupported/test/
Dcxx11_eventcount.cpp22 return rand_r(s); in rand_reentrant()
Dcxx11_runqueue.cpp24 return rand_r(s); in rand_reentrant()
/external/stressapptest/
Dconfigure.ac139 AC_CHECK_FUNCS([mmap64 posix_memalign rand_r sched_getaffinity])
/external/stressapptest/src/
Dos.cc919 float_arr[i] = rand_r(&seed); in CpuStressWorkload()
920 if (rand_r(&seed) % 2) in CpuStressWorkload()
Dstressapptest_config.h.in62 /* Define to 1 if you have the `rand_r' function. */
/external/libxml2/
Ddict.c187 rand_r(& rand_seed); in __xmlInitializeDict()
206 ret = rand_r(& rand_seed); in __xmlRandom()
Dconfig.h.cmake.in129 /* Define to 1 if you have the `rand_r' function. */
/external/skia/src/pathops/
DSkPathOpsDebug.h66 #define SK_RAND(seed) rand_r(&seed)
/external/skqp/src/pathops/
DSkPathOpsDebug.h66 #define SK_RAND(seed) rand_r(&seed)
/external/libvpx/libvpx/third_party/libwebm/mkvmuxer/
Dmkvmuxerutil.cc640 const int32 nn = rand_r(seed); in MakeUID()
/external/libwebm/mkvmuxer/
Dmkvmuxerutil.cc640 const int32 nn = rand_r(seed); in MakeUID()
/external/libaom/libaom/third_party/libwebm/mkvmuxer/
Dmkvmuxerutil.cc640 const int32 nn = rand_r(seed); in MakeUID()
/external/libxml2/os400/
Dos400config.h.in131 /* Define to 1 if you have the `rand_r' function. */

12