/external/chromium_org/third_party/WebKit/Source/wtf/tests/ |
StringImpl.cpp | 28 #include "wtf/text/StringImpl.h" 36 RefPtr<StringImpl> testStringImpl = StringImpl::create("1224");
|
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
DocumentOrderedMap.h | 37 #include "wtf/text/StringImpl.h" 46 void add(StringImpl*, Element*); 47 void remove(StringImpl*, Element*); 50 bool contains(StringImpl*) const; 51 bool containsSingle(StringImpl*) const; 52 bool containsMultiple(StringImpl*) const; 55 Element* getElementById(StringImpl*, const TreeScope*) const; 56 Element* getElementByName(StringImpl*, const TreeScope*) const; 57 Element* getElementByMapName(StringImpl*, const TreeScope*) const; 58 Element* getElementByLowercasedMapName(StringImpl*, const TreeScope*) const [all...] |
DocumentOrderedMap.cpp | 46 inline bool keyMatchesId(StringImpl* key, Element* element) 51 inline bool keyMatchesName(StringImpl* key, Element* element) 56 inline bool keyMatchesMapName(StringImpl* key, Element* element) 61 inline bool keyMatchesLowercasedMapName(StringImpl* key, Element* element) 66 inline bool keyMatchesLabelForAttribute(StringImpl* key, Element* element) 76 void DocumentOrderedMap::add(StringImpl* key, Element* element) 92 void DocumentOrderedMap::remove(StringImpl* key, Element* element) 113 template<bool keyMatches(StringImpl*, Element*)> 114 inline Element* DocumentOrderedMap::get(StringImpl* key, const TreeScope* scope) const 139 Element* DocumentOrderedMap::getElementById(StringImpl* key, const TreeScope* scope) cons [all...] |
CheckedRadioButtons.h | 48 typedef HashMap<StringImpl*, OwnPtr<RadioButtonGroup> > NameToGroupMap;
|
DecodedDataDocumentParser.h | 44 virtual void append(PassRefPtr<StringImpl>) = 0;
|
RawDataDocumentParser.h | 61 virtual void append(PassRefPtr<StringImpl>)
|
/external/chromium_org/third_party/WebKit/Source/core/platform/text/cf/ |
StringImplCF.cpp | 22 #include "wtf/text/StringImpl.h" 36 static StringImpl* currentString; 56 StringImpl* underlyingString = 0; 64 StringImpl** header = static_cast<StringImpl**>(fastMalloc(sizeof(StringImpl*) + size)); 71 size_t newAllocationSize = sizeof(StringImpl*) + newSize; 72 StringImpl** header = static_cast<StringImpl**>(pointer) - 1; 74 header = static_cast<StringImpl**>(fastRealloc(header, newAllocationSize)) [all...] |
StringCF.cpp | 38 m_impl = StringImpl::empty(); 44 m_impl = StringImpl::create(lcharBuffer.data(), size); 50 m_impl = StringImpl::create(buffer.data(), size);
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
RenderWordBreak.cpp | 35 : RenderText(element, StringImpl::empty())
|
RenderTextFragment.h | 36 RenderTextFragment(Node*, StringImpl*, int startOffset, int length); 37 RenderTextFragment(Node*, StringImpl*); 50 StringImpl* contentString() const { return m_contentString.get(); } 51 virtual PassRefPtr<StringImpl> originalText() const; 53 virtual void setText(PassRefPtr<StringImpl>, bool force = false) OVERRIDE; 68 RefPtr<StringImpl> m_contentString;
|
RenderTextFragment.cpp | 31 RenderTextFragment::RenderTextFragment(Node* node, StringImpl* str, int startOffset, int length) 32 : RenderText(node, str ? str->substring(startOffset, length) : PassRefPtr<StringImpl>(0)) 39 RenderTextFragment::RenderTextFragment(Node* node, StringImpl* str) 52 PassRefPtr<StringImpl> RenderTextFragment::originalText() const 55 RefPtr<StringImpl> result = ((e && e->isTextNode()) ? toText(e)->dataImpl() : contentString()); 78 void RenderTextFragment::setText(PassRefPtr<StringImpl> text, bool force) 98 if (RefPtr<StringImpl> textToTransform = originalText()) 106 StringImpl* original = ((e && e->isTextNode()) ? toText(e)->dataImpl() : contentString());
|
/external/chromium_org/third_party/WebKit/Source/wtf/text/ |
AtomicString.cpp | 46 HashSet<StringImpl*>& table() 54 HashSet<StringImpl*>::iterator end = table->m_table.end(); 55 for (HashSet<StringImpl*>::iterator iter = table->m_table.begin(); iter != end; ++iter) 60 HashSet<StringImpl*> m_table; 63 static inline HashSet<StringImpl*>& stringTable() 74 static inline PassRefPtr<StringImpl> addToStringTable(const T& value) 76 HashSet<StringImpl*>::AddResult addResult = stringTable().add<HashTranslator>(value); 89 static inline bool equal(StringImpl* r, const LChar* s) 94 static void translate(StringImpl*& location, const LChar* const& c, unsigned hash) 96 location = StringImpl::create(c).leakRef() [all...] |
StringBuffer.h | 33 #include "wtf/text/StringImpl.h" 47 m_data = StringImpl::createUninitialized(length, characters); 65 m_data = StringImpl::createUninitialized(newLength, characters); 70 m_data = StringImpl::reallocate(m_data.release(), newLength, characters); 81 PassRefPtr<StringImpl> release() { return m_data.release(); } 84 RefPtr<StringImpl> m_data;
|
StringHash.h | 41 // currently a member function of StringImpl into this file so we can be a little 45 static unsigned hash(StringImpl* key) { return key->hash(); } 46 static inline bool equal(const StringImpl* a, const StringImpl* b) 51 static unsigned hash(const RefPtr<StringImpl>& key) { return key->hash(); } 52 static bool equal(const RefPtr<StringImpl>& a, const RefPtr<StringImpl>& b) 78 static unsigned hash(StringImpl* str) 95 static inline bool equal(const StringImpl* a, const StringImpl* b [all...] |
StringImpl.h | 78 void removeString(StringImpl*); 91 void addStringForStats(StringImpl*); 92 void removeStringForStats(StringImpl*); 94 #define STRING_STATS_ADD_8BIT_STRING(length) StringImpl::stringStats().add8BitString(length); addStringForStats(this) 95 #define STRING_STATS_ADD_16BIT_STRING(length) StringImpl::stringStats().add16BitString(length); addStringForStats(this) 96 #define STRING_STATS_REMOVE_STRING(string) StringImpl::stringStats().removeString(string); removeStringForStats(this) 105 class WTF_EXPORT StringImpl { 106 WTF_MAKE_NONCOPYABLE(StringImpl); 121 explicit StringImpl(ConstructEmptyStringTag) 137 StringImpl(unsigned length, Force8Bit [all...] |
StringView.h | 34 #include "wtf/text/StringImpl.h" 46 explicit StringView(PassRefPtr<StringImpl> impl) 53 StringView(PassRefPtr<StringImpl> impl, unsigned offset, unsigned length) 90 RefPtr<StringImpl> m_impl;
|
StringImpl.cpp | 26 #include "wtf/text/StringImpl.h" 48 COMPILE_ASSERT(sizeof(StringImpl) == 3 * sizeof(int), StringImpl_should_stay_small); 60 // Notice that we can't use HashSet<StringImpl*> because then HashSet would dedup identical strings. 65 void addStringForStats(StringImpl* string) 71 void removeStringForStats(StringImpl* string) 77 static void fillWithSnippet(const StringImpl* string, Vector<char>& snippet) 104 static bool isUnnecessarilyWide(const StringImpl* string) 121 void add(const StringImpl* string) 181 HashMap<StringImpl*, RefPtr<PerStringStats> > stats; 183 StringImpl* string = static_cast<StringImpl*>(*iter) [all...] |
/external/chromium_org/third_party/WebKit/Source/bindings/v8/ |
V8ValueCache.h | 43 v8::Handle<v8::String> v8ExternalString(StringImpl* stringImpl, v8::Isolate* isolate) 45 ASSERT(stringImpl); 46 if (m_lastStringImpl.get() == stringImpl) 48 return v8ExternalStringSlow(stringImpl, isolate); 51 void setReturnValueFromString(v8::ReturnValue<v8::Value> returnValue, StringImpl* stringImpl) 53 ASSERT(stringImpl); 54 if (m_lastStringImpl.get() == stringImpl) 57 setReturnValueFromStringSlow(returnValue, stringImpl); [all...] |
/external/chromium_org/third_party/WebKit/Source/core/css/ |
StyleInvalidationAnalysis.h | 31 #include "wtf/text/StringImpl.h" 51 HashSet<StringImpl*> m_idScopes; 52 HashSet<StringImpl*> m_classScopes;
|
/external/chromium_org/third_party/WebKit/Source/core/inspector/ |
BindingVisitors.h | 34 class StringImpl; 50 virtual void visitJSExternalString(WTF::StringImpl*) = 0;
|
/external/chromium_org/third_party/WebKit/Source/core/platform/text/mac/ |
StringImplMac.mm | 22 #include "wtf/text/StringImpl.h" 29 StringImpl::operator NSString *()
|
StringMac.mm | 35 m_impl = StringImpl::empty(); 41 m_impl = StringImpl::create(lcharBuffer.data(), size); 47 m_impl = StringImpl::create(ucharBuffer.data(), size);
|
/external/chromium_org/third_party/WebKit/Source/core/html/parser/ |
HTMLIdentifier.h | 52 m_string = StringImpl::create8BitIfPossible(vector); 62 const StringImpl* asStringImpl() const; 69 static bool isKnown(const StringImpl*); 74 static StringImpl* findIfKnown(const UChar* characters, unsigned length);
|
TextDocumentParser.h | 44 virtual void append(PassRefPtr<StringImpl>);
|
/external/chromium_org/third_party/WebKit/Source/core/html/ |
HTMLDocument.h | 74 bool hasNamedItem(StringImpl* name); 78 bool hasExtraNamedItem(StringImpl* name); 87 void addItemToMap(HashCountedSet<StringImpl*>&, const AtomicString&); 88 void removeItemFromMap(HashCountedSet<StringImpl*>&, const AtomicString&); 90 HashCountedSet<StringImpl*> m_namedItemCounts; 91 HashCountedSet<StringImpl*> m_extraNamedItemCounts; 94 inline bool HTMLDocument::hasNamedItem(StringImpl* name) 100 inline bool HTMLDocument::hasExtraNamedItem(StringImpl* name)
|