Searched refs:random_value (Results 1 - 9 of 9) sorted by relevance
/third_party/node/deps/openssl/openssl/providers/implementations/rands/seeding/ |
H A D | rand_cpu_x86.c | 68 uint64_t random_value = 0; in get_hardware_random_value() local 70 if (_rdrand64(&random_value) != 0) { in get_hardware_random_value() 71 unsigned char *random_buffer = (unsigned char *)&random_value; in get_hardware_random_value() 73 if (bytes_remaining >= sizeof(random_value)) { in get_hardware_random_value() 74 memcpy(buf, random_buffer, sizeof(random_value)); in get_hardware_random_value() 75 bytes_remaining -= sizeof(random_value); in get_hardware_random_value() 76 buf += sizeof(random_value); in get_hardware_random_value() 79 random_buffer + (sizeof(random_value) - bytes_remaining), in get_hardware_random_value()
|
/third_party/openssl/providers/implementations/rands/seeding/ |
H A D | rand_cpu_x86.c | 68 uint64_t random_value = 0; in get_hardware_random_value() local 70 if (_rdrand64(&random_value) != 0) { in get_hardware_random_value() 71 unsigned char *random_buffer = (unsigned char *)&random_value; in get_hardware_random_value() 73 if (bytes_remaining >= sizeof(random_value)) { in get_hardware_random_value() 74 memcpy(buf, random_buffer, sizeof(random_value)); in get_hardware_random_value() 75 bytes_remaining -= sizeof(random_value); in get_hardware_random_value() 76 buf += sizeof(random_value); in get_hardware_random_value() 79 random_buffer + (sizeof(random_value) - bytes_remaining), in get_hardware_random_value()
|
/third_party/mesa3d/src/util/tests/hash_table/ |
H A D | random_entry.c | 61 uint32_t i, random_value = 0; in main() local 85 if (i == 0 || key_value(entry->key) != random_value) in main() 87 random_value = key_value(entry->key); in main()
|
/third_party/python/Modules/ |
H A D | rotatingtree.c | 11 static unsigned int random_value = 1; variable 19 random_value *= 1082527; in randombits() 20 random_stream = random_value; in randombits()
|
/third_party/musl/porting/linux/user/src/gwp_asan/ |
H A D | gwp_asan.c | 153 uint8_t random_value;
in should_sample_process() local 155 if (getrandom(&random_value, sizeof(random_value), GRND_RANDOM | GRND_NONBLOCK) == -1) {
in should_sample_process() 156 random_value = previous_random_value + 1;
in should_sample_process() 157 previous_random_value = random_value;
in should_sample_process() 160 return (random_value % process_sample_rate) == 0 ? true : false;
in should_sample_process()
|
/third_party/musl/src/gwp_asan/linux/ |
H A D | gwp_asan.c | 153 uint8_t random_value;
in should_sample_process() local 155 if (getrandom(&random_value, sizeof(random_value), GRND_RANDOM | GRND_NONBLOCK) == -1) {
in should_sample_process() 156 random_value = previous_random_value + 1;
in should_sample_process() 157 previous_random_value = random_value;
in should_sample_process() 160 return (random_value % process_sample_rate) == 0 ? true : false;
in should_sample_process()
|
/third_party/skia/third_party/externals/icu/fuzzers/ |
H A D | fuzzer_utils.h | 57 std::vector<char16_t> RandomChar16Array(size_t random_value, in RandomChar16Array() argument 61 arr.resize(random_value % size * sizeof(uint8_t) / sizeof(char16_t)); in RandomChar16Array()
|
/third_party/lwip/test/sockets/ |
H A D | sockets_stresstest.c | 341 u32_t random_value = LWIP_RAND(); in sockets_stresstest_rand_mode() local 343 if (random_value & TEST_MODE_SELECT) { in sockets_stresstest_rand_mode() 348 if (random_value & TEST_MODE_POLL) { in sockets_stresstest_rand_mode() 356 if (random_value & TEST_MODE_RECVTIMEO) { in sockets_stresstest_rand_mode() 361 if (random_value & TEST_MODE_RECVTIMEO) { in sockets_stresstest_rand_mode()
|
/third_party/vk-gl-cts/external/openglcts/modules/glesext/gpu_shader5/ |
H A D | esextcGPUShader5PreciseQualifier.cpp | 297 glw::GLfloat random_value = static_cast<glw::GLfloat>(randomFormula(m_position_range)) / in iterate() local 300 vertex_data_weights[component_nr] = random_value; in iterate() 301 weights_sum -= random_value; in iterate()
|
Completed in 9 milliseconds