Home
last modified time | relevance | path

Searched refs:OpenRef (Results 1 – 6 of 6) sorted by relevance

/external/libbrillo/brillo/streams/
Dmemory_stream.h76 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
Dmemory_stream.cc21 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()
Dmemory_stream_test.cc213 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/
Dhttp_connection_fake.cc111 return MemoryStream::OpenRef(response_.GetData(), error); in ExtractDataStream()
Dhttp_connection_curl_test.cc180 StreamPtr stream = MemoryStream::OpenRef(request_data, nullptr); in TEST_F()
228 StreamPtr stream = MemoryStream::OpenRef(request_data, nullptr); in TEST_F()
Dhttp_form_data.cc136 streams->push_back(MemoryStream::OpenRef("\r\n", nullptr)); in ExtractDataStreams()