Home
last modified time | relevance | path

Searched refs:INT_TO_POINTER (Results 1 – 25 of 49) sorted by relevance

12

/Zephyr-latest/tests/net/context/src/
Dmain.c290 K_NO_WAIT, INT_TO_POINTER(AF_INET6)); in net_ctx_connect_v6()
297 K_NO_WAIT, INT_TO_POINTER(AF_INET6)); in net_ctx_connect_v6()
315 K_NO_WAIT, INT_TO_POINTER(AF_INET)); in net_ctx_connect_v4()
322 K_NO_WAIT, INT_TO_POINTER(AF_INET)); in net_ctx_connect_v4()
353 INT_TO_POINTER(AF_INET6)); in net_ctx_accept_v6()
365 INT_TO_POINTER(AF_INET)); in net_ctx_accept_v4()
433 send_cb, K_FOREVER, INT_TO_POINTER(AF_INET6)); in net_ctx_send_v6()
447 send_cb, K_FOREVER, INT_TO_POINTER(AF_INET)); in net_ctx_send_v4()
469 K_NO_WAIT, INT_TO_POINTER(AF_INET6)); in net_ctx_sendto_v6()
488 K_NO_WAIT, INT_TO_POINTER(AF_INET)); in net_ctx_sendto_v4()
[all …]
/Zephyr-latest/tests/benchmarks/sys_kernel/src/
Dsema.c126 NULL, INT_TO_POINTER(number_of_loops), NULL, in sema_test()
129 (void *) &i, INT_TO_POINTER(number_of_loops), NULL, in sema_test()
151 NULL, INT_TO_POINTER(number_of_loops), NULL, in sema_test()
154 (void *) &i, INT_TO_POINTER(number_of_loops), NULL, in sema_test()
176 NULL, INT_TO_POINTER(number_of_loops), NULL, in sema_test()
Dmwfifo.c159 NULL, INT_TO_POINTER(number_of_loops), NULL, in fifo_test()
162 &i, INT_TO_POINTER(number_of_loops), NULL, in fifo_test()
191 NULL, INT_TO_POINTER(number_of_loops), NULL, in fifo_test()
194 &i, INT_TO_POINTER(number_of_loops), NULL, in fifo_test()
222 NULL, INT_TO_POINTER(number_of_loops / 2U), NULL, in fifo_test()
225 NULL, INT_TO_POINTER(number_of_loops / 2U), NULL, in fifo_test()
Dstack.c156 0, INT_TO_POINTER(number_of_loops), NULL, in stack_test()
159 (void *) &i, INT_TO_POINTER(number_of_loops), NULL, in stack_test()
183 0, INT_TO_POINTER(number_of_loops), NULL, in stack_test()
186 (void *) &i, INT_TO_POINTER(number_of_loops), NULL, in stack_test()
211 0, INT_TO_POINTER(number_of_loops), NULL, in stack_test()
Dlifo.c158 NULL, INT_TO_POINTER(number_of_loops), NULL, in lifo_test()
162 &i, INT_TO_POINTER(number_of_loops), NULL, in lifo_test()
192 NULL, INT_TO_POINTER(number_of_loops), NULL, in lifo_test()
196 &i, INT_TO_POINTER(number_of_loops), NULL, in lifo_test()
224 NULL, INT_TO_POINTER(number_of_loops), NULL, in lifo_test()
/Zephyr-latest/samples/kernel/condition_variables/condvar/src/
Dmain.c85 INT_TO_POINTER(t1), NULL, NULL, K_PRIO_PREEMPT(10), 0, in main()
89 INT_TO_POINTER(t2), NULL, NULL, K_PRIO_PREEMPT(10), 0, in main()
93 INT_TO_POINTER(t3), NULL, NULL, K_PRIO_PREEMPT(10), 0, in main()
/Zephyr-latest/tests/kernel/sched/schedule_api/src/
Dtest_sched_priority.c140 thread_entry_prio, INT_TO_POINTER(0), NULL, NULL, in ZTEST()
144 thread_entry_prio, INT_TO_POINTER(1), NULL, NULL, in ZTEST()
148 thread_entry_prio, INT_TO_POINTER(2), NULL, NULL, in ZTEST()
152 thread_entry_prio, INT_TO_POINTER(3), NULL, NULL, in ZTEST()
Dtest_priority_scheduling.c81 thread_tslice, INT_TO_POINTER(i), NULL, NULL, in ZTEST()
Dtest_sched_timeslice_and_lock.c60 INT_TO_POINTER(i), in spawn_threads()
61 INT_TO_POINTER(sleep_sec), in spawn_threads()
/Zephyr-latest/samples/net/sockets/can/src/
Dmain.c214 tx, INT_TO_POINTER(fd), in setup_socket()
235 INT_TO_POINTER(fd), in setup_socket()
236 INT_TO_POINTER(CLOSE_PERIOD), in setup_socket()
292 rx(INT_TO_POINTER(fd), NULL, NULL); in main()
/Zephyr-latest/tests/kernel/common/src/
Derrno.c87 errno_thread, INT_TO_POINTER(ii), in ZTEST()
88 INT_TO_POINTER(errno_values[ii]), NULL, in ZTEST()
Dtimeout_order.c57 thread, INT_TO_POINTER(ii), 0, 0, in ZTEST()
/Zephyr-latest/tests/net/lib/dns_resolve/src/
Dmain.c451 INT_TO_POINTER(expected_status), in ZTEST()
459 INT_TO_POINTER(expected_status), in ZTEST()
481 INT_TO_POINTER(expected_status), in ZTEST()
503 INT_TO_POINTER(expected_status), in ZTEST()
545 INT_TO_POINTER(expected_status), in ZTEST()
571 INT_TO_POINTER(expected_status), in ZTEST()
/Zephyr-latest/lib/libc/common/source/thrd/
Dthrd.c57 pthread_exit(INT_TO_POINTER(res)); in thrd_exit()
/Zephyr-latest/samples/kernel/condition_variables/simple/src/
Dmain.c56 worker_thread, INT_TO_POINTER(i), NULL, in main()
/Zephyr-latest/tests/kernel/condvar/condvar_api/src/
Dmain.c558 INT_TO_POINTER(t1), NULL, NULL, K_PRIO_PREEMPT(10), in _condvar_usecase()
562 INT_TO_POINTER(t2), INT_TO_POINTER(multi), NULL, K_PRIO_PREEMPT(10), in _condvar_usecase()
566 INT_TO_POINTER(t3), INT_TO_POINTER(multi), NULL, K_PRIO_PREEMPT(10), in _condvar_usecase()
/Zephyr-latest/tests/kernel/smp/src/
Dmain.c190 INT_TO_POINTER(parent_cpu_id), NULL, in ZTEST()
247 INT_TO_POINTER(i), NULL, NULL, in spawn_threads()
1084 zassert_true(run_concurrency(INT_TO_POINTER(LOCK_IRQ), inc_global_cnt, NULL), in ZTEST()
1088 zassert_true(run_concurrency(INT_TO_POINTER(LOCK_SEM), inc_global_cnt, NULL), in ZTEST()
1092 zassert_true(run_concurrency(INT_TO_POINTER(LOCK_MUTEX), inc_global_cnt, NULL), in ZTEST()
1208 INT_TO_POINTER(i), NULL, NULL, in ZTEST()
/Zephyr-latest/tests/lib/multi_heap/src/
Dtest_mheap_concept.c88 tmheap_handler, INT_TO_POINTER(i), NULL, NULL, in ZTEST()
/Zephyr-latest/tests/benchmarks/posix/threads/src/
Dmain.c143 INT_TO_POINTER(i), NULL, NULL, K_HIGHEST_APPLICATION_THREAD_PRIO, 0, in k_thread_create_wrapper()
177 return pthread_create(&pthreads[i], &pthread_attrs[i], pthread_fun, INT_TO_POINTER(i)); in pthread_create_wrapper()
/Zephyr-latest/tests/subsys/canbus/isotp/conformance/src/
Dmain.c196 &rx_addr, &tx_addr, send_complete_cb, INT_TO_POINTER(ISOTP_N_OK)); in send_sf()
226 send_complete_cb, INT_TO_POINTER(ISOTP_N_OK)); in send_test_data()
462 INT_TO_POINTER(ISOTP_N_OK)); in ZTEST()
519 INT_TO_POINTER(ISOTP_N_OK)); in ZTEST()
775 INT_TO_POINTER(ISOTP_N_TIMEOUT_BS)); in ZTEST()
792 INT_TO_POINTER(ISOTP_N_TIMEOUT_BS)); in ZTEST()
981 INT_TO_POINTER(ISOTP_N_INVALID_FS)); in ZTEST()
993 INT_TO_POINTER(ISOTP_N_BUFFER_OVERFLW)); in ZTEST()
1005 INT_TO_POINTER(ISOTP_N_WFT_OVRN)); in ZTEST()
1036 &rx_addr, &tx_addr, send_complete_cb, INT_TO_POINTER(ISOTP_N_OK)); in ZTEST()
/Zephyr-latest/tests/kernel/context/src/
Dmain.c925 INT_TO_POINTER(timeout), NULL, in ZTEST()
952 INT_TO_POINTER(timeout), NULL, in ZTEST()
966 INT_TO_POINTER(i), NULL, NULL, in ZTEST()
1002 INT_TO_POINTER(i), NULL, NULL, in ZTEST()
/Zephyr-latest/tests/posix/common/src/
Dpthread.c285 ret = pthread_create(&newthread[i], NULL, thread_top_exec, INT_TO_POINTER(i)); in ZTEST()
360 zassert_ok(pthread_create(&newthread[i], NULL, thread_top_term, INT_TO_POINTER(i))); in ZTEST()
389 zassert_ok(pthread_create(&th, NULL, timedjoin_thread, INT_TO_POINTER(sleep_duration_ms))); in ZTEST()
430 zassert_ok(pthread_create(&th, NULL, timedjoin_thread, INT_TO_POINTER(sleep_duration_ms))); in ZTEST()
/Zephyr-latest/tests/kernel/threads/thread_apis/src/
Dtest_threads_spawn.c51 tp1, INT_TO_POINTER(tp2), tp3, 0, in ZTEST_USER()
/Zephyr-latest/samples/subsys/portability/cmsis_rtos_v1/philosophers/src/
Dmain.c199 id = osThreadCreate(osThread(philosopher), INT_TO_POINTER(i)); in start_threads()
/Zephyr-latest/samples/net/sockets/dumb_http_server_mt/src/
Dmain.c298 INT_TO_POINTER(slot), in process_tcp()
313 INT_TO_POINTER(slot), in process_tcp()

12