/external/chromium_org/third_party/WebKit/Source/wtf/text/ |
H A D | StringImplTest.cpp | 28 #include "wtf/text/StringImpl.h" 36 RefPtr<StringImpl> testStringImpl = StringImpl::create("1224");
|
H A D | 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**>(fastReallo [all...] |
H A D | StringStatics.cpp | 30 #include "StringImpl.h" 37 StringImpl* StringImpl::empty() 39 DEFINE_STATIC_LOCAL(StringImpl, emptyString, (ConstructEmptyString)); 41 "Benign race on the reference counter of a static string created by StringImpl::empty"); 45 StringImpl* StringImpl::empty16Bit() 47 DEFINE_STATIC_LOCAL(StringImpl, emptyString, (ConstructEmptyString16Bit)); 49 "Benign race on the reference counter of a static string created by StringImpl::empty16Bit"); 65 NEVER_INLINE unsigned StringImpl [all...] |
H A D | 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* [all...] |
H A D | StringImpl.h | 61 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 D | StringView.h | 34 #include "wtf/text/StringImpl.h" 46 explicit StringView(PassRefPtr<StringImpl> impl) 53 StringView(PassRefPtr<StringImpl> impl, unsigned offset, unsigned length) 89 PassRefPtr<StringImpl> toString() const 94 return StringImpl::create(characters8(), m_length); 95 return StringImpl::create(characters16(), m_length); 99 RefPtr<StringImpl> m_impl;
|
H A D | AtomicString.cpp | 50 StringImpl* addStringImpl(StringImpl* string) 53 return StringImpl::empty(); 55 StringImpl* result = *m_table.add(string).storedValue; 64 HashSet<StringImpl*>& table() 74 const StaticStringsTable& staticStrings = StringImpl::allStaticStrings(); 84 HashSet<StringImpl*>::iterator end = table->m_table.end(); 85 for (HashSet<StringImpl*>::iterator iter = table->m_table.begin(); iter != end; ++iter) { 86 StringImpl* string = *iter; 95 HashSet<StringImpl*> m_tabl [all...] |
H A D | StringImpl.cpp | 26 #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...] |
H A D | StringBuffer.h | 33 #include "wtf/text/StringImpl.h" 47 m_data = StringImpl::createUninitialized(length, characters); 61 PassRefPtr<StringImpl> release() { return m_data.release(); } 64 RefPtr<StringImpl> m_data;
|
H A D | StringCF.cpp | 39 m_impl = StringImpl::empty(); 45 m_impl = StringImpl::create(lcharBuffer.data(), size); 51 m_impl = StringImpl::create(buffer.data(), size);
|
H A D | StringMac.mm | 35 m_impl = StringImpl::empty(); 41 m_impl = StringImpl::create(lcharBuffer.data(), size); 47 m_impl = StringImpl::create(ucharBuffer.data(), size);
|
H A D | StringImplMac.mm | 22 #include "wtf/text/StringImpl.h" 43 StringImpl::operator NSString *()
|
H A D | AtomicString.h | 51 // Constructing an AtomicString from a String / StringImpl can be expensive if 52 // the StringImpl is not already atomic. 53 explicit AtomicString(StringImpl* impl) : m_string(add(impl)) { } 56 AtomicString(StringImpl* baseString, unsigned start, unsigned length) : m_string(add(baseString, start, length)) { } 69 COMPILE_ASSERT((charactersCount - 1 <= ((unsigned(~0) - sizeof(StringImpl)) / sizeof(LChar))), AtomicStringFromLiteralCannotOverflow); 76 static StringImpl* find(const StringImpl*); 81 StringImpl* impl() const { return m_string.impl(); } 138 static void remove(StringImpl*); 163 static PassRefPtr<StringImpl> ad [all...] |
H A D | WTFString.cpp | 48 : m_impl(characters ? StringImpl::create(characters, length) : nullptr) 57 m_impl = StringImpl::create(str, lengthOfNullTerminatedString(str)); 62 : m_impl(characters ? StringImpl::create(characters, length) : nullptr) 67 : m_impl(characters ? StringImpl::create(reinterpret_cast<const LChar*>(characters), length) : nullptr) 73 : m_impl(characters ? StringImpl::create(characters) : nullptr) 78 : m_impl(characters ? StringImpl::create(reinterpret_cast<const LChar*>(characters)) : nullptr) 93 // one String is pointing at this StringImpl, but even then it's going to require a 99 RefPtr<StringImpl> newImpl = StringImpl::createUninitialized(m_impl->length() + string.length(), data); 108 RefPtr<StringImpl> newImp [all...] |
/external/chromium_org/third_party/WebKit/Source/wtf/ |
H A D | RefPtrTest.cpp | 8 #include "wtf/text/StringImpl.h" 15 RefPtr<StringImpl> string; 17 string = StringImpl::create("test"); 26 RefPtr<StringImpl> a = StringImpl::create("a"); 27 RefPtr<StringImpl> b = StringImpl::create("b"); 28 // FIXME: Instead of explicitly casting to RefPtr<StringImpl>&& here, we should use std::move, but that 30 b = static_cast<RefPtr<StringImpl>&&>(a);
|
/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/ |
H A D | V8ValueCache.h | 38 class StringCacheMapTraits : public V8PersistentValueMapTraits<StringImpl*, v8::String, true> { 41 typedef StringImpl WeakCallbackDataType; 42 typedef v8::PersistentValueMap<StringImpl*, v8::String, StringCacheMapTraits> MapType; 45 MapType* map, StringImpl* key, v8::Local<v8::String>& value) { return key; } 51 static StringImpl* KeyFromWeakCallbackData( 57 static void Dispose(v8::Isolate*, v8::UniquePersistent<v8::String> value, StringImpl* key); 66 v8::Handle<v8::String> v8ExternalString(StringImpl* stringImpl, v8::Isolate* isolate) 74 void setReturnValueFromString(v8::ReturnValue<v8::Value> returnValue, StringImpl* stringImpl) 86 v8::Handle<v8::String> v8ExternalStringSlow(StringImpl*, v8::Isolate*); 87 void setReturnValueFromStringSlow(v8::ReturnValue<v8::Value>, StringImpl*); [all...] |
H A D | V8ValueCache.cpp | 42 v8::Isolate* isolate, v8::UniquePersistent<v8::String> value, StringImpl* key) 74 v8::Handle<v8::String> StringCache::v8ExternalStringSlow(StringImpl* stringImpl, v8::Isolate* isolate) 89 void StringCache::setReturnValueFromStringSlow(v8::ReturnValue<v8::Value> returnValue, StringImpl* stringImpl) 107 v8::Local<v8::String> StringCache::createStringAndInsertIntoCache(StringImpl* stringImpl, v8::Isolate* isolate)
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
H A D | RenderWordBreak.cpp | 35 : RenderText(element, StringImpl::empty())
|
H A D | RenderTextFragment.h | 36 RenderTextFragment(Node*, StringImpl*, int startOffset, int length); 37 RenderTextFragment(Node*, StringImpl*); 53 StringImpl* contentString() const { return m_contentString.get(); } 54 virtual PassRefPtr<StringImpl> originalText() const OVERRIDE; 56 virtual void setText(PassRefPtr<StringImpl>, bool force = false) OVERRIDE; 74 RefPtr<StringImpl> m_contentString;
|
H A D | RenderCombineText.h | 31 RenderCombineText(Node*, PassRefPtr<StringImpl>); 45 virtual void setTextInternal(PassRefPtr<StringImpl>) OVERRIDE;
|
H A D | RenderTextFragment.cpp | 32 RenderTextFragment::RenderTextFragment(Node* node, StringImpl* str, int startOffset, int length) 33 : RenderText(node, str ? str->substring(startOffset, length) : PassRefPtr<StringImpl>(nullptr)) 40 RenderTextFragment::RenderTextFragment(Node* node, StringImpl* str) 68 PassRefPtr<StringImpl> RenderTextFragment::originalText() const 71 RefPtr<StringImpl> result = ((e && e->isTextNode()) ? toText(e)->dataImpl() : contentString()); 94 void RenderTextFragment::setText(PassRefPtr<StringImpl> text, bool force) 118 if (RefPtr<StringImpl> textToTransform = originalText()) 126 StringImpl* original = ((e && e->isTextNode()) ? toText(e)->dataImpl() : contentString());
|
H A D | RenderBR.cpp | 32 static PassRefPtr<StringImpl> newlineString()
|
/external/chromium_org/third_party/WebKit/Source/core/inspector/ |
H A D | BindingVisitors.h | 34 class StringImpl; 50 virtual void visitJSExternalString(WTF::StringImpl*) = 0;
|
/external/chromium_org/third_party/WebKit/Source/core/css/invalidation/ |
H A D | StyleSheetInvalidationAnalysis.h | 32 #include "wtf/text/StringImpl.h" 53 HashSet<StringImpl*> m_idScopes; 54 HashSet<StringImpl*> m_classScopes;
|
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
H A D | RawDataDocumentParser.h | 58 virtual void append(PassRefPtr<StringImpl>) OVERRIDE
|