Lines Matching refs:vb

1128     const buffer *vb;  in stream_br_init()  local
1131 else if ((vb = http_header_response_get(hctx->r, HTTP_HEADER_CONTENT_TYPE, in stream_br_init()
1134 const uint32_t len = buffer_clen(vb); in stream_br_init()
1135 if (0 == strncmp(vb->ptr, "text/", sizeof("text/")-1) in stream_br_init()
1136 || (0 == strncmp(vb->ptr, "application/", sizeof("application/")-1) in stream_br_init()
1137 && (0 == strncmp(vb->ptr+12,"javascript",sizeof("javascript")-1) in stream_br_init()
1138 || 0 == strncmp(vb->ptr+12,"json", sizeof("json")-1) in stream_br_init()
1139 || 0 == strncmp(vb->ptr+12,"xml", sizeof("xml")-1))) in stream_br_init()
1141 && (0 == strncmp(vb->ptr+len-5, "+json", sizeof("+json")-1) in stream_br_init()
1142 || 0 == strncmp(vb->ptr+len-4, "+xml", sizeof("+xml")-1)))) in stream_br_init()
1144 else if (0 == strncmp(vb->ptr, "font/", sizeof("font/")-1)) in stream_br_init()
1482 buffer * const vb = in mod_deflate_using_libdeflate_sm() local
1485 buffer_append_int(vb, hctx->bytes_out); in mod_deflate_using_libdeflate_sm()
1590 buffer * const vb = in mod_deflate_using_libdeflate() local
1593 buffer_append_int(vb, hctx->bytes_out); in mod_deflate_using_libdeflate()
1876 buffer *vb; in REQUEST_FUNC() local
1938 if (NULL != (vb = http_header_response_get(r, HTTP_HEADER_VARY, CONST_STR_LEN("Vary")))) { in REQUEST_FUNC()
1940 if (!http_header_str_contains_token(BUF_PTR_LEN(vb), in REQUEST_FUNC()
1942 buffer_append_string_len(vb, CONST_STR_LEN(",Accept-Encoding")); in REQUEST_FUNC()
1951 vb = http_header_response_get(r, HTTP_HEADER_ETAG, CONST_STR_LEN("ETag")); in REQUEST_FUNC()
1952 etaglen = vb ? buffer_clen(vb) : 0; in REQUEST_FUNC()
1957 && 0 == strncmp(if_none_match->ptr, vb->ptr, etaglen-1) in REQUEST_FUNC()
1963 vb->ptr[etaglen-1] = '-'; /*(overwrite end '"')*/ in REQUEST_FUNC()
1964 buffer_append_string(vb, label); in REQUEST_FUNC()
1965 buffer_append_char(vb, '"'); in REQUEST_FUNC()
1992 vb->ptr[etaglen-1] = '-'; /*(overwrite end '"')*/ in REQUEST_FUNC()
1993 buffer_append_string(vb, label); in REQUEST_FUNC()
1994 buffer_append_char(vb, '"'); in REQUEST_FUNC()
2044 tb = mod_deflate_cache_file_name(r, p->conf.cache_dir, vb); in REQUEST_FUNC()
2137 vb->ptr[etaglen-1] = '"'; /*(overwrite '-')*/ in REQUEST_FUNC()
2138 buffer_truncate(vb, etaglen); in REQUEST_FUNC()