Home
last modified time | relevance | path

Searched refs:SwitchContext (Results 1 - 11 of 11) sorted by relevance

/arkcompiler/runtime_core/static_core/runtime/tests/
H A Dfibers_test.cpp111 fibers::SwitchContext(fCur->GetContextPtr(), fCur->GetParent()->GetContextPtr()); in Entry()
138 fibers::SwitchContext(fCur->GetContextPtr(), fCur->GetParent()->GetContextPtr()); in LoopedSwitchEntry()
152 fibers::SwitchContext(fInit.GetContextPtr(), f1.GetContextPtr()); in TEST_F()
167 fibers::SwitchContext(fInit.GetContextPtr(), f3.GetContextPtr()); in TEST_F()
194 fibers::SwitchContext(fInit.GetContextPtr(), fTarget.GetContextPtr()); in TEST_F()
221 EXPECT_EXIT(fibers::SwitchContext(fInit.GetContextPtr(), fAborts.GetContextPtr()), testing::KilledBySignal(SIGABRT), in TEST_F()
/arkcompiler/ets_frontend/ets2panda/parser/
H A DparserStatusContext.h49 class SwitchContext : public SavedStatusContext<ParserStatus::IN_SWITCH> { class
51 explicit SwitchContext(ParserContext *ctx) : SavedStatusContext(ctx) {} in SwitchContext() function in ark::es2panda::parser::SwitchContext
52 NO_COPY_SEMANTIC(SwitchContext);
53 NO_MOVE_SEMANTIC(SwitchContext);
54 ~SwitchContext() = default;
H A DstatementParser.cpp1139 SwitchContext switchContext(&context_); in ParseSwitchStatement()
/arkcompiler/runtime_core/static_core/runtime/fibers/arch/arm/
H A Dswitch.S28 FUNCTION_START(SwitchContext)
54 FUNCTION_END(SwitchContext)
/arkcompiler/runtime_core/static_core/runtime/fibers/arch/aarch64/
H A Dswitch.S28 FUNCTION_START(SwitchContext)
66 FUNCTION_END(SwitchContext)
/arkcompiler/runtime_core/static_core/runtime/fibers/arch/amd64/
H A Dswitch.S28 FUNCTION_START(SwitchContext)
61 // push next_context->RIP to restore it on return from SwitchContext
71 FUNCTION_END(SwitchContext)
/arkcompiler/runtime_core/static_core/runtime/coroutines/
H A Dstackful_coroutine.h148 fibers::SwitchContext(requesterContextPtr_, &guestContext_); in Execute()
167 fibers::SwitchContext(&thisInstance->guestContext_, thisInstance->requesterContextPtr_); in Proxy()
H A Dstackful_coroutine.cpp132 fibers::SwitchContext(&context_, &target->context_); in SwitchTo()
133 // maybe eventually we will check the return value of SwitchContext() and return false in case of error... in SwitchTo()
/arkcompiler/runtime_core/static_core/runtime/fibers/
H A Dfiber_context.h59 extern "C" int SwitchContext(FiberContext *from, const FiberContext *to);
64 * @param ctx a buffer with a valid saved context (via GetCurrentContext() or SwitchContext())
65 * @param func the new entry point. After a context switch to ctx with SwitchContext(), the control transfers
66 * to the beginning of func. Upon completion, func should use SwitchContext() to transfer control further.
/arkcompiler/ets_frontend/es2panda/parser/
H A DparserImpl.h683 class SwitchContext : public SavedStatusContext<ParserStatus::IN_SWITCH> { class in panda::es2panda::lexer::TokenFlags::ModifierFlags
685 explicit SwitchContext(ParserContext *ctx) : SavedStatusContext(ctx) {} in SwitchContext() function in panda::es2panda::lexer::TokenFlags::ModifierFlags::SwitchContext
686 NO_COPY_SEMANTIC(SwitchContext);
687 NO_MOVE_SEMANTIC(SwitchContext);
688 ~SwitchContext() = default;
H A DstatementParser.cpp1797 SwitchContext switchContext(&context_); in ParseSwitchStatement()

Completed in 12 milliseconds