Home
last modified time | relevance | path

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

/external/libbrillo/brillo/streams/
Dmemory_containers.cc104 StringPtr::StringPtr(std::string* string) : string_ptr_(string) {} in StringPtr() function in brillo::data_container::StringPtr
106 bool StringPtr::Resize(size_t new_size, ErrorPtr* /* error */) { in Resize()
111 const void* StringPtr::GetReadOnlyBuffer(size_t offset, in GetReadOnlyBuffer()
116 void* StringPtr::GetBuffer(size_t offset, ErrorPtr* /* error */) { in GetBuffer()
Dmemory_stream.cc65 std::unique_ptr<data_container::StringPtr> container{ in CreateRef()
66 new data_container::StringPtr{buffer}}; in CreateRef()
72 std::unique_ptr<data_container::StringPtr> container{ in CreateRefForAppend()
73 new data_container::StringPtr{buffer}}; in CreateRefForAppend()
Dmemory_containers.h241 class BRILLO_EXPORT StringPtr : public ContiguousBufferBase {
243 explicit StringPtr(std::string* string);
255 DISALLOW_COPY_AND_ASSIGN(StringPtr);