libcopp  2.2.0
Functions | Variables
fcontext_test.cpp File Reference
#include <libcopp/utils/config/libcopp_build_features.h>
#include <cstdio>
#include <cstring>
#include <iostream>
#include "frame/test_macros.h"
#include "libcopp/fcontext/all.hpp"
Include dependency graph for fcontext_test.cpp:

Go to the source code of this file.

Functions

void test_core_fcontext_func_a (LIBCOPP_COPP_NAMESPACE_ID::fcontext::transfer_t src)
 
void test_core_fcontext_func_b (LIBCOPP_COPP_NAMESPACE_ID::fcontext::transfer_t src)
 
 CASE_TEST (core, fcontext)
 

Variables

copp::fcontext::fcontext_t test_core_fcontext_main_func
 
copp::fcontext::fcontext_t test_core_fcontext_a_func
 
copp::fcontext::fcontext_t test_core_fcontext_b_func
 
char test_core_fcontext_stack_a [128 *1024] = {0}
 
char test_core_fcontext_stack_b [128 *1024] = {0}
 
int g_test_core_fcontext_status = 0
 

Function Documentation

◆ CASE_TEST()

CASE_TEST ( core  ,
fcontext   
)

◆ test_core_fcontext_func_a()

void test_core_fcontext_func_a ( LIBCOPP_COPP_NAMESPACE_ID::fcontext::transfer_t  src)

◆ test_core_fcontext_func_b()

void test_core_fcontext_func_b ( LIBCOPP_COPP_NAMESPACE_ID::fcontext::transfer_t  src)

Variable Documentation

◆ g_test_core_fcontext_status

int g_test_core_fcontext_status = 0

◆ test_core_fcontext_a_func

copp::fcontext::fcontext_t test_core_fcontext_a_func

◆ test_core_fcontext_b_func

copp::fcontext::fcontext_t test_core_fcontext_b_func

◆ test_core_fcontext_main_func

copp::fcontext::fcontext_t test_core_fcontext_main_func

Definition at line 16 of file fcontext_test.cpp.

Referenced by test_core_fcontext_func_a().

◆ test_core_fcontext_stack_a

char test_core_fcontext_stack_a[128 *1024] = {0}

Definition at line 17 of file fcontext_test.cpp.

Referenced by CASE_TEST().

◆ test_core_fcontext_stack_b

char test_core_fcontext_stack_b[128 *1024] = {0}

Definition at line 18 of file fcontext_test.cpp.

Referenced by CASE_TEST().