Lines Matching refs:store
114 static void dealloc_tmp_encoder_store(void *store) in dealloc_tmp_encoder_store() argument
116 if (store != NULL) in dealloc_tmp_encoder_store()
117 ossl_method_store_free(store); in dealloc_tmp_encoder_store()
128 static void *get_encoder_from_store(void *store, const OSSL_PROVIDER **prov, in get_encoder_from_store() argument
154 if (store == NULL in get_encoder_from_store()
155 && (store = get_encoder_store(methdata->libctx)) == NULL) in get_encoder_from_store()
158 if (!ossl_method_store_fetch(store, id, methdata->propquery, prov, &method)) in get_encoder_from_store()
163 static int put_encoder_in_store(void *store, void *method, in put_encoder_in_store() argument
189 if (store == NULL && (store = get_encoder_store(methdata->libctx)) == NULL) in put_encoder_in_store()
192 return ossl_method_store_add(store, prov, id, propdef, method, in put_encoder_in_store()
350 OSSL_METHOD_STORE *store = get_encoder_store(methdata->libctx); in inner_ossl_encoder_fetch() local
355 if (store == NULL || namemap == NULL) { in inner_ossl_encoder_fetch()
380 || !ossl_method_store_cache_get(store, NULL, id, properties, &method)) { in inner_ossl_encoder_fetch()
404 ossl_method_store_cache_set(store, NULL, id, properties, method, in inner_ossl_encoder_fetch()