Home
last modified time | relevance | path

Searched refs:rand_r (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/tools/testing/radix-tree/
H A Diteration_check.c81 if (rand_r(&seeds[0]) % 50 == 0) { in tagged_iteration_fn()
114 if (rand_r(&seeds[1]) % 50 == 0) { in untagged_iteration_fn()
141 pgoff = rand_r(&seeds[2]) % MAX_IDX; in remove_entries_fn()
/kernel/linux/linux-6.6/tools/testing/radix-tree/
H A Diteration_check.c81 if (rand_r(&seeds[0]) % 50 == 0) { in tagged_iteration_fn()
114 if (rand_r(&seeds[1]) % 50 == 0) { in untagged_iteration_fn()
141 pgoff = rand_r(&seeds[2]) % MAX_IDX; in remove_entries_fn()
/kernel/liteos_a/testsuites/unittest/libc/sys/smoke/
H A Dsys_test_006.cpp41 x = rand_r(pseed); in TestCase()
/test/xts/acts/kernel_lite/util_posix/src/
H A DActsUtilMathApiTest.cpp158 * @tc.name test rand_r api
165 returnVal = rand_r(&paraVal); in HWTEST_F()
166 LOGD(" rand_r returnVal:='%ld'\n", returnVal); in HWTEST_F()
167 ASSERT_TRUE(returnVal >= 0 && returnVal <= RAND_MAX) << "ErrInfo: rand_r returnVal:='" << returnVal << "'"; in HWTEST_F()
/foundation/communication/bluetooth/frameworks/inner/src/
H A Duuid.cpp81 rand_r(&randNum); in RandomUUID()
/foundation/communication/bluetooth/frameworks/inner/ipc/common/
H A Dbt_uuid.cpp40 rand_r(&randNum); in Random()
/foundation/distributeddatamgr/relational_store/test/native/rdb/unittest/
H A Drdb_execute_rd_test.cpp287 uint32_t intPart = (rand_r(&randomNumberSeed) % maxElementNum); in GetRandVector()
289 uint32_t tenths = (rand_r(&randomNumberSeed) % 10); // 10是用来限制小数点后的数字不能超过10 in GetRandVector()
/test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/cpp/
H A Dstdlibndk.cpp198 int randR_value = rand_r(&seed); in RandR()
204 int randR_value = rand_r(&seed); in RandR()

Completed in 8 milliseconds