Searched defs:rc (Results 1 - 25 of 60) 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 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...]
H A Dmod_proxy_connect.c213 int failed, rc; local
349 rc = ap_run_pre_connection(backconn, sock);
350 if (rc != OK && rc != DONE) {
353 "pre_connection setup failed (%d)", rc);
/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 Dmain.c478 int rc = OK; local
800 rc = ap_run_mpm(pconf, plog, ap_server_conf);
804 } while (rc == OK);
806 if (rc == DONE) {
807 rc = OK;
809 else if (rc != OK) {
813 destroy_and_exit_process(process, rc);
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 Dapreq_util.c803 apr_status_t rc; local
809 rc = apr_temp_dir_get(&path, pool);
810 if (rc != APR_SUCCESS)
811 return rc;
813 rc = apr_filepath_merge(&tmpl, path, "apreqXXXXXX",
816 if (rc != APR_SUCCESS)
817 return rc;
828 rc = apr_file_mktemp(fp, tmpl, flag, pool);
830 if (rc == APR_SUCCESS) {
838 return rc;
[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/modules/ssl/
H A Dmod_ssl.c519 int rc; local
552 rc = ssl_run_pre_handshake(c, ssl, sslconn->is_proxy ? 1 : 0);
553 if (rc != OK && rc != DECLINED) {
554 return rc;
H A Dssl_ct_sct.c29 int rc; local
39 rc = EVP_VerifyFinal(&ctx, sctf->sig, sctf->siglen, pkey);
42 return rc == 1 ? APR_SUCCESS : APR_EINVAL;
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_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_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...]
/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/support/
H A Dpasswd_common.c53 int abort_on_oom(int rc) argument
H A Dhtdigest.c70 static void cleanup_tempfile_and_exit(int rc) argument
75 exit(rc);
/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...]
H A Dmod_socache_dbm.c271 apr_status_t rc; local
285 if ((rc = apr_dbm_open(&dbm, ctx->data_file, APR_DBM_RWCREATE,
287 ap_log_error(APLOG_MARK, APLOG_ERR, rc, s, APLOGNO(00809)
291 return rc;
293 rc = apr_dbm_fetch(dbm, dbmkey, &dbmval);
294 if (rc != APR_SUCCESS) {
/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/modules/core/
H A Dmod_watchdog.c266 apr_status_t rc; local
269 rc = apr_thread_mutex_create(&w->startup, APR_THREAD_MUTEX_UNNESTED, p);
270 if (rc != APR_SUCCESS)
271 return rc;
275 rc = apr_proc_mutex_child_init(&w->mutex,
277 if (rc != APR_SUCCESS)
278 return rc;
288 rc = apr_thread_create(&w->thread, NULL, wd_worker, w, p);
289 if (rc) {
297 return rc;
[all...]
/httpd/server/mpm/mpmt_os2/
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...]
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...]
/httpd/modules/cluster/
H A Dmod_heartmonitor.c621 apr_status_t rc; local
635 rc = apr_poll(&pfd, 1, &n, timeout);
641 if (rc == APR_SUCCESS && (pfd.rtnevents & APR_POLLIN)) {

Completed in 55 milliseconds

123