Home
last modified time | relevance | path

Searched refs:upload_data_stream (Results 1 – 25 of 30) sorted by relevance

12

/external/chromium_org/net/http/
Dhttp_stream_parser.cc236 if (request_->upload_data_stream != NULL) { in SendRequest()
238 if (request_->upload_data_stream->is_chunked()) { in SendRequest()
254 if (ShouldMergeRequestHeadersAndBody(request, request_->upload_data_stream)) { in SendRequest()
256 request_headers_length_ + request_->upload_data_stream->size(); in SendRequest()
267 size_t todo = request_->upload_data_stream->size(); in SendRequest()
269 int consumed = request_->upload_data_stream in SendRequest()
275 DCHECK(request_->upload_data_stream->IsEOF()); in SendRequest()
283 request_->upload_data_stream->size(), in SendRequest()
457 if (request_->upload_data_stream != NULL && in DoSendHeadersComplete()
458 (request_->upload_data_stream->is_chunked() || in DoSendHeadersComplete()
[all …]
Dhttp_request_info.cc10 : upload_data_stream(NULL), in HttpRequestInfo()
Dhttp_request_info.h44 UploadDataStream* upload_data_stream; member
Dhttp_network_transaction.cc175 if (request_ && request_->upload_data_stream) in ~HttpNetworkTransaction()
176 request_->upload_data_stream->Reset(); // Invalidate pending callbacks. in ~HttpNetworkTransaction()
852 if (request_->upload_data_stream) { in BuildRequestHeaders()
853 if (request_->upload_data_stream->is_chunked()) { in BuildRequestHeaders()
859 base::Uint64ToString(request_->upload_data_stream->size())); in BuildRequestHeaders()
898 if (request_->upload_data_stream) in DoInitRequestBody()
899 rv = request_->upload_data_stream->Init(io_callback_); in DoInitRequestBody()
Dhttp_cache_unittest.cc2776 net::UploadDataStream upload_data_stream(element_readers.Pass(), kUploadId); in TEST() local
2778 request.upload_data_stream = &upload_data_stream; in TEST()
2807 net::UploadDataStream upload_data_stream(element_readers.Pass(), kUploadId); in TEST() local
2810 request.upload_data_stream = &upload_data_stream; in TEST()
2826 net::UploadDataStream upload_data_stream(element_readers.Pass(), 1); in TEST() local
2830 req1.upload_data_stream = &upload_data_stream; in TEST()
2865 net::UploadDataStream upload_data_stream(element_readers.Pass(), 1); in TEST() local
2870 req2.upload_data_stream = &upload_data_stream; in TEST()
2904 net::UploadDataStream upload_data_stream(element_readers.Pass(), 0); in TEST() local
2909 req2.upload_data_stream = &upload_data_stream; in TEST()
[all …]
Dhttp_network_transaction_unittest.cc1114 UploadDataStream upload_data_stream(element_readers.Pass(), 0); in TEST_P() local
1119 request.upload_data_stream = &upload_data_stream; in TEST_P()
5019 UploadDataStream upload_data_stream(element_readers.Pass(), 0); in TEST_P() local
5033 request[1].upload_data_stream = &upload_data_stream; in TEST_P()
8105 UploadDataStream upload_data_stream(element_readers.Pass(), 0); in TEST_P() local
8110 request.upload_data_stream = &upload_data_stream; in TEST_P()
8162 UploadDataStream upload_data_stream(element_readers.Pass(), 0); in TEST_P() local
8167 request.upload_data_stream = &upload_data_stream; in TEST_P()
8220 UploadDataStream upload_data_stream(element_readers.Pass(), 0); in TEST_P() local
8225 request.upload_data_stream = &upload_data_stream; in TEST_P()
[all …]
Dhttp_cache.cc553 if (request->upload_data_stream && in GenerateCacheKey()
554 request->upload_data_stream->identifier()) { in GenerateCacheKey()
556 "%" PRId64 "/", request->upload_data_stream->identifier())); in GenerateCacheKey()
Dhttp_cache_transaction.cc2076 if (request_->method == "POST" && request_->upload_data_stream && in ShouldPassThrough()
2077 request_->upload_data_stream->identifier()) { in ShouldPassThrough()
2081 if (request_->method == "PUT" && request_->upload_data_stream) in ShouldPassThrough()
Dhttp_stream_parser_unittest.cc245 request_info.upload_data_stream = &upload_stream; in TEST()
/external/chromium_org/net/quic/
Dquic_http_stream_test.cc492 UploadDataStream upload_data_stream(element_readers.Pass(), 0); in TEST_P() local
495 request_.upload_data_stream = &upload_data_stream; in TEST_P()
496 ASSERT_EQ(OK, request_.upload_data_stream->Init(CompletionCallback())); in TEST_P()
538 UploadDataStream upload_data_stream(UploadDataStream::CHUNKED, 0); in TEST_P() local
539 upload_data_stream.AppendChunk(kUploadData, chunk_size, false); in TEST_P()
543 request_.upload_data_stream = &upload_data_stream; in TEST_P()
544 ASSERT_EQ(OK, request_.upload_data_stream->Init(CompletionCallback())); in TEST_P()
551 upload_data_stream.AppendChunk(kUploadData, chunk_size, true); in TEST_P()
589 UploadDataStream upload_data_stream(UploadDataStream::CHUNKED, 0); in TEST_P() local
590 upload_data_stream.AppendChunk(kUploadData, chunk_size, false); in TEST_P()
[all …]
Dquic_end_to_end_unittest.cc195 request_.upload_data_stream = upload_data_stream_.get(); in InitializePostRequest()
196 ASSERT_EQ(OK, request_.upload_data_stream->Init(CompletionCallback())); in InitializePostRequest()
Dquic_http_stream.cc122 request_body_stream_ = request_info_->upload_data_stream; in SendRequest()
/external/chromium_org/net/spdy/
Dspdy_http_stream.cc96 return UploadProgress(request_info_->upload_data_stream->position(), in GetUploadProgress()
97 request_info_->upload_data_stream->size()); in GetUploadProgress()
387 request_info_->upload_data_stream && in HasUploadData()
388 ((request_info_->upload_data_stream->size() > 0) || in HasUploadData()
389 request_info_->upload_data_stream->is_chunked()); in HasUploadData()
406 if (request_info_->upload_data_stream->IsEOF()) in ReadAndSendRequestBodyData()
410 const int rv = request_info_->upload_data_stream in ReadAndSendRequestBodyData()
426 const bool eof = request_info_->upload_data_stream->IsEOF(); in OnRequestBodyReadCompleted()
Dspdy_http_stream_unittest.cc350 request.upload_data_stream = &upload_stream; in TEST_P()
421 request.upload_data_stream = &upload_stream; in TEST_P()
520 request.upload_data_stream = &upload_stream; in TEST_P()
605 request.upload_data_stream = &upload_stream; in TEST_P()
735 request.upload_data_stream = &upload_stream; in TEST_P()
Dspdy_network_transaction_unittest.cc463 google_post_request_.upload_data_stream = upload_data_stream_.get(); in CreatePostRequest()
488 google_post_request_.upload_data_stream = upload_data_stream_.get(); in CreateFilePostRequest()
516 google_post_request_.upload_data_stream = upload_data_stream_.get(); in CreateUnreadableFilePostRequest()
549 google_post_request_.upload_data_stream = upload_data_stream_.get(); in CreateComplexPostRequest()
561 google_chunked_post_request_.upload_data_stream = in CreateChunkedPostRequest()
1861 helper.request().upload_data_stream->AppendChunk( in TEST_P()
1863 helper.request().upload_data_stream->AppendChunk( in TEST_P()
1901 helper.request().upload_data_stream->AppendChunk( in TEST_P()
1909 helper.request().upload_data_stream->AppendChunk( in TEST_P()
1912 helper.request().upload_data_stream->AppendChunk( in TEST_P()
[all …]
/external/chromium_org/net/url_request/
Durl_request_job.h59 virtual void SetUpload(UploadDataStream* upload_data_stream);
Durl_request_http_job.cc927 request_info_.upload_data_stream = upload; in SetUpload()
/external/chromium_org/net/
Dnet.target.linux-arm64.mk140 net/base/upload_data_stream.cc \
Dnet.target.darwin-arm64.mk140 net/base/upload_data_stream.cc \
Dnet.target.linux-x86.mk140 net/base/upload_data_stream.cc \
Dnet.target.darwin-mips.mk140 net/base/upload_data_stream.cc \
Dnet.target.darwin-x86.mk140 net/base/upload_data_stream.cc \
Dnet.target.linux-mips.mk140 net/base/upload_data_stream.cc \
Dnet.target.linux-arm.mk140 net/base/upload_data_stream.cc \
Dnet.target.darwin-x86_64.mk140 net/base/upload_data_stream.cc \

12