Searched defs:OpenRef (Results 1 - 2 of 2) sorted by relevance
/external/libbrillo/brillo/streams/ |
H A D | memory_stream.h | 27 // - OpenRef - overloads for constructing the stream on a constant read-only 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, function in class:brillo::MemoryStream
|
H A D | memory_stream.cc | 21 StreamPtr MemoryStream::OpenRef(const void* buffer, function in class:brillo::MemoryStream 38 StreamPtr MemoryStream::OpenRef(const std::string& buffer, ErrorPtr* error) { function in class:brillo::MemoryStream 50 StreamPtr MemoryStream::OpenRef(const char* buffer, ErrorPtr* error) { function in class:brillo::MemoryStream 51 return OpenRef(buffer, std::strlen(buffer), error);
|
Completed in 263 milliseconds