Home
last modified time | relevance | path

Searched refs:ReadOnlyStringRef (Results 1 – 3 of 3) sorted by relevance

/external/libbrillo/brillo/streams/
Dmemory_containers.cc120 ReadOnlyStringRef::ReadOnlyStringRef(const std::string& string) in ReadOnlyStringRef() function in brillo::data_container::ReadOnlyStringRef
123 const void* ReadOnlyStringRef::GetReadOnlyBuffer(size_t offset, in GetReadOnlyBuffer()
129 : ReadOnlyStringRef(string_copy_), string_copy_(std::move(string)) {} in ReadOnlyStringCopy()
Dmemory_containers.h259 class BRILLO_EXPORT ReadOnlyStringRef : public ContiguousReadOnlyBufferBase {
261 explicit ReadOnlyStringRef(const std::string& string);
269 DISALLOW_COPY_AND_ASSIGN(ReadOnlyStringRef);
274 class BRILLO_EXPORT ReadOnlyStringCopy : public ReadOnlyStringRef {
Dmemory_stream.cc39 std::unique_ptr<data_container::ReadOnlyStringRef> container{ in OpenRef()
40 new data_container::ReadOnlyStringRef{buffer}}; in OpenRef()