/httpd/modules/lua/ |
H A D | lua_apr.c | 22 req_table_t *ap_lua_check_apr_table(lua_State *L, int index) argument 25 luaL_checkudata(L, index, "Apr.Table"); 26 t = lua_unboxpointer(L, index);
|
H A D | lua_config.c | 23 static ap_lua_dir_cfg *check_dir_config(lua_State *L, int index) argument 26 luaL_checkudata(L, index, "Apache2.DirConfig"); 27 cfg = (ap_lua_dir_cfg *) lua_unboxpointer(L, index); 31 static cmd_parms *check_cmd_parms(lua_State *L, int index) argument 34 luaL_checkudata(L, index, "Apache2.CommandParameters"); 35 cmd = (cmd_parms *) lua_unboxpointer(L, index);
|
H A D | lua_dbd.c | 29 static request_rec *ap_lua_check_request_rec(lua_State *L, int index) argument 32 luaL_checkudata(L, index, "Apache2.Request"); 33 r = lua_unboxpointer(L, index); 665 and a userdata at index 0, which will call lua_dbgc when garbage collected.
|
H A D | lua_request.c | 113 * Verify that the thing at index is a request_rec wrapping 117 static request_rec *ap_lua_check_request_rec(lua_State *L, int index) argument 120 luaL_checkudata(L, index, "Apache2.Request"); 121 r = (request_rec *) lua_unboxpointer(L, index);
|
/httpd/modules/proxy/examples/ |
H A D | mod_lbmethod_rr.c | 37 int index; member in struct:__anon274 56 /* The index of the candidate last chosen is stored in ctx->index */ 68 "proxy: roundrobin index: %d (%d)", 69 ctx->index, (int)getpid()); 76 if (i < ctx->index) 95 ctx->index += 1; 96 if (ctx->index >= balancer->workers->nelts) { 97 ctx->index = 0;
|
/httpd/modules/experimental/ |
H A D | mod_noloris.c | 96 int index = 0; local 129 n = totals + index++;
|
/httpd/modules/proxy/ |
H A D | mod_proxy_balancer.c | 815 unsigned int index; local 839 bshm = ap_proxy_find_balancershm(storage, conf->bslot, balancer, &index); 841 if ((rv = storage->fgrab(conf->bslot, index)) != APR_SUCCESS) { 847 if ((rv = storage->grab(conf->bslot, &index)) != APR_SUCCESS) { 851 if ((rv = storage->dptr(conf->bslot, index, (void *)&bshm)) != APR_SUCCESS) { 856 if ((rv = ap_proxy_share_balancer(balancer, bshm, index)) != APR_SUCCESS) { 887 shm = ap_proxy_find_workershm(storage, balancer->wslot, worker, &index); 889 if ((rv = storage->fgrab(balancer->wslot, index)) != APR_SUCCESS) { 895 if ((rv = storage->grab(balancer->wslot, &index)) != APR_SUCCESS) { 900 if ((rv = storage->dptr(balancer->wslot, index, (voi 1187 unsigned int index; local [all...] |
H A D | mod_proxy.h | 363 int index; /* shm array index */ member in struct:__anon284 435 int index; /* shm array index */ member in struct:__anon286 678 * @param i index into shm 750 * @param i index into shm 773 * @param index pointer to index within slotmem of worker 779 unsigned int *index); 786 * @param index pointe [all...] |
H A D | proxy_util.c | 1233 balancer->s->index = i; 1820 worker->s->index = i; 3150 int index; local 3176 for (index = 0; index < b->max_workers; index++) { 3179 if ((rv = storage->dptr(b->wslot, (unsigned int)index, (void *)&shm)) != APR_SUCCESS) { 3234 unsigned int *index) 3245 *index = i; 3255 unsigned int *index) 3231 ap_proxy_find_workershm(ap_slotmem_provider_t *storage, ap_slotmem_instance_t *slot, proxy_worker *worker, unsigned int *index) argument 3252 ap_proxy_find_balancershm(ap_slotmem_provider_t *storage, ap_slotmem_instance_t *slot, proxy_balancer *balancer, unsigned int *index) argument [all...] |
/httpd/modules/core/ |
H A D | mod_macro.c | 556 int index; /* current element */ member in struct:__anon96 588 if (ml->index >= ml->contents->nelts) { 598 ml->index++; 600 ml->length = ml->index >= ml->contents->nelts ? 601 0 : strlen(tab[ml->index]); 604 *ch = tab[ml->index][ml->char_index++]; 651 /* move index at end of stream... */ 652 ml->index = ml->contents->nelts; 671 ls->index = 0;
|
/httpd/server/mpm/motorz/ |
H A D | motorz.c | 1189 int index; local 1389 for (index = 0; index < ap_daemons_limit; ++index) { 1390 if (ap_scoreboard_image->servers[index][0].status != SERVER_DEAD) { 1392 ap_mpm_safe_kill(MPM_CHILD_PID(index), AP_SIG_GRACEFUL); 1420 for (index = 0; index < ap_daemons_limit; ++index) { 1421 if (ap_mpm_safe_kill(MPM_CHILD_PID(index), [all...] |
/httpd/server/mpm/prefork/ |
H A D | prefork.c | 692 * descriptor, and advance our saved index to round-robin 969 int index; local 1180 for (index = 0; index < ap_daemons_limit; ++index) { 1181 if (ap_scoreboard_image->servers[index][0].status != SERVER_DEAD) { 1183 ap_mpm_safe_kill(MPM_CHILD_PID(index), AP_SIG_GRACEFUL); 1211 for (index = 0; index < ap_daemons_limit; ++index) { [all...] |
/httpd/server/mpm/worker/ |
H A D | worker.c | 822 * descriptor, and advance our saved index to round-robin 1905 int index; local 1940 for (index = 0; index < ap_daemons_limit; ++index) { 1941 if (ap_mpm_safe_kill(MPM_CHILD_PID(index), 0) == APR_SUCCESS) {
|
/httpd/server/ |
H A D | util_expr_eval.c | 1381 int index = ((const char **)data - conn_var_names); local 1386 switch (index) { 1453 int index = ((const char **)data - request_var_names); local 1458 switch (index) { 1585 int index = (varname - req_header_var_names); local 1588 AP_DEBUG_ASSERT(index < 7); 1592 name = req_header_header_names[index]; 1614 int index = ((const char **)data - misc_var_names); local 1617 switch (index) {
|
H A D | config.c | 1544 int index, int level) 1556 l->module_levels[index] = level; 1695 * index which is incremented from 0 to nelts on each call to 1543 ap_set_module_loglevel(apr_pool_t *pool, struct ap_logconf *l, int index, int level) argument
|
/httpd/modules/filters/ |
H A D | mod_include.c | 2819 * returns the index position of the first byte of start_seq (or the len of 2827 apr_size_t index; local 2837 index = bndm(intern->start_seq_pat, data, len); 2840 if (index < len) { 2842 return index; 2858 index = p - data; 2874 return index; 2881 p = data + index + 1; 3405 apr_size_t len, index, release; local 3507 index [all...] |
/httpd/server/mpm/event/ |
H A D | event.c | 3163 int index; local 3197 for (index = 0; index < ap_daemons_limit; ++index) { 3198 if (ap_mpm_safe_kill(MPM_CHILD_PID(index), 0) == APR_SUCCESS) {
|