• Home
  • Raw
  • Download

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()
129 struct decoder_data_st *methdata = data; in reserve_decoder_store() local
132 && (store = get_decoder_store(methdata->libctx)) == NULL) in reserve_decoder_store()
140 struct decoder_data_st *methdata = data; in unreserve_decoder_store() local
143 && (store = get_decoder_store(methdata->libctx)) == NULL) in unreserve_decoder_store()
153 struct decoder_data_st *methdata = data; in get_decoder_from_store() local
162 if ((id = methdata->id) == 0 && methdata->names != NULL) { in get_decoder_from_store()
163 OSSL_NAMEMAP *namemap = ossl_namemap_stored(methdata->libctx); in get_decoder_from_store()
164 const char *names = methdata->names; in get_decoder_from_store()
177 && (store = get_decoder_store(methdata->libctx)) == NULL) in get_decoder_from_store()
180 if (!ossl_method_store_fetch(store, id, methdata->propquery, prov, &method)) in get_decoder_from_store()
190 struct decoder_data_st *methdata = data; in put_decoder_in_store() local
207 if ((namemap = ossl_namemap_stored(methdata->libctx)) == NULL in put_decoder_in_store()
211 if (store == NULL && (store = get_decoder_store(methdata->libctx)) == NULL) in put_decoder_in_store()
323 struct decoder_data_st *methdata = data; in construct_decoder() local
339 methdata->flag_construct_error_occurred = 1; in construct_decoder()
362 inner_ossl_decoder_fetch(struct decoder_data_st *methdata, int id, in inner_ossl_decoder_fetch() argument
365 OSSL_METHOD_STORE *store = get_decoder_store(methdata->libctx); in inner_ossl_decoder_fetch()
366 OSSL_NAMEMAP *namemap = ossl_namemap_stored(methdata->libctx); in inner_ossl_decoder_fetch()
408 methdata->id = id; in inner_ossl_decoder_fetch()
409 methdata->names = name; in inner_ossl_decoder_fetch()
410 methdata->propquery = propq; in inner_ossl_decoder_fetch()
411 methdata->flag_construct_error_occurred = 0; in inner_ossl_decoder_fetch()
412 if ((method = ossl_method_construct(methdata->libctx, OSSL_OP_DECODER, in inner_ossl_decoder_fetch()
414 &mcm, methdata)) != NULL) { in inner_ossl_decoder_fetch()
432 unsupported = !methdata->flag_construct_error_occurred; in inner_ossl_decoder_fetch()
442 ossl_lib_ctx_get_descriptor(methdata->libctx), in inner_ossl_decoder_fetch()
453 struct decoder_data_st methdata; in OSSL_DECODER_fetch() local
456 methdata.libctx = libctx; in OSSL_DECODER_fetch()
457 methdata.tmp_store = NULL; in OSSL_DECODER_fetch()
458 method = inner_ossl_decoder_fetch(&methdata, 0, name, properties); in OSSL_DECODER_fetch()
459 dealloc_tmp_decoder_store(methdata.tmp_store); in OSSL_DECODER_fetch()
466 struct decoder_data_st methdata; in ossl_decoder_fetch_by_number() local
469 methdata.libctx = libctx; in ossl_decoder_fetch_by_number()
470 methdata.tmp_store = NULL; in ossl_decoder_fetch_by_number()
471 method = inner_ossl_decoder_fetch(&methdata, id, NULL, properties); in ossl_decoder_fetch_by_number()
472 dealloc_tmp_decoder_store(methdata.tmp_store); in ossl_decoder_fetch_by_number()
578 struct decoder_data_st methdata; in OSSL_DECODER_do_all_provided() local
581 methdata.libctx = libctx; in OSSL_DECODER_do_all_provided()
582 methdata.tmp_store = NULL; in OSSL_DECODER_do_all_provided()
583 (void)inner_ossl_decoder_fetch(&methdata, 0, NULL, NULL /* properties */); in OSSL_DECODER_do_all_provided()
587 if (methdata.tmp_store != NULL) in OSSL_DECODER_do_all_provided()
588 ossl_method_store_do_all(methdata.tmp_store, &do_one, &data); in OSSL_DECODER_do_all_provided()
590 dealloc_tmp_decoder_store(methdata.tmp_store); in OSSL_DECODER_do_all_provided()