Home | History | Annotate | Download | only in text

Lines Matching refs:StringImpl

51     HashSet<StringImpl*>& table()
59 HashSet<StringImpl*>::iterator end = table->m_table.end();
60 for (HashSet<StringImpl*>::iterator iter = table->m_table.begin(); iter != end; ++iter)
65 HashSet<StringImpl*> m_table;
68 static inline HashSet<StringImpl*>& stringTable()
78 static inline PassRefPtr<StringImpl> addToStringTable(const T& value)
80 pair<HashSet<StringImpl*>::iterator, bool> addResult = stringTable().add<T, HashTranslator>(value);
93 static bool equal(StringImpl* r, const char* s)
105 static void translate(StringImpl*& location, const char* const& c, unsigned hash)
107 location = StringImpl::create(c).leakRef();
115 StringImpl* impl = a.impl();
123 PassRefPtr<StringImpl> AtomicString::add(const char* c)
128 return StringImpl::empty();
138 static inline bool equal(StringImpl* string, const UChar* characters, unsigned length)
182 static bool equal(StringImpl* const& str, const UCharBuffer& buf)
187 static void translate(StringImpl*& location, const UCharBuffer& buf, unsigned hash)
189 location = StringImpl::create(buf.s, buf.length).leakRef();
208 static bool equal(StringImpl* const& string, const HashAndCharacters& buffer)
213 static void translate(StringImpl*& location, const HashAndCharacters& buffer, unsigned hash)
215 location = StringImpl::create(buffer.characters, buffer.length).leakRef();
234 static bool equal(StringImpl* const& string, const HashAndUTF8Characters& buffer)
254 static void translate(StringImpl*& location, const HashAndUTF8Characters& buffer, unsigned hash)
257 location = StringImpl::createUninitialized(buffer.utf16Length, target).releaseRef();
268 PassRefPtr<StringImpl> AtomicString::add(const UChar* s, unsigned length)
274 return StringImpl::empty();
280 PassRefPtr<StringImpl> AtomicString::add(const UChar* s, unsigned length, unsigned existingHash)
286 return StringImpl::empty();
292 PassRefPtr<StringImpl> AtomicString::add(const UChar* s)
302 return StringImpl::empty();
308 PassRefPtr<StringImpl> AtomicString::addSlowCase(StringImpl* r)
314 return StringImpl::empty();
316 StringImpl* result = *stringTable().add(r).first;
328 return static_cast<AtomicStringImpl*>(StringImpl::empty());
331 HashSet<StringImpl*>::iterator iterator = stringTable().find<HashAndCharacters, HashAndCharactersTranslator>(buffer);
337 void AtomicString::remove(StringImpl* r)
345 StringImpl* impl = this->impl();
348 RefPtr<StringImpl> newImpl = impl->lower();