Home
last modified time | relevance | path

Searched refs:lrand48 (Results 1 - 25 of 27) sorted by relevance

12

/third_party/musl/libc-test/src/regression/
H A Dlrand48-signextend.c0 // lrand48 should give deterministic results
9 r = lrand48(); in main()
10 if (r != 0) t_error("1st lrand48() got %ld want 0\n", r); in main()
11 r = lrand48(); in main()
12 if (r != 2116118) t_error("2nd lrand48() got %ld want 2116118\n", r); in main()
13 r = lrand48(); in main()
14 if (r != 89401895) t_error("3rd lrand48() got %ld want 89401895\n", r); in main()
/third_party/ltp/lib/
H A Drandom_range.c274 * Note: Uses lrand48(), assuming that set_random_seed() uses srand48() when
281 extern long lrand48(); in random_range()
342 * and the standard lrand48() routine can be used. in random_range()
345 return (long)(min + (((long)lrand48() % nmults) * mult)); in random_range()
349 * Since lrand48 only will get a number up to 32bits. in random_range()
357 return (min + ((lrand48() % nmults) * mult)); in random_range()
368 extern long lrand48(); in random_rangel()
429 * and the standard lrand48() routine can be used. in random_rangel()
432 return (long)(min + (((long)lrand48() % nmults) * mult)); in random_rangel()
436 * Since lrand48 onl in random_rangel()
[all...]
/third_party/ltp/testcases/kernel/mem/shmt/
H A Dshmt05.c65 key[0] = (key_t) lrand48(); in main()
66 key[1] = (key_t) lrand48(); in main()
/third_party/ltp/testcases/kernel/mem/mmapstress/
H A Dmmapstress01.c152 int pageoffset = lrand48() % mappages; in child_mapper()
159 nloops = (randloops) ? (lrand48() % MAXLOOPS) : MAXLOOPS; in child_mapper()
171 randpage = lrand48() % mappages; in child_mapper()
191 randpage = lrand48() % mappages; in child_mapper()
H A Dmmapstress09.c86 extern long lrand48(void);
384 nloops = (randloops) ? (lrand48() % MAXLOOPS) : MAXLOOPS; in child_mapper()
395 randpage = lrand48() % mappages; in child_mapper()
421 randpage = (unsigned)lrand48() % mappages; in child_mapper()
H A Dmmapstress10.c116 extern long lrand48(void);
585 int pageoffset = lrand48() % mappages;
606 nloops = (randloops) ? (lrand48() % MAXLOOPS) : MAXLOOPS;
626 randpage = lrand48() % mappages;
663 randpage = lrand48() % mappages;
/third_party/musl/src/prng/
H A Dlrand48.c10 long lrand48(void) in lrand48() function
/third_party/ltp/testcases/misc/math/fptests/
H A Dfptest02.c339 u1 = lrand48() / rnorm; in gauss()
340 u2 = lrand48() / rnorm; in gauss()
/third_party/vixl/test/
H A Dtest-donkey.cc57 uint32_t pos = 5 + ((lrand48() >> 20) % 27); in Mutate()
63 uint32_t dst_pos = (lrand48() >> 20) % 5; in Mutate()
/third_party/ltp/libs/libltpipc/
H A Dlibmsgctl.c110 size = (lrand48() % 99); in dowriter()
/third_party/musl/porting/liteos_m/kernel/include/
H A Dstdlib.h129 long int lrand48 (void);
/third_party/musl/porting/liteos_m/user/include/
H A Dstdlib.h128 long int lrand48 (void);
/third_party/musl/porting/liteos_a/kernel/include/
H A Dstdlib.h131 long int lrand48 (void);
/third_party/musl/porting/uniproton/kernel/include/
H A Dstdlib.h129 long int lrand48 (void);
/third_party/musl/libc-test/src/api/
H A Dstdlib.c81 {long(*p)(void) = lrand48;} in f()
/third_party/musl/porting/linux/user/include/
H A Dstdlib.h134 long int lrand48 (void);
/third_party/musl/include/
H A Dstdlib.h135 long int lrand48 (void);
/third_party/ltp/testcases/kernel/ipc/pipeio/
H A Dpipeio.c578 n = lrand48() % chld_wait; in do_child()
660 n = lrand48() % parent_wait; in do_parent()
/third_party/ltp/testcases/kernel/syscalls/ipc/msgstress/
H A Dmsgstress04.c149 keyarray[i] = (key_t) lrand48(); in main()
H A Dmsgstress02.c144 keyarray[i] = (key_t) lrand48(); in main()
/third_party/musl/Benchmark/musl/
H A Dlibc_stdlib.cpp298 benchmark::DoNotOptimize(lrand48());
/third_party/ltp/pan/
H A Dltp-pan.c531 c = lrand48() % coll->cnt; in main()
/third_party/rust/crates/libc/src/unix/bsd/
H A Dmod.rs887 pub fn lrand48() -> ::c_long; in lrand48() functions
/third_party/rust/crates/libc/src/solid/
H A Dmod.rs581 pub fn lrand48() -> c_long; in lrand48() functions
/third_party/rust/crates/libc/src/unix/haiku/
H A Dmod.rs1897 pub fn lrand48() -> ::c_long; in lrand48() functions

Completed in 21 milliseconds

12