Lines Matching defs:rv
55 apr_status_t rv;
62 rv = apr_generate_random_bytes(rnd, n);
63 if (rv) {
65 &rv);
91 apr_status_t rv;
110 rv = apr_md5_encode(pw, salt, ctx->out, ctx->out_len);
111 if (rv != APR_SUCCESS) {
113 "could not encode password: %pm", &rv);
125 rv = APR_FROM_OS_ERROR(errno);
126 ctx->errstr = apr_psprintf(ctx->pool, "crypt() failed: %pm", &rv);
147 rv = apr_generate_random_bytes((unsigned char*)salt, 16);
148 if (rv != APR_SUCCESS) {
150 "bytes: %pm", &rv);
157 rv = apr_bcrypt_encode(pw, ctx->cost, (unsigned char*)salt, 16,
159 if (rv != APR_SUCCESS) {
161 "bcrypt: %pm", &rv);