HomeSort by relevance Sort by last modified time
    Searched full:child_context (Results 1 - 3 of 3) sorted by null

  /external/compiler-rt/test/lsan/TestCases/
swapcontext.cc 32 ucontext_t child_context; local
33 getcontext(&child_context);
34 child_context.uc_stack.ss_sp = child_stack;
35 child_context.uc_stack.ss_size = kStackSize / 2;
36 child_context.uc_link = &orig_context;
37 makecontext(&child_context, Child, 0);
38 if (swapcontext(&orig_context, &child_context) < 0) {
  /external/compiler-rt/test/asan/TestCases/Linux/
swapcontext_test.cc 16 ucontext_t child_context; variable
42 if (swapcontext(&child_context, &orig_context) < 0) {
52 getcontext(&child_context);
53 child_context.uc_stack.ss_sp = child_stack;
54 child_context.uc_stack.ss_size = kStackSize / 2;
56 child_context.uc_link = &orig_context;
58 makecontext(&child_context, (void (*)())Child, 1, mode);
59 if (swapcontext(&orig_context, &child_context) < 0) {
swapcontext_annotation.cc 21 ucontext_t child_context; variable
78 if (swapcontext(&child_context, &orig_context) < 0) {
90 if (swapcontext(&child_context, &next_child_context) < 0) {
100 getcontext(&child_context);
101 child_context.uc_stack.ss_sp = child_stack;
102 child_context.uc_stack.ss_size = kStackSize / 2;
104 child_context.uc_link = &orig_context;
106 makecontext(&child_context, (void (*)())Child, 1, mode);
108 __sanitizer_start_switch_fiber(child_context.uc_stack.ss_sp,
109 child_context.uc_stack.ss_size)
    [all...]

Completed in 197 milliseconds