HomeSort by relevance Sort by last modified time
    Searched refs:StringImpl (Results 1 - 25 of 112) sorted by null

1 2 3 4 5

  /external/chromium_org/third_party/WebKit/Source/wtf/text/
StringImplTest.cpp 28 #include "wtf/text/StringImpl.h"
36 RefPtr<StringImpl> testStringImpl = StringImpl::create("1224");
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...]
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::hashSlowCase() cons
    [all...]
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 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 {
110 WTF_MAKE_NONCOPYABLE(StringImpl);
129 explicit StringImpl(ConstructEmptyStringTag
    [all...]
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;
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_table
    [all...]
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* string = static_cast<StringImpl*>(*iter)
    [all...]
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;
StringCF.cpp 39 m_impl = StringImpl::empty();
45 m_impl = StringImpl::create(lcharBuffer.data(), size);
51 m_impl = StringImpl::create(buffer.data(), size);
StringMac.mm 35 m_impl = StringImpl::empty();
41 m_impl = StringImpl::create(lcharBuffer.data(), size);
47 m_impl = StringImpl::create(ucharBuffer.data(), size);
StringImplMac.mm 22 #include "wtf/text/StringImpl.h"
43 StringImpl::operator NSString *()
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> add(const LChar*)
    [all...]
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> newImpl = StringImpl::createUninitialized(m_impl->length() + string.length(), data)
    [all...]
  /external/chromium_org/third_party/WebKit/Source/wtf/
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/core/inspector/
BindingVisitors.h 34 class StringImpl;
50 virtual void visitJSExternalString(WTF::StringImpl*) = 0;
  /external/chromium_org/third_party/WebKit/Source/bindings/core/v8/
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)
68 ASSERT(stringImpl);
69 if (m_lastStringImpl.get() == stringImpl)
    [all...]
  /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*);
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;
RenderCombineText.h 31 RenderCombineText(Node*, PassRefPtr<StringImpl>);
45 virtual void setTextInternal(PassRefPtr<StringImpl>) OVERRIDE;
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());
  /external/chromium_org/third_party/WebKit/Source/core/css/invalidation/
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/
RawDataDocumentParser.h 58 virtual void append(PassRefPtr<StringImpl>) OVERRIDE
  /external/chromium_org/third_party/WebKit/Source/core/css/resolver/
ScopedStyleResolver.h 61 const StyleRuleKeyframes* keyframeStylesForAnimation(const StringImpl* animationName);
83 typedef WillBeHeapHashMap<const StringImpl*, RefPtrWillBeMember<StyleRuleKeyframes> > KeyframesRuleMap;
  /external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
RenderSVGInlineText.h 32 RenderSVGInlineText(Node*, PassRefPtr<StringImpl>);
49 virtual void setTextInternal(PassRefPtr<StringImpl>) OVERRIDE;

Completed in 493 milliseconds

1 2 3 4 5