Lines Matching refs:meth
18 COMP_CTX *COMP_CTX_new(COMP_METHOD *meth)
26 ret->meth = meth;
27 if ((ret->meth->init != NULL) && !ret->meth->init(ret)) {
36 return ctx->meth;
39 int COMP_get_type(const COMP_METHOD *meth)
41 return meth->type;
44 const char *COMP_get_name(const COMP_METHOD *meth)
46 return meth->name;
53 if (ctx->meth->finish != NULL)
54 ctx->meth->finish(ctx);
63 if (ctx->meth->compress == NULL) {
66 ret = ctx->meth->compress(ctx, out, olen, in, ilen);
79 if (ctx->meth->expand == NULL) {
82 ret = ctx->meth->expand(ctx, out, olen, in, ilen);
92 return comp->meth ? comp->meth->type : NID_undef;