Searched refs:OpenRef (Results 1 – 6 of 6) sorted by relevance
/external/libbrillo/brillo/streams/ |
D | memory_stream.h | 76 static StreamPtr OpenRef(const void* buffer, size_t size, ErrorPtr* error); 77 static StreamPtr OpenRef(const std::string& buffer, ErrorPtr* error); 78 static StreamPtr OpenRef(const char* buffer, ErrorPtr* error); 81 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_test.cc | 213 StreamPtr stream = MemoryStream::OpenRef(buffer, sizeof(buffer), nullptr); in TEST() 241 StreamPtr stream = MemoryStream::OpenRef(str, nullptr); in TEST() 265 StreamPtr stream = MemoryStream::OpenRef(str, nullptr); in TEST() 289 StreamPtr stream = MemoryStream::OpenRef(data, nullptr); in TEST() 352 stream = MemoryStream::OpenRef(buffer, nullptr); in TEST()
|
/external/libbrillo/brillo/http/ |
D | http_connection_fake.cc | 111 return MemoryStream::OpenRef(response_.GetData(), error); in ExtractDataStream()
|
D | http_connection_curl_test.cc | 180 StreamPtr stream = MemoryStream::OpenRef(request_data, nullptr); in TEST_F() 228 StreamPtr stream = MemoryStream::OpenRef(request_data, nullptr); in TEST_F()
|
D | http_form_data.cc | 136 streams->push_back(MemoryStream::OpenRef("\r\n", nullptr)); in ExtractDataStreams()
|