Home
last modified time | relevance | path

Searched refs:request_data_ (Results 1 – 4 of 4) sorted by relevance

/system/connectivity/shill/
Dhttp_request.cc102 request_data_ = ByteString(StringPrintf(kHTTPRequestTemplate, in Start()
156 request_data_.Clear(); in Stop()
276 int ret = sockets_->Send(fd, request_data_.GetConstData(), in WriteToServer()
277 request_data_.GetLength(), 0); in WriteToServer()
278 CHECK(ret < 0 || static_cast<size_t>(ret) <= request_data_.GetLength()); in WriteToServer()
281 << request_data_.GetLength(); in WriteToServer()
290 request_data_ = ByteString(request_data_.GetConstData() + ret, in WriteToServer()
291 request_data_.GetLength() - ret); in WriteToServer()
293 if (request_data_.IsEmpty()) { in WriteToServer()
Dhttp_request_unittest.cc150 reinterpret_cast<char*>(request_->request_data_.GetData()), in FindInRequestData()
151 request_->request_data_.GetLength()); in FindInRequestData()
156 return request_->request_data_; in GetRequestData()
181 EXPECT_TRUE(request_->request_data_.IsEmpty()); in ExpectReset()
Dhttp_request.h140 ByteString request_data_; variable
/system/weaved/buffet/
Dwebserv_client.cc51 if (request_data_) in GetData()
52 return *request_data_; in GetData()
54 request_data_.reset(new std::string); in GetData()
58 request_data_->reserve(stream->GetRemainingSize()); in GetData()
63 request_data_->append(buffer.data(), buffer.data() + sz); in GetData()
66 return *request_data_; in GetData()
84 mutable std::unique_ptr<std::string> request_data_; member in buffet::__anon714702850111::RequestImpl