/httpd/modules/lua/ |
H A D | lua_passwd.c | 92 int ret = 0; local 105 ret = generate_salt(salt, 8, &ctx->errstr, ctx->pool); 106 if (ret != 0) { 107 ret = ERR_GENERAL; 114 ret = ERR_GENERAL; 120 ret = generate_salt(salt, 8, &ctx->errstr, ctx->pool); 121 if (ret != 0) 127 ret = ERR_PWMISMATCH; 151 ret = ERR_RANDOM; 162 ret [all...] |
/httpd/server/ |
H A D | provider.c | 135 apr_array_header_t *ret = apr_array_make(pool, 10, sizeof(ap_list_provider_names_t)); local 142 return ret; 149 return ret; 156 return ret; 161 entry = apr_array_push(ret); 164 return ret; 169 apr_array_header_t *ret = apr_array_make(pool, 10, sizeof(ap_list_provider_groups_t)); local 176 return ret; 191 entry = apr_array_push(ret); 196 return ret; [all...] |
H A D | util_regex.c | 46 ap_rxplus_t *ret = apr_pcalloc(pool, sizeof(ap_rxplus_t)); local 69 if (ap_regcomp(&ret->rx, pattern, 0) == 0) { 70 apr_pool_cleanup_register(pool, &ret->rx, rxplus_cleanup, 72 return ret; 92 ret->subs = apr_pstrndup(pool, str, (endp-str)); 98 case 'i': ret->flags |= AP_REG_ICASE; break; 99 case 'm': ret->flags |= AP_REG_NEWLINE; break; 100 case 'n': ret->flags |= AP_REG_NOMEM; break; 101 case 'g': ret->flags |= AP_REG_MULTI; break; 102 case 's': ret 142 int ret = 1; local [all...] |
H A D | mpm_common.c | 195 apr_proc_t *ret, apr_pool_t *p, 206 rv = apr_proc_wait_all_procs(ret, exitcode, status, APR_NOWAIT, p); 208 ret->pid = -1; 217 ret->pid = -1; 194 ap_wait_or_timeout(apr_exit_why_e *status, int *exitcode, apr_proc_t *ret, apr_pool_t *p, server_rec *s) argument
|
H A D | util_filter.c | 273 ap_filter_rec_t* ret ; local 276 ret = register_filter(name, f, filter_init, ftype, 278 ret->proto_flags = proto_flags ; 279 return ret ;
|
/httpd/modules/debugging/ |
H A D | mod_dumpio.c | 131 apr_status_t ret; local 142 ret = ap_get_brigade(f->next, bb, mode, block, readbytes); 144 if (ret == APR_SUCCESS) { 151 "mod_dumpio: %s - %d", f->frec->name, ret) ; 152 return ret;
|
/httpd/modules/examples/ |
H A D | mod_case_filter_in.c | 73 apr_status_t ret; local 81 ret = ap_get_brigade(f->next, pCtx->pbbTmp, eMode, eBlock, nBytes); 83 if (eMode == AP_MODE_EATCRLF || ret != APR_SUCCESS) 84 return ret; 108 ret=apr_bucket_read(pbktIn, &data, &len, eBlock); 109 if(ret != APR_SUCCESS) 110 return ret;
|
/httpd/support/ |
H A D | passwd_common.c | 184 int ret = 0; local 195 if ((ret = get_password(ctx)) != 0) 196 return ret; 207 ret = generate_salt(salt, 8, &ctx->errstr, ctx->pool); 208 if (ret != 0) 214 ret = ERR_GENERAL; 225 ret = generate_salt(salt, 8, &ctx->errstr, ctx->pool); 226 if (ret != 0) 232 ret = ERR_PWMISMATCH; 255 ret [all...] |
H A D | htdbm.c | 250 int ret; local 254 ret = mkhash(&htdbm->ctx); 255 if (ret != 0) { 257 return ret; 322 int i, ret, args_left = 2; local 373 ret = parse_common_options(&h->ctx, opt, opt_arg); 374 if (ret) { 376 exit(ret); 411 ret = get_password(&h->ctx); 412 if (ret) { [all...] |
H A D | htpasswd.c | 77 int ret; local 81 ret = mkhash(ctx); 82 if (ret) 83 return ret; 165 int i, ret; local 192 ret = parse_common_options(ctx, opt, opt_arg); 193 if (ret) { 195 exit(ret); 254 int ret; local 256 if (ctx->passwd == NULL && (ret [all...] |
/httpd/modules/aaa/ |
H A D | mod_access_compat.c | 320 int ret = OK; local 325 ret = HTTP_FORBIDDEN; 327 ret = OK; 330 ret = HTTP_FORBIDDEN; 335 ret = HTTP_FORBIDDEN; 338 ret = OK; 344 ret = OK; 347 ret = HTTP_FORBIDDEN; 351 if (ret == HTTP_FORBIDDEN) { 358 return ret; [all...] |
H A D | mod_authn_core.c | 117 authn_status ret = AUTH_USER_NOT_FOUND; local 132 ret = prvdraliasrec->provider->check_password(r,user,password); 137 return ret; 149 authn_status ret = AUTH_USER_NOT_FOUND; local 164 ret = prvdraliasrec->provider->get_realm_hash(r,user,realm,rethash); 169 return ret;
|
H A D | mod_authn_dbd.c | 52 authn_dbd_conf *ret = apr_pcalloc(pool, sizeof(authn_dbd_conf)); local 53 return ret; 60 authn_dbd_conf *ret = apr_palloc(pool, sizeof(authn_dbd_conf)); local 61 ret->user = (add->user == NULL) ? base->user : add->user; 62 ret->realm = (add->realm == NULL) ? base->realm : add->realm; 63 return ret; 108 int ret; local 133 if ((ret = apr_dbd_pvselect(dbd->driver, r->pool, dbd->handle, &res, 138 user, apr_dbd_error(dbd->driver, dbd->handle, ret)); 205 int ret; local [all...] |
H A D | mod_authz_dbd.c | 60 authz_dbd_cfg *ret = apr_pcalloc(pool, sizeof(authz_dbd_cfg)); local 61 ret->redirect = -1; 62 return ret; 68 authz_dbd_cfg *ret = apr_palloc(pool, sizeof(authz_dbd_cfg)); local 70 ret->query = (add->query == NULL) ? base->query : add->query; 71 ret->redir_query = (add->redir_query == NULL) 73 ret->redirect = (add->redirect == -1) ? base->redirect : add->redirect; 74 return ret;
|
H A D | mod_authn_socache.c | 198 authn_cache_dircfg *ret = apr_palloc(pool, sizeof(authn_cache_dircfg)); local 199 ret->timeout = apr_time_from_sec(300); 200 ret->providers = NULL; 201 ret->context = directory; 202 return ret; 209 authn_cache_dircfg *ret = apr_pmemdup(pool, add, sizeof(authn_cache_dircfg)); local 212 ret->context = base->context; 215 ret->timeout = base->timeout; 218 ret->providers = base->providers; 220 return ret; [all...] |
/httpd/modules/loggers/ |
H A D | mod_log_debug.c | 68 int ret = ap_expr_exec(r, entry->condition, &err); local 74 if (!ret)
|
/httpd/modules/slotmem/ |
H A D | mod_slotmem_plain.c | 170 apr_status_t ret; local 183 ret = slotmem_dptr(slot, id, &ptr); 184 if (ret != APR_SUCCESS) { 185 return ret; 196 apr_status_t ret; local 209 ret = slotmem_dptr(slot, id, &ptr); 210 if (ret != APR_SUCCESS) { 211 return ret;
|
/httpd/test/ |
H A D | time-sem.c | 113 int ret; local 115 while ((ret = fcntl(fcntl_fd, F_SETLKW, &lock_it)) < 0 && errno == EINTR) 118 if (ret < 0) { 174 int ret; local 176 while ((ret = flock(flock_fd, LOCK_EX)) < 0 && errno == EINTR) 179 if (ret < 0) {
|
/httpd/modules/arch/unix/ |
H A D | mod_privileges.c | 75 priv_cfg *ret = apr_pmemdup(pool, add, sizeof(priv_cfg)); local 76 ret->mode = (add->mode == PRIV_UNSET) ? base->mode : add->mode; 77 return ret; 126 priv_dir_cfg *ret = apr_palloc(pool, sizeof(priv_dir_cfg)); local 127 ret->mode = (add->mode == PRIV_UNSET) ? base->mode : add->mode; 128 return ret;
|
/httpd/modules/filters/ |
H A D | mod_xml2enc.c | 601 xml2cfg* ret = apr_pcalloc(pool, sizeof(xml2cfg)); local 602 ret->default_encoding = XML_CHAR_ENCODING_NONE ; 603 return ret; 610 xml2cfg* ret = apr_pcalloc(pool, sizeof(xml2cfg)); local 611 ret->default_encoding = (add->default_encoding == XML_CHAR_ENCODING_NONE) 613 ret->default_charset = add->default_charset 615 ret->skipto = add->skipto ? add->skipto : base->skipto; 616 return ret;
|
H A D | mod_filter.c | 276 apr_status_t ret; local 323 ret = ctx->func(f, bb); 327 return ret;
|
H A D | mod_reqtimeout.c | 513 const char *ret = NULL; local 531 ret = parse_int(p, rate_str, &rate); 532 if (ret) 533 return ret; 540 ret = parse_int(p, max_str, &max); 541 if (ret) 542 return ret; 545 ret = parse_int(p, initial_str, &initial); 550 ret = parse_int(p, val, &initial); 553 if (ret) [all...] |
/httpd/modules/mappers/ |
H A D | mod_alias.c | 613 char *ret; local 620 if ((ret = try_redirect(r, &status)) != NULL 621 || (ret = try_alias_list(r, serverconf->redirects, 1, &status)) 623 if (ret == PREGSUB_ERROR) 626 if (ret[0] == '/') { 627 char *orig_target = ret; 629 ret = ap_construct_url(r->pool, ret, r); 633 orig_target, r->uri, ret); 635 if (!ap_is_url(ret)) { 670 char *ret; local [all...] |
/httpd/modules/session/ |
H A D | mod_session_dbd.c | 170 apr_status_t ret = APR_SUCCESS; local 206 ret = dbd_load(r, key, &val); 207 if (ret != APR_SUCCESS) { 208 return ret; 217 ret = dbd_load(r, r->user, &val); 218 if (ret != APR_SUCCESS) { 219 return ret; 401 apr_status_t ret = APR_SUCCESS; local 429 ret = dbd_save(r, oldkey, newkey, z->encoded, z->expiry); 432 ret [all...] |
/httpd/modules/generators/ |
H A D | mod_info.c | 702 int ret = strcmp(a->provider_group, b->provider_group); local 703 if (!ret) 704 ret = strcmp(a->provider_version, b->provider_version); 705 return ret;
|