Home
last modified time | relevance | path

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

/external/compiler-rt/test/asan/TestCases/Linux/
Dswapcontext_annotation.cc22 ucontext_t next_child_context; variable
56 if (swapcontext(&next_child_context, &orig_context) < 0) { in NextChild()
83 getcontext(&next_child_context); in Child()
84 next_child_context.uc_stack.ss_sp = next_child_stack; in Child()
85 next_child_context.uc_stack.ss_size = kStackSize / 2; in Child()
86 makecontext(&next_child_context, (void (*)())NextChild, 0); in Child()
87 __sanitizer_start_switch_fiber(next_child_context.uc_stack.ss_sp, in Child()
88 next_child_context.uc_stack.ss_size); in Child()
90 if (swapcontext(&child_context, &next_child_context) < 0) { in Child()
/external/llvm-project/compiler-rt/test/asan/TestCases/Linux/
Dswapcontext_annotation.cpp30 ucontext_t next_child_context; variable
71 if (swapcontext(&next_child_context, &orig_context) < 0) { in NextChild()
106 getcontext(&next_child_context); in Child()
107 next_child_context.uc_stack.ss_sp = next_child_stack; in Child()
108 next_child_context.uc_stack.ss_size = kStackSize / 2; in Child()
109 makecontext(&next_child_context, (void (*)())NextChild, 0); in Child()
111 next_child_context.uc_stack.ss_sp, in Child()
112 next_child_context.uc_stack.ss_size); in Child()
114 if (swapcontext(&child_context, &next_child_context) < 0) { in Child()