Lines Matching refs:rv
36 apr_status_t rv;
40 rv = apr_dbd_get_driver(p, "sqlite3", &driver);
41 if (rv != APR_SUCCESS) {
48 rv = apr_dbd_open(driver, p, logconfig, &handle);
49 if (rv != APR_SUCCESS) {
78 apr_status_t rv;
84 rv = ctutil_fopen(pubkey_fname, "r", &pubkeyf);
85 if (rv != APR_SUCCESS) {
86 ap_log_error(APLOG_MARK, APLOG_ERR, rv, ap_server_conf,
89 return rv;
95 rv = APR_EINVAL;
100 return rv;
131 apr_status_t rv;
134 rv = apr_uri_parse(p, lu, &uri);
135 if (rv == APR_SUCCESS) {
142 rv = APR_EINVAL;
150 rv = APR_EINVAL;
157 rv = APR_EINVAL;
160 if (rv == APR_SUCCESS) {
163 return rv;
193 apr_status_t rv;
218 rv = apr_unescape_hex(NULL, log_id, strlen(log_id), 0, &len);
219 if (rv != 0 || len != 32) {
228 rv = read_public_key(p, pubkey_fname, &public_key);
229 if (rv != APR_SUCCESS) {
230 return rv;
238 rv = parse_time_str(p, min_time_str, &min_time);
239 if (rv) {
242 return rv;
250 rv = parse_time_str(p, max_time_str, &max_time);
251 if (rv) {
254 return rv;
262 rv = parse_log_url(p, url, &uri);
263 if (rv != APR_SUCCESS) {
264 return rv;
309 apr_status_t rv;
318 rv = apr_dbd_get_driver(p, "sqlite3", &driver);
319 if (rv != APR_SUCCESS) {
320 ap_log_error(APLOG_MARK, APLOG_ERR, rv, s_main,
322 return rv;
325 rv = apr_dbd_open(driver, p, log_config_fname, &handle);
326 if (rv != APR_SUCCESS) {
327 ap_log_error(APLOG_MARK, APLOG_ERR, rv, s_main,
330 return rv;
363 for (rv = apr_dbd_get_row(driver, p, res, &row, -1);
364 rv == APR_SUCCESS;
365 rv = apr_dbd_get_row(driver, p, res, &row, -1)) {
385 rv = save_log_config_entry(log_config, p, log_id,
388 if (rv != APR_SUCCESS) {
390 return rv;