Lines Matching refs:ret
20 COMP_CTX *ret; in COMP_CTX_new() local
25 if ((ret = OPENSSL_zalloc(sizeof(*ret))) == NULL) in COMP_CTX_new()
27 ret->meth = meth; in COMP_CTX_new()
28 if ((ret->meth->init != NULL) && !ret->meth->init(ret)) { in COMP_CTX_new()
29 OPENSSL_free(ret); in COMP_CTX_new()
30 ret = NULL; in COMP_CTX_new()
32 return ret; in COMP_CTX_new()
67 int ret; in COMP_compress_block() local
71 ret = ctx->meth->compress(ctx, out, olen, in, ilen); in COMP_compress_block()
72 if (ret > 0) { in COMP_compress_block()
74 ctx->compress_out += ret; in COMP_compress_block()
76 return ret; in COMP_compress_block()
82 int ret; in COMP_expand_block() local
87 ret = ctx->meth->expand(ctx, out, olen, in, ilen); in COMP_expand_block()
88 if (ret > 0) { in COMP_expand_block()
90 ctx->expand_out += ret; in COMP_expand_block()
92 return ret; in COMP_expand_block()