Home
last modified time | relevance | path

Searched refs:ses (Results 1 - 25 of 75) sorted by relevance

123

/third_party/ltp/lib/
H A Dtst_crypto.c15 void tst_crypto_open(struct tst_crypto_session *ses) in tst_crypto_open() argument
27 ses->fd = ret; in tst_crypto_open()
28 ses->seq_num = 0; in tst_crypto_open()
31 void tst_crypto_close(struct tst_crypto_session *ses) in tst_crypto_close() argument
33 SAFE_CLOSE(ses->fd); in tst_crypto_close()
36 static int tst_crypto_recv_ack(struct tst_crypto_session *ses) in tst_crypto_recv_ack() argument
42 len = SAFE_NETLINK_RECV(ses->fd, buf, sizeof(buf)); in tst_crypto_recv_ack()
47 if (nh->nlmsg_seq != ses->seq_num) { in tst_crypto_recv_ack()
50 nh->nlmsg_type, nh->nlmsg_seq, ses->seq_num); in tst_crypto_recv_ack()
68 int tst_crypto_add_alg(struct tst_crypto_session *ses, in tst_crypto_add_alg() argument
84 tst_crypto_del_alg(struct tst_crypto_session *ses, const struct crypto_user_alg *alg) tst_crypto_del_alg() argument
[all...]
/third_party/ltp/testcases/kernel/crypto/
H A Dcrypto_user02.c55 static struct tst_crypto_session ses = TST_CRYPTO_SESSION_INIT; variable
63 tst_crypto_open(&ses); in setup()
71 rc = tst_crypto_add_alg(&ses, &alg); in setup()
76 rc = tst_crypto_del_alg(&ses, &alg); in setup()
106 tst_crypto_open(&ses); in run()
108 TEST(tst_crypto_add_alg(&ses, &alg)); in run()
126 TEST(tst_crypto_del_alg(&ses, &alg)); in run()
137 tst_crypto_close(&ses); in cleanup()
H A Dpcrypt_aead01.c29 static struct tst_crypto_session ses = TST_CRYPTO_SESSION_INIT; variable
33 tst_crypto_open(&ses); in setup()
46 TEST(tst_crypto_add_alg(&ses, &a)); in run()
54 TEST(tst_crypto_del_alg(&ses, &a)); in run()
70 tst_crypto_close(&ses); in cleanup()
H A Dcrypto_user01.c28 static struct tst_crypto_session ses = TST_CRYPTO_SESSION_INIT; variable
32 tst_crypto_open(&ses); in setup()
140 if (nh->nlmsg_seq != ses.seq_num) { in validate_alg_list()
143 nh->nlmsg_type, nh->nlmsg_seq, ses.seq_num); in validate_alg_list()
163 .nlmsg_seq = ++(ses.seq_num), in run()
176 SAFE_NETLINK_SEND(ses.fd, &nh, &payload); in run()
178 res = SAFE_NETLINK_RECV(ses.fd, buf, bufsize); in run()
188 tst_crypto_close(&ses); in cleanup()
/third_party/libabigail/tests/
H A Dtest-diff2.cc41 bool ses; member
51 ses(false), in options()
66 << "--ses display the shortest edit script transforming str1 into str2\n"; in show_help()
100 else if (strcmp(argv[i], "--ses") == 0) in parse_command_line()
101 opts.ses = true; in parse_command_line()
134 cout << "ses len: " << ses_len << "\n"; in main()
145 << "ses len: " << ses_len << "\n"; in main()
149 if (opts.ses) in main()
151 edit_script ses; in main() local
152 compute_ses(opts.str1, opts.str2, ses); in main()
[all...]
H A Dtest-core-diff.cc164 edit_script ses; in main() local
167 compute_ses(s->first_string, s->second_string, ses); in main()
169 display_edit_script(ses, s->first_string, s->second_string, of); in main()
/third_party/ltp/include/
H A Dtst_crypto.h57 * @param ses Session structure to use, it can be uninitialized.
62 void tst_crypto_open(struct tst_crypto_session *ses);
68 * @param ses The session to close.
70 void tst_crypto_close(struct tst_crypto_session *ses);
76 * @param ses An open session.
87 int tst_crypto_add_alg(struct tst_crypto_session *ses,
94 * @param ses An open session.
109 int tst_crypto_del_alg(struct tst_crypto_session *ses,
/third_party/libabigail/include/
H A Dabg-diff-utils.h1470 /// @param ses the resulting shortest editing script.
1472 /// @param ses_len the length of the ses above. Normally this can be
1473 /// retrieved from ses.length(), but this parameter is here for sanity
1474 /// check purposes. The function computes the length of the ses in
1489 edit_script& ses, in compute_diff()
1502 ses.deletions().push_back(deletion(i - a_base)); in compute_diff()
1515 ses.insertions().push_back(ins); in compute_diff()
1558 ses.deletions().push_back(deletion(i - a_base)); in compute_diff()
1565 ses.insertions().push_back(ins); in compute_diff()
1568 ABG_ASSERT(ses_len == ses in compute_diff()
1482 compute_diff(RandomAccessOutputIterator a_base, RandomAccessOutputIterator a_begin, RandomAccessOutputIterator a_end, RandomAccessOutputIterator b_base, RandomAccessOutputIterator b_begin, RandomAccessOutputIterator b_end, vector<point>& lcs, edit_script& ses, int& ses_len) compute_diff() argument
1686 compute_diff(RandomAccessOutputIterator a_begin, RandomAccessOutputIterator a_end, RandomAccessOutputIterator b_begin, RandomAccessOutputIterator b_end, vector<point>& lcs, edit_script& ses, int& ses_len) compute_diff() argument
1751 compute_diff(RandomAccessOutputIterator a_base, RandomAccessOutputIterator a_begin, RandomAccessOutputIterator a_end, RandomAccessOutputIterator b_base, RandomAccessOutputIterator b_begin, RandomAccessOutputIterator b_end, vector<point>& lcs, edit_script& ses) compute_diff() argument
1806 compute_diff(RandomAccessOutputIterator a_begin, RandomAccessOutputIterator a_end, RandomAccessOutputIterator b_begin, RandomAccessOutputIterator b_end, vector<point>& lcs, edit_script& ses) compute_diff() argument
1849 compute_diff(RandomAccessOutputIterator a_begin, RandomAccessOutputIterator a_end, RandomAccessOutputIterator b_begin, RandomAccessOutputIterator b_end, vector<point>& lcs, edit_script& ses) compute_diff() argument
1908 compute_diff(RandomAccessOutputIterator a_base, RandomAccessOutputIterator a_begin, RandomAccessOutputIterator a_end, RandomAccessOutputIterator b_base, RandomAccessOutputIterator b_begin, RandomAccessOutputIterator b_end, edit_script& ses) compute_diff() argument
1959 compute_diff(RandomAccessOutputIterator a_begin, RandomAccessOutputIterator a_end, RandomAccessOutputIterator b_begin, RandomAccessOutputIterator b_end, edit_script& ses) compute_diff() argument
1998 compute_diff(RandomAccessOutputIterator a_begin, RandomAccessOutputIterator a_end, RandomAccessOutputIterator b_begin, RandomAccessOutputIterator b_end, edit_script& ses) compute_diff() argument
[all...]
/third_party/libabigail/src/
H A Dabg-diff-utils.cc160 edit_script ses; in compute_lcs() local
164 result, ses); in compute_lcs()
166 ses_len = ses.length(); in compute_lcs()
183 /// @param ses the resulting edit script.
187 compute_ses(const char* str1, const char* str2, edit_script& ses) in compute_ses() argument
192 lcs, ses); in compute_ses()
/third_party/node/deps/openssl/openssl/engines/
H A De_devcrypto.c87 if (ioctl(cfd, CIOCFSESSION, &sess->ses) < 0) { in clean_devcrypto_session()
214 if (cipher_ctx->sess.ses != 0 && in cipher_init()
254 cryp.ses = cipher_ctx->sess.ses; in cipher_do_cipher()
512 siop.ses = sess.ses; in prepare_cipher_methods()
526 ioctl(cfd, CIOCFSESSION, &sess.ses); in prepare_cipher_methods()
770 cryp.ses = ctx->sess.ses; in digest_op()
835 cphash.src_ses = digest_from->sess.ses; in digest_copy()
[all...]
/third_party/openssl/engines/
H A De_devcrypto.c87 if (ioctl(cfd, CIOCFSESSION, &sess->ses) < 0) { in clean_devcrypto_session()
214 if (cipher_ctx->sess.ses != 0 && in cipher_init()
254 cryp.ses = cipher_ctx->sess.ses; in cipher_do_cipher()
512 siop.ses = sess.ses; in prepare_cipher_methods()
526 ioctl(cfd, CIOCFSESSION, &sess.ses); in prepare_cipher_methods()
770 cryp.ses = ctx->sess.ses; in digest_op()
835 cphash.src_ses = digest_from->sess.ses; in digest_copy()
[all...]
/third_party/ffmpeg/libavcodec/
H A Dcbs_h264_syntax_template.c79 ses(delta_scale[i], -128, +127, 1, i); in scaling_list()
338 ses(offset_for_ref_frame[i], INT32_MIN + 1, INT32_MAX, 1, i); in sps()
694 ses(pan_scan_rect_left_offset[i], INT32_MIN + 1, INT32_MAX, 1, i); in sei_pan_scan_rect()
695 ses(pan_scan_rect_right_offset[i], INT32_MIN + 1, INT32_MAX, 1, i); in sei_pan_scan_rect()
696 ses(pan_scan_rect_top_offset[i], INT32_MIN + 1, INT32_MAX, 1, i); in sei_pan_scan_rect()
697 ses(pan_scan_rect_bottom_offset[i], INT32_MIN + 1, INT32_MAX, 1, i); in sei_pan_scan_rect()
793 ses(comp_model_value[c][i][j], 0 - current->film_grain_model_id * (1 << (filmGrainBitDepth[c] - 1)), in film_grain_characteristics()
935 ses(luma_weight_l0[i], -128, +127, 1, i); in pred_weight_table()
936 ses(luma_offset_l0[i], -128, +127, 1, i); in pred_weight_table()
942 ses(chroma_weight_l in pred_weight_table()
[all...]
H A Dcbs_h265_syntax_template.c688 ses(scaling_list_dc_coef_minus8[sizeId - 2][matrixId], -7, +247, in scaling_list_data()
692 ses(scaling_list_delta_coeff[sizeId][matrixId][i], in scaling_list_data()
985 ses(cb_qp_offset_list[i], -12, +12, 1, i); in pps_range_extension()
986 ses(cr_qp_offset_list[i], -12, +12, 1, i); in pps_range_extension()
1233 ses(delta_luma_weight_l0[i], -128, +127, 1, i); in pred_weight_table()
1234 ses(luma_offset_l0[i], in pred_weight_table()
1243 ses(delta_chroma_weight_l0[i][j], -128, +127, 2, i, j); in pred_weight_table()
1244 ses(chroma_offset_l0[i][j], in pred_weight_table()
1274 ses(delta_luma_weight_l1[i], -128, +127, 1, i); in pred_weight_table()
1275 ses(luma_offset_l in pred_weight_table()
[all...]
/third_party/node/deps/v8/src/debug/wasm/gdb-server/
H A Dtarget.h33 void Run(Session* ses);
/third_party/openssl/ohos_lite/include/openssl/
H A Dssl.h1659 int SSL_SESSION_print_fp(FILE *fp, const SSL_SESSION *ses);
1661 int SSL_SESSION_print(BIO *fp, const SSL_SESSION *ses);
1663 int SSL_SESSION_up_ref(SSL_SESSION *ses);
1664 void SSL_SESSION_free(SSL_SESSION *ses);
/third_party/node/deps/openssl/config/archs/linux-armv4/asm_avx2/include/openssl/
H A Dssl.h1769 int SSL_SESSION_print_fp(FILE *fp, const SSL_SESSION *ses);
1771 int SSL_SESSION_print(BIO *fp, const SSL_SESSION *ses);
1773 int SSL_SESSION_up_ref(SSL_SESSION *ses);
1774 void SSL_SESSION_free(SSL_SESSION *ses);
/third_party/node/deps/openssl/config/archs/linux-elf/asm/include/openssl/
H A Dssl.h1769 int SSL_SESSION_print_fp(FILE *fp, const SSL_SESSION *ses);
1771 int SSL_SESSION_print(BIO *fp, const SSL_SESSION *ses);
1773 int SSL_SESSION_up_ref(SSL_SESSION *ses);
1774 void SSL_SESSION_free(SSL_SESSION *ses);
/third_party/node/deps/openssl/config/archs/linux-aarch64/asm/include/openssl/
H A Dssl.h1769 int SSL_SESSION_print_fp(FILE *fp, const SSL_SESSION *ses);
1771 int SSL_SESSION_print(BIO *fp, const SSL_SESSION *ses);
1773 int SSL_SESSION_up_ref(SSL_SESSION *ses);
1774 void SSL_SESSION_free(SSL_SESSION *ses);
/third_party/node/deps/openssl/config/archs/darwin-i386-cc/no-asm/include/openssl/
H A Dssl.h1769 int SSL_SESSION_print_fp(FILE *fp, const SSL_SESSION *ses);
1771 int SSL_SESSION_print(BIO *fp, const SSL_SESSION *ses);
1773 int SSL_SESSION_up_ref(SSL_SESSION *ses);
1774 void SSL_SESSION_free(SSL_SESSION *ses);
/third_party/node/deps/openssl/config/archs/linux-aarch64/no-asm/include/openssl/
H A Dssl.h1769 int SSL_SESSION_print_fp(FILE *fp, const SSL_SESSION *ses);
1771 int SSL_SESSION_print(BIO *fp, const SSL_SESSION *ses);
1773 int SSL_SESSION_up_ref(SSL_SESSION *ses);
1774 void SSL_SESSION_free(SSL_SESSION *ses);
/third_party/node/deps/openssl/config/archs/linux-armv4/no-asm/include/openssl/
H A Dssl.h1769 int SSL_SESSION_print_fp(FILE *fp, const SSL_SESSION *ses);
1771 int SSL_SESSION_print(BIO *fp, const SSL_SESSION *ses);
1773 int SSL_SESSION_up_ref(SSL_SESSION *ses);
1774 void SSL_SESSION_free(SSL_SESSION *ses);
/third_party/node/deps/openssl/config/archs/darwin64-arm64-cc/asm_avx2/include/openssl/
H A Dssl.h1769 int SSL_SESSION_print_fp(FILE *fp, const SSL_SESSION *ses);
1771 int SSL_SESSION_print(BIO *fp, const SSL_SESSION *ses);
1773 int SSL_SESSION_up_ref(SSL_SESSION *ses);
1774 void SSL_SESSION_free(SSL_SESSION *ses);
/third_party/node/deps/openssl/config/archs/darwin64-x86_64-cc/no-asm/include/openssl/
H A Dssl.h1769 int SSL_SESSION_print_fp(FILE *fp, const SSL_SESSION *ses);
1771 int SSL_SESSION_print(BIO *fp, const SSL_SESSION *ses);
1773 int SSL_SESSION_up_ref(SSL_SESSION *ses);
1774 void SSL_SESSION_free(SSL_SESSION *ses);
/third_party/node/deps/openssl/config/archs/linux-armv4/asm/include/openssl/
H A Dssl.h1769 int SSL_SESSION_print_fp(FILE *fp, const SSL_SESSION *ses);
1771 int SSL_SESSION_print(BIO *fp, const SSL_SESSION *ses);
1773 int SSL_SESSION_up_ref(SSL_SESSION *ses);
1774 void SSL_SESSION_free(SSL_SESSION *ses);
/third_party/node/deps/openssl/config/archs/darwin64-arm64-cc/asm/include/openssl/
H A Dssl.h1769 int SSL_SESSION_print_fp(FILE *fp, const SSL_SESSION *ses);
1771 int SSL_SESSION_print(BIO *fp, const SSL_SESSION *ses);
1773 int SSL_SESSION_up_ref(SSL_SESSION *ses);
1774 void SSL_SESSION_free(SSL_SESSION *ses);

Completed in 77 milliseconds

123