Lines Matching refs:rv

55     apr_status_t rv;
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;
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;
98 rv = apr_pollcb_add(sc->pollcb, pfd);
99 if (rv) {
100 ap_log_error(APLOG_MARK, APLOG_CRIT, rv, NULL, APLOGNO(00237)
103 return rv;
114 apr_status_t rv = APR_SUCCESS;
120 rv = simple_io_accept(sc, sb);
123 rv = simple_io_event_process(sc, sb);
133 return rv;
147 apr_status_t rv;
174 rv = apr_pollcb_poll(sc->pollcb, timeout, simple_io_callback, sc);
178 if (rv) {
179 if (!APR_STATUS_IS_EINTR(rv) && !APR_STATUS_IS_TIMEUP(rv)) {
180 ap_log_error(APLOG_MARK, APLOG_CRIT, rv, NULL,
235 apr_status_t rv;
237 rv = simple_setup_listeners(sc);
238 if (rv) {
239 ap_log_error(APLOG_MARK, APLOG_CRIT, rv, NULL, APLOGNO(00238)
246 int rv = ap_run_drop_privileges(sc->pool, ap_server_conf);
248 if (rv) {
249 ap_log_error(APLOG_MARK, APLOG_CRIT, rv, NULL, APLOGNO(00239)
251 return rv;
260 apr_status_t rv;
265 rv = apr_pollcb_create_ex(&sc->pollcb, 512,
267 if (!rv) {
271 if (rv) {
272 ap_log_error(APLOG_MARK, APLOG_CRIT, rv, NULL, APLOGNO(00240)
274 return rv;
276 return rv;
281 apr_status_t rv;
283 rv = simple_setup_pollcb(sc);
284 if (rv) {
285 return rv;
293 rv = simple_setup_workers(sc);
294 if (rv) {
295 ap_log_error(APLOG_MARK, APLOG_CRIT, rv, NULL, APLOGNO(00241)
300 rv = simple_setup_listeners(sc);
301 if (rv) {
302 ap_log_error(APLOG_MARK, APLOG_CRIT, rv, NULL, APLOGNO(00242)
307 rv = simple_setup_privs(sc);
308 if (rv) {
320 apr_status_t rv;
322 rv = simple_setup_pollcb(sc);
323 if (rv) {
327 rv = simple_setup_workers(sc);
328 if (rv) {
329 ap_log_error(APLOG_MARK, APLOG_CRIT, rv, NULL, APLOGNO(00243)
334 rv = simple_main_setup_timers(sc);
335 if (rv) {
336 ap_log_error(APLOG_MARK, APLOG_CRIT, rv, NULL, APLOGNO(00244)