Home
last modified time | relevance | path

Searched refs:random (Results 1 – 7 of 7) sorted by relevance

/bionic/tests/
Dproperty_benchmark.cpp59 name_lens[i] = random() % PROP_NAME_MAX; in LocalPropertyTestState()
62 names[i][j] = prop_name_chars[random() % (sizeof(prop_name_chars) - 1)]; in LocalPropertyTestState()
65 value_lens[i] = random() % PROP_VALUE_MAX; in LocalPropertyTestState()
68 values[i][j] = prop_name_chars[random() % (sizeof(prop_name_chars) - 1)]; in LocalPropertyTestState()
124 __system_property_get(pa.names[random() % nprops], value); in BM_property_get()
144 __system_property_find(pa.names[random() % nprops]); in BM_property_find()
Dstring_test.cpp158 int align1 = alignments[random() % (usable_alignments - 1)]; in NewIteration()
159 int align2 = alignments[random() % (usable_alignments - 1)]; in NewIteration()
201 memset(state.ptr1, random() & 255, state.len[i]); in TEST()
202 state.ptr1[random() % state.len[i]] = '\0'; in TEST()
382 int seek_char = random() & 255; in TEST()
396 int pos = random() % state.MAX_LEN; in TEST()
425 int pos = 1 + (random() % (state.MAX_LEN - 1)); in TEST()
456 size_t pos = random() % state.MAX_LEN; in TEST()
489 int pos = random() % state.MAX_LEN; in TEST()
513 int rand = random() & 255; in TEST()
[all …]
Dstdlib_test.cpp43 EXPECT_EQ(1409163720, random()); in TEST()
44 EXPECT_EQ(397769746, random()); in TEST()
45 EXPECT_EQ(902267124, random()); in TEST()
46 EXPECT_EQ(132366131, random()); in TEST()
/bionic/libc/kernel/common/linux/netfilter/
Dxt_statistic.h41 } random; member
/bionic/libc/include/
Dstdlib.h112 static __inline__ long random(void) in random() function
/bionic/libstdc++/include/
Dcstdlib89 using ::random;
/bionic/libc/
DNOTICE4202 such a mathematical system to generate more random (yet non-repeating)