Lines Matching refs:namemap
142 OSSL_NAMEMAP *namemap = ossl_namemap_stored(methdata->libctx); in get_encoder_from_store() local
147 if (namemap == 0) in get_encoder_from_store()
149 id = ossl_namemap_name2num_n(namemap, methdata->names, l); in get_encoder_from_store()
170 OSSL_NAMEMAP *namemap; in put_encoder_in_store() local
186 if ((namemap = ossl_namemap_stored(methdata->libctx)) == NULL in put_encoder_in_store()
187 || (id = ossl_namemap_name2num_n(namemap, names, l)) == 0) in put_encoder_in_store()
314 OSSL_NAMEMAP *namemap = ossl_namemap_stored(libctx); in construct_encoder() local
316 int id = ossl_namemap_add_names(namemap, 0, names, NAME_SEPARATOR); in construct_encoder()
355 OSSL_NAMEMAP *namemap = ossl_namemap_stored(methdata->libctx); in inner_ossl_encoder_fetch() local
360 if (store == NULL || namemap == NULL) { in inner_ossl_encoder_fetch()
365 id = name != NULL ? ossl_namemap_name2num(namemap, name) : 0; in inner_ossl_encoder_fetch()
400 id = ossl_namemap_name2num(namemap, name); in inner_ossl_encoder_fetch()
416 name = ossl_namemap_num2name(namemap, id, 0); in inner_ossl_encoder_fetch()
518 OSSL_NAMEMAP *namemap = ossl_namemap_stored(libctx); in OSSL_ENCODER_is_a() local
520 return ossl_namemap_name2num(namemap, name) == encoder->base.id; in OSSL_ENCODER_is_a()
566 OSSL_NAMEMAP *namemap = ossl_namemap_stored(libctx); in OSSL_ENCODER_names_do_all() local
568 return ossl_namemap_doall_names(namemap, encoder->base.id, fn, data); in OSSL_ENCODER_names_do_all()