Searched refs:rc (Results 1 - 25 of 67) sorted by relevance

123

/httpd/modules/proxy/
H A Dajp_utils.c29 apr_status_t rc, rv; local
36 rc = ajp_msg_create(r->pool, AJP_PING_PONG_SZ, &msg);
37 if (rc != APR_SUCCESS) {
40 return rc;
43 rc = ajp_msg_serialize_cping(msg);
44 if (rc != APR_SUCCESS) {
47 return rc;
50 rc = ajp_ilink_send(sock, msg);
52 if (rc != APR_SUCCESS) {
55 return rc;
[all...]
H A Dajp_header.c38 const char *rc = NULL; local
41 rc = response_trans_headers[sc - 1];
44 return rc;
543 apr_status_t rc; local
548 rc = ajp_msg_get_uint16(msg, &status);
550 if (rc != APR_SUCCESS) {
553 return rc;
557 rc = ajp_msg_get_string(msg, &ptr);
558 if (rc == APR_SUCCESS) {
571 rc
674 apr_status_t rc; local
710 apr_status_t rc; local
764 apr_status_t rc; local
787 apr_status_t rc; local
833 apr_status_t rc; local
857 apr_status_t rc; local
[all...]
H A Dmod_proxy_ftp.c806 int rc; local
826 rc = ftp_getrc_msg(ftp_ctrl, bb, message, sizeof message);
827 if (rc == -1 || rc == 421)
832 ap_log_rerror(APLOG_MARK, APLOG_TRACE2, 0, r, "<%3.3u %s", rc, message);
837 return rc;
846 int rc; local
851 rc = proxy_ftp_command(apr_pstrcat(r->pool, "TYPE ", old_type, CRLF, NULL),
860 if (rc == -1) {
864 else if (rc
990 int len, rc; local
[all...]
H A Dajp_msg.c120 apr_status_t rc = APR_SUCCESS; local
129 rc = ajp_msg_dump(r->pool, msg, err, count, &buf);
130 if (rc == APR_SUCCESS) {
139 return rc;
611 apr_status_t rc; local
614 if ((rc = ajp_msg_append_uint8(msg, CMD_AJP13_PING)) != APR_SUCCESS)
615 return rc;
632 apr_status_t rc; local
635 if ((rc = ajp_msg_append_uint8(msg, CMD_AJP13_CPING)) != APR_SUCCESS)
636 return rc;
[all...]
/httpd/os/win32/
H A Dap_regkey.c67 LONG rc; local
87 rc = RegCreateKeyExW(parentkey->hkey, wkeyname, 0, NULL, 0,
90 rc = RegOpenKeyExW(parentkey->hkey, wkeyname, 0, access, &hkey);
97 rc = RegCreateKeyEx(parentkey->hkey, keyname, 0, NULL, 0,
100 rc = RegOpenKeyEx(parentkey->hkey, keyname, 0, access, &hkey);
103 if (rc != ERROR_SUCCESS) {
104 return APR_FROM_OS_ERROR(rc);
134 LONG rc; local
147 rc = RegDeleteKeyW(parent->hkey, wkeyname);
159 rc
187 LONG rc; local
292 LONG rc; local
351 LONG rc; local
410 LONG rc; local
614 LONG rc; local
[all...]
/httpd/modules/ssl/
H A Dssl_engine_ocsp.c133 int rc = V_OCSP_CERTSTATUS_GOOD; local
154 rc = V_OCSP_CERTSTATUS_UNKNOWN;
157 if (rc == V_OCSP_CERTSTATUS_GOOD) {
162 "OCSP response not successful: %d", rc);
163 rc = V_OCSP_CERTSTATUS_UNKNOWN;
167 if (rc == V_OCSP_CERTSTATUS_GOOD) {
173 rc = V_OCSP_CERTSTATUS_UNKNOWN;
177 if (rc == V_OCSP_CERTSTATUS_GOOD &&
182 rc = V_OCSP_CERTSTATUS_UNKNOWN;
185 if (rc
[all...]
H A Dssl_engine_io.c118 apr_status_t rc; member in struct:__anon317
139 outctx->rc = ap_pass_brigade(outctx->filter_ctx->pOutputFilter->next,
142 if (outctx->rc == APR_SUCCESS && outctx->c->aborted) {
143 outctx->rc = APR_ECONNRESET;
145 return (outctx->rc == APR_SUCCESS) ? 1 : -1;
202 outctx->rc = APR_ECONNABORTED;
310 apr_status_t rc; member in struct:__anon319
455 inctx->rc = APR_SUCCESS;
463 inctx->rc = APR_ECONNABORTED;
478 inctx->rc
597 int rc; local
1245 apr_status_t rc = inctx->rc ? inctx->rc : outctx->rc ; local
2163 ssl_io_data_cb(BIO *bio, int cmd, const char *argp, int argi, long argl, long rc) argument
[all...]
H A Dssl_util_ssl.c79 EVP_PKEY *rc; local
86 rc = PEM_read_bio_PrivateKey(bioS, key, cb, s);
89 if (rc == NULL) {
99 rc = d2i_PrivateKey_bio(bioS, NULL);
102 if (rc == NULL) {
106 rc = d2i_PrivateKey_bio(bioS, NULL);
110 if (rc != NULL && key != NULL) {
113 *key = rc;
115 return rc;
127 int rc; local
[all...]
H A Dssl_ct_log_config.c38 int rc; local
55 rc = apr_dbd_select(driver, p, handle, &res,
60 if (rc != 0) {
314 int rc; local
334 rc = apr_dbd_select(driver, p, handle, &res,
337 if (rc != 0) {
344 rc = apr_dbd_num_tuples(driver, res);
345 switch (rc) {
H A Dssl_engine_pphrase.c402 apr_status_t rc;
406 if (((rc = apr_procattr_create(&procattr, p)) == APR_SUCCESS) &&
407 ((rc = apr_procattr_io_set(procattr,
415 rc = apr_proc_create(procnew, args[0], (const char * const *)args,
417 if (rc == APR_SUCCESS) {
426 return rc;
431 apr_status_t rc;
437 rc = apr_file_gets(buf, length, readtty);
440 if (rc != APR_SUCCESS || apr_file_eof(readtty)) {
/httpd/modules/lua/
H A Dlua_dbd.c63 apr_status_t rc = 0; local
69 rc = apr_dbd_close(db->driver, db->handle);
85 lua_pushnumber(L, rc);
129 apr_status_t rc = 0; local
134 rc = apr_dbd_check_conn(db->driver, db->pool, db->handle);
135 if (rc == APR_SUCCESS) {
156 apr_status_t rc = 0; local
164 rc = apr_dbd_query(db->driver, db->handle, &x, statement);
166 rc = 0;
170 if (rc
312 apr_status_t rc = 0; local
386 apr_status_t rc = 0; local
477 apr_status_t rc = 0; local
547 apr_status_t rc = 0; local
733 apr_status_t rc = 0; local
[all...]
H A Dlua_vmprep.c362 int rc; local
365 rc = luaL_loadfile(L, spec->file);
366 if (rc != 0) {
369 rc == LUA_ERRMEM ? "memory allocation error"
527 int rc; local
530 rc = luaL_loadfile(L, spec->file);
531 if (rc != 0) {
534 rc == LUA_ERRMEM ? "memory allocation error"
/httpd/server/mpm/mpmt_os2/
H A Dmpmt_os2_child.c100 ULONG rc, c; local
117 rc = DosCreateEventSem(NULL, &shutdown_event, 0, FALSE);
119 if (rc) {
120 ap_log_error(APLOG_MARK, APLOG_ERR, APR_FROM_OS_ERROR(rc), ap_server_conf, APLOGNO(00189)
126 rc = DosGetNamedSharedMem(&sb_mem, ap_scoreboard_fname,
129 if (rc) {
130 ap_log_error(APLOG_MARK, APLOG_ERR, APR_FROM_OS_ERROR(rc), ap_server_conf, APLOGNO(00190)
139 rc = DosOpenMutexSem(NULL, &ap_mpm_accept_mutex);
141 if (rc) {
142 ap_log_error(APLOG_MARK, APLOG_ERR, APR_FROM_OS_ERROR(rc), ap_server_con
355 int rc; local
420 ULONG rc; local
[all...]
H A Dmpmt_os2.c115 ULONG rc; local
122 rc = DosGetNamedSharedMem((PPVOID)&parent_info, listener_shm_name, PAG_READ);
123 is_parent_process = rc != 0;
126 if (rc == 0) {
198 ULONG rc; local
215 rc = DosAllocSharedMem((PPVOID)&parent_info, listener_shm_name,
219 if (rc) {
220 ap_log_error(APLOG_MARK, APLOG_ALERT, APR_FROM_OS_ERROR(rc), s, APLOGNO(00203)
234 rc = DosCreateMutexSem(NULL, &ap_mpm_accept_mutex, DC_SEM_SHARED, FALSE);
236 if (rc) {
333 ULONG rc; local
[all...]
/httpd/modules/cache/
H A Dmod_file_cache.c131 apr_status_t rc; local
141 if ((rc = apr_stat(&tmp.finfo, fspec, APR_FINFO_MIN,
143 ap_log_error(APLOG_MARK, APLOG_WARNING, rc, cmd->server, APLOGNO(00795)
158 rc = apr_file_open(&fd, fspec, APR_READ | APR_BINARY | APR_XTHREAD,
160 if (rc != APR_SUCCESS) {
161 ap_log_error(APLOG_MARK, APLOG_WARNING, rc, cmd->server, APLOGNO(00798)
177 if ((rc = apr_mmap_create(&new_file->mm, fd, 0,
181 ap_log_error(APLOG_MARK, APLOG_WARNING, rc, cmd->server, APLOGNO(00799)
313 int rc = OK; local
375 rc
[all...]
/httpd/server/
H A Dconnection.c204 int rc; local
207 rc = ap_run_pre_connection(c, csd);
208 if (rc != OK && rc != DONE) {
H A Dutil_pcre.c199 int rc; local
224 rc = pcre_exec((const pcre *)preg->re_pcre, NULL, buff, (int)len,
227 if (rc == 0)
228 rc = nmatch; /* All captured slots were filled in */
230 if (rc >= 0) {
232 for (i = 0; i < (apr_size_t)rc; i++) {
246 switch (rc) {
H A Dlog.c184 apr_status_t rc; local
192 if ((rc = apr_file_open(&stderr_file, filename,
195 ap_log_error(APLOG_MARK, APLOG_STARTUP, rc, NULL, APLOGNO(00086)
198 return rc;
206 if ((rc = apr_file_open_stderr(&stderr_log, stderr_pool))
209 if ((rc = apr_file_dup2(stderr_log, stderr_file, stderr_pool))
227 if (rc != APR_SUCCESS) {
228 ap_log_error(APLOG_MARK, APLOG_CRIT, rc, NULL, APLOGNO(00087)
231 return rc;
254 apr_status_t rc; local
302 int rc; local
1811 int rc; local
[all...]
/httpd/support/
H A Dpasswd_common.h95 int abort_on_oom(int rc);
/httpd/modules/filters/
H A Dmod_ext_filter.c420 apr_status_t rc; local
426 rc = apr_procattr_create(&ctx->procattr, ctx->p);
427 ap_assert(rc == APR_SUCCESS);
429 rc = apr_procattr_io_set(ctx->procattr,
433 ap_assert(rc == APR_SUCCESS);
435 rc = set_resource_limits(f->r, ctx->procattr);
436 ap_assert(rc == APR_SUCCESS);
439 rc = apr_procattr_child_err_set(ctx->procattr,
442 ap_assert(rc == APR_SUCCESS);
445 rc
[all...]
/httpd/server/mpm/event/
H A Devent.c1050 int rc; local
1087 rc = ap_run_pre_connection(c, sock);
1088 if (rc != OK && rc != DONE) {
1175 rc = apr_pollset_add(event_pollset, &cs->pfd);
1211 rc = apr_pollset_add(event_pollset, &cs->pfd);
1214 if (rc != APR_SUCCESS) {
1215 ap_log_error(APLOG_MARK, APLOG_ERR, rc, ap_server_conf,
1217 AP_DEBUG_ASSERT(rc == APR_SUCCESS);
1396 apr_status_t rc; local
1424 apr_status_t rc; local
1540 apr_status_t rc, final_rc= APR_SUCCESS; local
1608 apr_status_t rc; local
1735 apr_status_t rc; local
[all...]
/httpd/modules/generators/
H A Dmod_cgid.c351 int rc; local
356 rc = read(fd, buf + bytes_read, buf_size - bytes_read);
357 } while (rc < 0 && errno == EINTR);
358 switch(rc) {
364 bytes_read += rc;
375 int rc; local
378 rc = write(fd, buf, buf_size);
379 } while (rc < 0 && errno == EINTR);
380 if (rc < 0) {
390 int rc; local
603 int sd, sd2, rc; local
1356 int rc; local
[all...]
/httpd/modules/ldap/
H A Dutil_ldap.c262 int rc = 0, ldap_option = 0; local
309 if (result->rc) {
312 return result->rc;
324 return(result->rc);
331 rc = apr_ldap_rebind_add(ldc->rebind_pool, ldc->ldap, ldc->binddn, ldc->bindpw);
332 if (rc != APR_SUCCESS) {
333 ap_log_error(APLOG_MARK, APLOG_ERR, rc, r->server, APLOGNO(01277)
337 return(rc);
348 if (LDAP_SUCCESS != result->rc) {
351 return(result->rc);
506 int rc; local
542 int rc = 0; local
2919 int rc; local
[all...]
/httpd/modules/metadata/
H A Dmod_version.c147 int rc; local
163 rc = !ap_regexec(compiled, to_match, 0, NULL, 0);
166 return rc;
/httpd/build/rpm/
H A Dhtcacheclean.init38 . /etc/rc.d/init.d/functions

Completed in 88 milliseconds

123