Lines Matching refs:methdata

107     struct decoder_data_st *methdata = data;  in get_tmp_decoder_store()  local
109 if (methdata->tmp_store == NULL) in get_tmp_decoder_store()
110 methdata->tmp_store = ossl_method_store_new(methdata->libctx); in get_tmp_decoder_store()
111 return methdata->tmp_store; in get_tmp_decoder_store()
131 struct decoder_data_st *methdata = data; in get_decoder_from_store() local
140 if ((id = methdata->id) == 0 && methdata->names != NULL) { in get_decoder_from_store()
141 OSSL_NAMEMAP *namemap = ossl_namemap_stored(methdata->libctx); in get_decoder_from_store()
142 const char *names = methdata->names; in get_decoder_from_store()
155 && (store = get_decoder_store(methdata->libctx)) == NULL) in get_decoder_from_store()
158 if (!ossl_method_store_fetch(store, id, methdata->propquery, prov, &method)) in get_decoder_from_store()
168 struct decoder_data_st *methdata = data; in put_decoder_in_store() local
185 if ((namemap = ossl_namemap_stored(methdata->libctx)) == NULL in put_decoder_in_store()
189 if (store == NULL && (store = get_decoder_store(methdata->libctx)) == NULL) in put_decoder_in_store()
298 struct decoder_data_st *methdata = data; in construct_decoder() local
314 methdata->flag_construct_error_occurred = 1; in construct_decoder()
337 inner_ossl_decoder_fetch(struct decoder_data_st *methdata, int id, in inner_ossl_decoder_fetch() argument
340 OSSL_METHOD_STORE *store = get_decoder_store(methdata->libctx); in inner_ossl_decoder_fetch()
341 OSSL_NAMEMAP *namemap = ossl_namemap_stored(methdata->libctx); in inner_ossl_decoder_fetch()
379 methdata->id = id; in inner_ossl_decoder_fetch()
380 methdata->names = name; in inner_ossl_decoder_fetch()
381 methdata->propquery = properties; in inner_ossl_decoder_fetch()
382 methdata->flag_construct_error_occurred = 0; in inner_ossl_decoder_fetch()
383 if ((method = ossl_method_construct(methdata->libctx, OSSL_OP_DECODER, in inner_ossl_decoder_fetch()
385 &mcm, methdata)) != NULL) { in inner_ossl_decoder_fetch()
403 unsupported = !methdata->flag_construct_error_occurred; in inner_ossl_decoder_fetch()
413 ossl_lib_ctx_get_descriptor(methdata->libctx), in inner_ossl_decoder_fetch()
424 struct decoder_data_st methdata; in OSSL_DECODER_fetch() local
427 methdata.libctx = libctx; in OSSL_DECODER_fetch()
428 methdata.tmp_store = NULL; in OSSL_DECODER_fetch()
429 method = inner_ossl_decoder_fetch(&methdata, 0, name, properties); in OSSL_DECODER_fetch()
430 dealloc_tmp_decoder_store(methdata.tmp_store); in OSSL_DECODER_fetch()
437 struct decoder_data_st methdata; in ossl_decoder_fetch_by_number() local
440 methdata.libctx = libctx; in ossl_decoder_fetch_by_number()
441 methdata.tmp_store = NULL; in ossl_decoder_fetch_by_number()
442 method = inner_ossl_decoder_fetch(&methdata, id, NULL, properties); in ossl_decoder_fetch_by_number()
443 dealloc_tmp_decoder_store(methdata.tmp_store); in ossl_decoder_fetch_by_number()
530 struct decoder_data_st methdata; in OSSL_DECODER_do_all_provided() local
533 methdata.libctx = libctx; in OSSL_DECODER_do_all_provided()
534 methdata.tmp_store = NULL; in OSSL_DECODER_do_all_provided()
535 (void)inner_ossl_decoder_fetch(&methdata, 0, NULL, NULL /* properties */); in OSSL_DECODER_do_all_provided()
539 if (methdata.tmp_store != NULL) in OSSL_DECODER_do_all_provided()
540 ossl_method_store_do_all(methdata.tmp_store, &do_one, &data); in OSSL_DECODER_do_all_provided()
542 dealloc_tmp_decoder_store(methdata.tmp_store); in OSSL_DECODER_do_all_provided()