Searched refs:random (Results 1 – 17 of 17) sorted by relevance
/bionic/benchmarks/ |
D | property_benchmark.cpp | 57 name_lens[i] = (random() % (PROP_NAME_MAX - 10)) + 10; in LocalPropertyTestState() 71 names[i][j] = prop_name_chars[random() % prop_name_len]; in LocalPropertyTestState() 76 value_lens[i] = (random() % (PROP_VALUE_MAX - 1)) + 1; in LocalPropertyTestState() 79 values[i][j] = prop_name_chars[random() % (sizeof(prop_name_chars) - 1)]; in LocalPropertyTestState() 134 pa.system_properties().Get(pa.names[random() % nprops], value); in BM_property_get() 146 pa.system_properties().Find(pa.names[random() % nprops]); in BM_property_find() 161 pinfo[i] = pa.system_properties().Find(pa.names[random() % nprops]); in BM_property_read() 182 pinfo[i] = pa.system_properties().Find(pa.names[random() % nprops]); in BM_property_serial()
|
/bionic/libc/bionic/ |
D | rand.cpp | 24 return random(); in rand()
|
/bionic/libc/kernel/uapi/linux/netfilter/ |
D | xt_statistic.h | 39 } random; member
|
/bionic/libc/upstream-openbsd/lib/libc/net/ |
D | res_random.c | 233 _THREAD_PRIVATE_MUTEX(random); in __res_randomid() 238 _THREAD_PRIVATE_MUTEX_LOCK(random); in __res_randomid() 251 _THREAD_PRIVATE_MUTEX_UNLOCK(random); in __res_randomid()
|
/bionic/libc/upstream-netbsd/common/lib/libc/stdlib/ |
D | random.c | 51 __weak_alias(random,_random) 499 random(void) in random() function 510 random(void) in random() function
|
/bionic/tests/ |
D | string_test.cpp | 264 state.ptr1[random() % state.len[i]] = '\0'; in TEST() 448 size_t pos = random() % state.MAX_LEN; in TEST() 482 size_t pos = 1 + (random() % (state.MAX_LEN - 1)); in TEST() 511 size_t pos = random() % state.MAX_LEN; in TEST() 535 size_t pos = random() % state.MAX_LEN; in TEST() 565 size_t pos = random() % state.MAX_LEN; in TEST() 592 size_t pos = random() % state.MAX_LEN; in TEST() 626 state.ptr1[random() % state.len[i]] = '\0'; in TEST() 631 size_t actual = random() % state.len[i]; in TEST() 650 size_t pos = 1 + (random() % (state.MAX_LEN - 1)); in TEST() [all …]
|
D | stdlib_test.cpp | 138 TEST(stdlib, random) { in TEST() argument 140 EXPECT_EQ(55436735, random()); in TEST() 141 EXPECT_EQ(1399865117, random()); in TEST() 142 EXPECT_EQ(2032643283, random()); in TEST() 143 EXPECT_EQ(571329216, random()); in TEST() 145 EXPECT_EQ(55436735, random()); in TEST() 146 EXPECT_EQ(1399865117, random()); in TEST() 148 EXPECT_EQ(55436735, random()); in TEST() 149 EXPECT_EQ(1399865117, random()); in TEST()
|
/bionic/libc/include/android/ |
D | legacy_stdlib_inlines.h | 76 static __inline long random(void) { return lrand48(); } in random() function
|
/bionic/tests/headers/posix/ |
D | stdlib_h.c | 117 FUNCTION(random, long (*f)(void)); in stdlib_h()
|
/bionic/libc/include/ |
D | stdlib.h | 199 long random(void) __INTRODUCED_IN(21);
|
/bionic/docs/ |
D | status.md | 67 * `getentropy`/`getrandom` (adding <sys/random.h>) 164 …ck_exit`, `grantpt`, `mbtowc`/`wctomb`, `posix_openpt`, `rand_r`/`rand`/`random`/`srand`/`srandom`…
|
/bionic/libc/tools/ |
D | posix-2013.txt | 833 random
|
/bionic/libc/ |
D | SYSCALLS.TXT | 357 # <sys/random.h>
|
D | libc.map.txt | 851 random; # introduced=21
|
D | Android.bp | 321 "upstream-netbsd/common/lib/libc/stdlib/random.c",
|
D | NOTICE | 5901 such a mathematical system to generate more random (yet non-repeating)
|
/bionic/tools/versioner/platforms/ |
D | libc.map.txt | 851 random; # introduced=21
|