Lines Matching refs:StringPool
34 StringPool::Ref::Ref() : entry_(nullptr) {} in Ref()
36 StringPool::Ref::Ref(const StringPool::Ref& rhs) : entry_(rhs.entry_) { in Ref()
42 StringPool::Ref::Ref(StringPool::Entry* entry) : entry_(entry) { in Ref()
48 StringPool::Ref::~Ref() { in ~Ref()
54 StringPool::Ref& StringPool::Ref::operator=(const StringPool::Ref& rhs) { in operator =()
66 bool StringPool::Ref::operator==(const Ref& rhs) const { in operator ==()
70 bool StringPool::Ref::operator!=(const Ref& rhs) const { in operator !=()
74 const std::string* StringPool::Ref::operator->() const { in operator ->()
78 const std::string& StringPool::Ref::operator*() const { in operator *()
82 size_t StringPool::Ref::index() const { in index()
87 const StringPool::Context& StringPool::Ref::GetContext() const { in GetContext()
91 StringPool::StyleRef::StyleRef() : entry_(nullptr) {} in StyleRef()
93 StringPool::StyleRef::StyleRef(const StringPool::StyleRef& rhs) in StyleRef()
100 StringPool::StyleRef::StyleRef(StringPool::StyleEntry* entry) : entry_(entry) { in StyleRef()
106 StringPool::StyleRef::~StyleRef() { in ~StyleRef()
112 StringPool::StyleRef& StringPool::StyleRef::operator=(const StringPool::StyleRef& rhs) { in operator =()
124 bool StringPool::StyleRef::operator==(const StyleRef& rhs) const { in operator ==()
144 bool StringPool::StyleRef::operator!=(const StyleRef& rhs) const { in operator !=()
148 const StringPool::StyleEntry* StringPool::StyleRef::operator->() const { in operator ->()
152 const StringPool::StyleEntry& StringPool::StyleRef::operator*() const { in operator *()
156 size_t StringPool::StyleRef::index() const { in index()
160 const StringPool::Context& StringPool::StyleRef::GetContext() const { in GetContext()
164 StringPool::Ref StringPool::MakeRef(const StringPiece& str) { in MakeRef()
168 StringPool::Ref StringPool::MakeRef(const StringPiece& str, const Context& context) { in MakeRef()
172 StringPool::Ref StringPool::MakeRefImpl(const StringPiece& str, const Context& context, in MakeRefImpl()
196 StringPool::Ref StringPool::MakeRef(const Ref& ref) { in MakeRef()
203 StringPool::StyleRef StringPool::MakeRef(const StyleString& str) { in MakeRef()
207 StringPool::StyleRef StringPool::MakeRef(const StyleString& str, const Context& context) { in MakeRef()
222 StringPool::StyleRef StringPool::MakeRef(const StyleRef& ref) { in MakeRef()
237 void StringPool::ReAssignIndices() { in ReAssignIndices()
251 void StringPool::Merge(StringPool&& pool) { in Merge()
268 void StringPool::HintWillAdd(size_t string_count, size_t style_count) { in HintWillAdd()
273 void StringPool::Prune() { in Prune()
301 const std::function<int(const StringPool::Context&, const StringPool::Context&)>& cmp) { in SortEntries()
318 void StringPool::Sort(const std::function<int(const Context&, const Context&)>& cmp) { in Sort()
434 bool StringPool::Flatten(BigBuffer* out, const StringPool& pool, bool utf8, in Flatten()
503 bool StringPool::FlattenUtf8(BigBuffer* out, const StringPool& pool, IDiagnostics* diag) { in FlattenUtf8()
507 bool StringPool::FlattenUtf16(BigBuffer* out, const StringPool& pool, IDiagnostics* diag) { in FlattenUtf16()