Home
last modified time | relevance | path

Searched refs:lcg_rand (Results 1 – 2 of 2) sorted by relevance

/external/flatbuffers/tests/
DJavaScriptTest.js268 function lcg_rand() { function
316 var choice = lcg_rand() % test_values_max;
347 var choice = lcg_rand() % test_values_max;
Dtest.cpp77 uint32_t lcg_rand() { in lcg_rand() function
1301 int choice = lcg_rand() % test_values_max; in FuzzTest1()
1331 int choice = lcg_rand() % test_values_max; in FuzzTest1()
1416 !is_struct && !is_last_field && (lcg_rand() % deprecation_rate == 0); in FuzzTest2()
1423 lcg_rand() % (flatbuffers::BASE_TYPE_UNION + 1)); in FuzzTest2()
1447 int defref = lcg_rand() % definition; in FuzzTest2()
1448 int instance = lcg_rand() % instances_per_definition; in FuzzTest2()
1461 "bool", deprecated ? "" : (lcg_rand() % 2 ? "true" : "false")); in FuzzTest2()
1481 ? flatbuffers::NumToString<double>(lcg_rand() % 128) in FuzzTest2()
1483 : flatbuffers::NumToString<int>(lcg_rand() % 128).c_str(); in FuzzTest2()