Home
last modified time | relevance | path

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

/external/llvm-project/llvm/unittests/DebugInfo/CodeView/
DRandomAccessVisitorTest.cpp124 TestState = std::make_unique<PerTestState>(); in SetUp()
127 void TearDown() override { TestState.reset(); } in TearDown()
142 if (TI != TestState->Callbacks.Indices[VisitationOrder]) in ValidateVisitedRecord()
146 TestState->Callbacks.RawRecords[VisitationOrder]) in ValidateVisitedRecord()
150 TestState->Callbacks.VisitedRecords[VisitationOrder]) in ValidateVisitedRecord()
198 std::unique_ptr<PerTestState> TestState; member in __anonbaeb340d0111::RandomAccessVisitorTest
206 TestState->Offsets = createPartialOffsets(GlobalState->Stream, {0, 8}); in TEST_F()
209 TestState->Offsets); in TEST_F()
216 EXPECT_THAT_ERROR(codeview::visitTypeRecord(T, TI, TestState->Callbacks), in TEST_F()
226 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/rust/crates/quiche/deps/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()
149 std::unique_ptr<TestState> TestState::Deserialize(CBS *cbs, SSL_CTX *ctx) { in Deserialize()
151 std::unique_ptr<TestState> out_state(new TestState()); in Deserialize()
Dtest_state.h26 struct TestState { struct
36 static std::unique_ptr<TestState> Deserialize(CBS *cbs, SSL_CTX *ctx);
70 bool SetTestState(SSL *ssl, std::unique_ptr<TestState> state); argument
72 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()
1457 std::unique_ptr<TestState> test_state) const { in NewSSL()
Dhandshaker.cc59 !SetTestState(ssl.get(), TestState::Deserialize(&cbs, ctx.get())) || in Handshaker()
Dhandshake_util.cc42 TestState *test_state = GetTestState(ssl); in RetryAsync()
500 !SetTestState(ssl_handback.get(), TestState::Deserialize( in DoSplitHandshake()
Dbssl_shim.cc181 TestState *test_state = GetTestState(ssl); in DoRead()
238 TestState *test_state = GetTestState(ssl); in WriteAll()
708 ssl_ctx, session, is_resume, std::unique_ptr<TestState>(new TestState)); in DoConnection()
Dtest_config.h188 std::unique_ptr<TestState> test_state) const;
/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()
149 std::unique_ptr<TestState> TestState::Deserialize(CBS *cbs, SSL_CTX *ctx) { in Deserialize()
151 std::unique_ptr<TestState> out_state(new TestState()); in Deserialize()
Dtest_state.h26 struct TestState { struct
36 static std::unique_ptr<TestState> Deserialize(CBS *cbs, SSL_CTX *ctx);
70 bool SetTestState(SSL *ssl, std::unique_ptr<TestState> state); argument
72 TestState *GetTestState(const SSL *ssl);
Dtest_config.cc496 TestState *state = GetTestState(ssl); in MessageCallback()
644 TestState *async_state = GetTestState(ssl); in GetSessionCallback()
1024 TestState *test_state = GetTestState(ssl); in AsyncPrivateKeySign()
1074 TestState *test_state = GetTestState(ssl); in AsyncPrivateKeyDecrypt()
1100 TestState *test_state = GetTestState(ssl); in AsyncPrivateKeyComplete()
1141 TestState *test_state = GetTestState(ssl); in InstallCertificate()
1518 std::unique_ptr<TestState> test_state) const { in NewSSL()
Dhandshake_util.cc42 TestState *test_state = GetTestState(ssl); in RetryAsync()
500 !SetTestState(ssl_handback.get(), TestState::Deserialize( in DoSplitHandshake()
Dbssl_shim.cc181 TestState *test_state = GetTestState(ssl); in DoRead()
238 TestState *test_state = GetTestState(ssl); in WriteAll()
695 ssl_ctx, session, is_resume, std::unique_ptr<TestState>(new TestState)); in DoConnection()
Dhandshaker.cc59 !SetTestState(ssl.get(), TestState::Deserialize(&cbs, ctx.get())) || in Handshaker()
Dtest_config.h196 std::unique_ptr<TestState> test_state) const;
/external/webrtc/video/end_to_end_tests/
Dbandwidth_tests.cc301 enum TestState { kWaitForFirstRampUp, kWaitForRemb, kWaitForSecondRampUp }; in TEST_F() enum in webrtc::TEST_F::BweObserver
309 TestState state_; in TEST_F()
/external/marisa-trie/tests/
Dtrie-test.cc448 void TestState() { in TestState() function
500 TestState(); in main()
/external/webrtc/video/
Dvideo_send_stream_tests.cc1408 enum TestState { in TEST_F() enum in webrtc::TEST_F::RembObserver
1442 TestState test_state_ RTC_GUARDED_BY(mutex_); in TEST_F()
1525 enum TestState { in TEST_F() enum in webrtc::TEST_F::NoPaddingWhenVideoIsMuted
1533 TestState test_state_ = kBeforeStopCapture; 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/llvm-project/clang/lib/Sema/
DSemaDeclAttr.cpp1332 TestTypestateAttr::ConsumedState TestState; in handleTestTypestateAttr() local
1336 if (!TestTypestateAttr::ConvertStrToConsumedState(Param, TestState)) { in handleTestTypestateAttr()
1347 D->addAttr(::new (S.Context) TestTypestateAttr(S.Context, AL, TestState)); in handleTestTypestateAttr()
/external/clang/include/clang/Basic/
DAttr.td2040 let Args = [EnumArgument<"TestState", "ConsumedState",
/external/llvm-project/clang/include/clang/Basic/
DAttr.td3109 let Args = [EnumArgument<"TestState", "ConsumedState",