Searched refs:OpenRef (Results 1 – 6 of 6) sorted by relevance
/external/libbrillo/brillo/streams/ |
D | memory_stream.h | 74 static StreamPtr OpenRef(const void* buffer, size_t size, ErrorPtr* error); 75 static StreamPtr OpenRef(const std::string& buffer, ErrorPtr* error); 76 static StreamPtr OpenRef(const char* buffer, ErrorPtr* error); 79 inline static StreamPtr OpenRef(const std::vector<T>& buffer, in OpenRef() function
|
D | memory_stream.cc | 21 StreamPtr MemoryStream::OpenRef(const void* buffer, in OpenRef() function in brillo::MemoryStream 38 StreamPtr MemoryStream::OpenRef(const std::string& buffer, ErrorPtr* error) { in OpenRef() function in brillo::MemoryStream 50 StreamPtr MemoryStream::OpenRef(const char* buffer, ErrorPtr* error) { in OpenRef() function in brillo::MemoryStream 51 return OpenRef(buffer, std::strlen(buffer), error); in OpenRef()
|
D | memory_stream_unittest.cc | 206 StreamPtr stream = MemoryStream::OpenRef(buffer, sizeof(buffer), nullptr); in TEST() 234 StreamPtr stream = MemoryStream::OpenRef(str, nullptr); in TEST() 258 StreamPtr stream = MemoryStream::OpenRef(str, nullptr); in TEST() 282 StreamPtr stream = MemoryStream::OpenRef(data, nullptr); in TEST() 345 stream = MemoryStream::OpenRef(buffer, nullptr); in TEST()
|
/external/libbrillo/brillo/http/ |
D | http_connection_fake.cc | 105 return MemoryStream::OpenRef(response_.GetData(), error); in ExtractDataStream()
|
D | http_connection_curl_unittest.cc | 179 StreamPtr stream = MemoryStream::OpenRef(request_data, nullptr); in TEST_F() 227 StreamPtr stream = MemoryStream::OpenRef(request_data, nullptr); in TEST_F()
|
D | http_form_data.cc | 134 streams->push_back(MemoryStream::OpenRef("\r\n", nullptr)); in ExtractDataStreams()
|