Home
last modified time | relevance | path

Searched refs:j (Results 1 – 7 of 7) sorted by relevance

/examples/utest/testcases/kernel/smp/
A Dsmp_bind_affinity_tc.c62 int i, j; in thread_bind_affinity_tc() local
87 for (j = 0; j < RT_CPUS_NR; j++) in thread_bind_affinity_tc()
90 …core%d]: [%4d], always run at core%d ? %s \r\n", run_num, j, j, thread_inc[j], j, (thread_inc[j] =… in thread_bind_affinity_tc()
/examples/libc/
A Dex3.c80 int i, j, ntries; in search() local
140 for (j=0; j<NUM_THREADS; j++) in search()
141 if (threads[j] != tid) pthread_cancel(threads[j]); in search()
/examples/utest/testcases/kernel/
A Dsched_sem_tc.c140 for (size_t j = 0; j < KERN_TEST_CONCURRENT_THREADS; j++) in scheduler_tc() local
142 rt_thread_startup(_thread_matrix[i][j]); in scheduler_tc()
168 for (size_t j = 0; j < KERN_TEST_CONCURRENT_THREADS; j++) in utest_tc_init() local
170 _thread_matrix[i][j] = in utest_tc_init()
177 if (!_thread_matrix[i][j]) in utest_tc_init()
178 uassert_not_null(_thread_matrix[i][j]); in utest_tc_init()
A Dtimer_tc.c662 for (int j = 0; j < STRESS_TIMERS; j++) in test_timer_stress() local
664 rt_timer_init(&stress_timer[j], in test_timer_stress()
667 &stress_timer[j], in test_timer_stress()
668 j + 1, in test_timer_stress()
677 for (int j = 0; j < STRESS_TIMERS; j++) in test_timer_stress() local
681 rt_timer_start(&stress_timer[j]); in test_timer_stress()
685 rt_timer_stop(&stress_timer[j]); in test_timer_stress()
697 for (int j = 0; j < STRESS_TIMERS; j++) in test_timer_stress() local
699 rt_timer_detach(&stress_timer[j]); in test_timer_stress()
A Dobject_tc.c233 for (int j = 0; j < 3; j++) in test_object_info_enumeration() local
234 if (objects[i] == &static_objs[j]) found_count++; in test_object_info_enumeration()
235 for (int j = 0; j < 2; j++) in test_object_info_enumeration() local
236 if (objects[i] == dyn_objs[j]) found_count++; in test_object_info_enumeration()
/examples/test/
A Drbb_test.c80 rt_size_t i, j, k, req_size, size; in rbb_test() local
196 for (j = 0; j < _blk2->size; j++) in rbb_test()
198 if (_blk2->buf[j] != 2) break; in rbb_test()
200 if (blk1 == _blk1 && blk2 == _blk2 && i == _blk1->size && j == _blk2->size) in rbb_test()
259 i = j = k = 0; in rbb_test()
264 for (; j < blk4->size; j++) in rbb_test()
266 if (rt_rbb_blk_queue_buf(&blk_queue1)[i + j] != 4) break; in rbb_test()
270 if (rt_rbb_blk_queue_buf(&blk_queue1)[i + j + k] != 5) break; in rbb_test()
A Davl.c288 int j = rand() % (i+1); in randomize() local
291 swap(&arr[i], &arr[j]); in randomize()

Completed in 11 milliseconds