Searched defs:StringImpl (Results 1 - 2 of 2) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/wtf/text/
H A DStringImpl.h61 typedef HashMap<unsigned, StringImpl*, AlreadyHashed> StaticStringsTable;
82 void removeString(StringImpl*);
95 void addStringForStats(StringImpl*);
96 void removeStringForStats(StringImpl*);
98 #define STRING_STATS_ADD_8BIT_STRING(length) StringImpl::stringStats().add8BitString(length); addStringForStats(this)
99 #define STRING_STATS_ADD_16BIT_STRING(length) StringImpl::stringStats().add16BitString(length); addStringForStats(this)
100 #define STRING_STATS_REMOVE_STRING(string) StringImpl::stringStats().removeString(string); removeStringForStats(this)
109 class WTF_EXPORT StringImpl { class in namespace:WTF
110 WTF_MAKE_NONCOPYABLE(StringImpl);
129 explicit StringImpl(ConstructEmptyStringTa function in class:WTF::StringImpl
145 explicit StringImpl(ConstructEmptyString16BitTag) function in class:WTF::StringImpl
159 StringImpl(unsigned length, Force8Bit) function in class:WTF::StringImpl
171 StringImpl(unsigned length) function in class:WTF::StringImpl
184 StringImpl(unsigned length, unsigned hash, StaticStringTag) function in class:WTF::StringImpl
[all...]
H A DStringImpl.cpp26 #include "wtf/text/StringImpl.h"
59 COMPILE_ASSERT(sizeof(StringImpl) == 3 * sizeof(int), StringImpl_should_stay_small);
71 // Notice that we can't use HashSet<StringImpl*> because then HashSet would dedup identical strings.
76 void addStringForStats(StringImpl* string)
82 void removeStringForStats(StringImpl* string)
88 static void fillWithSnippet(const StringImpl* string, Vector<char>& snippet)
115 static bool isUnnecessarilyWide(const StringImpl* string)
132 void add(const StringImpl* string)
192 HashMap<StringImpl*, RefPtr<PerStringStats> > stats;
194 StringImpl* strin
[all...]

Completed in 88 milliseconds