• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/apache-786.1/httpd/modules/filters/

Lines Matching refs:rv

175         apr_status_t rv;
196 rv = apr_tokenize_to_argv(parms, &(filter->args), p);
197 if (rv != APR_SUCCESS) {
385 apr_status_t rv;
388 rv = apr_procattr_limit_set(procattr, APR_LIMIT_CPU, conf->limit_cpu);
389 ap_assert(rv == APR_SUCCESS); /* otherwise, we're out of sync with APR */
392 rv = apr_procattr_limit_set(procattr, APR_LIMIT_MEM, conf->limit_mem);
393 ap_assert(rv == APR_SUCCESS); /* otherwise, we're out of sync with APR */
396 rv = apr_procattr_limit_set(procattr, APR_LIMIT_NPROC, conf->limit_nproc);
397 ap_assert(rv == APR_SUCCESS); /* otherwise, we're out of sync with APR */
577 apr_status_t rv;
626 rv = init_ext_filter_process(f);
627 if (rv != APR_SUCCESS) {
628 return rv;
668 apr_status_t rv;
673 rv = apr_file_read(ctx->proc->out,
676 if ((rv && !APR_STATUS_IS_EAGAIN(rv)) ||
678 ap_log_rerror(APLOG_MARK, APLOG_DEBUG, rv, r,
680 !rv ? len : -1);
682 if (rv != APR_SUCCESS) {
683 return rv;
700 apr_status_t rv;
706 rv = apr_file_write(ctx->proc->in,
710 if (rv != APR_SUCCESS && !APR_STATUS_IS_EAGAIN(rv)) {
711 ap_log_rerror(APLOG_MARK, APLOG_ERR, rv, f->r,
714 return rv;
716 if (APR_STATUS_IS_EAGAIN(rv)) {
721 rv = drain_available_output(f, bb);
722 if (APR_STATUS_IS_EAGAIN(rv)) {
727 rv = apr_pollset_poll(ctx->pollset, f->r->server->timeout,
729 if (rv || dc->debug >= DBGLVL_GORY) {
731 rv, f->r, "apr_pollset_poll()");
733 if (rv != APR_SUCCESS && !APR_STATUS_IS_EINTR(rv)) {
735 return rv;
748 else if (rv != APR_SUCCESS) {
749 return rv;
753 return rv;
771 apr_status_t rv;
788 rv = apr_bucket_read(b, &data, &len, APR_BLOCK_READ);
789 if (rv != APR_SUCCESS) {
790 ap_log_rerror(APLOG_MARK, APLOG_ERR, rv, r, "apr_bucket_read()");
791 return rv;
796 (rv = pass_data_to_filter(f, data, (apr_size_t)len, bb_tmp))
798 return rv;
810 if ((rv = apr_file_close(ctx->proc->in)) != APR_SUCCESS) {
811 ap_log_rerror(APLOG_MARK, APLOG_ERR, rv, r,
813 return rv;
818 rv = apr_file_pipe_timeout_set(ctx->proc->out,
820 if (rv) {
821 ap_log_rerror(APLOG_MARK, APLOG_ERR, rv, r,
823 return rv;
829 rv = apr_file_read(ctx->proc->out,
832 if ((rv && !APR_STATUS_IS_EOF(rv) && !APR_STATUS_IS_EAGAIN(rv)) ||
834 ap_log_rerror(APLOG_MARK, APLOG_DEBUG, rv, r,
836 !rv ? len : -1);
838 if (APR_STATUS_IS_EAGAIN(rv)) {
846 if (rv == APR_SUCCESS) {
850 } while (rv == APR_SUCCESS);
852 if (!APR_STATUS_IS_EOF(rv)) {
853 return rv;
868 apr_status_t rv;
871 if ((rv = init_filter_instance(f)) != APR_SUCCESS) {
873 ap_log_rerror(APLOG_MARK, APLOG_ERR, rv, r,
903 rv = ef_unified_filter(f, bb);
904 if (rv != APR_SUCCESS) {
905 ap_log_rerror(APLOG_MARK, APLOG_ERR, rv, r,
909 if ((rv = ap_pass_brigade(f->next, bb)) != APR_SUCCESS) {
910 ap_log_rerror(APLOG_MARK, APLOG_ERR, rv, r,
913 return rv;
921 apr_status_t rv;
924 if ((rv = init_filter_instance(f)) != APR_SUCCESS) {
926 ap_log_rerror(APLOG_MARK, APLOG_ERR, rv, f->r,
947 rv = ap_get_brigade(f->next, bb, mode, block, readbytes);
948 if (rv != APR_SUCCESS) {
949 return rv;
952 rv = ef_unified_filter(f, bb);
953 return rv;