Home
last modified time | relevance | path

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

/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.h228 OFF_T test_state; /* current test state */ member
/external/libvncserver/webclients/novnc/include/
Dplayback.js11 var rfb, mode, test_state, frame_idx, frame_length, variable
25 test_state = 'running';
30 if (test_state !== 'running') { return; }
48 if (test_state !== 'running') { return; }
/external/boringssl/src/ssl/test/
Dbssl_shim.cc309 TestState *test_state = GetTestState(ssl); in AsyncPrivateKeySign() local
310 if (!test_state->private_key_result.empty()) { in AsyncPrivateKeySign()
349 test_state->private_key.get())) { in AsyncPrivateKeySign()
371 test_state->private_key_result.resize(len); in AsyncPrivateKeySign()
372 if (!EVP_DigestSignFinal(ctx.get(), test_state->private_key_result.data(), in AsyncPrivateKeySign()
376 test_state->private_key_result.resize(len); in AsyncPrivateKeySign()
385 TestState *test_state = GetTestState(ssl); in AsyncPrivateKeyDecrypt() local
386 if (!test_state->private_key_result.empty()) { in AsyncPrivateKeyDecrypt()
392 RSA *rsa = EVP_PKEY_get0_RSA(test_state->private_key.get()); in AsyncPrivateKeyDecrypt()
398 test_state->private_key_result.resize(RSA_size(rsa)); in AsyncPrivateKeyDecrypt()
[all …]