| /openbmc/libcper/generator/ |
| H A D | cper-generate.c | 49 header->RecordID = (UINT64)rand(); in generate_cper_record() 50 header->ErrorSeverity = rand() % 4; in generate_cper_record() 53 header->TimeStamp.Century = int_to_bcd(rand() % 100); in generate_cper_record() 54 header->TimeStamp.Year = int_to_bcd(rand() % 100); in generate_cper_record() 55 header->TimeStamp.Month = int_to_bcd(rand() % 12 + 1); in generate_cper_record() 56 header->TimeStamp.Day = int_to_bcd(rand() % 31 + 1); in generate_cper_record() 57 header->TimeStamp.Hours = int_to_bcd(rand() % 24 + 1); in generate_cper_record() 58 header->TimeStamp.Seconds = int_to_bcd(rand() % 60); in generate_cper_record() 138 descriptor->Severity = rand() % 4; in generate_section_descriptor() 152 descriptor->FruString[i] = rand() % (0x7f - 0x20) + 0x20; in generate_section_descriptor()
|
| /openbmc/qemu/util/ |
| H A D | guest-random.c | 26 GRand *rand = thread_rand; in glib_random_bytes() local 30 if (unlikely(rand == NULL)) { in glib_random_bytes() 32 thread_rand = rand = g_rand_new(); in glib_random_bytes() 36 x = g_rand_int(rand); in glib_random_bytes() 40 x = g_rand_int(rand); in glib_random_bytes()
|
| /openbmc/u-boot/tools/ |
| H A D | gen_eth_addr.c | 24 ethaddr_high = (rand() & 0xfeff) | 0x0200; in main() 25 ethaddr_low = rand(); in main()
|
| /openbmc/openbmc/meta-security/recipes-security/isic/files/ |
| H A D | isic-0.07-netinet.patch | 20 * 'rand() & 0x4ff' line below. The 0x4ff needs to be less than the size of 32 * 'rand() & 0x4ff' line below. The 0x4ff needs to be less than the size of 44 * 'rand() & 0x4ff' line below. The 0x4ff needs to be less than the size of 56 * 'rand() & 0x4ff' line below. The 0x4ff needs to be less than the size of 68 * 'rand() & 0x4ff' line below. The 0x4ff needs to be less than the size of
|
| /openbmc/u-boot/arch/arm/cpu/armv8/ |
| H A D | sec_firmware.c | 368 int sec_firmware_get_random(uint8_t *rand, int bytes) in sec_firmware_get_random() argument 393 memcpy(rand, &num, bytes); in sec_firmware_get_random() 460 u8 rand[8]; in fdt_fixup_kaslr() local 469 ret = sec_firmware_get_random(rand, 8); in fdt_fixup_kaslr() 486 err = fdt_setprop(fdt, nodeoffset, "kaslr-seed", rand, in fdt_fixup_kaslr() 487 sizeof(rand)); in fdt_fixup_kaslr()
|
| /openbmc/openbmc/poky/meta/lib/oeqa/files/maturin/guessing-game/src/ |
| H A D | lib.rs | 2 use rand::Rng; 10 let secret_number = rand::thread_rng().gen_range(1..101); in guess_the_number()
|
| /openbmc/phosphor-logging/test/ |
| H A D | elog_update_ts_test.cpp | 52 uint32_t id = std::rand(); in TEST() 57 id = std::rand(); in TEST() 123 uint32_t id = std::rand(); in TEST() 128 id = std::rand(); in TEST()
|
| /openbmc/openbmc/poky/meta/recipes-core/glibc/glibc/ |
| H A D | 0001-stdlib-Add-single-threaded-fast-path-to-rand.patch | 4 Subject: [PATCH] stdlib: Add single-threaded fast path to rand() 9 Improve performance of rand() and __random() by adding a single-threaded
|
| /openbmc/phosphor-net-ipmid/ |
| H A D | prng.hpp | 8 static unsigned int rand() in rand() function
|
| /openbmc/u-boot/lib/ |
| H A D | rand.c | 23 unsigned int rand(void) in rand() function
|
| H A D | uuid.c | 243 *(ptr + i) = cpu_to_be32(rand()); in gen_rand_uuid()
|
| /openbmc/u-boot/arch/arm/include/asm/armv8/ |
| H A D | sec_firmware.h | 18 int sec_firmware_get_random(uint8_t *rand, int bytes);
|
| /openbmc/u-boot/drivers/crypto/ |
| H A D | ace_sha.c | 141 unsigned int rand(void) in rand() function 181 return rand(); in rand_r()
|
| /openbmc/openbmc/poky/meta/lib/oeqa/files/maturin/guessing-game/ |
| H A D | Cargo.toml | 14 rand = "0.8.4"
|
| /openbmc/qemu/tests/qtest/libqos/ |
| H A D | libqos.c | 176 p = rand() % 256; in generate_pattern() 180 p = rand() % 256; in generate_pattern()
|
| /openbmc/openbmc/poky/meta/recipes-devtools/dosfstools/dosfstools/ |
| H A D | source-date-epoch.patch | 105 /* rand() returns int from [0,RAND_MAX], therefore only 31 bits */ 106 return (((uint32_t)(rand() & 0xFFFF)) << 16) | ((uint32_t)(rand() & 0xFFFF));
|
| /openbmc/openbmc/poky/meta-selftest/recipes-devtools/python/ |
| H A D | python3-guessing-game-crates.inc.upgraded | 26 crate://crates.io/rand/0.8.5 \ 69 SRC_URI[rand-0.8.5.sha256sum] = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404"
|
| H A D | python3-guessing-game-crates.inc | 24 crate://crates.io/rand/0.8.5 \ 64 SRC_URI[rand-0.8.5.sha256sum] = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404"
|
| /openbmc/openbmc/meta-openembedded/meta-networking/recipes-protocols/net-snmp/net-snmp/ |
| H A D | 0009-net-snmp-fix-for-disable-des.patch | 23 #include <openssl/rand.h>
|
| /openbmc/sdbusplus/test/gen/ |
| H A D | test_aserver_emit_interfaces_added_signal.cpp | 48 "xyz.openbmc_project.TestingInterfacesAdded" + std::to_string(rand()); in main()
|
| H A D | test_aserver_multiple_interfaces.cpp | 90 std::to_string(rand()); in main()
|
| /openbmc/u-boot/cmd/aspeed/ |
| H A D | dramtest.c | 102 pattern = rand(); in MMCTest()
|
| /openbmc/openbmc/meta-openembedded/meta-oe/recipes-multimedia/libcdio/libcdio/ |
| H A D | Drop-LIBCDIO_SOURCE_PATH-by-dropping-STRIP_FROM_PATH.patch | 29 getuid getpwuid gettimeofday lseek64 lstat memcpy memset mkstemp rand \
|
| /openbmc/qemu/migration/ |
| H A D | dirtyrate.c | 401 GRand *rand; in save_ramblock_hash() local 423 rand = g_rand_new(); in save_ramblock_hash() 425 info->sample_page_vfn[i] = g_rand_int_range(rand, 0, in save_ramblock_hash() 430 g_rand_free(rand); in save_ramblock_hash()
|
| /openbmc/openbmc/meta-security/recipes-ids/suricata/ |
| H A D | suricata-crates.inc | 87 crate://crates.io/rand/0.8.5 \ 209 SRC_URI[rand-0.8.5.sha256sum] = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" 292 crate://crates.io/rand/0.6.5 \ 383 SRC_URI[rand-0.6.5.sha256sum] = "6d71dacdc3c88c1fde3885a3be3fbab9f35724e6ce99467f7d9c5026132184ca" 615 crate://crates.io/rand/0.8.5 \ 636 SRC_URI[rand-0.8.5.sha256sum] = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" 689 crate://crates.io/rand/0.8.4 \ 724 SRC_URI[rand-0.8.4.sha256sum] = "2e7573632e6454cf6b99d7aac4ccca54be06da05aca2ef7423d22d27d4d4bcd8" 874 crate://crates.io/rand/0.8.5 \ 887 SRC_URI[rand-0.8.5.sha256sum] = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" [all …]
|