Home
last modified time | relevance | path

Searched refs:test_state (Results 1 – 25 of 27) sorted by relevance

12

/external/ltp/testcases/kernel/io/disktest/
Dmain.c77 test->args->test_state = DIRCT_INC(test->args->test_state); in linear_read_write_test()
79 test->args->test_state = SET_OPER_W(test->args->test_state); in linear_read_write_test()
80 test->args->test_state = SET_wFST_TIME(test->args->test_state); in linear_read_write_test()
109 if (!(TST_STS(test->args->test_state))) { in linear_read_write_test()
116 test->args->test_state = DIRCT_INC(test->args->test_state); in linear_read_write_test()
118 test->args->test_state = SET_OPER_R(test->args->test_state); in linear_read_write_test()
119 test->args->test_state = SET_rFST_TIME(test->args->test_state); in linear_read_write_test()
231 test->args->test_state = SET_STS_PASS(test->args->test_state); in init_data()
232 test->args->test_state = SET_wFST_TIME(test->args->test_state); in init_data()
233 test->args->test_state = SET_rFST_TIME(test->args->test_state); in init_data()
[all …]
Dchildmain.c191 args->test_state = SET_STS_FAIL(args->test_state); in update_test_state()
200 args->test_state = SET_STS_FAIL(args->test_state); in update_test_state()
241 target.oper = TST_OPER(args->test_state); in get_next_action()
258 && !TST_wFST_TIME(args->test_state)) { in get_next_action()
295 direct = (TST_DIRCTN(args->test_state)) ? 1 : -1; in get_next_action()
296 if ((target.oper == WRITER) && TST_wFST_TIME(args->test_state)) { in get_next_action()
299 && TST_rFST_TIME(args->test_state)) { in get_next_action()
301 } else if ((TST_DIRCTN(args->test_state)) in get_next_action()
304 } else if (!(TST_DIRCTN(args->test_state)) in get_next_action()
314 args->test_state = DIRCT_CNG(args->test_state); in get_next_action()
[all …]
Dtimer.c104 if (TST_OPER(args->test_state) == WRITER) { in ChildTimer()
114 if (TST_OPER(args->test_state) == READER) { in ChildTimer()
152 args->test_state = in ChildTimer()
153 SET_STS_FAIL(args->test_state); in ChildTimer()
Dmain.h229 OFF_T test_state; /* current test state */ member
/external/boringssl/src/ssl/test/
Dhandshake_util.cc42 TestState *test_state = GetTestState(ssl); in RetryAsync() local
49 test_state->explicit_renegotiates++; in RetryAsync()
53 if (test_state->quic_transport && ssl_err == SSL_ERROR_WANT_READ) { in RetryAsync()
54 return test_state->quic_transport->ReadHandshake(); in RetryAsync()
62 if (test_state->packeted_bio != nullptr && in RetryAsync()
63 PacketedBioAdvanceClock(test_state->packeted_bio)) { in RetryAsync()
66 AsyncBioEnforceWriteQuota(test_state->async_bio, false); in RetryAsync()
68 AsyncBioEnforceWriteQuota(test_state->async_bio, true); in RetryAsync()
81 AsyncBioAllowRead(test_state->async_bio, 1); in RetryAsync()
84 AsyncBioAllowWrite(test_state->async_bio, 1); in RetryAsync()
[all …]
Dtest_config.cc1024 TestState *test_state = GetTestState(ssl); in AsyncPrivateKeySign() local
1025 if (!test_state->private_key_result.empty()) { in AsyncPrivateKeySign()
1030 if (EVP_PKEY_id(test_state->private_key.get()) != in AsyncPrivateKeySign()
1041 test_state->private_key.get())) { in AsyncPrivateKeySign()
1058 test_state->private_key_result.resize(len); in AsyncPrivateKeySign()
1059 if (!EVP_DigestSign(ctx.get(), test_state->private_key_result.data(), &len, in AsyncPrivateKeySign()
1063 test_state->private_key_result.resize(len); in AsyncPrivateKeySign()
1074 TestState *test_state = GetTestState(ssl); in AsyncPrivateKeyDecrypt() local
1075 if (!test_state->private_key_result.empty()) { in AsyncPrivateKeyDecrypt()
1080 RSA *rsa = EVP_PKEY_get0_RSA(test_state->private_key.get()); in AsyncPrivateKeyDecrypt()
[all …]
DCMakeLists.txt13 test_state.cc
31 test_state.cc
Dbssl_shim.cc181 TestState *test_state = GetTestState(ssl); in DoRead() local
182 if (test_state->quic_transport) { in DoRead()
183 return test_state->quic_transport->ReadApplicationData(out, max_out); in DoRead()
191 AsyncBioEnforceWriteQuota(test_state->async_bio, false); in DoRead()
198 AsyncBioEnforceWriteQuota(test_state->async_bio, true); in DoRead()
238 TestState *test_state = GetTestState(ssl); in WriteAll() local
240 if (test_state->quic_transport) { in WriteAll()
241 if (!test_state->quic_transport->WriteApplicationData(in, in_len)) { in WriteAll()
Dtest_config.h196 std::unique_ptr<TestState> test_state) const;
/external/rust/crates/quiche/deps/boringssl/src/ssl/test/
Dhandshake_util.cc42 TestState *test_state = GetTestState(ssl); in RetryAsync() local
49 test_state->explicit_renegotiates++; in RetryAsync()
53 if (test_state->quic_transport && ssl_err == SSL_ERROR_WANT_READ) { in RetryAsync()
54 return test_state->quic_transport->ReadHandshake(); in RetryAsync()
62 if (test_state->packeted_bio != nullptr && in RetryAsync()
63 PacketedBioAdvanceClock(test_state->packeted_bio)) { in RetryAsync()
66 AsyncBioEnforceWriteQuota(test_state->async_bio, false); in RetryAsync()
68 AsyncBioEnforceWriteQuota(test_state->async_bio, true); in RetryAsync()
81 AsyncBioAllowRead(test_state->async_bio, 1); in RetryAsync()
84 AsyncBioAllowWrite(test_state->async_bio, 1); in RetryAsync()
[all …]
Dtest_config.cc959 TestState *test_state = GetTestState(ssl); in AsyncPrivateKeySign() local
960 if (!test_state->private_key_result.empty()) { in AsyncPrivateKeySign()
965 if (EVP_PKEY_id(test_state->private_key.get()) != in AsyncPrivateKeySign()
976 test_state->private_key.get())) { in AsyncPrivateKeySign()
993 test_state->private_key_result.resize(len); in AsyncPrivateKeySign()
994 if (!EVP_DigestSign(ctx.get(), test_state->private_key_result.data(), &len, in AsyncPrivateKeySign()
998 test_state->private_key_result.resize(len); in AsyncPrivateKeySign()
1009 TestState *test_state = GetTestState(ssl); in AsyncPrivateKeyDecrypt() local
1010 if (!test_state->private_key_result.empty()) { in AsyncPrivateKeyDecrypt()
1015 RSA *rsa = EVP_PKEY_get0_RSA(test_state->private_key.get()); in AsyncPrivateKeyDecrypt()
[all …]
DCMakeLists.txt13 test_state.cc
31 test_state.cc
Dbssl_shim.cc181 TestState *test_state = GetTestState(ssl); in DoRead() local
182 if (test_state->quic_transport) { in DoRead()
183 return test_state->quic_transport->ReadApplicationData(out, max_out); in DoRead()
191 AsyncBioEnforceWriteQuota(test_state->async_bio, false); in DoRead()
198 AsyncBioEnforceWriteQuota(test_state->async_bio, true); in DoRead()
238 TestState *test_state = GetTestState(ssl); in WriteAll() local
240 if (test_state->quic_transport) { in WriteAll()
241 if (!test_state->quic_transport->WriteApplicationData(in, in_len)) { in WriteAll()
Dtest_config.h188 std::unique_ptr<TestState> test_state) const;
/external/rust/crates/tokio/src/runtime/thread_pool/
Didle.rs215 fn test_state() { in test_state() function
/external/libxkbcommon/test/
Dcompose.c349 test_state(struct xkb_context *ctx) in test_state() function
529 test_state(ctx); in main()
/external/autotest/server/cros/bluetooth/
Dbluetooth_adapter_quick_tests.py70 self.cleanup(test_state='MID')
460 self.cleanup(test_state='NEW')
Dbluetooth_adapter_tests.py4551 def cleanup(self, test_state='END'): argument
4559 if test_state == 'END':
4590 if test_state == 'MID':
/external/python/cpython2/Lib/lib-tk/test/test_tkinter/
Dtest_widgets.py362 def test_state(self): member in EntryTest
575 def test_state(self): member in TextTest
680 def test_state(self): member in CanvasTest
731 def test_state(self): member in ListboxTest
/external/python/cpython3/Lib/tkinter/test/test_tkinter/
Dtest_widgets.py369 def test_state(self): member in EntryTest
639 def test_state(self): member in TextTest
744 def test_state(self): member in CanvasTest
818 def test_state(self): member in ListboxTest
/external/grpc-grpc/test/core/end2end/
Dinvalid_call_argument_test.cc35 struct test_state { struct
53 static struct test_state g_state; argument
/external/python/cpython3/Lib/tkinter/test/
Dwidget_tests.py418 def test_state(self): member in StandardOptionsTests
/external/python/cpython2/Lib/lib-tk/test/
Dwidget_tests.py441 def test_state(self): member in StandardOptionsTests
/external/openscreen/third_party/boringssl/
DBUILD.generated_tests.gni25 "src/ssl/test/test_state.h",
/external/boringssl/
DBUILD.generated_tests.bzl70 "src/ssl/test/test_state.h",

12