Lines Matching refs:ret
20 COMP_CTX *ret; in COMP_CTX_new() local
22 if ((ret = OPENSSL_zalloc(sizeof(*ret))) == NULL) { in COMP_CTX_new()
26 ret->meth = meth; in COMP_CTX_new()
27 if ((ret->meth->init != NULL) && !ret->meth->init(ret)) { in COMP_CTX_new()
28 OPENSSL_free(ret); in COMP_CTX_new()
29 ret = NULL; in COMP_CTX_new()
31 return ret; in COMP_CTX_new()
62 int ret; in COMP_compress_block() local
66 ret = ctx->meth->compress(ctx, out, olen, in, ilen); in COMP_compress_block()
67 if (ret > 0) { in COMP_compress_block()
69 ctx->compress_out += ret; in COMP_compress_block()
71 return ret; in COMP_compress_block()
77 int ret; in COMP_expand_block() local
82 ret = ctx->meth->expand(ctx, out, olen, in, ilen); in COMP_expand_block()
83 if (ret > 0) { in COMP_expand_block()
85 ctx->expand_out += ret; in COMP_expand_block()
87 return ret; in COMP_expand_block()