Lines Matching refs:base
34 if (!CRYPTO_NEW_REF(&decoder->base.refcnt, 1)) { in ossl_decoder_new()
46 CRYPTO_UP_REF(&decoder->base.refcnt, &ref); in OSSL_DECODER_up_ref()
57 CRYPTO_DOWN_REF(&decoder->base.refcnt, &ref); in OSSL_DECODER_free()
60 OPENSSL_free(decoder->base.name); in OSSL_DECODER_free()
61 ossl_property_free(decoder->base.parsed_propdef); in OSSL_DECODER_free()
62 ossl_provider_free(decoder->base.prov); in OSSL_DECODER_free()
63 CRYPTO_FREE_REF(&decoder->base.refcnt); in OSSL_DECODER_free()
208 decoder->base.id = id; in ossl_decoder_from_algorithm()
209 if ((decoder->base.name = ossl_algorithm_get1_first_name(algodef)) == NULL) { in ossl_decoder_from_algorithm()
213 decoder->base.algodef = algodef; in ossl_decoder_from_algorithm()
214 if ((decoder->base.parsed_propdef in ossl_decoder_from_algorithm()
283 decoder->base.prov = prov; in ossl_decoder_from_algorithm()
461 return decoder->base.prov; in OSSL_DECODER_get0_provider()
471 return decoder->base.algodef->property_definition; in OSSL_DECODER_get0_properties()
482 return decoder->base.parsed_propdef; in ossl_decoder_parsed_properties()
492 return decoder->base.id; in ossl_decoder_get_number()
497 return decoder->base.name; in OSSL_DECODER_get0_name()
502 return decoder->base.algodef->algorithm_description; in OSSL_DECODER_get0_description()
507 if (decoder->base.prov != NULL) { in OSSL_DECODER_is_a()
508 OSSL_LIB_CTX *libctx = ossl_provider_libctx(decoder->base.prov); in OSSL_DECODER_is_a()
511 return ossl_namemap_name2num(namemap, name) == decoder->base.id; in OSSL_DECODER_is_a()
518 OSSL_LIB_CTX *libctx = ossl_provider_libctx(decoder->base.prov); in resolve_name()
573 if (decoder->base.prov != NULL) { in OSSL_DECODER_names_do_all()
574 OSSL_LIB_CTX *libctx = ossl_provider_libctx(decoder->base.prov); in OSSL_DECODER_names_do_all()
577 return ossl_namemap_doall_names(namemap, decoder->base.id, fn, data); in OSSL_DECODER_names_do_all()