/httpd/server/ |
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 | 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...] |
/httpd/include/ |
H A D | ap_hooks.h | 70 * @param ret The return type of the hook 74 #define AP_DECLARE_HOOK(ret,name,args) \ 75 APR_DECLARE_EXTERNAL_HOOK(ap,AP,ret,name,args) 105 * @param ret The return type of the hook (and the hook runner) 117 #define AP_IMPLEMENT_HOOK_RUN_ALL(ret,name,args_decl,args_use,ok,decline) \ 118 APR_IMPLEMENT_EXTERNAL_HOOK_RUN_ALL(ap,AP,ret,name,args_decl, \ 126 * @param ret The return type of the hook (and the hook runner) 137 #define AP_IMPLEMENT_HOOK_RUN_FIRST(ret,name,args_decl,args_use,decline) \ 138 APR_IMPLEMENT_EXTERNAL_HOOK_RUN_FIRST(ap,AP,ret,name,args_decl, \ 150 #define AP_IMPLEMENT_OPTIONAL_HOOK_RUN_ALL(ret,nam [all...] |
/httpd/support/ |
H A D | list_hooks.pl | 35 print " $h->{ret} $hook($h->{args})\n" if defined $h->{args}; 69 my($ret,$name,$args); 70 while(!(($ret,$name,$args)= 79 $ret=~s/\s*$//; 81 # print "found $ret $name($args) in $file\n"; 86 $::Hooks{$name}->{ret}=$ret;
|
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 | 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...] |
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 | ab.c | 398 void *ret = malloc(size); local 399 if (ret == NULL) { 404 return ret; 409 void *ret = calloc(num, size); local 410 if (ret == NULL) { 415 return ret; 420 char *ret = strdup(s); local 421 if (ret == NULL) { 426 return ret; 483 static long ssl_print_cb(BIO *bio,int cmd,const char *argp,int argi,long argl,long ret) argument 649 int ret, ecode; local [all...] |
/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/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/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/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_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...] |
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;
|
/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;
|
H A D | mod_slotmem_shm.c | 556 apr_status_t ret; local 569 ret = slotmem_dptr(slot, id, &ptr); 570 if (ret != APR_SUCCESS) { 571 return ret; 583 apr_status_t ret; local 596 ret = slotmem_dptr(slot, id, &ptr); 597 if (ret != APR_SUCCESS) { 598 return ret;
|
/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/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/filters/ |
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...] |
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;
|
/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/generators/ |
H A D | mod_cgid.c | 906 int ret = OK; local 919 return ret; 943 ret = cgid_start(p, main_server, procnew); 944 if (ret != OK ) { 945 return ret; 958 return ret; 1067 static int log_scripterror(request_rec *r, cgid_server_conf * conf, int ret, argument 1084 return ret; 1092 apr_file_printf(f, "%%%% %d %s\n", ret, r->filename); 1097 return ret; 1100 log_script(request_rec *r, cgid_server_conf * conf, int ret, char *dbuf, const char *sbuf, apr_bucket_brigade *bb, apr_file_t *script_err) argument 1602 int ret; local [all...] |
H A D | mod_cgi.c | 164 static int log_scripterror(request_rec *r, cgi_server_conf * conf, int ret, argument 183 return ret; 191 apr_file_printf(f, "%%%% %d %s\n", ret, r->filename); 196 return ret; 220 static int log_script(request_rec *r, cgi_server_conf * conf, int ret, argument 248 return ret; 256 apr_file_printf(f, "%%%% %d %s\n", ret, r->filename); 316 return ret; 942 int ret; local 944 if ((ret [all...] |