Home | History | Annotate | Download | only in httpfs

Lines Matching refs:content_length

86 bool ParseContentLength(const StringMap_t& headers, off_t* content_length) {
91 *content_length = strtoull(iter->second.c_str(), NULL, 10);
377 off_t content_length = 0;
378 if (ParseContentLength(response_headers, &content_length)) {
379 cached_data_.resize(content_length);
382 loader, cached_data_.data(), content_length, &real_size);
460 off_t content_length;
461 if (ParseContentLength(response_headers, &content_length)) {
462 if (attr.offs >= content_length)
466 if (attr.offs + count > content_length) {
467 count = content_length - attr.offs;
528 off_t content_length = 0;
529 if (ParseContentLength(response_headers, &content_length)) {
530 *out_bytes = content_length;