Searched refs:ucp (Results 1 – 8 of 8) sorted by relevance
/stdlib/ |
A D | tst-makecontext2.c | 25 ucontext_t ucp, ucp2; variable 48 if (getcontext (&ucp) != 0) in do_test() 59 ucp.uc_link = &ucp2; in do_test() 60 ucp.uc_stack.ss_sp = st1; in do_test() 61 ucp.uc_stack.ss_size = sizeof (st1) - j; in do_test() 63 makecontext (&ucp, (void (*) (void)) cf, 2, 78, 274); in do_test() 64 if (swapcontext (&ucp2, &ucp) != 0) in do_test()
|
A D | tst-makecontext-align.c | 140 static ucontext_t ucp; variable 153 makecontext (&ucp, (void *) callback_0, 0); in invoke_callback_0() 154 if (setcontext (&ucp) != 0) in invoke_callback_0() 171 makecontext (&ucp, (void *) callback_1, 1, 101); in invoke_callback_1() 172 if (setcontext (&ucp) != 0) in invoke_callback_1() 191 if (setcontext (&ucp) != 0) in invoke_callback_2() 211 if (setcontext (&ucp) != 0) in invoke_callback_3() 224 if (getcontext (&ucp) != 0) in do_test() 227 ucp.uc_link = NULL; in do_test() 228 ucp.uc_stack.ss_size = 512 * 1024; in do_test() [all …]
|
A D | tst-makecontext.c | 27 ucontext_t ucp; variable 85 if (getcontext (&ucp) != 0) in do_test() 97 ucp.uc_link = NULL; in do_test() 98 ucp.uc_stack.ss_sp = st1; in do_test() 99 ucp.uc_stack.ss_size = sizeof st1; in do_test() 100 makecontext (&ucp, (void (*) (void)) cf, 1, somevar - 2); in do_test() 101 if (setcontext (&ucp) != 0) in do_test()
|
A D | tst-swapcontext1.c | 34 func4(ucontext_t *uocp, ucontext_t *ucp, const char *str, const char *fmt) in func4() argument 37 if (swapcontext(uocp, ucp) == -1) in func4() 44 func3(ucontext_t *uocp, ucontext_t *ucp, const char *str, const char *fmt) in func3() argument 47 func4(uocp, ucp, str, fmt); in func3()
|
A D | setcontext.c | 22 setcontext (const ucontext_t *ucp) in setcontext() argument
|
A D | getcontext.c | 22 getcontext (ucontext_t *ucp) in getcontext() argument
|
A D | swapcontext.c | 22 swapcontext (ucontext_t *oucp, const ucontext_t *ucp) in swapcontext() argument
|
A D | makecontext.c | 22 makecontext (ucontext_t *ucp, void (*func) (void), int argc, ...) in makecontext() argument
|
Completed in 13 milliseconds