Lines Matching refs:method

154     void *method = NULL;  in get_encoder_from_store()  local
180 if (!ossl_method_store_fetch(store, id, methdata->propquery, prov, &method)) in get_encoder_from_store()
182 return method; in get_encoder_from_store()
185 static int put_encoder_in_store(void *store, void *method, in put_encoder_in_store() argument
214 return ossl_method_store_add(store, prov, id, propdef, method, in put_encoder_in_store()
338 void *method = NULL; in construct_encoder() local
341 method = encoder_from_algorithm(id, algodef, prov); in construct_encoder()
348 if (method == NULL) in construct_encoder()
351 return method; in construct_encoder()
355 static void destruct_encoder(void *method, void *data) in destruct_encoder() argument
357 OSSL_ENCODER_free(method); in destruct_encoder()
360 static int up_ref_encoder(void *method) in up_ref_encoder() argument
362 return OSSL_ENCODER_up_ref(method); in up_ref_encoder()
365 static void free_encoder(void *method) in free_encoder() argument
367 OSSL_ENCODER_free(method); in free_encoder()
378 void *method = NULL; in inner_ossl_encoder_fetch() local
406 || !ossl_method_store_cache_get(store, NULL, id, propq, &method)) { in inner_ossl_encoder_fetch()
422 if ((method = ossl_method_construct(methdata->libctx, OSSL_OP_ENCODER, in inner_ossl_encoder_fetch()
433 ossl_method_store_cache_set(store, prov, id, propq, method, in inner_ossl_encoder_fetch()
444 if ((id != 0 || name != NULL) && method == NULL) { in inner_ossl_encoder_fetch()
456 return method; in inner_ossl_encoder_fetch()
463 void *method; in OSSL_ENCODER_fetch() local
467 method = inner_ossl_encoder_fetch(&methdata, 0, name, properties); in OSSL_ENCODER_fetch()
469 return method; in OSSL_ENCODER_fetch()
476 void *method; in ossl_encoder_fetch_by_number() local
480 method = inner_ossl_encoder_fetch(&methdata, id, NULL, properties); in ossl_encoder_fetch_by_number()
482 return method; in ossl_encoder_fetch_by_number()
575 static void do_one(ossl_unused int id, void *method, void *arg) in do_one() argument
579 data->user_fn(method, data->user_arg); in do_one()