Home
last modified time | relevance | path

Searched refs:IMutableContext (Results 1 – 6 of 6) sorted by relevance

/external/catch2/include/internal/
Dcatch_context.h18 struct IMutableContext;
31 struct IMutableContext : IContext struct
33 virtual ~IMutableContext();
39 static IMutableContext *currentContext;
40 friend IMutableContext& getCurrentMutableContext();
45 inline IMutableContext& getCurrentMutableContext() in getCurrentMutableContext()
47 if( !IMutableContext::currentContext ) in getCurrentMutableContext()
48 IMutableContext::createContext(); in getCurrentMutableContext()
50 return *IMutableContext::currentContext; in getCurrentMutableContext()
Dcatch_context.cpp14 class Context : public IMutableContext, NonCopyable {
41 friend IMutableContext& getCurrentMutableContext();
49 IMutableContext *IMutableContext::currentContext = nullptr;
51 void IMutableContext::createContext() in createContext()
57 delete IMutableContext::currentContext; in cleanUpContext()
58 IMutableContext::currentContext = nullptr; in cleanUpContext()
61 IMutableContext::~IMutableContext() = default;
Dcatch_run_context.h30 struct IMutableContext;
135 IMutableContext& m_context;
/external/catch2/single_include/catch2/
Dcatch.hpp4315 struct IMutableContext;
4328 struct IMutableContext : IContext struct
4330 virtual ~IMutableContext();
4336 static IMutableContext *currentContext; argument
4337 friend IMutableContext& getCurrentMutableContext();
4342 inline IMutableContext& getCurrentMutableContext() in getCurrentMutableContext()
4344 if( !IMutableContext::currentContext ) in getCurrentMutableContext()
4345 IMutableContext::createContext(); in getCurrentMutableContext()
4347 return *IMutableContext::currentContext; in getCurrentMutableContext()
8015 struct IMutableContext;
[all …]
/external/libabigail/tests/lib/
Dcatch.hpp4345 struct IMutableContext;
4358 struct IMutableContext : IContext struct
4360 virtual ~IMutableContext();
4366 static IMutableContext *currentContext; argument
4367 friend IMutableContext& getCurrentMutableContext();
4372 inline IMutableContext& getCurrentMutableContext() in getCurrentMutableContext()
4374 if( !IMutableContext::currentContext ) in getCurrentMutableContext()
4375 IMutableContext::createContext(); in getCurrentMutableContext()
4377 return *IMutableContext::currentContext; in getCurrentMutableContext()
8070 struct IMutableContext;
[all …]
/external/bcc/tests/cc/
Dcatch.hpp584 struct IMutableContext : IContext struct
586 virtual ~IMutableContext();
593 IMutableContext& getCurrentMutableContext();
6139 IMutableContext& m_context;
6871 class Context : public IMutableContext {
6909 friend IMutableContext& getCurrentMutableContext();
6942 IMutableContext& getCurrentMutableContext() { in getCurrentMutableContext()
10226 IMutableContext::~IMutableContext() {} in ~IMutableContext()