Searched refs:rand (Results 1 – 16 of 16) sorted by relevance
244 return ((((u32_t)rand() << 16) + rand()) + avRandomSeed); in avRandom()
89 int to_write_random = rand() & 7; in cbuf_tests()103 int to_read_random = rand() & 7; in cbuf_tests()
25 thread_sleep(rand() % 500); in sleep_thread()60 iterations = rand(); in semaphore_consumer()
317 const size_t count = 1 + ((unsigned int)rand() % 3); in two_threads_basic()
15 int rand(void);
30 int rand(void) { in rand() function
17 $(LOCAL_DIR)/rand.c \
270 unsigned int index = (unsigned int)rand() % 16; in heap_test()281 unsigned int align = 1 << ((unsigned int)rand() % 8); in heap_test()282 ptr[index] = HEAP_MEMALIGN(align, (unsigned int)rand() % 32768); in heap_test()
161 mac_addr[i] = rand() & 0xff; in zynq_common_target_init()
355 bnum_t block_addr = rand() % device->block_count; in sub_erase_test()424 uint8_t pattern_seed = (uint8_t)(rand() % 256); in memory_mapped_test()
559 unsigned int index = (unsigned int)rand() % 16; in cmpct_test()570 unsigned int align = 1 << ((unsigned int)rand() % 8); in cmpct_test()571 ptr[index] = cmpct_memalign((unsigned int)rand() % 32768, align); in cmpct_test()
503 int action = rand() % 6; in test_thrash_fs()504 uint16_t key = (uint16_t)(rand() % 16); in test_thrash_fs()
883 write_pointer = rand() % NORFS_NVRAM_SIZE; in norfs_mount_fs()915 write_pointer = rand() % NORFS_NVRAM_SIZE; in norfs_unmount_fs()
75 mac_addr[i] = rand() & 0xff; in gen_random_mac_address()
926 s->tx_win_low = rand(); in create_tcp_socket()
529 wbuf[i] = rand() % sizeof(uint8_t); in test_read_write_big()
Completed in 22 milliseconds