Lines Matching refs:tb
211 buffer * const tb = r->tmp_buf; in http_range_multi() local
212 buffer_copy_string_len(tb, CONST_STR_LEN(boundary_prefix)); in http_range_multi()
217 buffer_append_str2(tb, CONST_STR_LEN("\r\nContent-Type: "), in http_range_multi()
220 buffer_append_string_len(tb,CONST_STR_LEN("\r\nContent-Range: bytes ")); in http_range_multi()
221 const uint32_t prefix_len = buffer_clen(tb); in http_range_multi()
247 buffer_truncate(tb, prefix_len); in http_range_multi()
248 buffer_append_int(tb, ranges[i]); in http_range_multi()
249 buffer_append_char(tb, '-'); in http_range_multi()
250 buffer_append_int(tb, ranges[i+1]); in http_range_multi()
251 buffer_append_char(tb, '/'); in http_range_multi()
252 buffer_append_int(tb, complete_length); in http_range_multi()
253 buffer_append_string_len(tb, CONST_STR_LEN("\r\n\r\n")); in http_range_multi()
255 chunkqueue_append_mem(cq, BUF_PTR_LEN(tb)); in http_range_multi()
257 chunkqueue_append_mem_min(cq, BUF_PTR_LEN(tb)); in http_range_multi()