Lines Matching refs:n
130 size_t n; in http_cgi_headers() local
138 n = buffer_clen(&r->uri.query); in http_cgi_headers()
140 n ? r->uri.query.ptr : "", n); in http_cgi_headers()
143 n = buffer_clen(&r->target_orig); in http_cgi_headers()
149 if (n < len || 0 != memcmp(s, opts->strip_request_uri->ptr, len) in http_cgi_headers()
153 rc |= cb(vdata, CONST_STR_LEN("REQUEST_URI"), s+len, n-len); in http_cgi_headers()
233 n = buffer_clen(r->conf.server_tag); in http_cgi_headers()
237 n = 0; in http_cgi_headers()
239 rc |= cb(vdata, CONST_STR_LEN("SERVER_SOFTWARE"), s, n); in http_cgi_headers()
253 n = srv_sock->srv_token_colon; in http_cgi_headers()
254 if (n < tlen) { /*(n != tlen)*/ in http_cgi_headers()
255 s = srv_sock->srv_token->ptr+n+1; in http_cgi_headers()
256 n = tlen - (n+1); in http_cgi_headers()
260 n = 1; in http_cgi_headers()
262 rc |= cb(vdata, CONST_STR_LEN("SERVER_PORT"), s, n); in http_cgi_headers()
264 n = 0; in http_cgi_headers()
276 n = strlen(s); in http_cgi_headers()
285 n = srv_sock->srv_token_colon; in http_cgi_headers()
292 rc |= cb(vdata, CONST_STR_LEN("SERVER_ADDR"), s, n); in http_cgi_headers()
294 n = buffer_clen(r->server_name); in http_cgi_headers()
295 if (n) { in http_cgi_headers()
299 if (colon) n = (colon + 1) - s; in http_cgi_headers()
303 if (colon) n = colon - s; in http_cgi_headers()
306 rc |= cb(vdata, CONST_STR_LEN("SERVER_NAME"), s, n); in http_cgi_headers()
314 for (n = 0; n < r->rqst_headers.used; n++) { in http_cgi_headers()
315 data_string *ds = (data_string *)r->rqst_headers.data[n]; in http_cgi_headers()
335 for (n = 0; n < r->env.used; n++) { in http_cgi_headers()
336 data_string *ds = (data_string *)r->env.data[n]; in http_cgi_headers()