Searched refs:OpenCopyOf (Results 1 – 8 of 8) sorted by relevance
/external/libbrillo/brillo/streams/ |
D | memory_stream.h | 57 static StreamPtr OpenCopyOf(const void* buffer, size_t size, ErrorPtr* error); 58 static StreamPtr OpenCopyOf(std::string buffer, ErrorPtr* error); 59 static StreamPtr OpenCopyOf(const char* buffer, ErrorPtr* error); 62 inline static StreamPtr OpenCopyOf(std::vector<T> buffer, ErrorPtr* error) { in OpenCopyOf() function
|
D | memory_stream.cc | 29 StreamPtr MemoryStream::OpenCopyOf(const void* buffer, in OpenCopyOf() function in brillo::MemoryStream 44 StreamPtr MemoryStream::OpenCopyOf(std::string buffer, ErrorPtr* error) { in OpenCopyOf() function in brillo::MemoryStream 54 StreamPtr MemoryStream::OpenCopyOf(const char* buffer, ErrorPtr* error) { in OpenCopyOf() function in brillo::MemoryStream 55 return OpenCopyOf(buffer, std::strlen(buffer), error); in OpenCopyOf()
|
D | memory_stream_unittest.cc | 220 StreamPtr stream = MemoryStream::OpenCopyOf(buffer, sizeof(buffer), nullptr); in TEST() 246 StreamPtr stream = MemoryStream::OpenCopyOf(str, nullptr); in TEST() 270 StreamPtr stream = MemoryStream::OpenCopyOf(str, nullptr); in TEST() 298 StreamPtr stream = MemoryStream::OpenCopyOf(data, nullptr); in TEST()
|
/external/libbrillo/brillo/http/ |
D | http_form_data.cc | 87 streams->push_back(MemoryStream::OpenCopyOf(data_, nullptr)); in ExtractDataStreams() 130 streams->push_back(MemoryStream::OpenCopyOf(data, nullptr)); in ExtractDataStreams() 138 streams->push_back(MemoryStream::OpenCopyOf(data, nullptr)); in ExtractDataStreams()
|
D | http_connection_fake.cc | 114 return MemoryStream::OpenCopyOf(nullptr, 0, error); in ExtractDataStream()
|
D | http_transport_fake.cc | 242 SetData(MemoryStream::OpenCopyOf(data, data_size, nullptr)); in Reply()
|
D | http_request.cc | 192 StreamPtr stream = MemoryStream::OpenCopyOf(data, size, error); in AddRequestBody()
|
D | http_utils.cc | 158 MemoryStream::OpenCopyOf(data, data_size, nullptr), in SendRequest()
|