Home
last modified time | relevance | path

Searched refs:TestState (Results 1 – 14 of 14) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/unittests/DebugInfo/CodeView/
DRandomAccessVisitorTest.cpp126 TestState = llvm::make_unique<PerTestState>(); in SetUp()
129 void TearDown() override { TestState.reset(); } in TearDown()
144 if (TI != TestState->Callbacks.Indices[VisitationOrder]) in ValidateVisitedRecord()
148 TestState->Callbacks.RawRecords[VisitationOrder]) in ValidateVisitedRecord()
152 TestState->Callbacks.VisitedRecords[VisitationOrder]) in ValidateVisitedRecord()
200 std::unique_ptr<PerTestState> TestState; member in __anondbe137d90111::RandomAccessVisitorTest
208 TestState->Offsets = createPartialOffsets(GlobalState->Stream, {0, 8}); in TEST_F()
211 TestState->Offsets); in TEST_F()
218 EXPECT_THAT_ERROR(codeview::visitTypeRecord(T, TI, TestState->Callbacks), in TEST_F()
228 EXPECT_EQ(3u, TestState->Callbacks.count()); in TEST_F()
[all …]
/external/guice/core/test/com/google/inject/internal/
DWeakKeySetTest.java66 TestState state = new TestState(); in testEviction()
87 TestState state = new TestState(); in testEviction_nullSource()
108 TestState state1 = new TestState(); in testEviction_keyOverlap_2x()
109 TestState state2 = new TestState(); in testEviction_keyOverlap_2x()
156 TestState state1 = new TestState(); in testNoEviction_keyOverlap_2x()
157 TestState state2 = new TestState(); in testNoEviction_keyOverlap_2x()
184 TestState state1 = new TestState(); in testEviction_keyAndSourceOverlap_null()
185 TestState state2 = new TestState(); in testEviction_keyAndSourceOverlap_null()
227 TestState state1 = new TestState(); in testEviction_keyAndSourceOverlap_nonNull()
228 TestState state2 = new TestState(); in testEviction_keyAndSourceOverlap_nonNull()
[all …]
/external/boringssl/src/ssl/test/
Dtest_state.cc32 delete ((TestState *)ptr); in TestStateExFree()
52 bool SetTestState(SSL *ssl, std::unique_ptr<TestState> state) { in SetTestState()
62 TestState *GetTestState(const SSL *ssl) { in GetTestState()
64 return (TestState *)SSL_get_ex_data(ssl, g_state_index); in GetTestState()
130 bool TestState::Serialize(CBB *cbb) const { in Serialize()
147 std::unique_ptr<TestState> TestState::Deserialize(CBS *cbs, SSL_CTX *ctx) { in Deserialize()
149 std::unique_ptr<TestState> out_state(new TestState()); in Deserialize()
Dtest_state.h24 struct TestState { struct
34 static std::unique_ptr<TestState> Deserialize(CBS *cbs, SSL_CTX *ctx);
66 bool SetTestState(SSL *ssl, std::unique_ptr<TestState> state); argument
68 TestState *GetTestState(const SSL *ssl);
Dtest_config.cc444 TestState *state = GetTestState(ssl); in MessageCallback()
592 TestState *async_state = GetTestState(ssl); in GetSessionCallback()
959 TestState *test_state = GetTestState(ssl); in AsyncPrivateKeySign()
1009 TestState *test_state = GetTestState(ssl); in AsyncPrivateKeyDecrypt()
1035 TestState *test_state = GetTestState(ssl); in AsyncPrivateKeyComplete()
1076 TestState *test_state = GetTestState(ssl); in InstallCertificate()
1448 std::unique_ptr<TestState> test_state) const { in NewSSL()
Dhandshake_util.cc46 TestState *test_state = GetTestState(ssl); in RetryAsync()
456 !SetTestState(ssl_handback.get(), TestState::Deserialize( in DoSplitHandshake()
Dhandshaker.cc59 !SetTestState(ssl.get(), TestState::Deserialize(&cbs, ctx.get())) || in Handshaker()
Dtest_config.h185 std::unique_ptr<TestState> test_state) const;
Dbssl_shim.cc181 TestState *test_state = GetTestState(ssl); in DoRead()
642 ssl_ctx, session, is_resume, std::unique_ptr<TestState>(new TestState)); in DoConnection()
/external/syzkaller/syz-hub/state/
Dstate_test.go15 func TestState(t *testing.T) { func
/external/cmockery/cmockery_0_1_2/src/
Dcmockery.c68 typedef struct TestState { struct
72 } TestState; argument
1576 TestState* test_states = malloc(number_of_tests * sizeof(*test_states)); in _run_tests()
1585 TestState *current_TestState; in _run_tests()
/external/webrtc/webrtc/video/
Dvideo_send_stream_tests.cc859 enum TestState { in TEST_F() enum in webrtc::TEST_F::RembObserver
888 TestState test_state_ GUARDED_BY(crit_); in TEST_F()
/external/clang/lib/Sema/
DSemaDeclAttr.cpp1065 TestTypestateAttr::ConsumedState TestState; in handleTestTypestateAttr() local
1069 if (!TestTypestateAttr::ConvertStrToConsumedState(Param, TestState)) { in handleTestTypestateAttr()
1081 TestTypestateAttr(Attr.getRange(), S.Context, TestState, in handleTestTypestateAttr()
/external/clang/include/clang/Basic/
DAttr.td2040 let Args = [EnumArgument<"TestState", "ConsumedState",