Lines Matching refs:StringData
21 class StringData; variable
65 static StringData* Get(const char* string, size_t length);
66 static void LastReferenceReleased(StringData* data);
71 static StringData* _GetLocked(const StringDataKey& key);
79 class StringData {
83 static StringData* Create(const StringDataKey& key) in Create()
85 void* data = malloc(sizeof(StringData) + key.Length() + 1); in Create()
89 return new(data) StringData(key); in Create()
92 static StringData* Empty() in Empty()
97 static StringData* GetEmpty() in GetEmpty()
135 StringData*& HashNext() in HashNext()
141 StringData(const StringDataKey& key) in StringData() function
150 ~StringData() in ~StringData()
155 static StringData* fEmptyString;
157 StringData* fHashNext;
166 typedef StringData ValueType;
173 size_t Hash(const StringData* value) const in Hash()
178 bool Compare(const StringDataKey& key, const StringData* value) const in Compare()
185 StringData*& GetLink(StringData* value) const in GetLink()