Lines Matching refs:size_t

389 …* http_header_remap_host_match (buffer *b, size_t off, http_header_remap_opts *remap_hdrs, int is_…  in http_header_remap_host_match()
396 for (size_t i = 0, used = hosts->used; i < used; ++i) { in http_header_remap_host_match()
399 size_t mlen = buffer_clen(k); in http_header_remap_host_match()
430 static size_t http_header_remap_host (buffer *b, size_t off, http_header_remap_opts *remap_hdrs, in… in http_header_remap_host()
442 static size_t http_header_remap_urlpath (buffer *b, size_t off, http_header_remap_opts *remap_hdrs,… in http_header_remap_urlpath()
447 const size_t plen = buffer_clen(b) - off; /*(urlpath len)*/ in http_header_remap_urlpath()
449 for (size_t i = 0, used = urlpaths->used; i < used; ++i) { in http_header_remap_urlpath()
451 const size_t mlen = buffer_clen(&ds->key); in http_header_remap_urlpath()
463 const size_t mlen = buffer_clen(&ds->value); in http_header_remap_urlpath()
469 for (size_t i = 0, used = urlpaths->used; i < used; ++i) { in http_header_remap_urlpath()
471 const size_t mlen = buffer_clen(&ds->value); in http_header_remap_urlpath()
484 static void http_header_remap_uri (buffer *b, size_t off, http_header_remap_opts *remap_hdrs, int i… in http_header_remap_uri()
490 size_t alen; /*(authority len (host len))*/ in http_header_remap_uri()
491 size_t slen; /*(scheme len)*/ in http_header_remap_uri()
498 off = (size_t)(s - b->ptr); in http_header_remap_uri()
500 alen = (size_t)(s - b->ptr) - off; in http_header_remap_uri()
538 static void http_header_remap_setcookie (buffer *b, size_t off, http_header_remap_opts *remap_hdrs) in http_header_remap_setcookie()
546 size_t len; in http_header_remap_setcookie()
567 off = (size_t)(e - b->ptr); in http_header_remap_setcookie()
575 size_t alen = 0; in http_header_remap_setcookie()
579 off = (size_t)(e - b->ptr); in http_header_remap_setcookie()
595 static void buffer_append_string_backslash_escaped(buffer *b, const char *s, size_t len) { in buffer_append_string_backslash_escaped()
597 size_t j = 0; in buffer_append_string_backslash_escaped()
600 for (size_t i = 0; i < len; ++i) { in buffer_append_string_backslash_escaped()
630 size_t used = buffer_clen(xff); in proxy_set_Forwarded()
631 for (size_t i=0, j, ipv6; i < used; ++i) { in proxy_set_Forwarded()
839 size_t rsz = (size_t)(r->read_queue.bytes_out - hctx->gw.wb.bytes_in); in proxy_create_env()
873 size_t alen = buffer_clen(r->http_host); in proxy_create_env()
912 for (size_t i = 0, used = r->rqst_headers.used; i < used; ++i) { in proxy_create_env()