/third_party/glfw/deps/ |
H A D | nuklear_glfw_gl2.h | 71 struct nk_context ctx; member 154 nk_convert(&glfw.ctx, &dev->cmds, &vbuf, &ebuf, &config); in nk_glfw3_render() 164 nk_draw_foreach(cmd, &glfw.ctx, &dev->cmds) in nk_glfw3_render() 176 nk_clear(&glfw.ctx); in nk_glfw3_render() 263 nk_init_default(&glfw.ctx, 0); in nk_glfw3_init() 264 glfw.ctx.clip.copy = nk_glfw3_clipboard_copy; in nk_glfw3_init() 265 glfw.ctx.clip.paste = nk_glfw3_clipboard_paste; in nk_glfw3_init() 266 glfw.ctx.clip.userdata = nk_handle_ptr(0); in nk_glfw3_init() 272 return &glfw.ctx; in nk_glfw3_init() 291 nk_style_set_font(&glfw.ctx, in nk_glfw3_font_stash_end() 299 struct nk_context *ctx = &glfw.ctx; nk_glfw3_new_frame() local [all...] |
/third_party/node/deps/openssl/openssl/crypto/encode_decode/ |
H A D | encoder_lib.c | 22 OSSL_ENCODER_CTX *ctx; member 45 int OSSL_ENCODER_to_bio(OSSL_ENCODER_CTX *ctx, BIO *out) in OSSL_ENCODER_to_bio() argument 50 data.ctx = ctx; in OSSL_ENCODER_to_bio() 52 data.current_encoder_inst_index = OSSL_ENCODER_CTX_get_num_encoders(ctx); in OSSL_ENCODER_to_bio() 78 int OSSL_ENCODER_to_fp(OSSL_ENCODER_CTX *ctx, FILE *fp) in OSSL_ENCODER_to_fp() argument 84 ret = OSSL_ENCODER_to_bio(ctx, b); in OSSL_ENCODER_to_fp() 91 int OSSL_ENCODER_to_data(OSSL_ENCODER_CTX *ctx, unsigned char **pdata, in OSSL_ENCODER_to_data() argument 106 && OSSL_ENCODER_to_bio(ctx, out) in OSSL_ENCODER_to_data() 142 int OSSL_ENCODER_CTX_set_selection(OSSL_ENCODER_CTX *ctx, in argument 158 OSSL_ENCODER_CTX_set_output_type(OSSL_ENCODER_CTX *ctx, const char *output_type) OSSL_ENCODER_CTX_set_output_type() argument 170 OSSL_ENCODER_CTX_set_output_structure(OSSL_ENCODER_CTX *ctx, const char *output_structure) OSSL_ENCODER_CTX_set_output_structure() argument 254 ossl_encoder_ctx_add_encoder_inst(OSSL_ENCODER_CTX *ctx, OSSL_ENCODER_INSTANCE *ei) ossl_encoder_ctx_add_encoder_inst() argument 280 OSSL_ENCODER_CTX_add_encoder(OSSL_ENCODER_CTX *ctx, OSSL_ENCODER *encoder) OSSL_ENCODER_CTX_add_encoder() argument 313 OSSL_ENCODER_CTX_add_extra(OSSL_ENCODER_CTX *ctx, OSSL_LIB_CTX *libctx, const char *propq) OSSL_ENCODER_CTX_add_extra() argument 319 OSSL_ENCODER_CTX_get_num_encoders(OSSL_ENCODER_CTX *ctx) OSSL_ENCODER_CTX_get_num_encoders() argument 326 OSSL_ENCODER_CTX_set_construct(OSSL_ENCODER_CTX *ctx, OSSL_ENCODER_CONSTRUCT *construct) OSSL_ENCODER_CTX_set_construct() argument 337 OSSL_ENCODER_CTX_set_construct_data(OSSL_ENCODER_CTX *ctx, void *construct_data) OSSL_ENCODER_CTX_set_construct_data() argument 348 OSSL_ENCODER_CTX_set_cleanup(OSSL_ENCODER_CTX *ctx, OSSL_ENCODER_CLEANUP *cleanup) OSSL_ENCODER_CTX_set_cleanup() argument [all...] |
/third_party/openssl/crypto/encode_decode/ |
H A D | encoder_lib.c | 22 OSSL_ENCODER_CTX *ctx; member 45 int OSSL_ENCODER_to_bio(OSSL_ENCODER_CTX *ctx, BIO *out) in OSSL_ENCODER_to_bio() argument 50 data.ctx = ctx; in OSSL_ENCODER_to_bio() 52 data.current_encoder_inst_index = OSSL_ENCODER_CTX_get_num_encoders(ctx); in OSSL_ENCODER_to_bio() 78 int OSSL_ENCODER_to_fp(OSSL_ENCODER_CTX *ctx, FILE *fp) in OSSL_ENCODER_to_fp() argument 84 ret = OSSL_ENCODER_to_bio(ctx, b); in OSSL_ENCODER_to_fp() 91 int OSSL_ENCODER_to_data(OSSL_ENCODER_CTX *ctx, unsigned char **pdata, in OSSL_ENCODER_to_data() argument 106 && OSSL_ENCODER_to_bio(ctx, out) in OSSL_ENCODER_to_data() 142 int OSSL_ENCODER_CTX_set_selection(OSSL_ENCODER_CTX *ctx, in argument 158 OSSL_ENCODER_CTX_set_output_type(OSSL_ENCODER_CTX *ctx, const char *output_type) OSSL_ENCODER_CTX_set_output_type() argument 170 OSSL_ENCODER_CTX_set_output_structure(OSSL_ENCODER_CTX *ctx, const char *output_structure) OSSL_ENCODER_CTX_set_output_structure() argument 254 ossl_encoder_ctx_add_encoder_inst(OSSL_ENCODER_CTX *ctx, OSSL_ENCODER_INSTANCE *ei) ossl_encoder_ctx_add_encoder_inst() argument 280 OSSL_ENCODER_CTX_add_encoder(OSSL_ENCODER_CTX *ctx, OSSL_ENCODER *encoder) OSSL_ENCODER_CTX_add_encoder() argument 313 OSSL_ENCODER_CTX_add_extra(OSSL_ENCODER_CTX *ctx, OSSL_LIB_CTX *libctx, const char *propq) OSSL_ENCODER_CTX_add_extra() argument 319 OSSL_ENCODER_CTX_get_num_encoders(OSSL_ENCODER_CTX *ctx) OSSL_ENCODER_CTX_get_num_encoders() argument 326 OSSL_ENCODER_CTX_set_construct(OSSL_ENCODER_CTX *ctx, OSSL_ENCODER_CONSTRUCT *construct) OSSL_ENCODER_CTX_set_construct() argument 337 OSSL_ENCODER_CTX_set_construct_data(OSSL_ENCODER_CTX *ctx, void *construct_data) OSSL_ENCODER_CTX_set_construct_data() argument 348 OSSL_ENCODER_CTX_set_cleanup(OSSL_ENCODER_CTX *ctx, OSSL_ENCODER_CLEANUP *cleanup) OSSL_ENCODER_CTX_set_cleanup() argument [all...] |
/third_party/libwebsockets/lib/drivers/i2c/ |
H A D | lws-i2c.c | 32 lws_i2c_command(const lws_i2c_ops_t *ctx, uint8_t ads7, uint8_t c) in lws_i2c_command() argument 34 if (ctx->start(ctx)) in lws_i2c_command() 37 if (ctx->write(ctx, ads7 << 1)) { in lws_i2c_command() 38 ctx->stop(ctx); in lws_i2c_command() 43 ctx->write(ctx, 0); in lws_i2c_command() 44 ctx in lws_i2c_command() 51 lws_i2c_command_list(const lws_i2c_ops_t *ctx, uint8_t ads7, const uint8_t *buf, size_t len) lws_i2c_command_list() argument [all...] |
/third_party/libwebsockets/minimal-examples/embedded/esp32/esp-c3dev/main/ |
H A D | i2c.c | 4 lws_i2c_command(lws_i2c_ops_t *ctx, uint8_t ads, uint8_t c) in lws_i2c_command() argument 6 if (ctx->start(ctx)) in lws_i2c_command() 9 if (ctx->write(ctx, ads << 1)) { in lws_i2c_command() 10 ctx->stop(ctx); in lws_i2c_command() 15 ctx->write(ctx, 0); in lws_i2c_command() 16 ctx in lws_i2c_command() 23 lws_i2c_command_list(lws_i2c_ops_t *ctx, uint8_t ads, const uint8_t *buf, size_t len) lws_i2c_command_list() argument [all...] |
/third_party/lwip/src/netif/ppp/polarssl/ |
H A D | md4.c | 75 void md4_starts( md4_context *ctx ) in md4_starts() 77 ctx->total[0] = 0; in md4_starts() 78 ctx->total[1] = 0; in md4_starts() 80 ctx->state[0] = 0x67452301; in md4_starts() 81 ctx->state[1] = 0xEFCDAB89; in md4_starts() 82 ctx->state[2] = 0x98BADCFE; in md4_starts() 83 ctx->state[3] = 0x10325476; in md4_starts() 86 static void md4_process( md4_context *ctx, const unsigned char data[64] ) in md4_process() argument 109 A = ctx->state[0]; in md4_process() 110 B = ctx in md4_process() 192 md4_update( md4_context *ctx, const unsigned char *input, int ilen ) md4_update() argument 244 md4_finish( md4_context *ctx, unsigned char output[16] ) md4_finish() argument 274 md4_context ctx; md4() local [all...] |
/third_party/node/deps/openssl/openssl/crypto/ec/ |
H A D | ecp_oct.c | 25 BN_CTX *ctx) in ossl_ec_GFp_simple_set_compressed_coordinates() 31 if (ctx == NULL) { in ossl_ec_GFp_simple_set_compressed_coordinates() 32 ctx = new_ctx = BN_CTX_new_ex(group->libctx); in ossl_ec_GFp_simple_set_compressed_coordinates() 33 if (ctx == NULL) in ossl_ec_GFp_simple_set_compressed_coordinates() 39 BN_CTX_start(ctx); in ossl_ec_GFp_simple_set_compressed_coordinates() 40 tmp1 = BN_CTX_get(ctx); in ossl_ec_GFp_simple_set_compressed_coordinates() 41 tmp2 = BN_CTX_get(ctx); in ossl_ec_GFp_simple_set_compressed_coordinates() 42 x = BN_CTX_get(ctx); in ossl_ec_GFp_simple_set_compressed_coordinates() 43 y = BN_CTX_get(ctx); in ossl_ec_GFp_simple_set_compressed_coordinates() 54 if (!BN_nnmod(x, x_, group->field, ctx)) in ossl_ec_GFp_simple_set_compressed_coordinates() 22 ossl_ec_GFp_simple_set_compressed_coordinates(const EC_GROUP *group, EC_POINT *point, const BIGNUM *x_, int y_bit, BN_CTX *ctx) ossl_ec_GFp_simple_set_compressed_coordinates() argument 159 ossl_ec_GFp_simple_point2oct(const EC_GROUP *group, const EC_POINT *point, point_conversion_form_t form, unsigned char *buf, size_t len, BN_CTX *ctx) ossl_ec_GFp_simple_point2oct() argument 274 ossl_ec_GFp_simple_oct2point(const EC_GROUP *group, EC_POINT *point, const unsigned char *buf, size_t len, BN_CTX *ctx) ossl_ec_GFp_simple_oct2point() argument [all...] |
/third_party/node/deps/openssl/openssl/providers/implementations/ciphers/ |
H A D | cipher_aes_siv.c | 33 PROV_AES_SIV_CTX *ctx; in aes_siv_newctx() local 38 ctx = OPENSSL_zalloc(sizeof(*ctx)); in aes_siv_newctx() 39 if (ctx != NULL) { in aes_siv_newctx() 40 ctx->taglen = SIV_LEN; in aes_siv_newctx() 41 ctx->mode = mode; in aes_siv_newctx() 42 ctx->keylen = keybits / 8; in aes_siv_newctx() 43 ctx->hw = ossl_prov_cipher_hw_aes_siv(keybits); in aes_siv_newctx() 44 ctx->libctx = PROV_LIBCTX_OF(provctx); in aes_siv_newctx() 46 return ctx; in aes_siv_newctx() 51 PROV_AES_SIV_CTX *ctx = (PROV_AES_SIV_CTX *)vctx; aes_siv_freectx() local 83 PROV_AES_SIV_CTX *ctx = (PROV_AES_SIV_CTX *)vctx; siv_init() local 118 PROV_AES_SIV_CTX *ctx = (PROV_AES_SIV_CTX *)vctx; siv_cipher() local 148 PROV_AES_SIV_CTX *ctx = (PROV_AES_SIV_CTX *)vctx; siv_stream_final() local 163 PROV_AES_SIV_CTX *ctx = (PROV_AES_SIV_CTX *)vctx; aes_siv_get_ctx_params() local 203 PROV_AES_SIV_CTX *ctx = (PROV_AES_SIV_CTX *)vctx; aes_siv_set_ctx_params() local [all...] |
/third_party/openssl/providers/implementations/ciphers/ |
H A D | cipher_aes_siv.c | 33 PROV_AES_SIV_CTX *ctx; in aes_siv_newctx() local 38 ctx = OPENSSL_zalloc(sizeof(*ctx)); in aes_siv_newctx() 39 if (ctx != NULL) { in aes_siv_newctx() 40 ctx->taglen = SIV_LEN; in aes_siv_newctx() 41 ctx->mode = mode; in aes_siv_newctx() 42 ctx->keylen = keybits / 8; in aes_siv_newctx() 43 ctx->hw = ossl_prov_cipher_hw_aes_siv(keybits); in aes_siv_newctx() 44 ctx->libctx = PROV_LIBCTX_OF(provctx); in aes_siv_newctx() 46 return ctx; in aes_siv_newctx() 51 PROV_AES_SIV_CTX *ctx = (PROV_AES_SIV_CTX *)vctx; aes_siv_freectx() local 83 PROV_AES_SIV_CTX *ctx = (PROV_AES_SIV_CTX *)vctx; siv_init() local 118 PROV_AES_SIV_CTX *ctx = (PROV_AES_SIV_CTX *)vctx; siv_cipher() local 148 PROV_AES_SIV_CTX *ctx = (PROV_AES_SIV_CTX *)vctx; siv_stream_final() local 163 PROV_AES_SIV_CTX *ctx = (PROV_AES_SIV_CTX *)vctx; aes_siv_get_ctx_params() local 203 PROV_AES_SIV_CTX *ctx = (PROV_AES_SIV_CTX *)vctx; aes_siv_set_ctx_params() local [all...] |
/third_party/openssl/crypto/ec/ |
H A D | ecp_oct.c | 25 BN_CTX *ctx) in ossl_ec_GFp_simple_set_compressed_coordinates() 31 if (ctx == NULL) { in ossl_ec_GFp_simple_set_compressed_coordinates() 32 ctx = new_ctx = BN_CTX_new_ex(group->libctx); in ossl_ec_GFp_simple_set_compressed_coordinates() 33 if (ctx == NULL) in ossl_ec_GFp_simple_set_compressed_coordinates() 39 BN_CTX_start(ctx); in ossl_ec_GFp_simple_set_compressed_coordinates() 40 tmp1 = BN_CTX_get(ctx); in ossl_ec_GFp_simple_set_compressed_coordinates() 41 tmp2 = BN_CTX_get(ctx); in ossl_ec_GFp_simple_set_compressed_coordinates() 42 x = BN_CTX_get(ctx); in ossl_ec_GFp_simple_set_compressed_coordinates() 43 y = BN_CTX_get(ctx); in ossl_ec_GFp_simple_set_compressed_coordinates() 54 if (!BN_nnmod(x, x_, group->field, ctx)) in ossl_ec_GFp_simple_set_compressed_coordinates() 22 ossl_ec_GFp_simple_set_compressed_coordinates(const EC_GROUP *group, EC_POINT *point, const BIGNUM *x_, int y_bit, BN_CTX *ctx) ossl_ec_GFp_simple_set_compressed_coordinates() argument 159 ossl_ec_GFp_simple_point2oct(const EC_GROUP *group, const EC_POINT *point, point_conversion_form_t form, unsigned char *buf, size_t len, BN_CTX *ctx) ossl_ec_GFp_simple_point2oct() argument 274 ossl_ec_GFp_simple_oct2point(const EC_GROUP *group, EC_POINT *point, const unsigned char *buf, size_t len, BN_CTX *ctx) ossl_ec_GFp_simple_oct2point() argument [all...] |
/third_party/vk-gl-cts/modules/gles31/functional/ |
H A D | es31fNegativeShaderStorageTests.cpp | 41 void verifyProgram(NegativeTestContext& ctx, glu::ProgramSources sources) in verifyProgram() argument 43 tcu::TestLog& log = ctx.getLog(); in verifyProgram() 44 const glu::ShaderProgram program (ctx.getRenderContext(), sources); in verifyProgram() 55 ctx.fail(message); in verifyProgram() 103 int getMaxSSBlockSize (NegativeTestContext& ctx, glw::GLenum glShaderType) in getMaxSSBlockSize() argument 106 ctx.glGetIntegerv(getMaxSSBlockSizeEnum(glShaderType), &maxSSBlocks); in getMaxSSBlockSize() 111 std::string genBlockSource (NegativeTestContext& ctx, deInt64 numSSBlocks, glw::GLenum shaderType) in genBlockSource() argument 113 const bool isES32 = contextSupports(ctx.getRenderContext().getType(), glu::ApiType::es(3, 2)); in genBlockSource() 157 std::string genCommonSource (NegativeTestContext& ctx, glw::GLenum shaderType) in genCommonSource() argument 159 const bool isES32 = contextSupports(ctx in genCommonSource() 186 genMaxSSBlocksSource(NegativeTestContext& ctx, glw::GLenum glShaderType, glu::ProgramSources& sources) genMaxSSBlocksSource() argument 196 block_number_limits(NegativeTestContext& ctx) block_number_limits() argument 280 max_combined_block_number_limit(NegativeTestContext& ctx) max_combined_block_number_limit() argument [all...] |
/foundation/communication/dsoftbus/adapter/common/openssl/ |
H A D | softbus_adapter_crypto.c | 62 static int32_t OpensslEvpInit(EVP_CIPHER_CTX **ctx, const AesGcmCipherKey *cipherkey, bool mode) in OpensslEvpInit() argument 74 *ctx = EVP_CIPHER_CTX_new(); in OpensslEvpInit() 75 if (*ctx == NULL) { in OpensslEvpInit() 78 EVP_CIPHER_CTX_set_padding(*ctx, OPENSSL_EVP_PADDING_FUNC_OPEN); in OpensslEvpInit() 80 ret = EVP_EncryptInit_ex(*ctx, cipher, NULL, NULL, NULL); in OpensslEvpInit() 83 EVP_CIPHER_CTX_free(*ctx); in OpensslEvpInit() 87 ret = EVP_DecryptInit_ex(*ctx, cipher, NULL, NULL, NULL); in OpensslEvpInit() 90 EVP_CIPHER_CTX_free(*ctx); in OpensslEvpInit() 94 ret = EVP_CIPHER_CTX_ctrl(*ctx, EVP_CTRL_GCM_SET_IVLEN, GCM_IV_LEN, NULL); in OpensslEvpInit() 97 EVP_CIPHER_CTX_free(*ctx); in OpensslEvpInit() 103 PackIvAndTag(EVP_CIPHER_CTX *ctx, const AesGcmCipherKey *cipherkey, uint32_t dataLen, unsigned char *cipherText, uint32_t cipherTextLen) PackIvAndTag() argument 138 EVP_CIPHER_CTX *ctx = NULL; SslAesGcmEncrypt() local 184 EVP_CIPHER_CTX *ctx = NULL; SslAesGcmDecrypt() local 227 HandleError(EVP_CIPHER_CTX *ctx, const char *buf) HandleError() argument 245 EVP_ENCODE_CTX *ctx = EVP_ENCODE_CTX_new(); SoftBusBase64Encode() local 298 EVP_ENCODE_CTX *ctx = EVP_ENCODE_CTX_new(); SoftBusBase64Decode() local 490 EVP_CIPHER_CTX *ctx = NULL; SoftBusEncryptDataByCtr() local 521 EVP_CIPHER_CTX *ctx = NULL; SoftBusDecryptDataByCtr() local [all...] |
/kernel/linux/linux-5.10/crypto/ |
H A D | rsa-pkcs1pad.c | 110 struct pkcs1pad_ctx *ctx = akcipher_tfm_ctx(tfm); in pkcs1pad_set_pub_key() local 113 ctx->key_size = 0; in pkcs1pad_set_pub_key() 115 err = crypto_akcipher_set_pub_key(ctx->child, key, keylen); in pkcs1pad_set_pub_key() 120 err = crypto_akcipher_maxsize(ctx->child); in pkcs1pad_set_pub_key() 124 ctx->key_size = err; in pkcs1pad_set_pub_key() 131 struct pkcs1pad_ctx *ctx = akcipher_tfm_ctx(tfm); in pkcs1pad_set_priv_key() local 134 ctx->key_size = 0; in pkcs1pad_set_priv_key() 136 err = crypto_akcipher_set_priv_key(ctx->child, key, keylen); in pkcs1pad_set_priv_key() 141 err = crypto_akcipher_maxsize(ctx->child); in pkcs1pad_set_priv_key() 145 ctx in pkcs1pad_set_priv_key() 151 struct pkcs1pad_ctx *ctx = akcipher_tfm_ctx(tfm); pkcs1pad_get_max_size() local 177 struct pkcs1pad_ctx *ctx = akcipher_tfm_ctx(tfm); pkcs1pad_encrypt_sign_complete() local 230 struct pkcs1pad_ctx *ctx = akcipher_tfm_ctx(tfm); pkcs1pad_encrypt() local 278 struct pkcs1pad_ctx *ctx = akcipher_tfm_ctx(tfm); pkcs1pad_decrypt_complete() local 346 struct pkcs1pad_ctx *ctx = akcipher_tfm_ctx(tfm); pkcs1pad_decrypt() local 379 struct pkcs1pad_ctx *ctx = akcipher_tfm_ctx(tfm); pkcs1pad_sign() local 436 struct pkcs1pad_ctx *ctx = akcipher_tfm_ctx(tfm); pkcs1pad_verify_complete() local 533 struct pkcs1pad_ctx *ctx = akcipher_tfm_ctx(tfm); pkcs1pad_verify() local 569 struct pkcs1pad_ctx *ctx = akcipher_tfm_ctx(tfm); pkcs1pad_init_tfm() local 582 struct pkcs1pad_ctx *ctx = akcipher_tfm_ctx(tfm); pkcs1pad_exit_tfm() local 589 struct pkcs1pad_inst_ctx *ctx = akcipher_instance_ctx(inst); pkcs1pad_free() local 600 struct pkcs1pad_inst_ctx *ctx; pkcs1pad_create() local [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/panel/ |
H A D | panel-leadtek-ltk050h3146w.c | 29 int (*init)(struct ltk050h3146w *ctx); 255 static int ltk050h3146w_init_sequence(struct ltk050h3146w *ctx) in ltk050h3146w_init_sequence() argument 257 struct mipi_dsi_device *dsi = to_mipi_dsi_device(ctx->dev); in ltk050h3146w_init_sequence() 316 dev_err(ctx->dev, "failed to set tear on: %d\n", ret); in ltk050h3146w_init_sequence() 344 static int ltk050h3146w_a2_select_page(struct ltk050h3146w *ctx, int page) in ltk050h3146w_a2_select_page() argument 346 struct mipi_dsi_device *dsi = to_mipi_dsi_device(ctx->dev); in ltk050h3146w_a2_select_page() 352 static int ltk050h3146w_a2_write_page(struct ltk050h3146w *ctx, int page, in ltk050h3146w_a2_write_page() argument 356 struct mipi_dsi_device *dsi = to_mipi_dsi_device(ctx->dev); in ltk050h3146w_a2_write_page() 359 ret = ltk050h3146w_a2_select_page(ctx, page); in ltk050h3146w_a2_write_page() 361 dev_err(ctx in ltk050h3146w_a2_write_page() 377 ltk050h3146w_a2_init_sequence(struct ltk050h3146w *ctx) ltk050h3146w_a2_init_sequence() argument 440 struct ltk050h3146w *ctx = panel_to_ltk050h3146w(panel); ltk050h3146w_unprepare() local 469 struct ltk050h3146w *ctx = panel_to_ltk050h3146w(panel); ltk050h3146w_prepare() local 530 struct ltk050h3146w *ctx = panel_to_ltk050h3146w(panel); ltk050h3146w_get_modes() local 556 struct ltk050h3146w *ctx; ltk050h3146w_probe() local 619 struct ltk050h3146w *ctx = mipi_dsi_get_drvdata(dsi); ltk050h3146w_shutdown() local 633 struct ltk050h3146w *ctx = mipi_dsi_get_drvdata(dsi); ltk050h3146w_remove() local [all...] |
/kernel/linux/linux-6.6/crypto/ |
H A D | rsa-pkcs1pad.c | 110 struct pkcs1pad_ctx *ctx = akcipher_tfm_ctx(tfm); in pkcs1pad_set_pub_key() local 113 ctx->key_size = 0; in pkcs1pad_set_pub_key() 115 err = crypto_akcipher_set_pub_key(ctx->child, key, keylen); in pkcs1pad_set_pub_key() 120 err = crypto_akcipher_maxsize(ctx->child); in pkcs1pad_set_pub_key() 124 ctx->key_size = err; in pkcs1pad_set_pub_key() 131 struct pkcs1pad_ctx *ctx = akcipher_tfm_ctx(tfm); in pkcs1pad_set_priv_key() local 134 ctx->key_size = 0; in pkcs1pad_set_priv_key() 136 err = crypto_akcipher_set_priv_key(ctx->child, key, keylen); in pkcs1pad_set_priv_key() 141 err = crypto_akcipher_maxsize(ctx->child); in pkcs1pad_set_priv_key() 145 ctx in pkcs1pad_set_priv_key() 151 struct pkcs1pad_ctx *ctx = akcipher_tfm_ctx(tfm); pkcs1pad_get_max_size() local 177 struct pkcs1pad_ctx *ctx = akcipher_tfm_ctx(tfm); pkcs1pad_encrypt_sign_complete() local 229 struct pkcs1pad_ctx *ctx = akcipher_tfm_ctx(tfm); pkcs1pad_encrypt() local 277 struct pkcs1pad_ctx *ctx = akcipher_tfm_ctx(tfm); pkcs1pad_decrypt_complete() local 344 struct pkcs1pad_ctx *ctx = akcipher_tfm_ctx(tfm); pkcs1pad_decrypt() local 377 struct pkcs1pad_ctx *ctx = akcipher_tfm_ctx(tfm); pkcs1pad_sign() local 434 struct pkcs1pad_ctx *ctx = akcipher_tfm_ctx(tfm); pkcs1pad_verify_complete() local 531 struct pkcs1pad_ctx *ctx = akcipher_tfm_ctx(tfm); pkcs1pad_verify() local 567 struct pkcs1pad_ctx *ctx = akcipher_tfm_ctx(tfm); pkcs1pad_init_tfm() local 584 struct pkcs1pad_ctx *ctx = akcipher_tfm_ctx(tfm); pkcs1pad_exit_tfm() local 591 struct pkcs1pad_inst_ctx *ctx = akcipher_instance_ctx(inst); pkcs1pad_free() local 602 struct pkcs1pad_inst_ctx *ctx; pkcs1pad_create() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/panel/ |
H A D | panel-leadtek-ltk050h3146w.c | 28 int (*init)(struct ltk050h3146w *ctx); 246 static int ltk050h3146w_init_sequence(struct ltk050h3146w *ctx) in ltk050h3146w_init_sequence() argument 248 struct mipi_dsi_device *dsi = to_mipi_dsi_device(ctx->dev); in ltk050h3146w_init_sequence() 307 dev_err(ctx->dev, "failed to set tear on: %d\n", ret); in ltk050h3146w_init_sequence() 335 static int ltk050h3146w_a2_select_page(struct ltk050h3146w *ctx, int page) in ltk050h3146w_a2_select_page() argument 337 struct mipi_dsi_device *dsi = to_mipi_dsi_device(ctx->dev); in ltk050h3146w_a2_select_page() 343 static int ltk050h3146w_a2_write_page(struct ltk050h3146w *ctx, int page, in ltk050h3146w_a2_write_page() argument 347 struct mipi_dsi_device *dsi = to_mipi_dsi_device(ctx->dev); in ltk050h3146w_a2_write_page() 350 ret = ltk050h3146w_a2_select_page(ctx, page); in ltk050h3146w_a2_write_page() 352 dev_err(ctx in ltk050h3146w_a2_write_page() 368 ltk050h3146w_a2_init_sequence(struct ltk050h3146w *ctx) ltk050h3146w_a2_init_sequence() argument 431 struct ltk050h3146w *ctx = panel_to_ltk050h3146w(panel); ltk050h3146w_unprepare() local 460 struct ltk050h3146w *ctx = panel_to_ltk050h3146w(panel); ltk050h3146w_prepare() local 521 struct ltk050h3146w *ctx = panel_to_ltk050h3146w(panel); ltk050h3146w_get_modes() local 547 struct ltk050h3146w *ctx; ltk050h3146w_probe() local 610 struct ltk050h3146w *ctx = mipi_dsi_get_drvdata(dsi); ltk050h3146w_shutdown() local 624 struct ltk050h3146w *ctx = mipi_dsi_get_drvdata(dsi); ltk050h3146w_remove() local [all...] |
/third_party/mesa3d/src/amd/compiler/ |
H A D | aco_lower_to_cssa.cpp | 75 collect_parallelcopies(cssa_ctx& ctx) in collect_parallelcopies() argument 77 ctx.parallelcopies.resize(ctx.program->blocks.size()); in collect_parallelcopies() 78 Builder bld(ctx.program); in collect_parallelcopies() 79 for (Block& block : ctx.program->blocks) { in collect_parallelcopies() 94 uint32_t index = ctx.merge_sets.size(); in collect_parallelcopies() 107 if (ctx.program->gfx_level >= GFX10) in collect_parallelcopies() 119 ctx.parallelcopies[preds[i]].emplace_back(copy{Definition(tmp), op}); in collect_parallelcopies() 124 ctx.merge_node_table[tmp.id()] = {op, index, preds[i]}; in collect_parallelcopies() 128 ctx in collect_parallelcopies() 154 defined_after(cssa_ctx& ctx, Temp a, Temp b) defined_after() argument 166 dominates(cssa_ctx& ctx, Temp a, Temp b) dominates() argument 182 intersects(cssa_ctx& ctx, Temp var, Temp parent) intersects() argument 248 interference(cssa_ctx& ctx, Temp var, Temp parent) interference() argument 283 try_merge_merge_set(cssa_ctx& ctx, Temp dst, merge_set& set_b) try_merge_merge_set() argument 338 try_coalesce_copy(cssa_ctx& ctx, copy copy, uint32_t block_idx) try_coalesce_copy() argument 438 emit_parallelcopies(cssa_ctx& ctx) emit_parallelcopies() argument 531 cssa_ctx ctx = {program, live_vars.live_out}; lower_to_cssa() local [all...] |
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/ |
H A D | fd6_draw.c | 122 fixup_draw_state(struct fd_context *ctx, struct fd6_emit *emit) assert_dt 124 if (ctx->last.dirty || 125 (ctx->last.primitive_restart != emit->primitive_restart)) { 127 fd_context_dirty(ctx, FD_DIRTY_RASTERIZER); 128 ctx->last.primitive_restart = emit->primitive_restart; 133 fd6_draw_vbo(struct fd_context *ctx, const struct pipe_draw_info *info, 139 struct fd6_context *fd6_ctx = fd6_context(ctx); 140 struct shader_info *gs_info = ir3_get_shader_info(ctx->prog.gs); 142 .ctx = ctx, 337 fd_context_all_clean(ctx); global() variable 510 struct fd_context *ctx = fd_context(pctx); global() variable [all...] |
/third_party/node/deps/openssl/openssl/engines/ |
H A D | e_ossltest.c | 63 static int digest_md5_init(EVP_MD_CTX *ctx); 64 static int digest_md5_update(EVP_MD_CTX *ctx, const void *data, 66 static int digest_md5_final(EVP_MD_CTX *ctx, unsigned char *md); 92 static int digest_sha1_init(EVP_MD_CTX *ctx); 93 static int digest_sha1_update(EVP_MD_CTX *ctx, const void *data, 95 static int digest_sha1_final(EVP_MD_CTX *ctx, unsigned char *md); 121 static int digest_sha256_init(EVP_MD_CTX *ctx); 122 static int digest_sha256_update(EVP_MD_CTX *ctx, const void *data, 124 static int digest_sha256_final(EVP_MD_CTX *ctx, unsigned char *md); 150 static int digest_sha384_init(EVP_MD_CTX *ctx); 569 digest_md5_init(EVP_MD_CTX *ctx) digest_md5_init() argument 574 digest_md5_update(EVP_MD_CTX *ctx, const void *data, size_t count) digest_md5_update() argument 580 digest_md5_final(EVP_MD_CTX *ctx, unsigned char *md) digest_md5_final() argument 593 digest_sha1_init(EVP_MD_CTX *ctx) digest_sha1_init() argument 598 digest_sha1_update(EVP_MD_CTX *ctx, const void *data, size_t count) digest_sha1_update() argument 604 digest_sha1_final(EVP_MD_CTX *ctx, unsigned char *md) digest_sha1_final() argument 617 digest_sha256_init(EVP_MD_CTX *ctx) digest_sha256_init() argument 622 digest_sha256_update(EVP_MD_CTX *ctx, const void *data, size_t count) digest_sha256_update() argument 628 digest_sha256_final(EVP_MD_CTX *ctx, unsigned char *md) digest_sha256_final() argument 641 digest_sha384_init(EVP_MD_CTX *ctx) digest_sha384_init() argument 646 digest_sha384_update(EVP_MD_CTX *ctx, const void *data, size_t count) digest_sha384_update() argument 652 digest_sha384_final(EVP_MD_CTX *ctx, unsigned char *md) digest_sha384_final() argument 665 digest_sha512_init(EVP_MD_CTX *ctx) digest_sha512_init() argument 670 digest_sha512_update(EVP_MD_CTX *ctx, const void *data, size_t count) digest_sha512_update() argument 676 digest_sha512_final(EVP_MD_CTX *ctx, unsigned char *md) digest_sha512_final() argument 690 ossltest_aes128_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, const unsigned char *iv, int enc) ossltest_aes128_init_key() argument 697 ossltest_aes128_cbc_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl) ossltest_aes128_cbc_cipher() argument 724 ossltest_aes128_gcm_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, const unsigned char *iv, int enc) ossltest_aes128_gcm_init_key() argument 731 ossltest_aes128_gcm_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl) ossltest_aes128_gcm_cipher() argument 755 ossltest_aes128_gcm_ctrl(EVP_CIPHER_CTX *ctx, int type, int arg, void *ptr) ossltest_aes128_gcm_ctrl() argument 780 ossltest_aes128_cbc_hmac_sha1_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *inkey, const unsigned char *iv, int enc) ossltest_aes128_cbc_hmac_sha1_init_key() argument 790 ossltest_aes128_cbc_hmac_sha1_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t len) ossltest_aes128_cbc_hmac_sha1_cipher() argument 855 ossltest_aes128_cbc_hmac_sha1_ctrl(EVP_CIPHER_CTX *ctx, int type, int arg, void *ptr) ossltest_aes128_cbc_hmac_sha1_ctrl() argument [all...] |
/third_party/openssl/engines/ |
H A D | e_ossltest.c | 63 static int digest_md5_init(EVP_MD_CTX *ctx); 64 static int digest_md5_update(EVP_MD_CTX *ctx, const void *data, 66 static int digest_md5_final(EVP_MD_CTX *ctx, unsigned char *md); 92 static int digest_sha1_init(EVP_MD_CTX *ctx); 93 static int digest_sha1_update(EVP_MD_CTX *ctx, const void *data, 95 static int digest_sha1_final(EVP_MD_CTX *ctx, unsigned char *md); 121 static int digest_sha256_init(EVP_MD_CTX *ctx); 122 static int digest_sha256_update(EVP_MD_CTX *ctx, const void *data, 124 static int digest_sha256_final(EVP_MD_CTX *ctx, unsigned char *md); 150 static int digest_sha384_init(EVP_MD_CTX *ctx); 569 digest_md5_init(EVP_MD_CTX *ctx) digest_md5_init() argument 574 digest_md5_update(EVP_MD_CTX *ctx, const void *data, size_t count) digest_md5_update() argument 580 digest_md5_final(EVP_MD_CTX *ctx, unsigned char *md) digest_md5_final() argument 593 digest_sha1_init(EVP_MD_CTX *ctx) digest_sha1_init() argument 598 digest_sha1_update(EVP_MD_CTX *ctx, const void *data, size_t count) digest_sha1_update() argument 604 digest_sha1_final(EVP_MD_CTX *ctx, unsigned char *md) digest_sha1_final() argument 617 digest_sha256_init(EVP_MD_CTX *ctx) digest_sha256_init() argument 622 digest_sha256_update(EVP_MD_CTX *ctx, const void *data, size_t count) digest_sha256_update() argument 628 digest_sha256_final(EVP_MD_CTX *ctx, unsigned char *md) digest_sha256_final() argument 641 digest_sha384_init(EVP_MD_CTX *ctx) digest_sha384_init() argument 646 digest_sha384_update(EVP_MD_CTX *ctx, const void *data, size_t count) digest_sha384_update() argument 652 digest_sha384_final(EVP_MD_CTX *ctx, unsigned char *md) digest_sha384_final() argument 665 digest_sha512_init(EVP_MD_CTX *ctx) digest_sha512_init() argument 670 digest_sha512_update(EVP_MD_CTX *ctx, const void *data, size_t count) digest_sha512_update() argument 676 digest_sha512_final(EVP_MD_CTX *ctx, unsigned char *md) digest_sha512_final() argument 690 ossltest_aes128_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, const unsigned char *iv, int enc) ossltest_aes128_init_key() argument 697 ossltest_aes128_cbc_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl) ossltest_aes128_cbc_cipher() argument 724 ossltest_aes128_gcm_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, const unsigned char *iv, int enc) ossltest_aes128_gcm_init_key() argument 731 ossltest_aes128_gcm_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl) ossltest_aes128_gcm_cipher() argument 755 ossltest_aes128_gcm_ctrl(EVP_CIPHER_CTX *ctx, int type, int arg, void *ptr) ossltest_aes128_gcm_ctrl() argument 780 ossltest_aes128_cbc_hmac_sha1_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *inkey, const unsigned char *iv, int enc) ossltest_aes128_cbc_hmac_sha1_init_key() argument 790 ossltest_aes128_cbc_hmac_sha1_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t len) ossltest_aes128_cbc_hmac_sha1_cipher() argument 855 ossltest_aes128_cbc_hmac_sha1_ctrl(EVP_CIPHER_CTX *ctx, int type, int arg, void *ptr) ossltest_aes128_cbc_hmac_sha1_ctrl() argument [all...] |
/kernel/linux/linux-6.6/drivers/staging/media/sunxi/cedrus/ |
H A D | cedrus_h264.c | 68 static void cedrus_fill_ref_pic(struct cedrus_ctx *ctx, in cedrus_fill_ref_pic() argument 80 pic->luma_ptr = cpu_to_le32(cedrus_buf_addr(vbuf, &ctx->dst_fmt, 0)); in cedrus_fill_ref_pic() 81 pic->chroma_ptr = cpu_to_le32(cedrus_buf_addr(vbuf, &ctx->dst_fmt, 1)); in cedrus_fill_ref_pic() 86 static int cedrus_write_frame_list(struct cedrus_ctx *ctx, in cedrus_write_frame_list() argument 94 struct cedrus_dev *dev = ctx->dev; in cedrus_write_frame_list() 100 cap_q = v4l2_m2m_get_vq(ctx->fh.m2m_ctx, V4L2_BUF_TYPE_VIDEO_CAPTURE); in cedrus_write_frame_list() 128 cedrus_fill_ref_pic(ctx, cedrus_buf, in cedrus_write_frame_list() 146 field_size = DIV_ROUND_UP(ctx->src_fmt.width, 16) * in cedrus_write_frame_list() 147 DIV_ROUND_UP(ctx->src_fmt.height, 16) * 16; in cedrus_write_frame_list() 174 cedrus_fill_ref_pic(ctx, output_bu in cedrus_write_frame_list() 189 _cedrus_write_ref_list(struct cedrus_ctx *ctx, struct cedrus_run *run, const struct v4l2_h264_reference *ref_list, u8 num_ref, enum cedrus_h264_sram_off sram) _cedrus_write_ref_list() argument 234 cedrus_write_ref_list0(struct cedrus_ctx *ctx, struct cedrus_run *run) cedrus_write_ref_list0() argument 245 cedrus_write_ref_list1(struct cedrus_ctx *ctx, struct cedrus_run *run) cedrus_write_ref_list1() argument 256 cedrus_write_scaling_lists(struct cedrus_ctx *ctx, struct cedrus_run *run) cedrus_write_scaling_lists() argument 280 cedrus_write_pred_weight_table(struct cedrus_ctx *ctx, struct cedrus_run *run) cedrus_write_pred_weight_table() argument 341 cedrus_set_params(struct cedrus_ctx *ctx, struct cedrus_run *run) cedrus_set_params() argument 484 cedrus_h264_irq_status(struct cedrus_ctx *ctx) cedrus_h264_irq_status() argument 499 cedrus_h264_irq_clear(struct cedrus_ctx *ctx) cedrus_h264_irq_clear() argument 507 cedrus_h264_irq_disable(struct cedrus_ctx *ctx) cedrus_h264_irq_disable() argument 516 cedrus_h264_setup(struct cedrus_ctx *ctx, struct cedrus_run *run) cedrus_h264_setup() argument 539 cedrus_h264_start(struct cedrus_ctx *ctx) cedrus_h264_start() argument 647 cedrus_h264_stop(struct cedrus_ctx *ctx) cedrus_h264_stop() argument 690 cedrus_h264_trigger(struct cedrus_ctx *ctx) cedrus_h264_trigger() argument [all...] |
/kernel/linux/linux-5.10/drivers/media/platform/sunxi/sun8i-di/ |
H A D | sun8i-di.c | 63 struct deinterlace_ctx *ctx = priv; in deinterlace_device_run() local 64 struct deinterlace_dev *dev = ctx->dev; in deinterlace_device_run() 70 src = v4l2_m2m_next_src_buf(ctx->fh.m2m_ctx); in deinterlace_device_run() 71 dst = v4l2_m2m_next_dst_buf(ctx->fh.m2m_ctx); in deinterlace_device_run() 78 if (ctx->field) { in deinterlace_device_run() 80 ctx->flag1_buf_dma); in deinterlace_device_run() 82 ctx->flag2_buf_dma); in deinterlace_device_run() 85 ctx->flag2_buf_dma); in deinterlace_device_run() 87 ctx->flag1_buf_dma); in deinterlace_device_run() 91 width = ctx in deinterlace_device_run() 182 struct deinterlace_ctx *ctx = priv; deinterlace_job_ready() local 190 struct deinterlace_ctx *ctx = priv; deinterlace_job_abort() local 201 struct deinterlace_ctx *ctx; deinterlace_irq() local 396 struct deinterlace_ctx *ctx = deinterlace_file2ctx(file); deinterlace_g_fmt_vid_cap() local 406 struct deinterlace_ctx *ctx = deinterlace_file2ctx(file); deinterlace_g_fmt_vid_out() local 446 struct deinterlace_ctx *ctx = deinterlace_file2ctx(file); deinterlace_s_fmt_vid_cap() local 466 struct deinterlace_ctx *ctx = deinterlace_file2ctx(file); deinterlace_s_fmt_vid_out() local 520 struct deinterlace_ctx *ctx = vb2_get_drv_priv(vq); deinterlace_queue_setup() local 542 struct deinterlace_ctx *ctx = vb2_get_drv_priv(vq); deinterlace_buf_prepare() local 561 struct deinterlace_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); deinterlace_buf_queue() local 568 struct deinterlace_ctx *ctx = vb2_get_drv_priv(vq); deinterlace_queue_cleanup() local 587 struct deinterlace_ctx *ctx = vb2_get_drv_priv(vq); deinterlace_start_streaming() local 640 struct deinterlace_ctx *ctx = vb2_get_drv_priv(vq); deinterlace_stop_streaming() local 669 struct deinterlace_ctx *ctx = priv; deinterlace_queue_init() local 708 struct deinterlace_ctx *ctx = NULL; deinterlace_open() local 761 struct deinterlace_ctx *ctx = container_of(file->private_data, deinterlace_release() local [all...] |
/third_party/mbedtls/library/ |
H A D | pk.c | 45 void mbedtls_pk_init(mbedtls_pk_context *ctx) in mbedtls_pk_init() argument 47 ctx->pk_info = NULL; in mbedtls_pk_init() 48 ctx->pk_ctx = NULL; in mbedtls_pk_init() 50 ctx->priv_id = MBEDTLS_SVC_KEY_ID_INIT; in mbedtls_pk_init() 53 memset(ctx->pub_raw, 0, sizeof(ctx->pub_raw)); in mbedtls_pk_init() 54 ctx->pub_raw_len = 0; in mbedtls_pk_init() 55 ctx->ec_family = 0; in mbedtls_pk_init() 56 ctx->ec_bits = 0; in mbedtls_pk_init() 63 void mbedtls_pk_free(mbedtls_pk_context *ctx) in mbedtls_pk_free() argument 88 mbedtls_pk_restart_init(mbedtls_pk_restart_ctx *ctx) mbedtls_pk_restart_init() argument 97 mbedtls_pk_restart_free(mbedtls_pk_restart_ctx *ctx) mbedtls_pk_restart_free() argument 140 mbedtls_pk_setup(mbedtls_pk_context *ctx, const mbedtls_pk_info_t *info) mbedtls_pk_setup() argument 160 mbedtls_pk_setup_opaque(mbedtls_pk_context *ctx, const mbedtls_svc_key_id_t key) mbedtls_pk_setup_opaque() argument 199 mbedtls_pk_setup_rsa_alt(mbedtls_pk_context *ctx, void *key, mbedtls_pk_rsa_alt_decrypt_func decrypt_func, mbedtls_pk_rsa_alt_sign_func sign_func, mbedtls_pk_rsa_alt_key_len_func key_len_func) mbedtls_pk_setup_rsa_alt() argument 231 mbedtls_pk_can_do(const mbedtls_pk_context *ctx, mbedtls_pk_type_t type) mbedtls_pk_can_do() argument 247 mbedtls_pk_can_do_ext(const mbedtls_pk_context *ctx, psa_algorithm_t alg, psa_key_usage_t usage) mbedtls_pk_can_do_ext() argument 1016 pk_restart_setup(mbedtls_pk_restart_ctx *ctx, const mbedtls_pk_info_t *info) pk_restart_setup() argument 1042 mbedtls_pk_verify_restartable(mbedtls_pk_context *ctx, mbedtls_md_type_t md_alg, const unsigned char *hash, size_t hash_len, const unsigned char *sig, size_t sig_len, mbedtls_pk_restart_ctx *rs_ctx) mbedtls_pk_verify_restartable() argument 1092 mbedtls_pk_verify(mbedtls_pk_context *ctx, mbedtls_md_type_t md_alg, const unsigned char *hash, size_t hash_len, const unsigned char *sig, size_t sig_len) mbedtls_pk_verify() argument 1103 mbedtls_pk_verify_ext(mbedtls_pk_type_t type, const void *options, mbedtls_pk_context *ctx, mbedtls_md_type_t md_alg, const unsigned char *hash, size_t hash_len, const unsigned char *sig, size_t sig_len) mbedtls_pk_verify_ext() argument 1233 mbedtls_pk_sign_restartable(mbedtls_pk_context *ctx, mbedtls_md_type_t md_alg, const unsigned char *hash, size_t hash_len, unsigned char *sig, size_t sig_size, size_t *sig_len, int (*f_rng)(void *, unsigned char *, size_t), void *p_rng, mbedtls_pk_restart_ctx *rs_ctx) mbedtls_pk_sign_restartable() argument 1287 mbedtls_pk_sign(mbedtls_pk_context *ctx, mbedtls_md_type_t md_alg, const unsigned char *hash, size_t hash_len, unsigned char *sig, size_t sig_size, size_t *sig_len, int (*f_rng)(void *, unsigned char *, size_t), void *p_rng) mbedtls_pk_sign() argument 1300 mbedtls_pk_sign_ext(mbedtls_pk_type_t pk_type, mbedtls_pk_context *ctx, mbedtls_md_type_t md_alg, const unsigned char *hash, size_t hash_len, unsigned char *sig, size_t sig_size, size_t *sig_len, int (*f_rng)(void *, unsigned char *, size_t), void *p_rng) mbedtls_pk_sign_ext() argument 1402 mbedtls_pk_decrypt(mbedtls_pk_context *ctx, const unsigned char *input, size_t ilen, unsigned char *output, size_t *olen, size_t osize, int (*f_rng)(void *, unsigned char *, size_t), void *p_rng) mbedtls_pk_decrypt() argument 1422 mbedtls_pk_encrypt(mbedtls_pk_context *ctx, const unsigned char *input, size_t ilen, unsigned char *output, size_t *olen, size_t osize, int (*f_rng)(void *, unsigned char *, size_t), void *p_rng) mbedtls_pk_encrypt() argument 1479 mbedtls_pk_get_bitlen(const mbedtls_pk_context *ctx) mbedtls_pk_get_bitlen() argument 1493 mbedtls_pk_debug(const mbedtls_pk_context *ctx, mbedtls_pk_debug_item *items) mbedtls_pk_debug() argument 1510 mbedtls_pk_get_name(const mbedtls_pk_context *ctx) mbedtls_pk_get_name() argument 1522 mbedtls_pk_get_type(const mbedtls_pk_context *ctx) mbedtls_pk_get_type() argument [all...] |
/foundation/resourceschedule/ffrt/src/dfx/dump/ |
H A D | dump.cpp | 49 ucontext_t ctx; in DumpTask() local 59 memset_s(&ctx, sizeof(ctx), 0, sizeof(ctx)); in DumpTask() 61 ctx.uc_mcontext.regs[REG_AARCH64_X29] = task->coRoutine->ctx.regs[10]; in DumpTask() 62 ctx.uc_mcontext.sp = task->coRoutine->ctx.regs[13]; in DumpTask() 63 ctx.uc_mcontext.pc = task->coRoutine->ctx in DumpTask() [all...] |
/third_party/mesa3d/src/gallium/tests/graw/ |
H A D | quad-tex.c | 53 handle = info.ctx->create_vertex_elements_state(info.ctx, 2, ve); in set_vertices() 54 info.ctx->bind_vertex_elements_state(info.ctx, handle); in set_vertices() 60 vbuf.buffer.resource = pipe_buffer_create_with_data(info.ctx, in set_vertices() 66 info.ctx->set_vertex_buffers(info.ctx, 0, 1, 0, false, &vbuf); in set_vertices() 82 handle = graw_parse_vertex_shader(info.ctx, text); in set_vertex_shader() 83 info.ctx->bind_vs_state(info.ctx, handl in set_vertex_shader() [all...] |