Searched defs:rv (Results 1 - 25 of 162) sorted by relevance

1234567

/httpd/server/mpm/simple/
H A Dsimple_core.c38 apr_status_t rv; local
64 rv = apr_thread_mutex_create(&sc->mtx, 0, sc->pool);
66 if (rv) {
67 ap_log_error(APLOG_MARK, APLOG_CRIT, rv, NULL, APLOGNO(00246)
69 return rv;
H A Dsimple_children.c64 int rv = 0; local
75 rv = errno;
76 ap_log_error(APLOG_MARK, APLOG_CRIT, rv, NULL, APLOGNO(00245)
78 return rv;
84 rv = simple_child_loop(sc);
86 if (rv) {
152 int rv = 0; local
155 for (i = 0; rv == 0 && i < to_spawn; i++) {
156 rv = simple_spawn_child(sc);
H A Dsimple_io.c49 apr_status_t rv; local
72 rv = apr_pollcb_remove(sc->pollcb, &scon->pfd);
73 if (rv) {
74 ap_log_error(APLOG_MARK, APLOG_ERR, rv, ap_server_conf, APLOGNO(00248)
76 /*AP_DEBUG_ASSERT(rv == APR_SUCCESS);*/
100 rv = output_filter->frec->filter_func.out_func(output_filter,
103 if (rv != APR_SUCCESS) {
104 ap_log_error(APLOG_MARK, APLOG_WARNING, rv, ap_server_conf, APLOGNO(00249)
127 rv = apr_pollcb_add(sc->pollcb, &scon->pfd);
129 if (rv !
189 apr_status_t rv; local
205 apr_status_t rv; local
258 apr_status_t rv; local
[all...]
H A Dsimple_api.c44 static int simple_query(int query_code, int *result, apr_status_t *rv) argument
48 *rv = APR_SUCCESS;
94 *rv = APR_ENOTIMPL;
128 apr_status_t rv; local
132 rv = simple_core_init_once();
134 if (rv) {
135 ap_log_error(APLOG_MARK, APLOG_CRIT, rv, NULL, APLOGNO(00257)
157 rv = apr_proc_detach(APR_PROC_DETACH_FOREGROUND);
160 rv = apr_proc_detach(APR_PROC_DETACH_DAEMONIZE);
163 if (rv) {
[all...]
H A Dsimple_run.c55 apr_status_t rv; local
57 rv = apr_thread_pool_create(&sc->workers,
61 if (rv) {
62 ap_log_error(APLOG_MARK, APLOG_CRIT, rv, NULL, APLOGNO(00235)
65 return rv;
74 apr_status_t rv; local
90 rv = apr_socket_opt_set(pfd->desc.s, APR_SO_NONBLOCK, 1);
91 if (rv) {
92 ap_log_error(APLOG_MARK, APLOG_CRIT, rv, NULL, APLOGNO(00236)
95 return rv;
114 apr_status_t rv = APR_SUCCESS; local
147 apr_status_t rv; local
235 apr_status_t rv; local
246 int rv = ap_run_drop_privileges(sc->pool, ap_server_conf); local
260 apr_status_t rv; local
281 apr_status_t rv; local
320 apr_status_t rv; local
[all...]
/httpd/modules/ssl/
H A Dssl_engine_mutex.c36 apr_status_t rv; local
50 if ((rv = ap_global_mutex_create(&mc->pMutex, NULL, SSL_CACHE_MUTEX_TYPE,
62 apr_status_t rv; local
71 if ((rv = apr_global_mutex_child_init(&mc->pMutex,
75 ap_log_error(APLOG_MARK, APLOG_ERR, rv, s, APLOGNO(02024)
79 ap_log_error(APLOG_MARK, APLOG_WARNING, rv, s, APLOGNO(02025)
89 apr_status_t rv; local
91 if ((rv = apr_global_mutex_lock(mc->pMutex)) != APR_SUCCESS) {
92 ap_log_error(APLOG_MARK, APLOG_WARNING, rv, s, APLOGNO(02026)
102 apr_status_t rv; local
[all...]
H A Dssl_scache.c43 apr_status_t rv; local
61 rv = mc->stapling_cache->init(mc->stapling_cache_context,
63 if (rv) {
87 rv = mc->sesscache->init(mc->sesscache_context, "mod_ssl-session", &hints, s, p);
88 if (rv) {
120 apr_status_t rv; local
137 rv = mc->sesscache->store(mc->sesscache_context, s, id, idlen,
144 return rv == APR_SUCCESS ? TRUE : FALSE;
154 apr_status_t rv; local
160 rv
[all...]
/httpd/modules/generators/
H A Dmod_asis.c34 apr_status_t rv; local
52 if ((rv = apr_file_open(&f, r->filename, APR_READ,
54 ap_log_rerror(APLOG_MARK, APLOG_ERR, rv, r, APLOGNO(01234)
86 rv = apr_file_seek(f, APR_CUR, &pos);
87 if (rv != APR_SUCCESS) {
88 ap_log_rerror(APLOG_MARK, APLOG_ERR, rv, r, APLOGNO(01235)
100 rv = ap_pass_brigade(r->output_filters, bb);
101 if (rv != APR_SUCCESS) {
102 ap_log_rerror(APLOG_MARK, APLOG_ERR, rv, r, APLOGNO(01236)
/httpd/modules/proxy/
H A Dajp_utils.c29 apr_status_t rc, rv; local
75 rv = ajp_ilink_receive(sock, msg);
76 if (rv != APR_SUCCESS) {
83 rv = ajp_msg_get_uint8(msg, &result);
84 if (rv != APR_SUCCESS) {
93 rv = APR_EGENERAL;
108 return rv;
/httpd/os/win32/
H A Dutil_win32.c39 apr_status_t rv; local
47 rv = apr_conv_ucs2_to_utf8(wbinpath, &wbinlen, *binpath, &binlen);
48 if (rv != APR_SUCCESS)
49 return rv;
/httpd/server/
H A Dutil_ebcdic.c33 apr_status_t rv; local
35 rv = apr_xlate_open(&ap_hdrs_to_ascii, "ISO-8859-1", APR_DEFAULT_CHARSET, pool);
36 if (rv) {
37 ap_log_error(APLOG_MARK, APLOG_ERR, rv, NULL, APLOGNO(00040)
39 return rv;
42 rv = apr_xlate_open(&ap_hdrs_from_ascii, APR_DEFAULT_CHARSET, "ISO-8859-1", pool);
43 if (rv) {
44 ap_log_error(APLOG_MARK, APLOG_ERR, rv, NULL, APLOGNO(00041)
46 return rv;
49 rv
[all...]
H A Dconnection.c69 apr_status_t rv; local
85 rv = ap_pass_brigade(c->output_filters, bb);
87 return rv;
H A Dutil_fcgi.c185 apr_status_t rv = APR_SUCCESS; local
209 rv = APR_ENOSPC; /* overflow */
218 rv = APR_ENOSPC; /* overflow */
233 rv = APR_ENOSPC; /* overflow */
242 rv = APR_ENOSPC; /* overflow */
254 rv = APR_ENOSPC; /* overflow */
262 rv = APR_ENOSPC; /* overflow */
280 if (rv != APR_SUCCESS) {
286 return rv;
/httpd/include/
H A Dapreq_util.h207 char *rv; local
212 rv = (char *)apr_palloc(p, 3 * slen + 1);
213 apreq_encode(rv, src, slen);
214 return rv;
227 apr_status_t rv = apreq_decode(str, &len, str, strlen(str)); local
228 if (rv == APR_SUCCESS)
316 apr_status_t rv = apr_bucket_setaside(e, p); local
317 if (rv != APR_SUCCESS)
318 return rv;
343 apr_status_t rv local
[all...]
/httpd/modules/http/
H A Dchunk_filter.c54 apr_status_t rv; local
97 rv = apr_bucket_read(e, &data, &len, APR_BLOCK_READ);
98 if (rv != APR_SUCCESS) {
99 return rv;
188 rv = ap_pass_brigade(f->next, b);
189 if (rv != APR_SUCCESS || eos != NULL) {
190 return rv;
/httpd/modules/lua/
H A Dlua_passwd.c55 apr_status_t rv; local
62 rv = apr_generate_random_bytes(rnd, n);
63 if (rv) {
65 &rv);
91 apr_status_t rv; local
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);
[all...]
/httpd/modules/arch/unix/
H A Dmod_systemd.c44 int rv; local
49 rv = sd_notifyf(0, "READY=1\n"
52 if (rv < 0) {
54 "sd_notifyf returned an error %d", rv);
65 int rv; local
75 rv = sd_notifyf(0, "READY=1\n"
81 if (rv < 0) {
83 "sd_notifyf returned an error %d", rv);
91 rv = sd_notifyf(0, "READY=1\n"
94 if (rv <
[all...]
H A Dmod_unixd.c145 int rv = set_group_privs(); local
147 if (rv) {
148 return rv;
159 rv = errno;
162 return rv;
166 rv = errno;
169 return rv;
173 rv = errno;
176 return rv;
186 rv
[all...]
/httpd/modules/debugging/
H A Dmod_bucketeer.c142 apr_status_t rv; local
144 rv = ap_pass_brigade(f->next, ctx->bb);
145 if (rv) {
146 return rv;
H A Dmod_dumpio.c72 apr_status_t rv = apr_bucket_read(b, &buf, &nbytes, APR_BLOCK_READ); local
74 if (rv == APR_SUCCESS)
109 ap_log_cerror(APLOG_MARK, APLOG_TRACE7, rv, c,
/httpd/modules/filters/
H A Dmod_data.c70 apr_status_t rv = APR_SUCCESS; local
129 while (APR_SUCCESS == rv && !APR_BRIGADE_EMPTY(bb)) {
157 rv = ap_pass_brigade(f->next, ctx->bb);
160 if ((APR_SUCCESS == rv) && (!APR_BRIGADE_EMPTY(bb))) {
161 rv = ap_pass_brigade(f->next, bb);
174 rv = ap_pass_brigade(f->next, ctx->bb);
193 if (APR_SUCCESS == (rv = apr_bucket_read(e, &data, &size,
226 rv = ap_pass_brigade(f->next, ctx->bb);
227 if (rv) {
237 return rv;
[all...]
/httpd/server/mpm/winnt/
H A Dnt_eventlog.c38 apr_status_t rv; local
54 if ((rv = ap_regkey_open(&regkey, AP_REGKEY_LOCAL_MACHINE,
/httpd/support/
H A Dfcgistarter.c44 static void exit_error(apr_status_t rv, const char *func) argument
51 apr_strerror(rv, buffer, sizeof(buffer)));
63 apr_status_t rv; local
78 rv = apr_getopt_init(&gopt, pool, argc, argv);
79 if (rv) {
87 rv = apr_getopt(gopt, "c:p:i:N:", &opt, &arg);
88 if (APR_STATUS_IS_EOF(rv)) {
90 } else if (rv) {
126 rv = apr_sockaddr_info_get(&skaddr, interface, APR_UNSPEC, port, 0, pool);
127 if (rv) {
[all...]
/httpd/modules/aaa/
H A Dmod_authn_dbm.c90 apr_status_t rv; local
92 rv = apr_dbm_open_ex(&f, dbmtype, dbmfile, APR_DBM_READONLY,
95 if (rv != APR_SUCCESS) {
96 return rv;
114 return rv;
122 apr_status_t rv; local
126 rv = fetch_dbm_value(conf->dbmtype, conf->pwfile, user, &dbm_password,
129 if (rv != APR_SUCCESS) {
130 ap_log_rerror(APLOG_MARK, APLOG_ERR, rv, r, APLOGNO(01754)
146 rv
160 apr_status_t rv; local
[all...]
/httpd/modules/echo/
H A Dmod_echo.c75 apr_status_t rv; local
77 if ((rv = apr_bucket_read(b, &str, &len, APR_NONBLOCK_READ))
79 return rv;
148 apr_status_t rv; local
151 if (((rv = ap_get_brigade(c->input_filters, bb, AP_MODE_GETLINE,
154 if (!APR_STATUS_IS_EOF(rv) && ! APR_STATUS_IS_TIMEUP(rv))
155 ap_log_error(APLOG_MARK, APLOG_INFO, rv, c->base_server, APLOGNO(01611)
163 ap_log_error(APLOG_MARK, APLOG_INFO, rv, c->base_server, APLOGNO(01612)
179 rv
[all...]

Completed in 38 milliseconds

1234567