Searched refs:StringPtr (Results 1 – 3 of 3) sorted by relevance
104 StringPtr::StringPtr(std::string* string) : string_ptr_(string) {} in StringPtr() function in brillo::data_container::StringPtr106 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()
65 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()
241 class BRILLO_EXPORT StringPtr : public ContiguousBufferBase {243 explicit StringPtr(std::string* string);255 DISALLOW_COPY_AND_ASSIGN(StringPtr);