Searched refs:rv (Results 1 - 25 of 165) sorted by relevance

1234567

/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...]
H A Dhttxt2dbm.c111 apr_status_t rv = APR_SUCCESS; local
163 rv = apr_dbm_store(dbm, dbmkey, dbmval);
167 if (rv != APR_SUCCESS) {
172 return rv;
178 apr_status_t rv = APR_SUCCESS; local
203 rv = apr_getopt_init(&opt, pool, argc, argv);
205 if (rv != APR_SUCCESS) {
215 while ((rv = apr_getopt(opt, "vf::i::o::", &ch, &opt_arg)) == APR_SUCCESS) {
252 if (rv != APR_EOF) {
279 rv
[all...]
/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 Dcore_filters.c97 apr_status_t rv; local
123 rv = ap_run_insert_network_bucket(f->c, ctx->b, net->client_socket);
124 if (rv != APR_SUCCESS)
125 return rv;
146 rv = apr_brigade_split_line(b, ctx->b, block, HUGE_STRING_LEN);
151 if (APR_STATUS_IS_EAGAIN(rv) && block == APR_NONBLOCK_READ) {
152 rv = APR_SUCCESS;
154 return rv;
179 rv = apr_bucket_read(e, &str, &len, APR_NONBLOCK_READ);
181 if (rv !
380 apr_status_t rv; local
655 apr_status_t rv; local
763 apr_status_t rv; local
801 apr_status_t rv = APR_SUCCESS, arv; local
868 apr_status_t rv = APR_SUCCESS; local
[all...]
H A Dmpm_unix.c320 apr_status_t rv; local
330 rv = apr_proc_wait(&proc, &status, &why, APR_NOWAIT);
331 if (rv == APR_CHILD_DONE) {
337 else if (rv != APR_CHILD_NOTDONE) {
340 ap_log_error(APLOG_MARK, APLOG_NOTICE, rv, ap_server_conf, APLOGNO(00048)
434 apr_status_t rv; local
437 rv = apr_file_pipe_create_ex(&((*pod)->pod_in), &((*pod)->pod_out),
439 if (rv != APR_SUCCESS) {
440 return rv;
457 apr_status_t rv; local
474 apr_status_t rv; local
491 apr_status_t rv; local
506 apr_status_t rv; local
549 apr_status_t rv; local
566 apr_status_t rv; local
598 apr_status_t rv = APR_SUCCESS; local
613 apr_status_t rv; local
717 apr_status_t rv; local
730 apr_status_t rv = APR_SUCCESS; local
770 apr_status_t rv; local
856 apr_status_t rv; local
[all...]
/httpd/server/mpm/simple/
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...]
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_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...]
/httpd/server/mpm/worker/
H A Dfdqueue.c58 apr_status_t rv; local
63 rv = apr_thread_mutex_create(&qi->idlers_mutex, APR_THREAD_MUTEX_DEFAULT,
65 if (rv != APR_SUCCESS) {
66 return rv;
68 rv = apr_thread_cond_create(&qi->wait_for_idler, pool);
69 if (rv != APR_SUCCESS) {
70 return rv;
85 apr_status_t rv; local
112 rv = apr_thread_mutex_lock(queue_info->idlers_mutex);
113 if (rv !
133 apr_status_t rv; local
219 apr_status_t rv; local
264 apr_status_t rv; local
298 apr_status_t rv; local
333 apr_status_t rv; local
377 apr_status_t rv; local
388 apr_status_t rv; local
[all...]
/httpd/server/mpm/event/
H A Dfdqueue.c70 apr_status_t rv; local
75 rv = apr_thread_mutex_create(&qi->idlers_mutex, APR_THREAD_MUTEX_DEFAULT,
77 if (rv != APR_SUCCESS) {
78 return rv;
80 rv = apr_thread_cond_create(&qi->wait_for_idler, pool);
81 if (rv != APR_SUCCESS) {
82 return rv;
99 apr_status_t rv; local
105 rv = apr_thread_mutex_lock(queue_info->idlers_mutex);
106 if (rv !
142 apr_status_t rv; local
282 apr_status_t rv; local
328 apr_status_t rv; local
367 apr_status_t rv; local
396 apr_status_t rv; local
426 apr_status_t rv; local
479 apr_status_t rv; local
490 apr_status_t rv; local
[all...]
/httpd/modules/ssl/
H A Dssl_ct_log_config.c36 apr_status_t rv; local
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; local
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;
131 apr_status_t rv; local
193 apr_status_t rv; local
309 apr_status_t rv; local
[all...]
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_ct_util.c31 apr_status_t rv; local
33 rv = apr_filepath_merge(out, dirname, basename, 0, p);
34 if (rv != APR_SUCCESS) {
35 ap_log_error(APLOG_MARK, APLOG_ERR, rv, s,
40 return rv;
46 apr_status_t rv = apr_stat(&finfo, dirname, APR_FINFO_TYPE, p); local
48 return rv == APR_SUCCESS && finfo.filetype == APR_DIR;
54 apr_status_t rv = apr_stat(&finfo, filename, APR_FINFO_TYPE, p); local
56 return rv == APR_SUCCESS && finfo.filetype == APR_REG;
111 apr_status_t rv; local
137 apr_status_t rv; local
194 apr_status_t rv; local
242 apr_status_t rv; local
302 apr_status_t rv; local
354 apr_status_t rv; local
414 apr_status_t rv = apr_thread_mutex_lock(m); local
420 apr_status_t rv = apr_thread_mutex_unlock(m); local
429 apr_status_t rv; local
448 apr_status_t rv; local
511 apr_status_t rv; local
572 apr_status_t rv; local
593 apr_status_t rv; local
616 apr_status_t rv; local
645 apr_status_t rv; local
669 apr_status_t rv; local
[all...]
H A Dssl_ct_sct.c48 apr_status_t rv = APR_EINVAL; local
72 rv = verify_signature(sctf, pubkey);
73 if (rv != APR_SUCCESS) {
76 rv, c,
83 return rv;
97 apr_status_t rv; local
117 rv = ctutil_deserialize_uint64(&cur, &len, &fields->timestamp);
118 ap_assert(rv == APR_SUCCESS);
135 rv = ctutil_deserialize_uint16(&cur, &len, &fields->extlen);
136 ap_assert(rv
[all...]
H A Dssl_util_ocsp.c63 apr_status_t rv; local
69 rv = apr_sockaddr_info_get(&sa, uri->hostname, APR_UNSPEC, uri->port, 0, p);
70 if (rv) {
71 ap_log_cerror(APLOG_MARK, APLOG_ERR, rv, c, APLOGNO(01972)
83 rv = apr_socket_create(&sd, sa->family, SOCK_STREAM, APR_PROTO_TCP, p);
84 if (rv == APR_SUCCESS) {
87 rv = apr_socket_connect(sd, sa);
88 if (rv == APR_SUCCESS) {
96 ap_log_cerror(APLOG_MARK, APLOG_ERR, rv, c, APLOGNO(01974)
113 rv
135 apr_status_t rv; local
234 apr_status_t rv; local
[all...]
H A Dmod_ssl_ct.c281 apr_status_t rv, tmprv; local
290 rv = ctutil_path_join(&collated_fn, cert_sct_dir, COLLATED_SCTS_BASENAME, p, s);
291 if (rv != APR_SUCCESS) {
292 return rv;
306 rv = apr_file_open(&tmpfile, tmp_collated_fn,
310 if (rv != APR_SUCCESS) {
311 ap_log_error(APLOG_MARK, APLOG_ERR, rv, s,
313 return rv;
319 rv = ctutil_file_write_uint16(s, tmpfile, overall_len);
320 if (rv !
503 apr_status_t rv; local
529 apr_status_t rv; local
576 apr_status_t rv, tmprv; local
649 apr_status_t rv; local
768 apr_status_t rv; local
823 apr_status_t rv; local
885 apr_status_t rv; local
979 apr_status_t rv; local
1089 apr_status_t rv; local
1120 apr_status_t rv; local
1150 apr_status_t rv = APR_SUCCESS; local
1222 apr_status_t rv; local
1411 apr_status_t rv, tmprv; local
1445 apr_status_t rv; local
1621 apr_status_t rv; local
1670 apr_status_t rv = APR_SUCCESS; local
1834 apr_status_t rv; local
2137 apr_status_t rv = APR_SUCCESS; local
2291 apr_status_t rv; local
2453 apr_status_t rv = ap_mutex_register(pconf, SSL_CT_MUTEX_TYPE, NULL, local
2468 apr_status_t rv; local
2503 apr_status_t rv; local
2877 apr_status_t rv; local
2945 apr_status_t rv; local
[all...]
/httpd/modules/cache/
H A Dmod_socache_memcache.c86 apr_status_t rv; local
103 rv = apr_memcache_create(p, nservers, 0, &ctx->mc);
104 if (rv != APR_SUCCESS) {
105 ap_log_error(APLOG_MARK, APLOG_CRIT, rv, s, APLOGNO(00785)
108 return rv;
120 rv = apr_parse_addr_port(&host_str, &scope_id, &port, split, p);
121 if (rv != APR_SUCCESS) {
122 ap_log_error(APLOG_MARK, APLOG_CRIT, rv, s, APLOGNO(00786)
124 return rv;
128 ap_log_error(APLOG_MARK, APLOG_CRIT, rv,
202 apr_status_t rv; local
234 apr_status_t rv; local
268 apr_status_t rv; local
[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...]
/httpd/modules/cluster/
H A Dmod_heartmonitor.c78 apr_status_t rv; local
80 rv = apr_socket_create(&ctx->sock, ctx->mcast_addr->family,
83 if (rv) {
84 ap_log_error(APLOG_MARK, APLOG_CRIT, rv, ctx->s, APLOGNO(02068)
86 return rv;
89 rv = apr_socket_opt_set(ctx->sock, APR_SO_REUSEADDR, 1);
90 if (rv) {
91 ap_log_error(APLOG_MARK, APLOG_CRIT, rv, ctx->s, APLOGNO(02069)
93 return rv;
97 rv
229 apr_status_t rv; local
397 apr_status_t rv; local
468 apr_status_t rv; local
566 apr_status_t rv; local
589 apr_status_t rv = APR_SUCCESS; local
666 apr_status_t rv; local
827 apr_status_t rv; local
[all...]
H A Dmod_heartbeat.c84 apr_status_t rv; local
85 rv = apr_socket_create(&sock, ctx->mcast_addr->family,
87 if (rv) {
88 ap_log_error(APLOG_MARK, APLOG_WARNING, rv,
93 rv = apr_mcast_loopback(sock, 1);
94 if (rv) {
95 ap_log_error(APLOG_MARK, APLOG_WARNING, rv,
100 rv = apr_socket_sendto(sock, ctx->mcast_addr, 0, buf, &len);
101 if (rv) {
102 ap_log_error(APLOG_MARK, APLOG_WARNING, rv,
169 apr_status_t rv; local
[all...]
/httpd/modules/proxy/
H A Dmod_proxy_fdpass.c56 apr_status_t rv; local
59 rv = apr_socket_create(&s, AF_UNIX, SOCK_STREAM, 0, p);
61 if (rv != APR_SUCCESS) {
62 return rv;
65 rv = ap_proxy_connect_uds(s, path, p);
66 if (rv != APR_SUCCESS) {
67 return rv;
80 apr_status_t rv; local
88 rv = apr_os_sock_get(&rawsock, outbound);
89 if (rv !
131 apr_status_t rv; local
[all...]
/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/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...]
H A Dmod_authn_socache.c71 apr_status_t rv = ap_mutex_register(pconf, authn_cache_id, local
73 if (rv != APR_SUCCESS) {
74 ap_log_perror(APLOG_MARK, APLOG_CRIT, rv, plog, APLOGNO(01673)
87 apr_status_t rv; local
116 rv = ap_global_mutex_create(&authn_cache_mutex, NULL,
118 if (rv != APR_SUCCESS) {
119 ap_log_perror(APLOG_MARK, APLOG_CRIT, rv, plog, APLOGNO(01675)
125 rv = socache_provider->init(socache_instance, authn_cache_id,
127 if (rv != APR_SUCCESS) {
128 ap_log_perror(APLOG_MARK, APLOG_CRIT, rv, plo
138 apr_status_t rv; local
292 apr_status_t rv; local
372 apr_status_t rv; local
417 apr_status_t rv; local
[all...]
/httpd/modules/metadata/
H A Dmod_ident.c90 apr_status_t rv; local
93 if ((rv = apr_sockaddr_info_get(&localsa, conn->local_ip, APR_UNSPEC,
98 ap_log_error(APLOG_MARK, APLOG_CRIT, rv, srv, APLOGNO(01492)
101 return rv;
104 if ((rv = apr_sockaddr_info_get(&destsa, conn->client_ip,
109 ap_log_error(APLOG_MARK, APLOG_CRIT, rv, srv, APLOGNO(01493)
112 return rv;
115 if ((rv = apr_socket_create(newsock,
118 ap_log_error(APLOG_MARK, APLOG_CRIT, rv, srv, APLOGNO(01494)
120 return rv;
307 apr_status_t rv; local
[all...]

Completed in 756 milliseconds

1234567