Searched refs:random (Results 1 – 16 of 16) sorted by relevance
/bionic/benchmarks/ |
D | property_benchmark.cpp | 59 name_lens[i] = (random() % (PROP_NAME_MAX - 10)) + 10; in LocalPropertyTestState() 73 names[i][j] = prop_name_chars[random() % prop_name_len]; in LocalPropertyTestState() 78 value_lens[i] = (random() % (PROP_VALUE_MAX - 1)) + 1; in LocalPropertyTestState() 81 values[i][j] = prop_name_chars[random() % (sizeof(prop_name_chars) - 1)]; in LocalPropertyTestState() 139 pa.system_properties().Get(pa.names[random() % nprops], value); in BM_property_get() 151 pa.system_properties().Find(pa.names[random() % nprops]); in BM_property_find() 166 pinfo[i] = pa.system_properties().Find(pa.names[random() % nprops]); in BM_property_read() 187 pinfo[i] = pa.system_properties().Find(pa.names[random() % nprops]); in BM_property_serial()
|
/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/bionic/ |
D | rand.cpp | 24 return random(); in rand()
|
/bionic/tests/ |
D | string_test.cpp | 275 state.ptr1[random() % state.len[i]] = '\0'; in TEST() 460 size_t pos = random() % state.MAX_LEN; in TEST() 494 size_t pos = 1 + (random() % (state.MAX_LEN - 1)); in TEST() 523 size_t pos = random() % state.MAX_LEN; in TEST() 547 size_t pos = random() % state.MAX_LEN; in TEST() 577 size_t pos = random() % state.MAX_LEN; in TEST() 604 size_t pos = random() % state.MAX_LEN; in TEST() 638 state.ptr1[random() % state.len[i]] = '\0'; in TEST() 643 size_t actual = random() % state.len[i]; in TEST() 662 size_t pos = 1 + (random() % (state.MAX_LEN - 1)); in TEST() [all …]
|
D | stdlib_test.cpp | 143 TEST(stdlib, random) { in TEST() argument 145 EXPECT_EQ(55436735, random()); in TEST() 146 EXPECT_EQ(1399865117, random()); in TEST() 147 EXPECT_EQ(2032643283, random()); in TEST() 148 EXPECT_EQ(571329216, random()); in TEST() 150 EXPECT_EQ(55436735, random()); in TEST() 151 EXPECT_EQ(1399865117, random()); in TEST() 153 EXPECT_EQ(55436735, random()); in TEST() 154 EXPECT_EQ(1399865117, random()); in TEST()
|
/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/libc/kernel/uapi/linux/netfilter/ |
D | xt_statistic.h | 27 } random; member
|
/bionic/tests/headers/posix/ |
D | stdlib_h.c | 117 FUNCTION(random, long (*f)(void)); in stdlib_h()
|
/bionic/libc/include/ |
D | stdlib.h | 204 long random(void);
|
/bionic/docs/ |
D | status.md | 147 * `getentropy`/`getrandom` (adding <sys/random.h>) 244 …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 | 374 # <sys/random.h>
|
D | libc.map.txt | 851 random; # introduced=21
|
D | Android.bp | 425 "upstream-netbsd/common/lib/libc/stdlib/random.c",
|
D | NOTICE | 4378 such a mathematical system to generate more random (yet non-repeating)
|
/bionic/tools/versioner/platforms/ |
D | libc.map.txt | 851 random; # introduced=21
|