Lines Matching refs:store
68 /* Permanent decoder method store, constructor and destructor */
81 /* We want decoder_store to be cleaned up before the provider store */
104 /* Temporary decoder method store, constructor and destructor */
114 static void dealloc_tmp_decoder_store(void *store)
116 if (store != NULL)
117 ossl_method_store_free(store);
120 /* Get the permanent decoder store */
127 static int reserve_decoder_store(void *store, void *data)
131 if (store == NULL
132 && (store = get_decoder_store(methdata->libctx)) == NULL)
135 return ossl_method_lock_store(store);
138 static int unreserve_decoder_store(void *store, void *data)
142 if (store == NULL
143 && (store = get_decoder_store(methdata->libctx)) == NULL)
146 return ossl_method_unlock_store(store);
149 /* Get decoder methods from a store, or put one in */
150 static void *get_decoder_from_store(void *store, const OSSL_PROVIDER **prov,
176 if (store == NULL
177 && (store = get_decoder_store(methdata->libctx)) == NULL)
180 if (!ossl_method_store_fetch(store, id, methdata->propquery, prov, &method))
185 static int put_decoder_in_store(void *store, void *method,
211 if (store == NULL && (store = get_decoder_store(methdata->libctx)) == NULL)
214 return ossl_method_store_add(store, prov, id, propdef, method,
365 OSSL_METHOD_STORE *store = get_decoder_store(methdata->libctx);
371 if (store == NULL || namemap == NULL) {
396 || !ossl_method_store_cache_get(store, NULL, id, propq, &method)) {
424 ossl_method_store_cache_set(store, prov, id, propq, method,
478 OSSL_METHOD_STORE *store = get_decoder_store(libctx);
480 if (store != NULL)
481 return ossl_method_store_cache_flush_all(store);
488 OSSL_METHOD_STORE *store = get_decoder_store(libctx);
490 if (store != NULL)
491 return ossl_method_store_remove_all_provided(store, prov);