Home
last modified time | relevance | path

Searched refs:test_state (Results 126 – 150 of 546) sorted by relevance

12345678910>>...22

/dports/emulators/qemu42/qemu-4.2.1/roms/edk2/CryptoPkg/Library/OpensslLib/openssl/test/ossl_shim/
H A Dossl_shim.cc678 TestState *test_state = GetTestState(ssl); in RetryAsync() local
681 if (test_state->packeted_bio != nullptr && in RetryAsync()
682 PacketedBioAdvanceClock(test_state->packeted_bio)) { in RetryAsync()
685 AsyncBioEnforceWriteQuota(test_state->async_bio, false); in RetryAsync()
687 AsyncBioEnforceWriteQuota(test_state->async_bio, true); in RetryAsync()
700 AsyncBioAllowRead(test_state->async_bio, 1); in RetryAsync()
703 AsyncBioAllowWrite(test_state->async_bio, 1); in RetryAsync()
706 test_state->cert_ready = true; in RetryAsync()
717 TestState *test_state = GetTestState(ssl); in DoRead() local
724 AsyncBioEnforceWriteQuota(test_state->async_bio, false); in DoRead()
[all …]
/dports/emulators/qemu/qemu-6.2.0/roms/edk2/CryptoPkg/Library/OpensslLib/openssl/test/ossl_shim/
H A Dossl_shim.cc678 TestState *test_state = GetTestState(ssl); in RetryAsync() local
681 if (test_state->packeted_bio != nullptr && in RetryAsync()
682 PacketedBioAdvanceClock(test_state->packeted_bio)) { in RetryAsync()
685 AsyncBioEnforceWriteQuota(test_state->async_bio, false); in RetryAsync()
687 AsyncBioEnforceWriteQuota(test_state->async_bio, true); in RetryAsync()
700 AsyncBioAllowRead(test_state->async_bio, 1); in RetryAsync()
703 AsyncBioAllowWrite(test_state->async_bio, 1); in RetryAsync()
706 test_state->cert_ready = true; in RetryAsync()
717 TestState *test_state = GetTestState(ssl); in DoRead() local
724 AsyncBioEnforceWriteQuota(test_state->async_bio, false); in DoRead()
[all …]
/dports/emulators/qemu-utils/qemu-4.2.1/roms/edk2/CryptoPkg/Library/OpensslLib/openssl/test/ossl_shim/
H A Dossl_shim.cc678 TestState *test_state = GetTestState(ssl); in RetryAsync() local
681 if (test_state->packeted_bio != nullptr && in RetryAsync()
682 PacketedBioAdvanceClock(test_state->packeted_bio)) { in RetryAsync()
685 AsyncBioEnforceWriteQuota(test_state->async_bio, false); in RetryAsync()
687 AsyncBioEnforceWriteQuota(test_state->async_bio, true); in RetryAsync()
700 AsyncBioAllowRead(test_state->async_bio, 1); in RetryAsync()
703 AsyncBioAllowWrite(test_state->async_bio, 1); in RetryAsync()
706 test_state->cert_ready = true; in RetryAsync()
717 TestState *test_state = GetTestState(ssl); in DoRead() local
724 AsyncBioEnforceWriteQuota(test_state->async_bio, false); in DoRead()
[all …]
/dports/emulators/qemu5/qemu-5.2.0/roms/edk2/CryptoPkg/Library/OpensslLib/openssl/test/ossl_shim/
H A Dossl_shim.cc678 TestState *test_state = GetTestState(ssl); in RetryAsync() local
681 if (test_state->packeted_bio != nullptr && in RetryAsync()
682 PacketedBioAdvanceClock(test_state->packeted_bio)) { in RetryAsync()
685 AsyncBioEnforceWriteQuota(test_state->async_bio, false); in RetryAsync()
687 AsyncBioEnforceWriteQuota(test_state->async_bio, true); in RetryAsync()
700 AsyncBioAllowRead(test_state->async_bio, 1); in RetryAsync()
703 AsyncBioAllowWrite(test_state->async_bio, 1); in RetryAsync()
706 test_state->cert_ready = true; in RetryAsync()
717 TestState *test_state = GetTestState(ssl); in DoRead() local
724 AsyncBioEnforceWriteQuota(test_state->async_bio, false); in DoRead()
[all …]
/dports/sysutils/uefi-edk2-qemu/edk2-edk2-stable201911/CryptoPkg/Library/OpensslLib/openssl/test/ossl_shim/
H A Dossl_shim.cc678 TestState *test_state = GetTestState(ssl); in RetryAsync() local
681 if (test_state->packeted_bio != nullptr && in RetryAsync()
682 PacketedBioAdvanceClock(test_state->packeted_bio)) { in RetryAsync()
685 AsyncBioEnforceWriteQuota(test_state->async_bio, false); in RetryAsync()
687 AsyncBioEnforceWriteQuota(test_state->async_bio, true); in RetryAsync()
700 AsyncBioAllowRead(test_state->async_bio, 1); in RetryAsync()
703 AsyncBioAllowWrite(test_state->async_bio, 1); in RetryAsync()
706 test_state->cert_ready = true; in RetryAsync()
717 TestState *test_state = GetTestState(ssl); in DoRead() local
724 AsyncBioEnforceWriteQuota(test_state->async_bio, false); in DoRead()
[all …]
/dports/sysutils/uefi-edk2-bhyve/edk2-edk2-stable202102/CryptoPkg/Library/OpensslLib/openssl/test/ossl_shim/
H A Dossl_shim.cc678 TestState *test_state = GetTestState(ssl); in RetryAsync() local
681 if (test_state->packeted_bio != nullptr && in RetryAsync()
682 PacketedBioAdvanceClock(test_state->packeted_bio)) { in RetryAsync()
685 AsyncBioEnforceWriteQuota(test_state->async_bio, false); in RetryAsync()
687 AsyncBioEnforceWriteQuota(test_state->async_bio, true); in RetryAsync()
700 AsyncBioAllowRead(test_state->async_bio, 1); in RetryAsync()
703 AsyncBioAllowWrite(test_state->async_bio, 1); in RetryAsync()
706 test_state->cert_ready = true; in RetryAsync()
717 TestState *test_state = GetTestState(ssl); in DoRead() local
724 AsyncBioEnforceWriteQuota(test_state->async_bio, false); in DoRead()
[all …]
/dports/emulators/qemu-guest-agent/qemu-5.0.1/roms/edk2/CryptoPkg/Library/OpensslLib/openssl/test/ossl_shim/
H A Dossl_shim.cc678 TestState *test_state = GetTestState(ssl); in RetryAsync() local
681 if (test_state->packeted_bio != nullptr && in RetryAsync()
682 PacketedBioAdvanceClock(test_state->packeted_bio)) { in RetryAsync()
685 AsyncBioEnforceWriteQuota(test_state->async_bio, false); in RetryAsync()
687 AsyncBioEnforceWriteQuota(test_state->async_bio, true); in RetryAsync()
700 AsyncBioAllowRead(test_state->async_bio, 1); in RetryAsync()
703 AsyncBioAllowWrite(test_state->async_bio, 1); in RetryAsync()
706 test_state->cert_ready = true; in RetryAsync()
717 TestState *test_state = GetTestState(ssl); in DoRead() local
724 AsyncBioEnforceWriteQuota(test_state->async_bio, false); in DoRead()
[all …]
/dports/security/openssl/openssl-1.1.1n/test/ossl_shim/
H A Dossl_shim.cc678 TestState *test_state = GetTestState(ssl); in RetryAsync() local
681 if (test_state->packeted_bio != nullptr && in RetryAsync()
682 PacketedBioAdvanceClock(test_state->packeted_bio)) { in RetryAsync()
685 AsyncBioEnforceWriteQuota(test_state->async_bio, false); in RetryAsync()
687 AsyncBioEnforceWriteQuota(test_state->async_bio, true); in RetryAsync()
700 AsyncBioAllowRead(test_state->async_bio, 1); in RetryAsync()
703 AsyncBioAllowWrite(test_state->async_bio, 1); in RetryAsync()
706 test_state->cert_ready = true; in RetryAsync()
717 TestState *test_state = GetTestState(ssl); in DoRead() local
724 AsyncBioEnforceWriteQuota(test_state->async_bio, false); in DoRead()
[all …]
/dports/security/openssl-static/openssl-1.1.1l/test/ossl_shim/
H A Dossl_shim.cc678 TestState *test_state = GetTestState(ssl); in RetryAsync() local
681 if (test_state->packeted_bio != nullptr && in RetryAsync()
682 PacketedBioAdvanceClock(test_state->packeted_bio)) { in RetryAsync()
685 AsyncBioEnforceWriteQuota(test_state->async_bio, false); in RetryAsync()
687 AsyncBioEnforceWriteQuota(test_state->async_bio, true); in RetryAsync()
700 AsyncBioAllowRead(test_state->async_bio, 1); in RetryAsync()
703 AsyncBioAllowWrite(test_state->async_bio, 1); in RetryAsync()
706 test_state->cert_ready = true; in RetryAsync()
717 TestState *test_state = GetTestState(ssl); in DoRead() local
724 AsyncBioEnforceWriteQuota(test_state->async_bio, false); in DoRead()
[all …]
/dports/sysutils/edk2/edk2-edk2-stable202102/CryptoPkg/Library/OpensslLib/openssl/test/ossl_shim/
H A Dossl_shim.cc678 TestState *test_state = GetTestState(ssl); in RetryAsync() local
681 if (test_state->packeted_bio != nullptr && in RetryAsync()
682 PacketedBioAdvanceClock(test_state->packeted_bio)) { in RetryAsync()
685 AsyncBioEnforceWriteQuota(test_state->async_bio, false); in RetryAsync()
687 AsyncBioEnforceWriteQuota(test_state->async_bio, true); in RetryAsync()
700 AsyncBioAllowRead(test_state->async_bio, 1); in RetryAsync()
703 AsyncBioAllowWrite(test_state->async_bio, 1); in RetryAsync()
706 test_state->cert_ready = true; in RetryAsync()
717 TestState *test_state = GetTestState(ssl); in DoRead() local
724 AsyncBioEnforceWriteQuota(test_state->async_bio, false); in DoRead()
[all …]
/dports/science/py-cirq-pasqal/Cirq-0.13.1/cirq-core/cirq/qis/
H A Dstates_test.py340 test_state = np.array([0.888074, 0.325058 + 0.325058j])
341 bloch = cirq.bloch_vector_from_state_vector(test_state, 0)
399 test_state = np.array(
412 full_rho = cirq.density_matrix_from_state_vector(test_state)
413 np.testing.assert_array_almost_equal(full_rho, np.outer(test_state, np.conj(test_state)))
415 rho_one = cirq.density_matrix_from_state_vector(test_state, [1])
419 rho_two_zero = cirq.density_matrix_from_state_vector(test_state, [0, 2])
431 rho_two = cirq.density_matrix_from_state_vector(test_state, [2])
434 rho_zero = cirq.density_matrix_from_state_vector(test_state, [0])
/dports/science/py-cirq-core/Cirq-0.13.1/cirq-core/cirq/qis/
H A Dstates_test.py340 test_state = np.array([0.888074, 0.325058 + 0.325058j])
341 bloch = cirq.bloch_vector_from_state_vector(test_state, 0)
399 test_state = np.array(
412 full_rho = cirq.density_matrix_from_state_vector(test_state)
413 np.testing.assert_array_almost_equal(full_rho, np.outer(test_state, np.conj(test_state)))
415 rho_one = cirq.density_matrix_from_state_vector(test_state, [1])
419 rho_two_zero = cirq.density_matrix_from_state_vector(test_state, [0, 2])
431 rho_two = cirq.density_matrix_from_state_vector(test_state, [2])
434 rho_zero = cirq.density_matrix_from_state_vector(test_state, [0])
/dports/science/py-cirq-google/Cirq-0.13.0/cirq-core/cirq/qis/
H A Dstates_test.py340 test_state = np.array([0.888074, 0.325058 + 0.325058j])
341 bloch = cirq.bloch_vector_from_state_vector(test_state, 0)
399 test_state = np.array(
412 full_rho = cirq.density_matrix_from_state_vector(test_state)
413 np.testing.assert_array_almost_equal(full_rho, np.outer(test_state, np.conj(test_state)))
415 rho_one = cirq.density_matrix_from_state_vector(test_state, [1])
419 rho_two_zero = cirq.density_matrix_from_state_vector(test_state, [0, 2])
431 rho_two = cirq.density_matrix_from_state_vector(test_state, [2])
434 rho_zero = cirq.density_matrix_from_state_vector(test_state, [0])
/dports/science/py-cirq-ionq/Cirq-0.13.1/cirq-core/cirq/qis/
H A Dstates_test.py340 test_state = np.array([0.888074, 0.325058 + 0.325058j])
341 bloch = cirq.bloch_vector_from_state_vector(test_state, 0)
399 test_state = np.array(
412 full_rho = cirq.density_matrix_from_state_vector(test_state)
413 np.testing.assert_array_almost_equal(full_rho, np.outer(test_state, np.conj(test_state)))
415 rho_one = cirq.density_matrix_from_state_vector(test_state, [1])
419 rho_two_zero = cirq.density_matrix_from_state_vector(test_state, [0, 2])
431 rho_two = cirq.density_matrix_from_state_vector(test_state, [2])
434 rho_zero = cirq.density_matrix_from_state_vector(test_state, [0])
/dports/science/py-cirq-aqt/Cirq-0.12.0/cirq-core/cirq/qis/
H A Dstates_test.py340 test_state = np.array([0.888074, 0.325058 + 0.325058j])
341 bloch = cirq.bloch_vector_from_state_vector(test_state, 0)
399 test_state = np.array(
412 full_rho = cirq.density_matrix_from_state_vector(test_state)
413 np.testing.assert_array_almost_equal(full_rho, np.outer(test_state, np.conj(test_state)))
415 rho_one = cirq.density_matrix_from_state_vector(test_state, [1])
419 rho_two_zero = cirq.density_matrix_from_state_vector(test_state, [0, 2])
431 rho_two = cirq.density_matrix_from_state_vector(test_state, [2])
434 rho_zero = cirq.density_matrix_from_state_vector(test_state, [0])
/dports/shells/yash/yash-2.51/builtins/
H A Dtest.c48 struct test_state { struct
62 static bool test_long_or(struct test_state *state) argument
64 static bool test_long_and(struct test_state *state)
66 static bool test_long_term(struct test_state *state)
118 struct test_state state; in test_builtin()
403 bool test_long_or(struct test_state *state) in test_long_or()
418 bool test_long_and(struct test_state *state) in test_long_and()
433 bool test_long_term(struct test_state *state) in test_long_term()
/dports/net/waypipe/waypipe-a11a59c58bee3972ce9e1e18731eba28cc0a8f0a/test/
H A Dprotocol_control.c41 struct test_state *src;
42 struct test_state *dst;
112 static int get_only_fd_from_msg(const struct test_state *s) in get_only_fd_from_msg()
121 static int get_fd_from_nth_to_last_msg(const struct test_state *s, int nth) in get_fd_from_nth_to_last_msg()
133 static void msg_send_handler(struct transfer_states *ts, struct test_state *src, in msg_send_handler()
134 struct test_state *dst) in msg_send_handler()
155 ts->comp = calloc(1, sizeof(struct test_state)); in setup_tstate()
156 ts->app = calloc(1, sizeof(struct test_state)); in setup_tstate()
/dports/devel/py-semantic-version/semantic_version-2.8.5/tests/
H A Dtest_django.py29 test_state = {} variable
38 test_state.update({
47 runner = test_state['runner']
48 runner_state = test_state['runner_state']
/dports/emulators/qemu60/qemu-6.0.0/roms/edk2/UnitTestFrameworkPkg/Library/CmockaLib/cmocka/src/
H A Dcmocka.c2976 if (test_state->test->setup_func != NULL) { in cmocka_run_one_tests()
2984 &test_state->state, in cmocka_run_one_tests()
2987 test_state->status = CM_TEST_ERROR; in cmocka_run_one_tests()
3005 test_state->status = CM_TEST_PASSED; in cmocka_run_one_tests()
3008 test_state->status = CM_TEST_SKIPPED; in cmocka_run_one_tests()
3011 test_state->status = CM_TEST_FAILED; in cmocka_run_one_tests()
3017 test_state->runtime = 0.0; in cmocka_run_one_tests()
3021 test_state->runtime = cm_secdiff(finish, start); in cmocka_run_one_tests()
3025 if (rc == 0 && test_state->test->teardown_func != NULL) { in cmocka_run_one_tests()
3033 test_state->status = CM_TEST_ERROR; in cmocka_run_one_tests()
[all …]
/dports/emulators/qemu/qemu-6.2.0/roms/edk2/UnitTestFrameworkPkg/Library/CmockaLib/cmocka/src/
H A Dcmocka.c2976 if (test_state->test->setup_func != NULL) { in cmocka_run_one_tests()
2984 &test_state->state, in cmocka_run_one_tests()
2987 test_state->status = CM_TEST_ERROR; in cmocka_run_one_tests()
3005 test_state->status = CM_TEST_PASSED; in cmocka_run_one_tests()
3008 test_state->status = CM_TEST_SKIPPED; in cmocka_run_one_tests()
3011 test_state->status = CM_TEST_FAILED; in cmocka_run_one_tests()
3017 test_state->runtime = 0.0; in cmocka_run_one_tests()
3021 test_state->runtime = cm_secdiff(finish, start); in cmocka_run_one_tests()
3025 if (rc == 0 && test_state->test->teardown_func != NULL) { in cmocka_run_one_tests()
3033 test_state->status = CM_TEST_ERROR; in cmocka_run_one_tests()
[all …]
/dports/emulators/qemu5/qemu-5.2.0/roms/edk2/UnitTestFrameworkPkg/Library/CmockaLib/cmocka/src/
H A Dcmocka.c2976 if (test_state->test->setup_func != NULL) { in cmocka_run_one_tests()
2984 &test_state->state, in cmocka_run_one_tests()
2987 test_state->status = CM_TEST_ERROR; in cmocka_run_one_tests()
3005 test_state->status = CM_TEST_PASSED; in cmocka_run_one_tests()
3008 test_state->status = CM_TEST_SKIPPED; in cmocka_run_one_tests()
3011 test_state->status = CM_TEST_FAILED; in cmocka_run_one_tests()
3017 test_state->runtime = 0.0; in cmocka_run_one_tests()
3021 test_state->runtime = cm_secdiff(finish, start); in cmocka_run_one_tests()
3025 if (rc == 0 && test_state->test->teardown_func != NULL) { in cmocka_run_one_tests()
3033 test_state->status = CM_TEST_ERROR; in cmocka_run_one_tests()
[all …]
/dports/cad/graywolf/graywolf-0.1.6-4-gf47937b/src/twsc/
H A Dreadnets.c623 int test_state, i, expect, two_or_more ; in yyparse() local
629 if( test_state = yysindex[yystate] ){ in yyparse()
631 expect = test_state + i ; in yyparse()
642 if( test_state = yyrindex[yystate] ){ in yyparse()
644 expect = test_state + i ; in yyparse()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/boringssl/src/ssl/test/
H A 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()
/dports/net/quiche/quiche-0.9.0/cargo-crates/boring-sys-1.1.1/deps/boringssl/src/ssl/test/
H A 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()
/dports/net/quiche/quiche-0.9.0/deps/boringssl/src/ssl/test/
H A 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()

12345678910>>...22