Home
last modified time | relevance | path

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

12345678910>>...22

/dports/devel/resolv_wrapper/resolv_wrapper-1.1.5/tests/
H A Dtest_res_init.c31 assert_non_null(test_state); in setup()
32 test_state->rc_fd = -1; in setup()
33 test_state->resolv_conf = NULL; in setup()
37 test_state->rc_fd = mkstemp(test_state->resolv_conf_path); in setup()
39 test_state->resolv_conf = fdopen(test_state->rc_fd, "a"); in setup()
42 *state = test_state; in setup()
55 if (test_state->resolv_conf) { in teardown()
56 fclose(test_state->resolv_conf); in teardown()
59 if (test_state->rc_fd != -1) { in teardown()
60 close(test_state->rc_fd); in teardown()
[all …]
/dports/security/libssh/libssh-0.9.6/tests/unittests/
H A Dtorture_bind_config.c144 test_state->cwd = cwd; in setup_config_files()
147 *state = test_state; in setup_config_files()
376 *state = test_state; in sshbind_setup()
403 SAFE_FREE(test_state); in sshbind_teardown()
418 bind = test_state->bind; in torture_bind_config_listen_address()
456 bind = test_state->bind; in torture_bind_config_port()
486 bind = test_state->bind; in torture_bind_config_hostkey()
512 bind = test_state->bind; in torture_bind_config_hostkey_twice_rec()
533 bind = test_state->bind; in torture_bind_config_hostkey_separately()
559 bind = test_state->bind; in torture_bind_config_loglevel()
[all …]
H A Dtorture_options.c881 test_state->cwd = cwd; in ssh_bind_setup_files()
884 *state = test_state; in ssh_bind_setup_files()
925 *state = test_state; in sshbind_setup()
952 SAFE_FREE(test_state); in sshbind_teardown()
969 bind = test_state->bind; in torture_bind_options_import_key()
1019 bind = test_state->bind; in torture_bind_options_hostkey()
1069 bind = test_state->bind; in torture_bind_options_bindaddr()
1088 bind = test_state->bind; in torture_bind_options_bindport()
1105 bind = test_state->bind; in torture_bind_options_bindport_str()
1124 bind = test_state->bind; in torture_bind_options_log_verbosity()
[all …]
H A Dtorture_pki.c25 struct pki_st *test_state = NULL; in setup_cert_dir() local
31 assert_non_null(test_state); in setup_cert_dir()
39 test_state->cwd = cwd; in setup_cert_dir()
40 test_state->temp_dir = tmp_dir; in setup_cert_dir()
42 *state = test_state; in setup_cert_dir()
54 struct pki_st *test_state = NULL; in teardown_cert_dir() local
59 assert_non_null(test_state); in teardown_cert_dir()
60 assert_non_null(test_state->cwd); in teardown_cert_dir()
69 SAFE_FREE(test_state->temp_dir); in teardown_cert_dir()
70 SAFE_FREE(test_state->cwd); in teardown_cert_dir()
[all …]
H A Dtorture_pki_ecdsa.c27 struct pki_st *test_state = NULL; in setup_ecdsa_key() local
33 assert_non_null(test_state); in setup_ecdsa_key()
41 test_state->cwd = cwd; in setup_ecdsa_key()
42 test_state->temp_dir = tmp_dir; in setup_ecdsa_key()
44 *state = test_state; in setup_ecdsa_key()
83 assert_non_null(test_state); in setup_openssh_ecdsa_key()
91 test_state->cwd = cwd; in setup_openssh_ecdsa_key()
94 *state = test_state; in setup_openssh_ecdsa_key()
174 assert_non_null(test_state); in teardown()
185 SAFE_FREE(test_state->cwd); in teardown()
[all …]
/dports/net/krill/krill-0.9.4/cargo-crates/openidconnect-2.1.0/tests/
H A Drp_certification_code.rs257 test_state in rp_response_type_code()
369 let token_response = test_state in rp_id_token_iat()
372 test_state in rp_id_token_iat()
429 let verifier = test_state in rp_id_token_sig_none()
433 let id_token_claims = test_state in rp_id_token_sig_none()
462 let verifier = test_state in rp_id_token_sig_hs256()
465 let id_token_claims = test_state in rp_id_token_sig_hs256()
479 let token_response = test_state in rp_id_token_sub()
482 test_state in rp_id_token_sub()
522 let verifier = test_state in rp_id_token_bad_sig_hs256()
[all …]
/dports/databases/couchdb3/apache-couchdb-3.2.1/src/proper/examples/
H A Dcar_statem.erl63 -record(test_state, record
169 #test_state{fuel = ?MAX_FUEL,
193 #test_state{distance = Distance} = S,
199 #test_state{fuel = Fuel,
205 S#test_state{fuel = Fuel - Burnt,
210 #test_state{fuel = Fuel,
216 S#test_state{fuel = Fuel - Burnt,
221 #test_state{fuel = Fuel,
226 S#test_state{fuel = Fuel - Burnt,
230 #test_state{fuel = Fuel,
[all …]
H A Dcar_fsm.erl65 -record(test_state, record
200 #test_state{fuel = ?MAX_FUEL,
233 #test_state{speed = Speed} = S,
236 #test_state{speed = Speed} = S,
239 #test_state{fuel = Fuel} = S,
245 #test_state{fuel = Fuel,
251 S#test_state{fuel = Fuel - Burnt,
256 #test_state{fuel = Fuel,
262 S#test_state{fuel = Fuel - Burnt,
267 #test_state{fuel = Fuel,
[all …]
H A Delevator_fsm.erl166 initial_state_data() -> #test_state{}.
185 S#test_state.num_floors > 0;
187 S#test_state.num_floors =:= 0;
190 S#test_state.num_floors > N;
192 S#test_state.num_floors =:= N;
196 N =< S#test_state.people;
201 S#test_state{people = S#test_state.people - N};
203 People = S#test_state.people,
206 false -> S#test_state{people = People + N}
212 People = S#test_state.people,
[all …]
/dports/net/waypipe/waypipe-a11a59c58bee3972ce9e1e18731eba28cc0a8f0a/test/
H A Dcommon.h48 struct test_state { struct
59 void send_wayland_msg(struct test_state *src, const struct msg msg, argument
61 void receive_wire(struct test_state *src, struct transfer_queue *queue);
63 void send_protocol_msg(struct test_state *src, struct test_state *dst,
65 int setup_state(struct test_state *s, bool display_side, bool has_gpu);
66 void cleanup_state(struct test_state *s);
/dports/chinese/libime/libime-1.0.9/src/libime/core/kenlm/lm/common/
H A Dmodel_buffer_test.cc25 ngram::State ref_state, test_state; in BOOST_AUTO_TEST_CASE() local
29 test.SlowQuery(ref.BeginSentenceState(), a, test_state), in BOOST_AUTO_TEST_CASE()
31 BOOST_CHECK_EQUAL((unsigned)ref_state.length, (unsigned)test_state.length); in BOOST_AUTO_TEST_CASE()
32 BOOST_CHECK_EQUAL(ref_state.words[0], test_state.words[0]); in BOOST_AUTO_TEST_CASE()
33 BOOST_CHECK_EQUAL(ref_state.backoff[0], test_state.backoff[0]); in BOOST_AUTO_TEST_CASE()
34 BOOST_CHECK(ref_state == test_state); in BOOST_AUTO_TEST_CASE()
40 test.SlowQuery(test_state, b, test_state2), in BOOST_AUTO_TEST_CASE()
47 test.SlowQuery(test_state2, 0, test_state), in BOOST_AUTO_TEST_CASE()
/dports/biology/ncbi-cxx-toolkit/ncbi_cxx--25_2_0/src/app/netcache/test/check_nc_mirror/
H A DConnectivityTest.cpp30 for( int test_state=check; test_state<=finalization; test_state++ ) in DoMirrorsCheck() local
50 if( test_state == check ) in DoMirrorsCheck()
63 if( test_state == finalization ) in DoMirrorsCheck()
67 if( test_state == finalization ) in DoMirrorsCheck()
77 if( test_state == check ) test_thread_pool.WaitAll(); in DoMirrorsCheck()
H A DWriteTest.cpp40 for( int test_state=check; test_state<=finalization; test_state++ ) in DoMirrorsCheck() local
58 if( test_state == check ) in DoMirrorsCheck()
70 if( test_state == finalization ) in DoMirrorsCheck()
74 if( test_state == finalization ) in DoMirrorsCheck()
84 if( test_state == check ) test_thread_pool.WaitAll(); in DoMirrorsCheck()
H A DReadTest.cpp46 for( int test_state=check; test_state<=finalization; test_state++ ) in DoMirrorsCheck() local
64 if( test_state == check ) in DoMirrorsCheck()
76 if( test_state == finalization ) in DoMirrorsCheck()
80 if( test_state == finalization ) in DoMirrorsCheck()
91 if( test_state == check ) test_thread_pool.WaitAll(); in DoMirrorsCheck()
/dports/lang/mono/mono-5.10.1.57/external/boringssl/ssl/test/
H A Dbssl_shim.cc160 TestState *test_state = GetTestState(ssl); in AsyncPrivateKeySign() local
193 TestState *test_state = GetTestState(ssl); in AsyncPrivateKeySignComplete() local
200 if (test_state->private_key_retries < 2) { in AsyncPrivateKeySignComplete()
214 test_state->private_key_result.clear(); in AsyncPrivateKeySignComplete()
215 test_state->private_key_retries = 0; in AsyncPrivateKeySignComplete()
222 TestState *test_state = GetTestState(ssl); in AsyncPrivateKeyDecrypt() local
272 test_state->private_key_result.clear(); in AsyncPrivateKeyDecryptComplete()
273 test_state->private_key_retries = 0; in AsyncPrivateKeyDecryptComplete()
919 test_state->cert_ready = true; in RetryAsync()
922 test_state->session = std::move(test_state->pending_session); in RetryAsync()
[all …]
/dports/graphics/piglit/piglit-136a7f5fa0703603be1ffb338abe4865e76a8058/tests/texturing/
H A Dcubemap-shader.c59 int test_state; variable
145 if (test_state != STATE_PLAIN_SHADER) in test_results()
208 if (test_state != STATE_PLAIN_SHADER) in draw_at_size()
213 if (test_state == STATE_PLAIN_SHADER) in draw_at_size()
234 if (test_state == STATE_LOD_SHADER) in draw_at_size()
269 if (test_state == STATE_PLAIN_SHADER) in draw_at_size()
278 if (test_state != STATE_PLAIN_SHADER) in draw_at_size()
304 if (test_state == STATE_PLAIN_SHADER) { in piglit_display()
355 test_state = STATE_LOD_SHADER; in piglit_init()
359 test_state = STATE_LOD_BIAS_SHADER; in piglit_init()
[all …]
/dports/www/firefox/firefox-99.0/testing/web-platform/tests/tools/wave/testing/
H A Dresults_manager.py74 test_state = session.test_state
75 apis = list(test_state.keys())
114 return session.test_state
120 session.test_state[api]["pass"] += 1
122 session.test_state[api]["fail"] += 1
138 session.test_state[api]["complete"] += 1
142 test_state = {}
144 test_state[api] = {
172 test_state[api]["complete"] += 1
173 return test_state
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/boringssl/src/ssl/test/
H A Dhandshake_util.cc42 TestState *test_state = GetTestState(ssl); in RetryAsync() local
49 test_state->explicit_renegotiates++; in RetryAsync()
62 if (test_state->packeted_bio != nullptr && in RetryAsync()
81 AsyncBioAllowRead(test_state->async_bio, 1); in RetryAsync()
84 AsyncBioAllowWrite(test_state->async_bio, 1); in RetryAsync()
91 test_state->channel_id = std::move(pkey); in RetryAsync()
95 test_state->cert_ready = true; in RetryAsync()
98 test_state->session = std::move(test_state->pending_session); in RetryAsync()
101 test_state->early_callback_ready = true; in RetryAsync()
104 test_state->private_key_retries++; in RetryAsync()
[all …]
/dports/net/quiche/quiche-0.9.0/deps/boringssl/src/ssl/test/
H A Dhandshake_util.cc42 TestState *test_state = GetTestState(ssl); in RetryAsync() local
49 test_state->explicit_renegotiates++; in RetryAsync()
62 if (test_state->packeted_bio != nullptr && in RetryAsync()
81 AsyncBioAllowRead(test_state->async_bio, 1); in RetryAsync()
84 AsyncBioAllowWrite(test_state->async_bio, 1); in RetryAsync()
91 test_state->channel_id = std::move(pkey); in RetryAsync()
95 test_state->cert_ready = true; in RetryAsync()
98 test_state->session = std::move(test_state->pending_session); in RetryAsync()
101 test_state->early_callback_ready = true; in RetryAsync()
104 test_state->private_key_retries++; in RetryAsync()
[all …]
/dports/net/quiche/quiche-0.9.0/cargo-crates/boring-sys-1.1.1/deps/boringssl/src/ssl/test/
H A Dhandshake_util.cc42 TestState *test_state = GetTestState(ssl); in RetryAsync() local
49 test_state->explicit_renegotiates++; in RetryAsync()
62 if (test_state->packeted_bio != nullptr && in RetryAsync()
81 AsyncBioAllowRead(test_state->async_bio, 1); in RetryAsync()
84 AsyncBioAllowWrite(test_state->async_bio, 1); in RetryAsync()
91 test_state->channel_id = std::move(pkey); in RetryAsync()
95 test_state->cert_ready = true; in RetryAsync()
98 test_state->session = std::move(test_state->pending_session); in RetryAsync()
101 test_state->early_callback_ready = true; in RetryAsync()
104 test_state->private_key_retries++; in RetryAsync()
[all …]
/dports/security/boringssl/boringssl-6a71840/ssl/test/
H A Dhandshake_util.cc42 TestState *test_state = GetTestState(ssl); in RetryAsync() local
49 test_state->explicit_renegotiates++; in RetryAsync()
62 if (test_state->packeted_bio != nullptr && in RetryAsync()
81 AsyncBioAllowRead(test_state->async_bio, 1); in RetryAsync()
84 AsyncBioAllowWrite(test_state->async_bio, 1); in RetryAsync()
91 test_state->channel_id = std::move(pkey); in RetryAsync()
95 test_state->cert_ready = true; in RetryAsync()
98 test_state->session = std::move(test_state->pending_session); in RetryAsync()
101 test_state->early_callback_ready = true; in RetryAsync()
104 test_state->private_key_retries++; in RetryAsync()
[all …]
/dports/net/samba412/samba-4.12.15/source3/utils/
H A Dasync-tracker.c39 struct test_state { struct
49 static void cleanup(struct test_state *state) in cleanup() argument
69 struct test_state *state = talloc_get_type_abort( in cursor_cb()
70 user_data, struct test_state); in cursor_cb()
133 struct test_state *state = talloc_get_type_abort( in query_cb()
134 user_data, struct test_state); in query_cb()
168 struct test_state *state = talloc_get_type_abort( in connection_cb()
169 user_data, struct test_state); in connection_cb()
205 struct test_state *state = NULL; in main()
233 state = talloc_zero(mem_ctx, struct test_state); in main()
/dports/science/libaec/libaec-1.0.6/tests/
H A Dcheck_aec.h7 struct test_state { struct
8 int (* codec)(struct test_state *state); argument
25 int update_state(struct test_state *state); argument
26 int encode_decode_small(struct test_state *state);
27 int encode_decode_large(struct test_state *state);
/dports/net/frr7-pythontools/frr-frr-7.5.1/tests/lib/
H A Dtest_srcdest_table.c57 struct test_state { struct
125 static struct test_state *test_state_new(void) in test_state_new()
127 struct test_state *rv; in test_state_new()
139 static void test_state_free(struct test_state *test) in test_state_free()
147 static void test_state_add_route(struct test_state *test, in test_state_add_route()
171 static void test_state_del_route(struct test_state *test, in test_state_del_route()
200 struct test_state *test = arg; in verify_log()
223 static void test_dump(struct test_state *test) in test_dump()
244 static void test_state_verify(struct test_state *test) in test_state_verify()
352 static void test_state_add_rand_route(struct test_state *test, in test_state_add_rand_route()
[all …]
/dports/net/frr7/frr-frr-7.5.1/tests/lib/
H A Dtest_srcdest_table.c57 struct test_state { struct
125 static struct test_state *test_state_new(void) in test_state_new()
127 struct test_state *rv; in test_state_new()
139 static void test_state_free(struct test_state *test) in test_state_free()
147 static void test_state_add_route(struct test_state *test, in test_state_add_route()
171 static void test_state_del_route(struct test_state *test, in test_state_del_route()
200 struct test_state *test = arg; in verify_log()
223 static void test_dump(struct test_state *test) in test_dump()
244 static void test_state_verify(struct test_state *test) in test_state_verify()
352 static void test_state_add_rand_route(struct test_state *test, in test_state_add_rand_route()
[all …]

12345678910>>...22