Home
last modified time | relevance | path

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

/examples/utest/testcases/kernel/
A Dsemaphore_tc.c23 int rand_num = rand() % 0x10000; in test_static_semaphore_init() local
25 for (int i = 0; i < rand_num; i++) in test_static_semaphore_init()
50 int rand_num = rand() % 0x10000; in test_static_semaphore_detach() local
52 for (int i = 0; i < rand_num; i++) in test_static_semaphore_detach()
272 int rand_num = rand() % 0x10000; in test_dynamic_semaphore_create() local
274 for (int i = 0; i < rand_num; i++) in test_dynamic_semaphore_create()
299 int rand_num = rand() % 0x10000; in test_dynamic_semaphore_delete() local
301 for (int i = 0; i < rand_num; i++) in test_dynamic_semaphore_delete()
A Dmutex_tc.c69 int rand_num = rand() % 0x1000; in static_mutex_take_entry() local
72 result = rt_mutex_take(mutex, rand_num); in static_mutex_take_entry()
131 int rand_num = rand() % 0x1000; in static_mutex_release_entry() local
134 result = rt_mutex_take(mutex, rand_num); in static_mutex_release_entry()
409 int rand_num = rand() % 0x1000; in dynamic_mutex_take_entry() local
412 result = rt_mutex_take(mutex, rand_num); in dynamic_mutex_take_entry()
471 int rand_num = rand() % 0x1000; in dynamic_mutex_release_entry() local
474 result = rt_mutex_take(mutex, rand_num); in dynamic_mutex_release_entry()

Completed in 6 milliseconds